Package: kdevelop3
Version: 4:3.1.2-3
Severity: serious

Hi,

Your package is failing to build on some arches because you're
linking a shared lib to a static (non PIC) lib.

Here is an extract from the log:
if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I. -I. -I../.. -I../../lib/catalog -I../../lib/compat -I../../lib/cppparser 
-I../../lib/external_interfaces -I../../lib/interfaces -I../../lib/util 
-I../../bdb/build_unix -I../../bdb/include -I/usr/include/kde 
-I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -DAST_DEBUG 
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W 
-Wpointer-arith -Wwrite-strings -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION  -MT implementationwidgetbase.lo -MD -MP -MF 
".deps/implementationwidgetbase.Tpo" -c -o implementationwidgetbase.lo 
implementationwidgetbase.cpp; \
then mv -f ".deps/implementationwidgetbase.Tpo" 
".deps/implementationwidgetbase.Plo"; else rm -f 
".deps/implementationwidgetbase.Tpo"; exit 1; fi
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -DAST_DEBUG 
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W 
-Wpointer-arith -Wwrite-strings -O2 -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION    -o libkdevcppsupport.la -rpath /usr/lib/kde3 
-L/usr/X11R6/lib -L/usr/share/qt3/lib -L/usr/lib  -avoid-version -module 
-no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R 
/usr/share/qt3/lib -R /usr/X11R6/lib  -L../../bdb/dist cppsupportpart.lo 
ccconfigwidget.lo kdevdriver.lo cppcodecompletion.lo problemreporter.lo 
backgroundparser.lo ast_utils.lo store_walker.lo KDevCppSupportIface.lo 
cppsupportfactory.lo tag_creator.lo codeinformationrepository.lo doxydoc.lo 
cppcodecompletionconfig.lo cppnewclassdlg.lo classgeneratorconfig.lo 
subclassingdlg.lo addattributedialog.lo addmethoddialog.lo cppsupport_utils.lo 
createpcsdialog.lo qtdesignerintegration.lo implementationwidget.lo 
KDevCppSupportIface_skel.lo ccconfigwidgetbase.lo configproblemreporter.lo 
cppnewclassdlgbase.lo classgeneratorconfigbase.lo subclassingdlgbase.lo 
addattributedialogbase.lo addmethoddialogbase.lo createpcsdialogbase.lo 
implementationwidgetbase.lo ../../bdb/build_unix/libdb.a 
../../lib/libkdevelop.la ../../lib/catalog/libkdevcatalog.la 
../../lib/cppparser/libkdevcppparser.la

*** Warning: Linking the shared library libkdevcppsupport.la against the
*** static library ../../bdb/build_unix/libdb.a is not portable!
/usr/bin/ld: ../../bdb/build_unix/libdb.a(db_err.o): relocation 
R_PARISC_DPREL21L can not be used when making a shared object; recompile with 
-fPIC
../../bdb/build_unix/libdb.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[5]: *** [libkdevcppsupport.la] Error 1


Kurt


Reply via email to