Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152018 - gaim-2.0.0_beta4 fails to compile with USE=mono
Summary: gaim-2.0.0_beta4 fails to compile with USE=mono
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-19 18:30 UTC by Jose Marino
Modified: 2006-10-21 20:22 UTC (History)
8 users (show)

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


Attachments
emerge output (gaim-error.txt,28.16 KB, text/plain)
2006-10-19 18:35 UTC, Jose Marino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Marino 2006-10-19 18:30:23 UTC
Got a compilation error while emerging gaim-2.0.0_beta4
The error happens right at the beginning of the compilation. I'll post the whole output in the next message.

Support for mono seemed to be the culprit, so I tried with USE='-mono' and it emerged correctly.

Here's my emerge --info

$ emerge --info
Portage 2.1.1-r1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.5
Last Sync: Fri, 20 Oct 2006 01:00:09 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 2.0.30
dev-lang/python:     2.4.3-r4
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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fprefetch-loop-arrays -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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="-march=athlon64 -O2 -pipe -fprefetch-loop-arrays -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LC_ALL="en_US.utf8"
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://localhost:3000/gentoo-portage"
USE="amd64 X a52 aac acpi aiglx alsa amr asf audiofile berkdb bitmap-fonts bonjour bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cups curl dbus divx4linux djvu dlloader dri dvd dvdread dvi elibc_glibc emacs emboss encode esd fam ffmpeg fftw flac fontconfig fortran gdbm gif gimpprint glitz glut gnome gnutls gpm gs gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kernel_linux lcms ldap libg++ logrotate lzo mad md5sum mng mono mozcalendar moznocompose moznoirc moznomail moznoroaming mozsvg mozxmlterm mp3 mpeg mpi msn nautilus ncurses network nls nntp nomotif nptl nptlonly nsplugin nvidia offensive ogg opengl oss pam pcre pdf perl png ppds pppd python quicktime readline reflection rtc samba sdl session sndfile speex spell spl sqlite ssl startup-notification svg symlink t1lib tcpd tetex theora tiff truetype truetype-fonts type1-fonts ucs2 udev unicode usb userland_GNU v4l v4l2 vcd video_cards_nvidia video_cards_v4l video_cards_vesa vorbis x264 xine xml xmms xorg xpm xscreensaver xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jose Marino 2006-10-19 18:35:29 UTC
Created attachment 100060 [details]
emerge output

Here's the output from the emerge.

I have dev-lang/mono-1.1.13.6 installed

The USE flags used in the emerge are (had to set -mono for it to emerge):

[ebuild   R   ] net-im/gaim-2.0.0_beta4  USE="audiofile bonjour dbus gnutls msn nls perl spell ssl startup-notification xscreensaver -avahi -cjk -crypt -custom-flags -debug -doc -eds -gadu -meanwhile -mono -nas -qq -silc -tcl -tk"
Comment 2 merwan kashouty 2006-10-19 20:42:08 UTC
same on ~x86
Comment 3 Waldo 2006-10-19 21:30:37 UTC
Sorry for the "me too" but confirmed on a 2nd amd64 machine..

W
Comment 4 Bernard Cafarelli gentoo-dev 2006-10-20 02:09:45 UTC
As I saw no true errors in the output, I tried with MAKEOPTS=-j1, and it worked!
A better workaround would be nice though

