Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222063 - media-gfx/sam2p-0.45 needs a more informative die message if FEATURES=distcc
Summary: media-gfx/sam2p-0.45 needs a more informative die message if FEATURES=distcc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-14 11:15 UTC by Daniel Tourde
Modified: 2008-08-29 21:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tourde 2008-05-14 11:15:51 UTC
>>> Emerging (2 of 27) media-gfx/sam2p-0.45 to /
 * sam2p-0.45.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                     [ ok ]
 * checking sam2p-0.45.tar.bz2 ;-) ...                                                                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking sam2p-0.45.tar.bz2 to /var/tmp/portage/media-gfx/sam2p-0.45/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-gfx/sam2p-0.45/work/sam2p-0.45 ...
 *
 * ERROR: media-gfx/sam2p-0.45 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  747:  Called die
 * The specific snippet of code:
 *           die "disable FEATURES=distcc";
 *  The die message:
 *   disable FEATURES=distcc
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/sam2p-0.45/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/sam2p-0.45/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1. emerge sam2p (triggered by texlive)
2.
3.

Actual Results:  
*
 * ERROR: media-gfx/sam2p-0.45 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  747:  Called die
 * The specific snippet of code:
 *           die "disable FEATURES=distcc";
 *  The die message:
 *   disable FEATURES=distcc
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/sam2p-0.45/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/sam2p-0.45/temp/environment'.
 *



emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.6.1-r0, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Timestamp of tree: Wed, 14 May 2008 07:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.3.6-r4, 2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
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 /var/bind /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en sv fr si"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aac aalib accessibility acl acpi ada adns aiglx aim akode alsa amarok ansi apache2 apm arts asf auctex audiofile automount bash-completion bcmath beagle berkdb bidi blas bonobo boost boundchecking bzip2 bzlib c++ cairo calendar caps cdb cdr cgi cjk clearcase cli cmucl cpdflib cpudetection cracklib crypt cscope ctype cups curl curlwrappers cvs d dba dbase dbm dbus dbx deprecated dga dio directfb discouraged divx4linux doc dri dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo exif expat fam fastcgi fbcon fbcondecor ffcall ffmpeg fftw filepro firebird firefox flac flatfile foomaticdb fortran freetds ftp gcc-libffi gcj gd gdbm ggi gif ginac glut gmp gnome gnustep gnutls gphoto2 gpm gsnd gstreamer gtk gtkhtml guile hal haskell hdf5 iconv icq icu idn imagemagick imap imlib innodb iodbc ipv6 isdnlog jabber jack java javascript joystick jpeg junit kde kdeenablefinal kerberos krb4 ladcca lapack lcms ldap leim libgda lzo mad maildir mailwrapper mbox mhash midi mikmod milter mime ming mjpeg mmap mmx mng mono motif mozbranding mp3 mpeg mplayer msession msn mudflap mule mysql mysqli nas ncurses netcdf networking new-login nis nls nptl nptlonly nsplugin nvidia objc objc++ odbc offensive ofx ogg openal opengl openmp oscar oss pam pascal pcntl pcre pda pdf perforce perl php pic pie plotutils plugin png portaudio posix postgres povray ppds pppd prelude profile python qhull qt3 qt3support qt4 quicktime readline reflection regex ruby samba sasl scanner sdl seamonkey session simplexml slang slp sndfile snmp soap sockets socks5 sox speex spell spl sql sqlite sqlite3 sse sse2 ssl stlport subversion svg svga svnserve sysvipc szip tcl tcltk tcpd tetex theora threads tidy tiff tk tokenizer truetype unicode usb vhosts vorbis wddx win32codecs winbind wmf wxwindows x86 xcomposite xface xft xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid yahoo yaz zeo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sv fr si" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Tourde 2008-05-14 11:19:53 UTC
Same issue with sam2p-r1:

>>> Emerging (1 of 1) media-gfx/sam2p-0.45-r1 to /
 * sam2p-0.45.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                      [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                     [ ok ]
 * checking sam2p-0.45.tar.bz2 ;-) ...                                                                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking sam2p-0.45.tar.bz2 to /var/tmp/portage/media-gfx/sam2p-0.45-r1/work
 * Applying sam2p-0.45-fbsd.patch ...                                                                                                                                                      [ ok ]
 * Applying sam2p-0.45-nostrip.patch ...                                                                                                                                                   [ ok ]
 * Applying sam2p-0.45-cflags.patch ...                                                                                                                                                    [ ok ]
 * Running eautoreconf in '/var/tmp/portage/media-gfx/sam2p-0.45-r1/work/sam2p-0.45' ...
 * Running autoconf ...                                                                                                                                                                    [ ok ]
 * Running autoheader ...                                                                                                                                                                  [ !! ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-gfx/sam2p-0.45-r1/work/sam2p-0.45 ...
 *
 * ERROR: media-gfx/sam2p-0.45-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2574:  Called die
 * The specific snippet of code:
 *           die "disable FEATURES=distcc";
 *  The die message:
 *   disable FEATURES=distcc
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/sam2p-0.45-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/sam2p-0.45-r1/temp/environment'.
 *

 * Messages for package media-gfx/sam2p-0.45-r1:

 *
 * ERROR: media-gfx/sam2p-0.45-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2574:  Called die
 * The specific snippet of code:
 *           die "disable FEATURES=distcc";
 *  The die message:
 *   disable FEATURES=distcc
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/sam2p-0.45-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/sam2p-0.45-r1/temp/environment'.
 *
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-14 13:51:44 UTC
Apparently you need to set FEATURES=-distcc before you emerge sam2p... CC'ing tex@ as they may want to pick up maintainership (and perhaps show the user a more elaborate message before dying.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-22 16:47:25 UTC
(In reply to comment #2)
> Apparently you need to set FEATURES=-distcc before you emerge sam2p... CC'ing
> tex@ as they may want to pick up maintainership (and perhaps show the user a
> more elaborate message before dying.

Meaning:

1) Environment checks should be performed in pkg_setup(), not src_compile().
2) Replacing the text with something userfriendly, like "${PN} will not build with distcc. Please disable it with FEATURES=-distcc."
Comment 4 Alexis Ballier gentoo-dev 2008-08-29 21:52:35 UTC
fixed differently in -r1; it shouldnt die anymore now and will disable distcc automatically