Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241638 - kde-base/step-4.2.0 due to undefined references (libqalculate sometimes needs rebuilding)
Summary: kde-base/step-4.2.0 due to undefined references (libqalculate sometimes needs...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 259740 302605 305027 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-12 18:10 UTC by J.C. Wren
Modified: 2010-02-14 09:34 UTC (History)
3 users (show)

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


Attachments
kde-base/step-4.1.2 build log (build.log,16.73 KB, text/plain)
2008-10-13 13:40 UTC, J.C. Wren
Details
step-4.3.0 build log (log,36.80 KB, text/plain)
2009-08-05 17:34 UTC, Mauricio L. Pilla (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J.C. Wren 2008-10-12 18:10:00 UTC
kde-base/step fails in a linking stage with the following messages:

Linking CXX executable step
CMakeFiles/step.dir/unitscalc.o: In function `global constructors keyed to _ZN9UnitsCalc4selfEv':
unitscalc.cc:(.text+0x293): undefined reference to `cl_module__cl_random_def__globalctors'
unitscalc.cc:(.text+0x2c0): undefined reference to `cl_module__cl_prin_globals__globalctors'
unitscalc.cc:(.text+0x2c5): undefined reference to `cl_module__cl_st_null__globalctors'
unitscalc.cc:(.text+0x2d1): undefined reference to `cl_module__cl_symbol__globalctors'
unitscalc.cc:(.text+0x2d9): undefined reference to `cl_module__cl_no_ring__globalctors'
unitscalc.cc:(.text+0x2ef): undefined reference to `cl_module__cl_FF_globals__globalctors'
unitscalc.cc:(.text+0x2f9): undefined reference to `cl_module__cl_DF_globals__globalctors'
unitscalc.cc:(.text+0x301): undefined reference to `cl_module__cl_LF_globals__globalctors'
unitscalc.cc:(.text+0x309): undefined reference to `cl_module__cl_ieee__globalctors'
unitscalc.cc:(.text+0x31a): undefined reference to `cl_module__cl_ieee__globalctors'
unitscalc.cc:(.text+0x31f): undefined reference to `cl_module__cl_ieee__globalctors'
unitscalc.cc:(.text+0x329): undefined reference to `cl_module__cl_MI__globalctors'
unitscalc.cc:(.text+0x331): undefined reference to `cl_module__cl_MI__globalctors'
unitscalc.cc:(.text+0x339): undefined reference to `cl_module__cl_GV_number__globalctors'
unitscalc.cc:(.text+0x341): undefined reference to `cl_module__cl_GV_I__globalctors'
unitscalc.cc:(.text+0x349): undefined reference to `cl_module__cl_SV_number__globalctors'
unitscalc.cc:(.text+0x351): undefined reference to `cl_module__cl_SV_ringelt__globalctors'
unitscalc.cc:(.text+0x359): undefined reference to `cl_module__cl_UP__globalctors'
unitscalc.cc:(.text+0x361): undefined reference to `cl_module__cl_UP_no_ring__globalctors'
unitscalc.cc:(.text+0x369): undefined reference to `cl_module__cl_C_ring__globalctors'
unitscalc.cc:(.text+0x371): undefined reference to `cl_module__cl_R_ring__globalctors'
unitscalc.cc:(.text+0x379): undefined reference to `cl_module__cl_RA_ring__globalctors'
unitscalc.cc:(.text+0x37f): undefined reference to `cl_module__cl_I_ring__globalctors'



Reproducible: Always

Steps to Reproduce:
1.emerge step
2.
3.



Expected Results:  
kde-step/base compiles correctly :)

Portage 2.2_rc12 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1quad i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1quad-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-glibc2.0
Timestamp of tree: Sun, 12 Oct 2008 15:15:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~arm ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://portage.private.com/gentoo-portage"
USE="3dnow 3dnowext X a52 acl acpi alsa arts berkdb bzip2 cairo cddb cdr cli cracklib cups dbus dri dvd dvdr dvdread encode esd fam ffmpeg firefox flac fortran fuse gdbm gnome gpm gstreamer gtk hal httpd iconv imagemagick isdnlog jpeg kde kdepim libwww mad midi mikmod mmx mmxext mozdevelop mozdom mozilla moznocompose mp3 mpeg mplayer mudflap mysql mysqli ncurses nls nptl nptlonly nvidia offensive ogg opengl openmp pam pcre pda pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl server session smp spell spl sse ssl subversion svg sysfs tagwriting tcpd tiff tk truetype unicode vorbis win32codecs x86 xinerama xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-12 19:28:47 UTC
Would you mind trying to compile with -j1?
Comment 2 J.C. Wren 2008-10-12 22:27:27 UTC
Edited /etc/make.conf, commented out FEATURES="distcc", set MAKEOPTS="-j1"

Re-emerged, no difference, same error.

I'm trying to attach the build.log file, but Bugzilla keeps throwing up on my shoes with a 500 Internal Server error.
Comment 3 J.C. Wren 2008-10-13 13:40:24 UTC
Created attachment 168298 [details]
kde-base/step-4.1.2 build log
Comment 4 J.C. Wren 2008-11-06 16:04:29 UTC
Still no resolution on this.  Everything else on the system is up to date, I've built with no distcc and -j1, and still no joy.  I have to imagine other people are successfully compiling this.

In all reality, I don't care about this program, but it's keeping kdeedu-meta and kde-meta from completing.  I'd be perfectly happy masking this off, but putting it in package.mask just causes emerge to complain.  Is there someway within the KDE build to mask a specific sub-package?
Comment 5 J.C. Wren 2009-02-05 20:41:07 UTC
This exact same error has cropped up with step-4.2.0. 

However, I was able to work around it by using 'ufed' to disable 'qalculate'
Comment 6 Robert Holzknecht 2009-02-16 21:22:01 UTC
I got the same error after a fresh installation. I didn't got it before.

-----------------------------------------
 ~ $ emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-glibc2.0
Timestamp of tree: Sun, 15 Feb 2009 18:10:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.jamit.de/gentoo/ http://gentoo.ynet.sk/pub http://gentoo.tiscali.nl/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en_US en_GB en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects"
SYNC="rsync://10.0.1.7/gentoo-portage"
USE="X aac aalib acl acpi ads alsa apache2 avahi bash-completion bcmath berkdb bittorrent-external bonjour branding bzip bzip2 cairo calendar cddb cdr cgi cli cpudetection cracklib crypt cups curl cvs dbase dbus designer-plugin dhcp directfb dri dts dvd dvdr dvdread encode exif expat fam fat fbcondecor ffmpeg flac flatfile fontconfig fortran freetds ftp fuse gadu gd gdbm ggi gif gimp git glib glitz gnutls google-gadgets gphoto2 gpm gps groupwise gstreamer gtk gzip hal hash hddtemp hfs htmlhandbook iconv icq ieee1394 imap ipv6 isdnlog jabber jack java java6 jfs jpeg jpeg2k kde4 kdeprefix kerberos kontact krb4 lame latex latin1 ldap libcaca libnotify lzo mbox md5sum mdnsresponder-compat meanwhile midi mime mmap mmg mmx mmxext motif mp3 mp3rtp mpeg mplayer msn mudflap musepack mysql nas ncurses nemesi net nls nptl nptlonly nsplugin nss ntfs nvidia odbc ogg opengl openmp otr pam pcre pdf perl php plasma png posix ppds pppd python qq qt3supprt qt4 quicktime quotas rar readline reflection reiser4 reiserfs rss rtc ruby samba sasl scanner server session silc smartcard smp sndfile solver spell spl sqlite sse sse2 ssh ssl ssse3 startup-notification subversion svg svga sysfs tcl tcpd templates threads tiff truetype unicode usb v4l v4l2 vcd vesa vga videos vidix vim vim-syntax vnc vorbis wavpack webinterface webkit wifi win32codecs winbind winpopup wmf x264 x86 xattr xcb xcomposite xfs xft xine xinerama xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xv xvid xvmc yahoo zephyr zip zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="synaptics evdev keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_US en_GB en" USERLAND="GNU" VIDEO_CARDS="vesa vga nvidia v4l nv fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Robert Holzknecht 2009-02-16 21:27:05 UTC
I used the workaround from comment #5. Afterwards i was able to complete it the installation of step.
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-11 12:13:24 UTC
Hi adjusted step deps a bit, please sync and report if it is still borked.
Comment 9 Maciej Mrozowski gentoo-dev 2009-07-05 16:18:52 UTC
What about this? Are you able to reproduce?
Comment 10 Urs Hunkeler 2009-07-26 13:23:26 UTC
I've had the same errors with step-4.2.4. Disabling qalculate in the package use flags helped.
Comment 11 Guy 2009-08-01 23:23:28 UTC
I had kde-base/step-4.2.4 fail with the following:

[ 94%] Building CXX object step/step/CMakeFiles/step.dir/latexformula.o
[ 96%] Building CXX object step/step/CMakeFiles/step.dir/messageframe.o
[ 98%] Building CXX object step/step/CMakeFiles/step.dir/main.o
[100%] Building CXX object step/step/CMakeFiles/step.dir/settings.o
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include/g++-v4/ext/hash_map:64,
                 from /usr/include/libqalculate/includes.h:40,
                 from /usr/include/libqalculate/qalculate.h:15,
                 from /var/tmp/portage/kde-base/step-4.2.4/work/step-4.2.4/step/step/unitscalc.cc:23:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include/g++-v4/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
/var/tmp/portage/kde-base/step-4.2.4/work/step-4.2.4/step/step/toolgraphics.cc:414:2: warning: #warning Select right icon here
/var/tmp/portage/kde-base/step-4.2.4/work/step-4.2.4/step/step/toolgraphics.cc:611:2: warning: #warning Strange, the following line does nothing !
Linking CXX executable step
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_no_ring__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_GV_I__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_MI__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_UP__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_DF_globals__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_LF_globals__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_SV_number__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_st_null__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_R_ring__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_RA_ring__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_UP_no_ring__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_C_ring__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_I_ring__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_symbol__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_random_def__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_SV_ringelt__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_prin_globals__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_GV_number__globalctors'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_ieee__globalctors'
collect2: ld returned 1 exit status
make[2]: *** [step/step/step] Error 1
make[1]: *** [step/step/CMakeFiles/step.dir/all] Error 2
make: *** [all] Error 2

As per comments here, I set USE="-qalculate" and tried again. Emerged to completion. See below:

[ 94%] Building CXX object step/step/CMakeFiles/step.dir/latexformula.o
[ 96%] Building CXX object step/step/CMakeFiles/step.dir/messageframe.o
[ 98%] Building CXX object step/step/CMakeFiles/step.dir/main.o
[100%] Building CXX object step/step/CMakeFiles/step.dir/settings.o
/var/tmp/portage/kde-base/step-4.2.4/work/step-4.2.4/step/step/toolgraphics.cc:414:2: warning: #warning Select right icon here
/var/tmp/portage/kde-base/step-4.2.4/work/step-4.2.4/step/step/toolgraphics.cc:611:2: warning: #warning Strange, the following line does nothing !
Linking CXX executable step
[100%] Built target step
>>> Source compiled.
>>> Test phase [not enabled]: kde-base/step-4.2.4

>>> Install step-4.2.4 into /var/tmp/portage/kde-base/step-4.2.4/image/ category kde-base
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/step-4.2.4/work/step-4.2.4_build"
make -j6 install DESTDIR=/var/tmp/portage/kde-base/step-4.2.4/image/ 
[  1%] Built target step-handbook
[  1%] Built target stepcore_automoc
[  1%] Built target step_automoc
Scanning dependencies of target stepcore
[  3%] Building CXX object step/stepcore/CMakeFiles/stepcore.dir/stepcore_automoc.o
Linking CXX static library ../../lib/libstepcore.a
[ 40%] Built target stepcore
Linking CXX executable step
[100%] Built target step
Install the project...

... <<== some lines omitted for brevity


>>> Completed installing step-4.2.4 into /var/tmp/portage/kde-base/step-4.2.4/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/bin/step

>>> Installing (1 of 1) kde-base/step-4.2.4
 * Running kbuildsycoca4 to build global database ...                                                                                                                    [ ok ]

>>> Recording kde-base/step in "world" favorites file...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
Comment 12 Guy 2009-08-02 00:50:21 UTC
As an experiment, I re-emerged libqalculate, reset the USE="qalculate" flag and re-emerged kde-base/step. This time, step emerged to completion. 

I have occasions where existing dependency packages need to be re-emerged in order to be properly seen by the main package I'm having a problem with.

Work around suggestion:

# emerge libqalculate && emerge kde-base/step

This should resolve your problem.

Disclaimer: I am not a programmer.
Comment 13 Maciej Mrozowski gentoo-dev 2009-08-05 17:17:21 UTC
[18:12:10] <pilla> I get several errors like /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../lib64/libqalculate.so: undefined reference to `cl_module__cl_no_ring__globalctors'
[18:12:15] <pilla> when compiling step
[18:12:50] <pilla> libqalculate is 0.9.6-r1

Reemerging libqalculate solved this issue for that guy (pilla) as he later reported on #gentoo-kde

Reassigning to sci herd...
Comment 14 Mauricio L. Pilla (RETIRED) gentoo-dev 2009-08-05 17:34:33 UTC
Created attachment 200273 [details]
step-4.3.0 build log
Comment 15 snoapx 2009-08-08 11:28:48 UTC
The solution is given just before your post :

emerge libqalculate && emerge kde-base/step
Comment 16 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-15 18:04:35 UTC
*** Bug 259740 has been marked as a duplicate of this bug. ***
Comment 17 Maciej Mrozowski gentoo-dev 2009-08-23 13:09:01 UTC
Is is possible that some ABI-incompatible version of libqalculate has been added with no revbump? (why is this an issue anyway? anyone from Gentoo Science willing to take a look?)
Comment 18 Markus Dittrich (RETIRED) gentoo-dev 2009-08-25 02:15:44 UTC
(In reply to comment #17)
> Is is possible that some ABI-incompatible version of libqalculate has been
> added with no revbump? (why is this an issue anyway? anyone from Gentoo Science
> willing to take a look?)
> 

The libqualculate ebuild (as far as I am aware) hasn't changed significantly
for at least a year. The last upstream release was in 2006 I think. The 
missing symbols seem to originate from cln. Hence, maybe cln had been
updated in the meantime without afterward rebuild libqualculate? In principle, 
revdep-rebuild should have picked that up though.

cheers,
Markus
 
Comment 19 Maciej Mrozowski gentoo-dev 2009-08-31 01:18:20 UTC
Well, every ABI change needs to be reflected in SO_VERSION bump of library that chenged (not just ebuild revbump, it won't help).
If cln is just C++ template library (like eigen for example), then of course there will be no SO_VERSION to bump for cln, but it needs to be propagated to all packages that DEPEND on it and those that have API written so badly, that it breaks ABI with just updating dependencies.
As I don't expect you to manage own SO_VERSION of libqalculate, maybe just add some good pkg_postinst() stating the need to revde-prebuild and be done with it.
Btw, does portage have some ABI checker? (comparing exported symbols of old libs vs new libs within same SONAME-SOVERSION)
Comment 20 Samuli Suominen (RETIRED) gentoo-dev 2010-01-16 16:46:24 UTC
libqalculate SONAME changed with 0.9.7 release to libqalculate.so.5 (.so.5.0.0), so that will force users to rebuild (revdep-rebuild or emerge @preserved-rebuild)

no point in keeping this open anymore, let's get it stabilized in ~30 days.
Comment 21 Samuli Suominen (RETIRED) gentoo-dev 2010-01-28 11:50:26 UTC
*** Bug 302605 has been marked as a duplicate of this bug. ***
Comment 22 Samuli Suominen (RETIRED) gentoo-dev 2010-02-14 09:34:49 UTC
*** Bug 305027 has been marked as a duplicate of this bug. ***