Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 108498

Summary: cdk does not build on amd64 (needed by licq)
Product: Gentoo Linux Reporter: Alex <RittervomNie>
Component: Current packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED WORKSFORME    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alex 2005-10-08 07:27:21 UTC
When emerging licq cdk is required too. But cdk does not build, failes to link
to glibc libraries:

x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3
/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/crtbeginS.o  .l
ibs/dscale.o .libs/fscale.o .libs/fslider.o .libs/scale.o .libs/slider.o .libs/u
scale.o .libs/uslider.o .libs/alphalist.o .libs/binding.o .libs/button.o .libs/b
uttonbox.o .libs/calendar.o .libs/cdk.o .libs/cdk_compat.o .libs/cdk_objs.o .lib
s/cdk_params.o .libs/cdkscreen.o .libs/debug.o .libs/dialog.o .libs/draw.o .libs
/entry.o .libs/fselect.o .libs/get_index.o .libs/get_string.o .libs/graph.o .lib
s/histogram.o .libs/itemlist.o .libs/label.o .libs/marquee.o .libs/matrix.o .lib
s/mentry.o .libs/menu.o .libs/popup_dialog.o .libs/popup_label.o .libs/position.
o .libs/radio.o .libs/scroll.o .libs/selection.o .libs/swindow.o .libs/select_fi
le.o .libs/template.o .libs/traverse.o .libs/version.o .libs/view_file.o .libs/v
iew_info.o .libs/viewer.o  -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3 -L/usr/lib/g
cc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/
x86_64-pc-linux-gnu/3.4.3/../../../../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3
.4.3/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/
lib/gcc/x86_64-pc-linux-gnu/3.4.3/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4
.3/../../../../lib64/crtn.o  -Wl,-soname -Wl,libcdk.so.1 -o .libs/libcdk.so.1.1.
4
x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib6
4/crti.o: No such file or directory
x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/crtbeginS.o: No 
such file or directory
x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/crtendS.o: No su
ch file or directory
x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib6
4/crtn.o: No such file or directory
make: *** [libcdk.la] Fehler 1


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3
/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/crtbeginS.o  .l
ibs/dscale.o .libs/fscale.o .libs/fslider.o .libs/scale.o .libs/slider.o .libs/u
scale.o .libs/uslider.o .libs/alphalist.o .libs/binding.o .libs/button.o .libs/b
uttonbox.o .libs/calendar.o .libs/cdk.o .libs/cdk_compat.o .libs/cdk_objs.o .lib
s/cdk_params.o .libs/cdkscreen.o .libs/debug.o .libs/dialog.o .libs/draw.o .libs
/entry.o .libs/fselect.o .libs/get_index.o .libs/get_string.o .libs/graph.o .lib
s/histogram.o .libs/itemlist.o .libs/label.o .libs/marquee.o .libs/matrix.o .lib
s/mentry.o .libs/menu.o .libs/popup_dialog.o .libs/popup_label.o .libs/position.
o .libs/radio.o .libs/scroll.o .libs/selection.o .libs/swindow.o .libs/select_fi
le.o .libs/template.o .libs/traverse.o .libs/version.o .libs/view_file.o .libs/v
iew_info.o .libs/viewer.o  -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3 -L/usr/lib/g
cc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/
x86_64-pc-linux-gnu/3.4.3/../../../../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3
.4.3/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/
lib/gcc/x86_64-pc-linux-gnu/3.4.3/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4
.3/../../../../lib64/crtn.o  -Wl,-soname -Wl,libcdk.so.1 -o .libs/libcdk.so.1.1.
4
x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib6
4/crti.o: No such file or directory
x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/crtbeginS.o: No 
such file or directory
x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/crtendS.o: No su
ch file or directory
x86_64-pc-linux-gnu-g++: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib6
4/crtn.o: No such file or directory
make: *** [libcdk.la] Fehler 1



Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.
12-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r10 x86_64 AMD Turion(tm) 64 Mobile Technology ML-28
Gentoo Base System version 1.6.12
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabl
ed]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/
config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/x
dvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/d
istributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X accessibility acpi alsa apache2 audiofile avi bash-completion berkdb
 bitmap-fonts bzip2 calendar cdb cdparanoia cdr crypt cups curl curlwrappers doc 
drm dvd dvdr dvdread eds emboss encode esd examples exif fam fbcon ffmpeg fftw fl
ac foomaticdb fortran ftp gdbm gif glut gphoto2 gpm gstreamer gtk gtk2 ieee1349 i
magemagick imap imlib ipv6 jack java jikes jpeg kdeenablefinal ladcca libg++ libw
ww lm_sensors lzw lzw-tiff mad mbox mime mmap mozilla mp3 mpeg mysql ncurses nls 
odbc ogg opengl oss pam pcmcia pdflib perl php png posix postgres python qt quick
time readline sdl sndfile spell ssl svg symlink tcpd tetex theora threads tiff tr
uetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd videos vorbis w
ifi wmf xine xml xml2 xmms xpm xsl xv xvid zlib userland_GNU kernel_linux elibc_g
libc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Mike Cvet 2005-10-08 07:30:58 UTC
What version are you trying to install? 4.9.10.20020809 installs fine here.

Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -ftracer -funit-at-a-time"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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 -march=k8 -pipe -ftracer -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/
http:://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi bash-completion berkdb bitmap-fonts cdr crypt cups curl
eds emboss encode esd fam firefox flac foomaticdb fortran gif gpm gstreamer gtk
gtk2 imagemagick imlib ipv6 jpeg libwww lzw lzw-tiff motif mp3 mpeg ncurses nls
nptl nptlonly ogg opengl pam pdflib perl png python qt quicktime readline sdl
spell ssl tcpd tetex tiff truetype-fonts type1-fonts usb userlocales vorbis xine
xml xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Alex 2005-10-25 12:15:52 UTC
For some reason (after several syncs and two emerge --deep --newuse world [added
gcj to use-variable->new gcc) it works now and cdk was emerged without any
errors...posted new emerge --info too:

Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.
.13-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r3 x86_64 AMD Turion(tm) 64 Mobile Technology ML-28
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disa
led]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/shar
/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/sha
e/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/s
are/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/te
mf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux
distributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib accessibility acpi alsa apache2 audiofile avi bash-compl
tion berkdb bitmap-fonts bmp bzip2 calendar cdb cdparanoia cdr crypt cups curl 
urlwrappers directfb doc dri drm dvd dvdr dvdread eds emboss encode esd example
 exif fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gcj gdbm gif glut gphot
2 gpm gstreamer gtk gtk2 icq ieee1349 imagemagick imap imlib ipv6 jack java jav
script jikes jpeg junit kde kdeenablefinal ladcca libg++ libwww lm_sensors lzw 
zw-tiff mad mbox mime mmap mozilla mp3 mpeg mysql ncurses nls nsplugin odbc ogg
opengl oss pam pcmcia pdflib perl php png posix postgres python qt quicktime re
dline samba sdl sndfile spell ssl svg symlink tcltk tcpd tetex theora threads t
ff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd vid
os vorbis wav wifi wmf xine xml2 xmms xpm xsl xv xvid zlib userland_GNU kernel_
inux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY