I cannot compile the new version of lablgtk (2.6.0) The configure-skript fails. I think, it is something with this warning, that gcc (3.4.6) produces: "`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead." This is the last output, that the emerge gave: checking for ocaml dll support... yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib OCaml uses gcc `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. to compile C files checking for i686-pc-linux-gnu-gcc... gcc `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/lablgtk-2.6.0/work/lablgtk-2.6.0/config.log !!! ERROR: dev-ml/lablgtk-2.6.0 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile lablgtk-2.6.0.ebuild, line 59: Called econf '--with-rsvg' '--without-glade' '--with-gnomecanvas' '--with-gnomeui' '--with-panel' '--with-gl' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. Here comes a part of the config.log: gcc: `-mcpu=': No such file or directory gcc: is: No such file or directory gcc: deprecated.: No such file or directory gcc: Use: No such file or directory gcc: `-mtune=': No such file or directory gcc: or: No such file or directory gcc: '-march=': No such file or directory gcc: instead.: No such file or directory solaris lablgtk-2.6.0 # emerge --info Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r13 i686) ================================================================= System uname: 2.6.16-gentoo-r13 i686 Pentium III (Coppermine) Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -mtune=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=pentium3 -mtune=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE" LINGUAS="de en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/local /usr/local/overlays/gentoo-de" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib aim alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bitmap-fonts bonobo bzip2 cdparanoia cdr cjk cli crypt ctype cups curl db2 dga dio directfb dlloader doc dri dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd examples exif expat fam fastcgi fbcon ffmpeg fftw flac foomaticdb fortran ftp gb gcj gd gdbm gif ginac glut gmp gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml hardenedphp icq imagemagick imap imlib ipv6 isdnlog java javascript jpeg junit kde kerberos krb4 lcms ldap leim libg++ libwww mad maildir mailwrapper mbox memlimit mikmod mime mmap mmx mng mono motif mp3 mpeg msn mule mysql nas ncurses nis nls nptl nsplugin odbc ogg opengl oscar oss pam pcmcia pcre pdflib perl php pic plotutils png posix postgres pppd python qt qt3 qt4 quicktime readline reflection ruby samba sasl scanner sdl seamonkey session skey slang snmp sockets socks5 softmmu sox speex spell spl sqlite sse ssl svg svga symlink tcltk tcpd test tetex threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vdr vhosts vorbis win32codecs wxwindows xface xine xml xml2 xmlrpc xmms xorg xpm xsl xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de linguas_en userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 95352 [details] my config.log
It looks like it comes from an old version of ocaml. Which version of dev-lang/ocaml are you using? And can you please paste the output of: touch conftest.c ocamlc -verbose -c conftest.c
Stable version of dev-lang/ocaml is 3.08.3 # ocamlc -v The Objective Caml compiler, version 3.08.3 Standard library directory: /usr/lib/ocaml With gcc-4.1.1 is works here: checking for ocaml dll support... yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib OCaml uses gcc to compile C files checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes @Tobias: With which compiler did you compile Ocaml? Did you try to re-compile dev-lang/ocaml with your current compiler? Portage 2.1.1_rc1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r6 i686) ================================================================= System uname: 2.6.17-gentoo-r6 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.4 Last Sync: Tue, 29 Aug 2006 13:00:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -Os -fforce-addr -fomit-frame-pointer -ftracer -pipe" 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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon-xp -Os -fforce-addr -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden -fno-enforce-eh-specs" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo http://gentoo.inode.at http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.osuosl.org/ http://ftp.easynet.nl/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aac acpi alsa arts asf automount avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr cli cups dbus dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gif glitz gmp gnokii gpm graphviz gs gtk gtk2 hal howl idn ieee1394 imagemagick imap imlib input_devices_joystick input_devices_keyboard input_devices_mouse isdnlog jbig joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux lame lcms libg++ libwww linguas_de lzo mad matroska mbox mhash mikmod mmx mng mozilla mozsvg mp3 mpeg mplayer musepack ncurses nls normalize nptl nptlonly nsplugin nvidia ogg openexr opengl oss pam pcre pdflib perl pic png ppds pppd qt qt3 quicktime readline real reflection samba session slp sndfile spell spl sse ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd video_cards_nv video_cards_nvidia video_cards_v4l vorbis win32codecs wmf wxwindows xine xinerama xml xorg xv xvid zlib zvbi" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #2) towa@solaris ~/tmp $ ocamlc -v The Objective Caml compiler, version 3.08.3 Standard library directory: /usr/lib/ocaml towa@solaris ~/tmp $ touch conftest.c towa@solaris ~/tmp $ ocamlc -verbose -c conftest.c + gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -march=pentium3 -mcpu=i686 -fomit-frame-pointer -pipe -fPIC -c -I'/usr/lib/ocaml' 'conftest.c' `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. ... and after re-emerging ocaml: towa@solaris ~/tmp $ ocamlc -v The Objective Caml compiler, version 3.08.3 Standard library directory: /usr/lib/ocaml towa@solaris ~/tmp $ ocamlc -verbose -c conftest.c + gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -march=pentium3 -mtune=i686 -fomit-frame-pointer -pipe -fPIC -c -I'/usr/lib/ocaml' 'conftest.c' > It looks like it comes from an old version of ocaml. Which version of > dev-lang/ocaml are you using? And can you please paste the output of: > > touch conftest.c > ocamlc -verbose -c conftest.c >
(In reply to comment #3) I re-emerged ocaml and now it works. Thanks to all od you. > Stable version of dev-lang/ocaml is 3.08.3 > > # ocamlc -v > The Objective Caml compiler, version 3.08.3 > Standard library directory: /usr/lib/ocaml > > With gcc-4.1.1 is works here: > > checking for ocaml dll support... yes > checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib > OCaml uses gcc to compile C files > checking for i686-pc-linux-gnu-gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > > @Tobias: With which compiler did you compile Ocaml? Did you try to re-compile > dev-lang/ocaml with your current compiler? > > Portage 2.1.1_rc1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, > glibc-2.4-r3, 2.6.17-gentoo-r6 i686) > ================================================================= > System uname: 2.6.17-gentoo-r6 i686 AMD Athlon(tm) XP 2600+ > Gentoo Base System version 1.12.4 > Last Sync: Tue, 29 Aug 2006 13:00:01 +0000 > ccache version 2.4 [enabled] > app-admin/eselect-compiler: 2.0.0_rc2-r1 > dev-lang/python: 2.4.3-r3 > dev-python/pycrypto: 2.0.1-r5 > dev-util/ccache: 2.4-r2 > dev-util/confcache: [Not Present] > sys-apps/sandbox: 1.2.18.1 > sys-devel/autoconf: 2.13, 2.60 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 > sys-devel/binutils: 2.17 > sys-devel/gcc-config: 1.3.13-r3 > sys-devel/libtool: 1.5.22 > virtual/os-headers: 2.6.17 > ACCEPT_KEYWORDS="x86 ~x86" > AUTOCLEAN="yes" > CBUILD="i686-pc-linux-gnu" > CFLAGS="-march=athlon-xp -Os -fforce-addr -fomit-frame-pointer -ftracer -pipe" > 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/X11/xkb /usr/share/config" > CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler > /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" > CXXFLAGS="-march=athlon-xp -Os -fforce-addr -fomit-frame-pointer -ftracer -pipe > -fvisibility-inlines-hidden -fno-enforce-eh-specs" > DISTDIR="/usr/portage/distfiles" > FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox > sfperms strict" > GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo http://gentoo.inode.at > http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ > http://gentoo.osuosl.org/ http://ftp.easynet.nl/mirror/gentoo/ > http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/" > LANG="de_DE.utf8" > LC_ALL="de_DE.utf8" > LDFLAGS="-Wl,-O1 -Wl,--sort-common" > LINGUAS="de" > MAKEOPTS="-j2" > PKGDIR="/usr/portage/packages" > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress > --force --whole-file --delete --delete-after --stats --timeout=180 > --exclude='/distfiles' --exclude='/local' --exclude='/packages'" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > PORTDIR_OVERLAY="/usr/local/portage" > SYNC="rsync://rsync.gentoo.org/gentoo-portage" > USE="x86 3dnow 3dnowext X aac acpi alsa arts asf automount avi berkdb > bitmap-fonts bzip2 cairo cddb cdparanoia cdr cli cups dbus dlloader dri dvd > dvdr dvdread eds elibc_glibc emboss encode ffmpeg firefox flac fontconfig > foomaticdb fortran ftp gdbm gif glitz gmp gnokii gpm graphviz gs gtk gtk2 hal > howl idn ieee1394 imagemagick imap imlib input_devices_joystick > input_devices_keyboard input_devices_mouse isdnlog jbig joystick jpeg jpeg2k > kde kdeenablefinal kdehiddenvisibility kernel_linux lame lcms libg++ libwww > linguas_de lzo mad matroska mbox mhash mikmod mmx mng mozilla mozsvg mp3 mpeg > mplayer musepack ncurses nls normalize nptl nptlonly nsplugin nvidia ogg > openexr opengl oss pam pcre pdflib perl pic png ppds pppd qt qt3 quicktime > readline real reflection samba session slp sndfile spell spl sse ssl svg tcpd > theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb > userland_GNU v4l vcd video_cards_nv video_cards_nvidia video_cards_v4l vorbis > win32codecs wmf wxwindows xine xinerama xml xorg xv xvid zlib zvbi" > Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS >
Closing.
*** Bug 156294 has been marked as a duplicate of this bug. ***