[Pkg-lyx-devel] Bug#555580: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Tue Nov 10 09:58:57 UTC 2009


Source: lyx
Version: 1.6.4-1
Severity: minor
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

Objects inside an .a archive aren't linked yet. This means that you must resolve
their symbols when linking to a program.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

/bin/bash ../libtool --tag=CXX   --mode=link g++  -g -O2  -Wl,-z,defs -Wl,--as-needed -Wl,-z,defs -Wl,--as-needed -o lyx main.o ASpell.o  ISpell.o SpellBase.o BiblioInfo.o Box.o Dimension.o PrinterParams.o Thesaurus.o  liblyxcore.la liblyxmathed.la liblyxinsets.la frontends/liblyxfrontends.la frontends/qt4/liblyxqt4.la liblyxgraphics.la support/liblyxsupport.la -lboost_filesystem-mt -lboost_regex-mt -lboost_signals-mt -lboost_iostreams-mt   -lAiksaurus -laspell   -lz     -lQtGui -lQtCore    
g++ -g -O2 -Wl,-z -Wl,defs -Wl,--as-needed -Wl,-z -Wl,defs -Wl,--as-needed -o lyx main.o ASpell.o ISpell.o SpellBase.o BiblioInfo.o Box.o Dimension.o PrinterParams.o Thesaurus.o  ./.libs/liblyxcore.a ./.libs/liblyxmathed.a ./.libs/liblyxinsets.a frontends/.libs/liblyxfrontends.a frontends/qt4/.libs/liblyxqt4.a ./.libs/liblyxgraphics.a support/.libs/liblyxsupport.a -lboost_filesystem-mt -lboost_regex-mt -lboost_signals-mt -lboost_iostreams-mt /usr/lib/libAiksaurus.so /usr/lib/libaspell.so -ldl -lz -lQtGui -lQtCore  
/usr/bin/ld: frontends/qt4/.libs/liblyxqt4.a(GuiWorkArea.o): in function lyx::frontend::GuiWorkArea::keyPressEvent(QKeyEvent*):../../../../src/frontends/qt4/GuiWorkArea.cpp:828: error: undefined reference to 'XEventsQueued'
collect2: ld returned 1 exit status
make[6]: *** [lyx] Error 1





More information about the Pkg-lyx-devel mailing list