Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73886 - kdepim-3.3.2 error
Summary: kdepim-3.3.2 error
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: Normal blocker (vote)
Assignee: Gentoo KDE team
: 73887 (view as bug list)
Depends on:
Reported: 2004-12-09 02:40 UTC by
Modified: 2004-12-23 07:22 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description 2004-12-09 02:40:32 UTC
when emerging kdepim-3.3.2 libkcal wont link to kdes libical.

/bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -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 -DNDEBUG -DNO_DEBUG -O2 -msse3 -g0 -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -pipe -O3 -march=prescott -fweb -funswitch-loops -funroll-all-loops -funit-at-a-time -fsched2-use-traces -fsched2-use-superblocks -fsched-stalled-insns=12 -frename-registers -fprefetch-loop-arrays -fpeel-loops -fomit-frame-pointer -fmerge-all-constants -finline-limit=32768 -finline-functions -ffunction-sections -ffast-math -fdata-sections -fbranch-target-load-optimize2 -fvisibility-inlines-hidden -fabi-version=0 -fpermissive -fno-enforce-eh-specs -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   -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -z now -z combreloc -s -o -rpath /usr/kde/3.3/lib -L/usr/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib  -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 2:0:0 libkcal_la.all_cpp.lo  versit/ -lkio ../libical/src/libical/ ../libical/src/libicalss/ ../ktnef/lib/ -lkresources -lkabc 
../libical/src/libicalss/.libs/libicalss.a(icalsslexer.o)(.bss.yytext_ptr+0x0): multiple definition of `yytext_ptr'
../libical/src/libical/.libs/libical.a(icallexer.o)(.bss.yytext_ptr+0x0): first defined here
collect2: ld returned 1 exit status
make[2]: *** [] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdepim-3.3.2/work/kdepim-3.3.2/libkcal'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdepim-3.3.2/work/kdepim-3.3.2/libkcal'
make: *** [install-recursive] Error 1
4  05:24:05  babaar /var/tmp/portage/kdepim-3.3.2/work/kdepim-3.3.2  #

  I can get the libtool to work by adding "-z muldefs" to my LDFLAGS but i dont know what this will do come runtime.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-12-09 03:29:16 UTC
*** Bug 73887 has been marked as a duplicate of this bug. ***
Comment 2 Imad R. Faiad 2004-12-09 11:30:55 UTC
smoothe sailing my end, unless you shook your magic wand from when this problem
was reported, Jacob may have some other issue.
here is what i have
gentoo2 ~ # emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.4, glibc-, 2.6.8-gentoo-r10 i686)
System uname: 2.6.8-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec  9 2004, 16:15:17)]
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/libtool:   1.5.2-r7
CFLAGS="-O2 -mtune=pentium4 -march=pentium4 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe "
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium4 -march=pentium4 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -frename-registers -fweb -ftracer -pipe -fvisibility-inlines-hidden"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks sfperms"
USE="X alsa arts avi berkdb bitmap-fonts cdr crypt dvd encode esd f77 fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 idea imagemagick imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls nomalloccheck nptl nptlonly oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcpd tetex tiff truetype x86 xml2 xmms xvzlib"

gentoo2 ~ # gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: /mnt/sda4/tmp/portage/gcc-3.4.4_beta20041203/work/gcc-3.4-20041203/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3 --host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --disable-multilib --disable-libgcj --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.4  (Gentoo Linux 3.4.4_beta20041203)
gentoo2 ~ #      
Comment 3 Simone Gotti (RETIRED) gentoo-dev 2004-12-09 11:57:58 UTC
Please try with less aggressive cflags, and try also disabling distcc and ccache (you have to force this putting in FEATURES: -ccache -distcc). Before doing this clean you /var/tmp/portage dir.
Comment 4 Simone Gotti (RETIRED) gentoo-dev 2004-12-09 12:04:31 UTC
I don't know if this is related but where does 

gcc version 3.4.4  (Gentoo Linux 3.4.4_beta20041203)

come from? it's not in the official portage tree and it's a beta version.
Comment 5 Imad R. Faiad 2004-12-09 12:32:15 UTC
@Simone Gotti,
i've no problems whatsoever, and that's what i'm reporting, "smoothe sailing".
many thanks Caleb
Comment 6 Imad R. Faiad 2004-12-09 12:45:56 UTC
@Simone Gotti,
as for my my compiler, well it's in my portage overlay, it is based
on the 20041203 gcc-3.4 snapshot, it's has all the gentoo patches, save for the
PIE, SSP, and boundcheck ones.  KDE 3.3.2 just finnished compiling, with
no problems, other than arts-1.3.2, which Caleb rectified.
as for the compiler flags, they are as conservative as they can be, although
they may sound otherwise... i've 5 gentoo boxen on these, if you doubt me,
and have the same arch as i do, please try them out.
Comment 7 2004-12-11 03:52:24 UTC

php gives me the same type problem.  this could be due to bad emerge habits (not downgrading sometimes or not upgrading).  its pretty consistant from one box to another.  the packages id think most likely creating the problem are either the automake's/autoconf's or the libtool.  i doubt its cflags or striped libs because most of these defines are with the build itself.

side note:  net-www/apache-2.0.52-r1 started giving me hard crashes on site access after recompiling (same build) where it did not do so before.  emergeing with just the "threads" use flag makes it not crash and berkdb and gdbm arent it.
Comment 8 Gregorio Guidi (RETIRED) gentoo-dev 2004-12-23 07:22:09 UTC
I guess the answer is the same as bug 74072