Portage 2.1.2_pre3-r5 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-ck1-r1 x86_64)
=================================================================
System uname: 2.6.18-ck1-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
Gentoo Base System version 1.12.5
Last Sync: Fri, 20 Oct 2006 08:20:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
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, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /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/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR"
LDFLAGS="-Wl,-O1"
LINGUAS="fr fr_FR"
MAKEOPTS="-j3"
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.cafarelli.fr/gentoo-portage"
USE="amd64 X a52 aac aalib aim alsa audiofile bash-completion beagle berkdb bitmap-fonts bonobo browserplugin bzip2 cairo cddb cdr cli cracklib crypt cscope cups curl dbus dga dio dlloader dri dts dvb dvd dvdr dvdread elibc_glibc emboss encode exif expat ffmpeg fftw flac foomaticdb fortran ftp gb gcj gd gdbm gif gimp glut gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml iconv idn imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java jikes joystick jpeg kernel_linux lcms libcaca libg++ linguas_fr linguas_fr_FR lirc lirc_devices_mceusb2 live mad matroska mbox mikmod mime mng mono mp3 mpeg msn musicbrainz mysql nas ncurses nls nptl nptlonly nsplugin nvidia objc offensive ogg openal opengl oscar oss pam pcmcia pcre pda pdf perl php pic png posix ppds pppd python qt3 qt4 quicktime readline recode reflection ruby samba scanner sdl seamonkey session slang smp speex spell spl sqlite ssl startup-notification svg tcl tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd video_cards_none video_cards_nvidia vorbis wifi wmf wxwindows x264 xcomposite xface xine xinerama xml xml2 xmms xorg xosd xpm xscreensaver xv xvid xvmc yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 D Wollmann 2006-10-20 03:14:01 UTC
Same error here, workaround to get successful build was:

# MAKEOPTS=-j1 emerge gaim -u

Comment 6 Waldo 2006-10-20 23:09:51 UTC
configure: error: unrecognized option: -j1
Try `./configure --help' for more information.

Then it busted.

Thoughts?

W
Comment 7 Kathryn Kulick (RETIRED) gentoo-dev 2006-10-21 06:14:28 UTC
The beta4 ebuild has been adjusted with the workaround until we can find a better option.
Comment 8 Canek Peláez Valdés 2006-10-21 11:45:22 UTC
Crap, I reported in the duplicated. I was able to resolve this, I put the same that I did in bug 152244:

--------------
I can confirm this. The problem is in line 219 of the ebuild:

   gnome2_src_compile -j1 || die "Make failed"

gnome2_src_compile it's not only the call to make; it's also the call to the
configure script, which tries to use the "-j1" option. I fixed it with:

   MAKEOPTS="-j1" gnome2_src_compile || die "Make failed"

With this, the ebuild compiles and install without problems, using "make -j1"
(it just compiled, so I cannot tell anything about stability yet).
Comment 9 Canek Peláez Valdés 2006-10-21 11:49:25 UTC
Sorry, I didn't look that a workaround had been posted. Ignore my post.
Comment 10 Waldo 2006-10-21 20:22:59 UTC
Could someone reopen this?  It's not solving the bug for me:

./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib -j1 --enable-nls --enable-perl --enable-gtkspell --disable-startup-notification --disable-tcl --disable-tk --enable-mono --disable-debug --enable-dbus --disable-meanwhile --disable-nas --enable-gevolution --disable-audio --disable-doxygen --with-dynamic-prpls=irc,jabber,msn,oscar,yahoo,zephyr,simple --enable-nss=no --enable-gnutls=yes --with-gnutls-includes=/usr/include/gnutls --with-gnutls-libs=/usr/lib64 --disable-gtk-doc --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
configure: error: unrecognized option: -j1
Try `./configure --help' for more information.

!!! ERROR: net-im/gaim-2.0.0_beta4 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gaim-2.0.0_beta4.ebuild, line 219:   Called gnome2_src_compile '-j1'
  gnome2.eclass, line 63:   Called gnome2_src_configure '-j1'
  gnome2.eclass, line 59:   Called econf '-j1' '--enable-nls' '--enable-perl' '--enable-gtkspell' '--disable-startup-notification' '--disable-tcl' '--disable-tk' '--enable-mono' '--disable-debug' '--enable-dbus' '--disable-meanwhile' '--disable-nas' '--enable-gevolution' '--disable-audio' '--disable-doxygen' '--with-dynamic-prpls=irc,jabber,msn,oscar,yahoo,zephyr,simple' '--enable-nss=no' '--enable-gnutls=yes' '--with-gnutls-includes=/usr/include/gnutls' '--with-gnutls-libs=/usr/lib64' '--disable-gtk-doc'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.