When using paludis, the qt4-build.eclass returns a ${my_conf} value that includes "./configure -no-pch -release -no-separate-debug-info -arch i386". This seems to be because the $(tc-arch) case statement doesn't match amd64. The result is a configuration that tries to build for i386 and fails. Reproducible: Always Steps to Reproduce: 1. Using paludis and ~amd64 arch, paludis -i1 qt-core 2. Failure Actual Results: The best description is that the following config statement is issued: ./configure -no-pch -release -no-separate-debug-info -arch i386 -stl -verbose -largefile -confirm-license -no -rpath -prefix /usr -bindir /usr/bin -libdir /usr/lib/qt4 -datadir /usr/share/qt4 -docdir /usr/share/doc/qt-4.5.1 -headerdir /usr/include/qt4 -plugindir /usr/lib/qt4/plugins -sysconfdir /etc/qt4 -translationdir /usr/share/qt4/translations -examplesdir /usr/share/qt4/examples -demosdir /usr/share/qt4/demos -silent -fast -no-exceptions -reduce-relocations -nomake examples -nomake demos -opensource -glib -iconv -openssl -qt3support -no-xkb -no-fontconfig -no-xrender -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl -no-nas-sound -no-dbus -no-cups -no-gif -no-libpng -no-libmng -no-libjpeg -system-zlib -no-webkit -no-phonon -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig -no-opengl -no-svg -no-gtkstyle -nomake docs Expected Results: Built with "./configure -arch amd64 ..."
Works for me using portage on amd64.
Of course it works in portage. It wouldn't have been keyworded for amd64 if it didn't. This looks like a paludis bug to me, so assigning to paludis maintainer. CCing toolchain as they maintain the toolchain-funcs eclass where tc-arch is from, so they are aware of this failure.
(In reply to comment #2) > This looks like a paludis bug to me, so assigning to paludis maintainer. Yes, because no-one's ever tried to use an ebuild that uses tc-arch with paludis until now. *rolleyes*
What directory does /usr/src/linux point to?
Please also post your `paludis --info` and `emerge --info` so I can compare and see what toolchain-funcs/qt4-build are doing incorrectly.
(In reply to comment #5) > Please also post your `paludis --info` and `emerge --info` so I can compare and > see what toolchain-funcs/qt4-build are doing incorrectly. > paludis --info stealth ~ # paludis --info paludis 0.36.0 Paludis build information: Compiler: CXX: i686-pc-linux-gnu-g++ 4.3.2 CXXFLAGS: -march=prescott -Os -fomit-frame-pointer -pipe LDFLAGS: -Wl,-O1 DATE: 2009-03-26T11:12:43-0400 Libraries: C++ Library: GNU libstdc++ 20080827 Reduced Privs: reduced_uid: 113 reduced_uid->name: paludisbuild reduced_uid->dir: /var/tmp/paludis reduced_gid: 1019 reduced_gid->name: paludisbuild Paths: DATADIR: /usr/share LIBDIR: /usr/lib LIBEXECDIR: /usr/libexec SYSCONFDIR: /etc PYTHONINSTALLDIR: RUBYINSTALLDIR: /usr/lib/ruby/site_ruby/1.8/i686-linux Environment: Format: paludis Config dir: /etc/paludis World file: /var/db/pkg/world Repository layman: format: unavailable location: /var/db/paludis/repositories/layman sync: tar+http://git.exherbo.org/layman_repositories.tar.bz2 sync_options: Repository installed-virtuals: format: installed_virtuals root: / Repository virtuals: format: virtuals Repository gentoo: format: ebuild location: /usr/portage append_repository_name_to_write_cache: true binary_destination: false binary_keywords: binary_uri_prefix: builddir: /var/tmp/paludis cache: /usr/portage/metadata/cache distdir: /usr/portage/distfiles eapi_when_unknown: 0 eapi_when_unspecified: 0 eclassdirs: /usr/portage/eclass ignore_deprecated_profiles: false layout: traditional names_cache: /usr/portage/.cache/names newsdir: /usr/portage/metadata/news profile_eapi_when_unspecified: 0 profiles: /usr/portage/profiles/default/linux/x86/2008.0/desktop securitydir: /usr/portage/metadata/glsa setsdir: /usr/portage/sets sync: rsync://rsync.gentoo.org/gentoo-portage sync_options: use_manifest: use write_cache: /var/cache/paludis/metadata Repository installed: format: vdb location: /var/db/pkg builddir: /var/tmp/paludis names_cache: /var/db/pkg/.cache/names provides_cache: /var/db/pkg/.cache/provides root: / No packages were specified on the command line, so detailed information is not available (Paludis can display detailed information for both installed and installable packages). So if you're reporting a bug in cat/pkg, use 'paludis --info cat/pkg' instead. -------- emerge --info Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-tuxonice-r8 i686) ================================================================= System uname: Linux-2.6.28-tuxonice-r8-i686-Genuine_Intel-R-_CPU_T2050_@_1.60GHz-with-glibc2.0 Timestamp of tree: Fri, 08 May 2009 13:00:01 +0000 distcc 3.0 i686-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-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="-march=native -Os -fomit-frame-pointer -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/config" 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/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -Os -fomit-frame-pointer -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="en_US" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa amarok apache2 bash-completion berkdb bitmap-fonts blas bluetooth branding bzip2 cairo cdr cli clisp cracklib crypt css cups cvs dbus divx dri dvd dvdread eds emacs emboss encode esd evo exif f77 fam ffmpeg fftw firefox foomaticdb fortran fuse gcj gdbm gif gimpprint gmedia gphoto2 gpm gstreamer gtk gtkhtml hal hbci http iconv imagemagick isdnlog java jikes jpeg jpeg2k kde kerberos lcms libclamav libnotify lm_sensors mad metis midi mikmod mjpeg mmx mozilla mp3 mpeg mudflap mysql ncurses new-login nptl nptlonly nsplugin oav obex ofx ogg oggvorbis openal opengl openmp oss other_var1 other_var2 pam pcre pdf perl php pic plotutils png posix ppds pppd python qt3 qt3support qt4 quicktime quotes readline realmedia reflection sane sasl sdl session smp spell spl sse sse2 ssl startup-notification subversion svg svga sysfs tcltk tcpd tetex threaded threads thunderbird tiff truetype truetype-fonts type1 type1-fonts unicode usb v4l vorbis win32codecs wmf wmp wxwindows x86 xcomposite xine xml xorg xprint xulrunner xv zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse fpit synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="atiusb" USERLAND="GNU" VIDEO_CARDS="intel vesa vga fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS /usr/src/linux -> linux-2.6.28-tuxonice-r8
Peter, Your CPU does not support 64-bit instructions. This means you should not be compiling anything 64-bit. Your system is not 64-bit, it is i686 which is all that your CPU supports. As such, Paludis operated correctly. Marking RESOLVED INVALID.
(In reply to comment #0) > The result is a configuration that tries to build for i386 and fails. Seems to me that the user is just interpreting the bug very, very wrongly. But should it anyway fail, given it's correctly compiling x86 on x86? I may be missing some misconfiguration in the --info but it looks like standard x86 configuration for both paludis and portage, so why is there a difference.
(In reply to comment #8) > Seems to me that the user is just interpreting the bug very, very wrongly. But > should it anyway fail, given it's correctly compiling x86 on x86? I may be > missing some misconfiguration in the --info but it looks like standard x86 > configuration for both paludis and portage, so why is there a difference. Opps... mental mistake on my end. The emerge --info and paludis --info I reported above are from the wrong machine. I'll update the results on Monday when I get back to the correct machine. It is a Xeon W5580 cpu which should be compiling as x86_64. I believe the bug is real. Sorry for the confusion.
Here is the correct info: paludis 0.36.1 Paludis build information: Compiler: CXX: g++ 4.3.2 CXXFLAGS: -march=core2 -O2 -pipe -msse4 -msse4.1 -msse4.2 LDFLAGS: -Wl,-O1 DATE: 2009-05-08T08:39:02-0400 Libraries: C++ Library: GNU libstdc++ 20080827 Reduced Privs: reduced_uid: 103 reduced_uid->name: paludisbuild reduced_uid->dir: /var/tmp/paludis reduced_gid: 1006 reduced_gid->name: paludisbuild Paths: DATADIR: /usr/share LIBDIR: /usr/lib LIBEXECDIR: /usr/libexec SYSCONFDIR: /etc PYTHONINSTALLDIR: RUBYINSTALLDIR: /usr/lib/ruby/site_ruby/1.8/i686-linux Environment: Format: paludis Config dir: /etc/paludis World file: /var/db/pkg/world Repository layman: format: unavailable location: /var/db/paludis/repositories/layman sync: tar+http://git.exherbo.org/layman_repositories.tar.bz2 sync_options: Repository installed-virtuals: format: installed_virtuals root: / Repository virtuals: format: virtuals Repository gentoo: format: ebuild location: /usr/portage append_repository_name_to_write_cache: true binary_destination: false binary_keywords: binary_uri_prefix: builddir: /var/tmp/paludis cache: /usr/portage/metadata/cache distdir: /usr/portage/distfiles eapi_when_unknown: 0 eapi_when_unspecified: 0 eclassdirs: /usr/portage/eclass ignore_deprecated_profiles: false layout: traditional names_cache: /usr/portage/.cache/names newsdir: /usr/portage/metadata/news profile_eapi_when_unspecified: 0 profiles: /usr/portage/profiles/default/linux/x86/2008.0/desktop securitydir: /usr/portage/metadata/glsa setsdir: /usr/portage/sets sync: rsync://rsync.gentoo.org/gentoo-portage sync_options: use_manifest: use write_cache: /var/cache/paludis/metadata Repository installed: format: vdb location: /var/db/pkg builddir: /var/tmp/paludis names_cache: /var/db/pkg/.cache/names provides_cache: /var/db/pkg/.cache/provides root: / No packages were specified on the command line, so detailed information is not available (Paludis can display detailed information for both installed and installable packages). So if you're reporting a bug in cat/pkg, use 'paludis --info cat/pkg' instead. ------- Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-tuxonice x86_64) ================================================================= System uname: Linux-2.6.29-tuxonice-x86_64-Intel-R-_Xeon-R-_CPU_W5580_@_3.20GHz-with-glibc2.2.5 Timestamp of tree: Mon, 11 May 2009 17:30:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 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="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" 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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc /texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch 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="-j17" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa amarok amd64 apache2 bash-completion berkdb bitmap-fonts blas branding bzip2 cairo cli clisp cracklib crypt css cups cvs dbus divx dri dvd dvdread emacs encode esd exif f77 ffmpeg fftw firefox foomaticdb fortran fuse gcj gdbm gif gimpprint gmedia gphoto2 gpm gtk gtkhtml hal hbci iconv imagemagick isdn log java jikes jpeg jpeg2k kde kerberos laptop lcms libclamav mad math metis midi mikmod mjpeg mmx mozilla mpeg mudflap multilib mysql ncurses new-login nptl nptlonly nsplugin oav ofx ogg oggvorbis openal opengl openmp oss other_var1 other_var2 pam pcre pdf perl php pic plotutils png posix postscript ppds pppd python quotes readline realmedia reflection sane sasl sdl session smp spell spl sse sse2 ssl subversion svg sysfs tcltk tcpd tetex threaded threads thunderbird tiff truetype truetype-fonts type1 type1-fonts unicode usb v4l vhosts vorbis wmf wmp wxwindows xcomposite xine xml xorg xprint xulrunner zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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 vesa vga fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
So, uh, you're using an x86 profile on amd64, and blaming Paludis for things breaking?
You have set an amd64 system up with a x86 profile, understandably causing the error. Please use an amd64 profile. This bug is invalid. Marking -> RESO INVALID