Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190053 - kde-base/kmines-3.5.7: src_test fails with --as-needed
Summary: kde-base/kmines-3.5.7: src_test fails with --as-needed
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-24 15:13 UTC by Rickard Närström
Modified: 2007-08-30 00:08 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 Rickard Närström 2007-08-24 15:13:50 UTC
$summery -- if I remove -Wl,--as-needed from LDFLAGS or export SKIP_FUNCTIONS="test" (remove test from FUTURES), it compiles and installs as expected.

----
/bin/sh ../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Os -fomit-frame-pointer -march=native -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION   -Wl,-O1 -Wl,--as-needed -o testSolve  testSolve.o ../../libkdegames/libkdegames.la ./libsolver.la
./.libs/libsolver.a(solver.o): In function `SolvingRateDialog::slotOk()':
solver.cpp:(.text+0x1b9): undefined reference to `KDialogBase::enableButtonOK(bool)'
solver.cpp:(.text+0x1db): undefined reference to `KProgress::setValue(int)'
./.libs/libsolver.a(solver.o): In function `SolvingRateDialog::qt_property(int, int, QVariant*)':
solver.cpp:(.text+0x30f): undefined reference to `KDialogBase::qt_property(int, int, QVariant*)'
./.libs/libsolver.a(solver.o): In function `SolvingRateDialog::qt_emit(int, QUObject*)':
solver.cpp:(.text+0x31f): undefined reference to `KDialogBase::qt_emit(int, QUObject*)'
[ ... A lot more undefined references ... ]
./.libs/libsolver.a(solver.o):(.data.rel.ro._ZTI17SolvingRateDialog[typeinfo for SolvingRateDialog]+0x10): undefined reference to `typeinfo for KDialogBase'
collect2: ld returned 1 exit status
make[3]: *** [testSolve] Error 1
make[3]: Leaving directory `/var/tmp/paludis/kde-base/kmines-3.5.7/work/kmines-3.5.7/kmines/solver'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/paludis/kde-base/kmines-3.5.7/work/kmines-3.5.7/kmines/solver'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/paludis/kde-base/kmines-3.5.7/work/kmines-3.5.7/kmines'
make: *** [check-recursive] Error 1
----
paludis 0.24.6

Built by paludisbuild@workstation on 2007-08-16T13:50:44+0200
CXX:         x86_64-pc-linux-gnu-g++ 4.2.0 (Gentoo 4.2.0 p1.4)
CXXFLAGS:    -O2 -fomit-frame-pointer -march=k8 -pipe
LDFLAGS:     -Wl,-O1 -Wl,--as-needed
DATADIR:     /usr/share
LIBDIR:      /usr/lib64
LIBEXECDIR:  /usr/libexec
SYSCONFDIR:  /etc
stdlib:      GNU libstdc++ 20070514
libebt:      1.3.0
libwrapiter: 1.2.0
sandbox:     enabled

Repository virtuals:
    Configuration information:
        format:                virtuals

Repository installed_virtuals:
    Configuration information:
        format:                installed_virtuals

Repository gentoo:
    Configuration information:
        buildroot:             /var/tmp/paludis
        cache:                 /var/paludis/repositories/gentoo/metadata/cache
        distdir:               /var/paludis/distfiles
        eclassdirs:            /var/paludis/repositories/gentoo/eclass
        format:                ebuild
        location:              /var/paludis/repositories/gentoo
        names_cache:           /var/paludis/repositories/gentoo/.cache/names
        newsdir:               /var/paludis/repositories/gentoo/metadata/news
        pkgdir:                /var/paludis/repositories/gentoo/packages
        profiles:              /var/paludis/repositories/gentoo/profiles/default-linux/amd64/2007.0/desktop
        securitydir:           /var/paludis/repositories/gentoo/metadata/glsa
        setsdir:               /var/paludis/repositories/gentoo/sets
        sync:                  rsync://rsync.europe.gentoo.org/gentoo-portage/
        sync_options:
        write_cache:           /var/empty

    Package information:
        app-admin/eselect-compiler: (none)
        dev-java/java-config:  1.3.7, 2.0.33-r1
        dev-lang/python:       2.4.4-r4
        dev-python/pycrypto:   2.0.1-r6
        dev-util/ccache:       (none)
        dev-util/confcache:    (none)
        sys-apps/sandbox:      1.2.18.1
        sys-devel/autoconf:    2.13, 2.61-r1
        sys-devel/automake:    1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
        sys-devel/binutils:    2.17.50.0.18
        sys-devel/gcc-config:  1.3.16
        sys-devel/libtool:     1.5.24
        virtual/os-headers:    2.6.22-r2

    Variable information:
        ACCEPT_KEYWORDS:
        AUTOCLEAN:
        CBUILD:                x86_64-pc-linux-gnu
        CFLAGS:                -Os -fomit-frame-pointer -march=native -pipe
        CHOST:                 x86_64-pc-linux-gnu
        CONFIG_PROTECT:
        CONFIG_PROTECT_MASK:
        CTARGET:
        CXXFLAGS:              -Os -fomit-frame-pointer -march=native -pipe -fvisibility-inlines-hidden
        DISTDIR:               /var/paludis/distfiles
        FEATURES:
        GENTOO_MIRRORS:
        INSTALL_MASK:
        LANG:
        LC_ALL:                C
        LDFLAGS:               -Wl,-O1 -Wl,--as-needed
        LINGUAS:
        MAKEOPTS:
        PKGDIR:
        PORTAGE_COMPRESS:
        PORTAGE_COMPRESS_FLAGS:
        PORTAGE_RSYNC_EXTRA_OPTS:
        PORTAGE_RSYNC_OPTS:
        PORTAGE_TMPDIR:        /var/tmp/paludis
        PORTDIR:               /var/paludis/repositories/gentoo
        PORTDIR_OVERLAY:
        SYNC:
        USE:

Repository installed:
    Configuration information:
        buildroot:             /var/tmp/paludis
        format:                vdb
        location:              /var/db/pkg
        names_cache:           /var/db/pkg/.cache/names
        provides_cache:        /var/db/pkg/.cache/provides
        root:                  /
        world:                 /var/db/pkg/world

Repository ricce_n-local:
    Configuration information:
        buildroot:             /var/tmp/paludis
        cache:                 /var/empty
        distdir:               /var/paludis/distfiles
        eclassdirs:            /var/paludis/repositories/gentoo/eclass /var/paludis/repositories/local/eclass
        format:                ebuild
        location:              /var/paludis/repositories/local
        master_repository:     gentoo
        names_cache:           /var/empty
        newsdir:               /var/paludis/repositories/local/metadata/news
        pkgdir:                /var/paludis/repositories/gentoo/packages
        profiles:              /var/paludis/repositories/gentoo/profiles/default-linux/amd64/2007.0/desktop
        securitydir:           /var/paludis/repositories/local/metadata/glsa
        setsdir:               /var/paludis/repositories/local/sets
        sync:
        sync_options:
        write_cache:           /var/empty
----
Comment 1 Wulf Krueger (RETIRED) gentoo-dev 2007-08-24 16:50:12 UTC
Please file an upstream bug for this (bugs.kde.org) and post a link to it here. 

(And I *greatly* prefer "emerge --info".)
Comment 2 Rickard Närström 2007-08-24 18:26:28 UTC
Link posted as of URL.

('emerge --info' gives info based on portage's config files -- not paludis')
Comment 3 Wulf Krueger (RETIRED) gentoo-dev 2007-08-24 18:57:24 UTC
Thanks for posting the upstream bug. Please re-open this bug if progress has been achieved on the upstream bug that would allow us to fix this.

Furthermore, I'm well aware of what emerge --info outputs - the configuration for the *supported* package manager. :-)