Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140564 - net-dialup/slmodem-2.9.11_pre20051101 don't compile in amd64
Summary: net-dialup/slmodem-2.9.11_pre20051101 don't compile in amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-15 14:31 UTC by Kazuo Teramoto
Modified: 2006-08-22 05:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge log (slmodem-2.9.11_pre20051101.log,23.73 KB, text/plain)
2006-07-15 14:31 UTC, Kazuo Teramoto
Details
net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild (slmodem-2.9.11_pre20051101.ebuild,4.51 KB, text/plain)
2006-08-22 04:55 UTC, Kazuo Teramoto
Details
net-dialup/slmodem/files/slmodem-2.9.11-modem-cc-makefile.patch (slmodem-2.9.11-modem-cc-makefile.patch,340 bytes, patch)
2006-08-22 04:56 UTC, Kazuo Teramoto
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kazuo Teramoto 2006-07-15 14:31:10 UTC
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
Comment 1 Kazuo Teramoto 2006-07-15 14:31:57 UTC
Created attachment 91829 [details]
emerge log
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-15 17:08:17 UTC
Please try to put
    has_multilib_profile && ABI=x86

after that line in the ebuild:
src_compile() {
Comment 3 Kazuo Teramoto 2006-07-15 19:16:46 UTC
(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.
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2006-07-19 06:53:46 UTC
Masked on amd64 pending fix.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-19 07:04:00 UTC
This is a bug in eselect-compiler, not in slmodem
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2006-08-22 04:07:51 UTC
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.
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-22 04:14:48 UTC
Cany ou please fix the ebuild yourself? I do not have amd64 to test with.
Comment 8 Kazuo Teramoto 2006-08-22 04:55:41 UTC
Created attachment 94847 [details]
net-dialup/slmodem/slmodem-2.9.11_pre20051101.ebuild

fixed ebuild (Don't set ABI directly.)
Comment 9 Kazuo Teramoto 2006-08-22 04:56:42 UTC
Created attachment 94848 [details, diff]
net-dialup/slmodem/files/slmodem-2.9.11-modem-cc-makefile.patch

patch to not hard set CC
Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-22 05:12:27 UTC
thanks, committed