Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172147 - app-doc/kchmviewer-3.0 does not emerge with --as-needed
Summary: app-doc/kchmviewer-3.0 does not emerge with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2007-03-25 11:14 UTC by Matthias Schwarzott
Modified: 2007-03-26 08:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Schwarzott gentoo-dev 2007-03-25 11:14:57 UTC
LDFLAGS="-Wl,-O1,--as-needed"
makes app-doc/kchmviewer-3.0 not emerge properly.

if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/qt/3/include  -I/usr/kde/3.5/include -I../lib/libchmfile -I../src  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -MT kchmsearchengine_impl.moc.o -MD -MP -MF ".deps/kchmsearchengine_impl.moc.Tpo" -c -o kchmsearchengine_impl.moc.o kchmsearchengine_impl.moc.cpp; \
        then mv -f ".deps/kchmsearchengine_impl.moc.Tpo" ".deps/kchmsearchengine_impl.moc.Po"; else rm -f ".deps/kchmsearchengine_impl.moc.Tpo"; exit 1; fi
/bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common   -Wl,-O1,--as-needed -o kchmviewer -L/usr/qt/3/lib -L/usr/kde/3.5/lib -L../lib/chmlib/ iconstorage.o kchmbookmarkwindow.o kchmconfig.o kchmindexwindow.o kchmmainwindow.o kchmsearchtoolbar.o kchmsearchwindow.o kchmsettings.o kchmsourcefactory.o kchmtreeviewitem.o kchmviewwindow.o main.o kchmdialogchooseurlfromlist.o kde-qt.o kchmviewwindow_qtextbrowser.o kqtempfile.o kchmnavtoolbar.o kchmviewwindowmgr.o kchmkeyeventfilter.o kchmcontentswindow.o kchmsearchengine_impl.o kchmsearchengine.o kchmsetupdialog.o kchmsearchengine_impl.moc.o  ../lib/libchmfile/libchmfile.a -lchm -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdeui -lkhtml kde/libkdeextra.a
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o): In function `KCHMViewWindow_KHTMLPart::qt_property(int, int, QVariant*)':
kchmviewwindow_khtmlpart.cpp:(.text+0x93): undefined reference to `KHTMLPart::qt_property(int, int, QVariant*)'
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o): In function `KCHMViewWindow_KHTMLPart::onPopupMenu(QString const&, QPoint const&)':
kchmviewwindow_khtmlpart.cpp:(.text+0x152): undefined reference to `KHTMLPart::view() const'
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o): In function `KCHMViewWindow_KHTMLPart::searchWord(QString const&, bool, bool)':
kchmviewwindow_khtmlpart.cpp:(.text+0x223): undefined reference to `KHTMLPart::findText(QString const&, long, QWidget*, KFindDialog*)'
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o): In function `KCHMViewWindow_KHTMLPart::printCurrentPage()':
kchmviewwindow_khtmlpart.cpp:(.text+0x25b): undefined reference to `KHTMLPart::view() const'
kchmviewwindow_khtmlpart.cpp:(.text+0x263): undefined reference to `KHTMLView::print()'
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o): In function `KCHMViewWindow_KHTMLPart::setScrollbarPosition(int)':
kchmviewwindow_khtmlpart.cpp:(.text+0x27b): undefined reference to `KHTMLPart::view() const'
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o): In function `KCHMViewWindow_KHTMLPart::getScrollbarPosition()':
kchmviewwindow_khtmlpart.cpp:(.text+0x2ab): undefined reference to `KHTMLPart::view() const'
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o): In function `KCHMViewWindow_KHTMLPart::invalidate()':
kchmviewwindow_khtmlpart.cpp:(.text+0x2fe): undefined reference to `KHTMLPart::setJScriptEnabled(bool)'
kchmviewwindow_khtmlpart.cpp:(.text+0x311): undefined reference to `KHTMLPart::setJavaEnabled(bool)'
kchmviewwindow_khtmlpart.cpp:(.text+0x324): undefined reference to `KHTMLPart::setMetaRefreshEnabled(bool)'
kchmviewwindow_khtmlpart.cpp:(.text+0x33a): undefined reference to `KHTMLPart::setPluginsEnabled(bool)'
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o): In function `KCHMViewWindow_KHTMLPart::KCHMViewWindow_KHTMLPart(QTabWidget*)':
kchmviewwindow_khtmlpart.cpp:(.text+0x3c1): undefined reference to `KHTMLPart::KHTMLPart(QWidget*, char const*, QObject*, char const*, KHTMLPart::GUIProfile)'
kchmviewwindow_khtmlpart.cpp:(.text+0x426): undefined reference to `KHTMLPart::browserExtension() const'
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o): In function `KCHMViewWindow_KHTMLPart::staticMetaObject()':
kchmviewwindow_khtmlpart.cpp:(.text+0x491): undefined reference to `KHTMLPart::staticMetaObject()'
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o): In function `KCHMViewWindow_KHTMLPart::qt_invoke(int, QUObject*)':
kchmviewwindow_khtmlpart.cpp:(.text+0x75c): undefined reference to `KHTMLPart::qt_invoke(int, QUObject*)'
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o): In function `KCHMViewWindow_KHTMLPart::qt_emit(int, QUObject*)':
kchmviewwindow_khtmlpart.cpp:(.text+0x82f): undefined reference to `KHTMLPart::qt_emit(int, QUObject*)'
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o): In function `KCHMViewWindow_KHTMLPart::KCHMViewWindow_KHTMLPart(QTabWidget*)':
kchmviewwindow_khtmlpart.cpp:(.text+0x89b): undefined reference to `KHTMLPart::KHTMLPart(QWidget*, char const*, QObject*, char const*, KHTMLPart::GUIProfile)'

... cut ...

kde/libkdeextra.a(kchmviewwindow_khtmlpart.o):(.rodata._ZTC24KCHMViewWindow_KHTMLPart40_N6KParts8PartBaseE[vtable for KCHMViewWindow_KHTMLPart]+0x80): undefined reference to `virtual thunk to KParts::PartBase::setInstance(KInstance*)'
kde/libkdeextra.a(kchmviewwindow_khtmlpart.o):(.rodata._ZTI24KCHMViewWindow_KHTMLPart[typeinfo for KCHMViewWindow_KHTMLPart]+0x10): undefined reference to `typeinfo for KHTMLPart'
collect2: ld returned 1 exit status
make[3]: *** [kchmviewer] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-doc/kchmviewer-3.0/work/kchmviewer-3.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-doc/kchmviewer-3.0/work/kchmviewer-3.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-doc/kchmviewer-3.0/work/kchmviewer-3.0/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-doc/kchmviewer-3.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4087:   Called src_compile
  kchmviewer-3.0.ebuild, line 50:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/app-doc:kchmviewer-3.0:20070325-111025.log'.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2007-03-26 08:53:40 UTC
Fixed in CVS in kchmviewer-3.0.