Hi i cant emerge net-dialup/slmodem the log from emerge is attached my emerge --info: Portage 2.1.1_pre2-r8 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r2 x86_64) ================================================================= System Settings ================================================================= System uname: 2.6.17-gentoo-r2 x86_64 AMD Turion(tm) 64 Mobile Technology ML-34 Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 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: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3" CHOST="x86_64-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/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ http://cudlug.cudenver.edu/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" LINGUAS="en pt_BR fr 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 /usr/local/overlays/sci-gentoo /usr/local/overlays/initng-portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac acl acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts blas bluetooth bzip2 cairo cdr cjk cli crypt cups dga dlloader doc dri dv dvd dvdr dvdread eds emboss emul-linux-x86 encode exif ffmpeg fftw flac foomaticdb fortran ftp gcj gd gif gmp gnutls gpm gsl gstreamer gtk gtk2 hal ieee1394 imagemagick imlib immqt-bc ipv6 isdnlog javascript jpeg kde kdehiddenvisibility kipi lapack lcms lua lzw lzw-tiff mad matroska mikmod mp3 mpeg mpi ncurses nls nptl nptlonly ogg opengl pam pcmcia pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session slang spell spl sqlite sqlite3 sse3 ssl svg tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vim-pager vim-with-x visualization vorbis wifi xcomposite xml xml2 xmms xorg xpm xscreensaver xv xvid zlib elibc_glibc initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc4 initng_plugins_pause initng_plugins_pidfile initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded initng_plugins_provide input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en linguas_pt_BR linguas_fr linguas_de userland_GNU video_cards_radeon video_cards_fbdev video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 91829 [details] emerge log
Please try to put has_multilib_profile && ABI=x86 after that line in the ebuild: src_compile() {
(In reply to comment #2) > Please try to put > has_multilib_profile && ABI=x86 > > after that line in the ebuild: > src_compile() { > No, don't work same emerge output.
Masked on amd64 pending fix.
This is a bug in eselect-compiler, not in slmodem
Use this: multilib_toolchain_setup x86 Don't set ABI directly. Additionally, this is a bug in slmodem not honoring CC. It is calling 'gcc' of course you should expect 'gcc' to be 64 bit. Make sure it sets the -m32 flag or honor CC which is set to i686-pc-linux-gnu-gcc (as a result of multilib_toolchain_setup). This is not a blocker of eselect-compiler.
Cany ou please fix the ebuild yourself? I do not have amd64 to test with.
Created attachment 94847 [details] net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild fixed ebuild (Don't set ABI directly.)
Created attachment 94848 [details, diff] net-dialup/slmodem/files/slmodem-2.9.11-modem-cc-makefile.patch patch to not hard set CC
thanks, committed