[Pkg-fonts-devel] Bug#713661: mensis: FTBFS: ld: freetype.o: undefined reference to symbol 'FT_New_Face'

David Suárez david.sephirot at gmail.com
Sat Jun 22 12:40:55 UTC 2013


Source: mensis
Version: 0.0.080507-3
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Maybe you need to add explicitly the offending lib to LD flags.

Relevant part:
> gcc -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -Wsequence-point  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -D_NO_XINPUT=1 -D_NO_XKB=1 -I/usr/include/freetype2/  -c -o instrmod.o instrmod.c
> /bin/bash ./libtool --mode=compile gcc -c stamp.c
> libtool: compile:  gcc -c stamp.c  -fPIC -DPIC -o .libs/stamp.o
> libtool: compile:  gcc -c stamp.c -o stamp.o >/dev/null 2>&1
> /bin/bash ./libtool --mode=link gcc -o mensis mensis-ui.o start.o splashimage.o uiutil.o ttfview.o ttffile.o openfontdlg.o prefs.o cursors.o windowmenu.o psunicodenames.o ttfsave.o  scripting.o maxp.o OS2.o instrs.o binary.o shorts.o metrics.o _hea.o head.o post.o gasp.o VORG.o fontview.o conicutil.o charview.o freetype.o bcdebug.o instrmod.o stamp.lo  -lgdraw -lgutils -lgunicode -lSM -lICE -lX11  -ldl  -lgif -lm
> libtool: link: gcc -o mensis mensis-ui.o start.o splashimage.o uiutil.o ttfview.o ttffile.o openfontdlg.o prefs.o cursors.o windowmenu.o psunicodenames.o ttfsave.o scripting.o maxp.o OS2.o instrs.o binary.o shorts.o metrics.o _hea.o head.o post.o gasp.o VORG.o fontview.o conicutil.o charview.o freetype.o bcdebug.o instrmod.o .libs/stamp.o  -lgdraw -lgutils -lgunicode -lSM -lICE -lX11 -ldl /usr/lib/libgif.so -lm 
> /usr/bin/ld: freetype.o: undefined reference to symbol 'FT_New_Face'
> /usr/lib/x86_64-linux-gnu/libfreetype.so.6: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/06/20/mensis_0.0.080507-3_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-fonts-devel mailing list