Bug#489730: iceape: FTBFS on GNU/kFreeBSD (change in debian/rules needed)

Petr Salinger Petr.Salinger at seznam.cz
Mon Jul 7 20:08:09 UTC 2008


> The system wrappers had problems with gcc 4.2, which is why this hack is
> in place. Theorically, it should build fine now only removing
> WRAP_SYSTEM_INCLUDES= VISIBILITY_FLAGS=-fvisibility=hidden (i.e not
> setting ac_cv_have_visibility_class_bug=yes). Could you check that it
> builds on kfreebsd like that ?

No, on kfreebsd-amd64 it fails during link to hunspell, see bellow.
In "dist/include/system_wrappers" there is no hunspell subdirectory
(wrapped variant of /usr/include/hunspell).

Output of "find dist/include/system_wrappers/ -type d" is also bellow.
Surprisingly, even on GNU/kFreeBSD there are 
dist/include/system_wrappers/asm and
dist/include/system_wrappers/linux, although no /usr/include/linux
nor /usr/include/asm is present.

Petr


c++  -fno-rtti -fno-exceptions -Wall -Wconversion 
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth 
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long 
-g -O2 -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 
-fno-strict-aliasing -g -I/usr/include/hunspell 
-DMOZ_NATIVE_HUNSPELL -fPIC -shared -Wl,-z,defs 
-Wl,-h,libmyspell.so -o libmyspell.so  mozMySpell.o 
mozMySpellFactory.o    -Wl,--as-needed 
-L../../../../dist/bin -L../../../../dist/lib 
-L../../../../dist/bin -lxpcom -lxpcom_core  -L/usr/lib 
-lplds4 -lplc4 -lnspr4 -lpthread -ldl 
../../../../dist/lib/libunicharutil_s.a -lhunspell-1.2 
-Wl,--version-script 
-Wl,../../../../build/unix/gnu-ld-scripts/components-version-script 
-ldl -lm

mozMySpell.o: In function `mozMySpell::Suggest(unsigned short 
const*, unsigned short***, unsigned int*)':
/build/manual/iceape-1.1.10/extensions/spellcheck/myspell/src/mozMySpell.cpp:446: 
undefined reference to `Hunspell::suggest(char***, char 
const*)'
/usr/bin/ld: mozMySpell.o: relocation R_X86_64_PC32 against 
`Hunspell::suggest(char***, char const*)' can not be used 
when making a shared object; recompile with -fPIC

/usr/bin/ld: final link failed: Bad value

collect2: ld returned 1 exit status

make[6]: *** [libmyspell.so] Error 1



dist/include/system_wrappers/
dist/include/system_wrappers/app
dist/include/system_wrappers/arpa
dist/include/system_wrappers/asm
dist/include/system_wrappers/atk
dist/include/system_wrappers/base
dist/include/system_wrappers/bsd
dist/include/system_wrappers/Carbon
dist/include/system_wrappers/cmplrs
dist/include/system_wrappers/Cocoa
dist/include/system_wrappers/CoreFoundation
dist/include/system_wrappers/CoreServices
dist/include/system_wrappers/dos
dist/include/system_wrappers/fontconfig
dist/include/system_wrappers/frame
dist/include/system_wrappers/freetype
dist/include/system_wrappers/fribidi
dist/include/system_wrappers/gconf
dist/include/system_wrappers/gdk
dist/include/system_wrappers/gdk-pixbuf
dist/include/system_wrappers/gnu
dist/include/system_wrappers/gssapi
dist/include/system_wrappers/gtk
dist/include/system_wrappers/HIToolbox
dist/include/system_wrappers/IOKit
dist/include/system_wrappers/IOKit/pwr_mgt
dist/include/system_wrappers/JavaEmbedding
dist/include/system_wrappers/JavaVM
dist/include/system_wrappers/Kerberos
dist/include/system_wrappers/kernel
dist/include/system_wrappers/libelf
dist/include/system_wrappers/libgnome
dist/include/system_wrappers/libgnomeui
dist/include/system_wrappers/libgnomevfs
dist/include/system_wrappers/libIDL
dist/include/system_wrappers/linux
dist/include/system_wrappers/machine
dist/include/system_wrappers/mach
dist/include/system_wrappers/mach-o
dist/include/system_wrappers/mpw
dist/include/system_wrappers/net
dist/include/system_wrappers/netinet
dist/include/system_wrappers/rpc
dist/include/system_wrappers/pango
dist/include/system_wrappers/pcfs
dist/include/system_wrappers/photon
dist/include/system_wrappers/sys
dist/include/system_wrappers/sys/sparc
dist/include/system_wrappers/Print
dist/include/system_wrappers/private
dist/include/system_wrappers/proto
dist/include/system_wrappers/quipu
dist/include/system_wrappers/sane
dist/include/system_wrappers/th
dist/include/system_wrappers/storage
dist/include/system_wrappers/support
dist/include/system_wrappers/win
dist/include/system_wrappers/workbench
dist/include/system_wrappers/wx
dist/include/system_wrappers/wx/xrc
dist/include/system_wrappers/X11
dist/include/system_wrappers/X11/extensions
dist/include/system_wrappers/X11/Xft






More information about the pkg-mozilla-maintainers mailing list