Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18041 - kgpg has problem with compilation
Summary: kgpg has problem with compilation
Status: RESOLVED DUPLICATE of bug 15025
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-23 08:46 UTC by Mariusz Smykula
Modified: 2005-07-17 13:06 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 Mariusz Smykula 2003-03-23 08:46:58 UTC
!!! ERROR: app-crypt/kgpg-1.0.0 failed.
!!! Function kde_src_compile, Line 116, Exitcode 2
!!! died running emake, kde_src_compile:make

Full emerge log:
<start>

echo '#include "keyserver.moc"' >> keyserver.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -
I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno
-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwri
te-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DN
DEBUG -DNO_DEBUG -O2 -march=athlon-tbird -O3 -pipe -fno-exceptions -fno-check-ne
w  -c -o keyserver.o `test -f 'keyserver.cpp' || echo './'`keyserver.cpp

[....]

echo '#include "keyserver.moc"' >> keyserver.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -
I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno
-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwri
te-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DN
DEBUG -DNO_DEBUG -O2 -march=athlon-tbird -O3 -pipe -fno-exceptions -fno-check-ne
w  -c -o keyserver.o `test -f 'keyserver.cpp' || echo './'`keyserver.cpp

[....]
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wn
o-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwr
                                           ite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -D                                     
      NDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -O3 -pipe -fno-exceptions
-fno-check-n                                            ew    -o kgpg
-L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib  -R /usr/kde/3             
                              .1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib
kgpgoptions.o listkeys.o popuppublic.o                                         
   kgpgview.o kgpg.o main.o popupname.o kgpgfast.o keygener.o kgpginterface.o
keys                                            ervers.o popupimport.o
kgpgeditor.o detailedconsole.o kgpglibrary.o kgpgoption.o                      
                      keyserver.o searchres.o kgpglibrary.moc.o  -lkio
libtool: link: cannot find the library `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1
                                           /libstdc++.la'
make[3]: *** [kgpg] B&#322;&#261;d 1
make[3]: Leaving directory `/var/tmp/portage/kgpg-1.0.0/work/kgpg-1.0.0/kgpg/kgp
                                           g'
make[2]: *** [all-recursive] B&#322;&#261;d 1
make[2]: Leaving directory `/var/tmp/portage/kgpg-1.0.0/work/kgpg-1.0.0/kgpg'
make[1]: *** [all-recursive] B&#322;&#261;d 1
make[1]: Leaving directory `/var/tmp/portage/kgpg-1.0.0/work/kgpg-1.0.0'
make: *** [all] B&#322;&#261;d 2

!!! ERROR: app-crypt/kgpg-1.0.0 failed.
!!! Function kde_src_compile, Line 116, Exitcode 2
!!! died running emake, kde_src_compile:make

<end>

# emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-03-23 09:05:21 UTC
please paste full
#emerge info

as you can see, you're using gcc 3.2.2 and he is linking to 3.2.1
libtool: link: cannot find the library `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1
                                           /libstdc++.la'


try
#source /etc/profile && ldconfig
Comment 2 Mariusz Smykula 2003-03-23 13:33:56 UTC
#source /etc/profile && ldconfig 
without result :(

What I should do? I should recompile kde with new gcc?

$ emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/jakarta/tomcat/conf /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm avi encode gif jpeg libg++ libwww mikmod mpeg ncurses nls png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java guile sdl gpm tcpd pam perl python esd imlib motif opengl X -kdegames gnome -cups gtk -alsa 3dnow crypt directfb fbcon kde qt mmx mozilla oggvorbis pdflib ssl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-03-23 13:37:45 UTC
try it please
you can't damage it. it could only get better
Comment 4 Mariusz Smykula 2003-03-23 13:59:52 UTC
marian root # source /etc/profile && ldconfig
marian root #

I dont see any result? :(
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2003-03-23 14:00:03 UTC
looks like a duplicate of bug #15025, please look into it and try suggested fix. 
Comment 6 Mariusz Smykula 2003-03-23 15:41:37 UTC
marian root # source /etc/profile && ldconfig
marian root #

[...]

marian root # emerge kgpg

[...]

!!! ERROR: app-crypt/kgpg-1.0.0 failed.

[...]

marian root # emerge rsync

[...]

marian root # cd /usr/portage/sys-devel/gcc/files/
marian files # ./fix_libtool_files.sh 3.2.1
 * Scannig libtool files for hardcoded gcc 3.2.1 library path...
 *   Scanning /usr/lib/opengl/xfree/lib...
 *   Scanning /usr/lib/mozilla...
 *   Scanning /usr/X11R6/lib...
 *   Scanning /opt/blackdown-jre-1.3.1/lib...
 *   Scanning /usr/qt/3/lib...
 *   Scanning /usr/kde/3.1/lib...
 *   Scanning /usr/games/lib...
 *   Scanning /lib...
 *   Scanning /usr/lib...
 *   Scanning /usr/local/lib...

marian root # source /etc/profile && ldconfig
marian root #

[...]

marian root # emerge kgpg

[...]

!!! ERROR: app-crypt/kgpg-1.0.0 failed.

marian root # ls -al /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++*
-rw-r--r--    1 root     root      8004944 2003-03-23 09:32 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.a
-rwxr-xr-x    1 root     root          896 2003-03-23 09:32 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.la
lrwxrwxrwx    1 root     root           18 2003-03-23 09:32 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so -> libstdc++.so.5.0.2
lrwxrwxrwx    1 root     root           18 2003-03-23 09:32 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so.5 -> libstdc++.so.5.0.2
-rwxr-xr-x    1 root     root      1065659 2003-03-23 09:32 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/libstdc++.so.5.0.2

marian root # ls -al /usr/lib/gcc-lib/
razem 40
drwxr-xr-x    3 root     root         4096 2003-03-23 09:33 .
drwxr-xr-x   60 root     root        32768 2003-03-23 19:50 ..
drwxr-xr-x    3 root     root         4096 2003-03-23 09:32 i686-pc-linux-gnu


marian root # gcc-config i686-pc-linux-gnu-3.2.2
 * Switching to i686-pc-linux-gnu-3.2.2 compiler..

I have error all time :(

%%%%%%%%%%%%%%%%%%%%%%%%%%%%

My history:

I have gcc 3.2.1 and make: emerge kde
I have updated gcc to 3.2.2 and make: emerge kgpg


Comment 7 Michele Balistreri (RETIRED) gentoo-dev 2003-04-14 13:34:33 UTC
i suggest you re-emerging kde with the new gcc 
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-04-24 10:57:30 UTC
try source /etc/profile
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2003-04-28 16:42:10 UTC
http://www.gentoo.org/doc/en/upgrade-to-gentoo-1.4.xml
http://cvs.gentoo.org/~carpaski/system_update/ (ChangeLog   update-step1.sh  update-step3.sh README.txt  update-step2.sh  update-step4.sh)


watch out bug #15025 & bug #14350 & all duplicates for help

*** This bug has been marked as a duplicate of 15025 ***