Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F fontconfig
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 181
    • Issues 181
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fontconfig
  • fontconfig
  • Issues
  • #203
Closed
Open
Issue created Dec 06, 2019 by Xeverous@Xeverous

Windows build fails due to shell syntax problems

I have successfully run the ./configure --prefix=C:/usr script but the compilation fails due to some shell syntax problem:

make[3]: Entering directory 'G:/Files/C++/repos/fontconfig-2.13.1/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../src -IC:/usr/include/freetype2 -IC:/usr/include/libpng16 -IC:/mingw64/mingw64/include   -IC:/mingw64/mingw64/include  -Wall -Wpointer-arith -Wstrict-prototypes     -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -DFC_CACHEDIR='"LOCAL_APPDATA_FONTCONFIG_CACHE"' -DFONTCONFIG_PATH='"C:/usr/etc/fonts"' -DFC_TEMPLATEDIR='"C:/usr/share/fontconfig/conf.avail"'   -g -O2 -MT fcarch.o -MD -MP -MF .deps/fcarch.Tpo -c -o fcarch.o fcarch.c
mv -f .deps/fcarch.Tpo .deps/fcarch.Po
C:/Git/usr/bin/sh.exe ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o fcarch.exe fcarch.o -lintl
libtool: link: gcc -g -O2 -o .libs/fcarch.exe fcarch.o  -lintl
C:/Git/usr/bin/sh.exe ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../src -IC:/usr/include/freetype2 -IC:/usr/include/libpng16 -IC:/mingw64/mingw64/include   -IC:/mingw64/mingw64/include  -Wall -Wpointer-arith -Wstrict-prototypes         -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -DFC_CACHEDIR='"LOCAL_APPDATA_FONTCONFIG_CACHE"' -DFONTCONFIG_PATH='"C:/usr/etc/fonts"' -DFC_TEMPLATEDIR='"C:/usr/share/fontconfig/conf.avail"'   -g -O2 -MT fcatomic.lo -MD -MP -MF .deps/fcatomic.Tpo -c -o fcatomic.lo fcatomic.c
Xfcatomic.Tpo -c -o fcatomic.lo fcatomic.lo
libtool: warning: libobj name 'fcatomic.Tpo -c -o fcatomic.lo fcatomic.lo' may not contain shell special characters.

Looks like the call to libtool has an unwanted linebreak in its arguments

GNU bash, version 4.4.23(1)-release (x86_64-pc-msys)

GNU Make 4.2.1 Built for x86_64-w64-mingw32

Using the 2.13.1 release version of fontconfig, but the issue also reproduces on older ones.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking