Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278809 - net-libs/xulrunner-1.9.1-r1 can't compile with "--no-print-directory" in MAKEOPTS
Summary: net-libs/xulrunner-1.9.1-r1 can't compile with "--no-print-directory" in MAKE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 09:08 UTC by Pavel Procopiuc
Modified: 2009-08-02 18:51 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 Pavel Procopiuc 2009-07-23 09:08:33 UTC
When compiling xulrunner with MAKEOPTS containing both "--silent --no-print-directory" it breaks soon after configure. Removing either or both of these options make it proceed as expected. -j option doesn't influence the breaking. It seems that makefiles depend on grepping somehow. As far as I recall the same was true for xulrunner-1.9.1.

This is the output of compilation before the break:

# emerge -1a xulrunner

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-libs/xulrunner-1.9.1-r1  USE="custom-optimization dbus python startup-notification -debug -gnome -java" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

...<cut>...

>>> Compiling source in /var/tmp/portage/net-libs/xulrunner-1.9.1-r1/work/mozilla-1.9.1 ...
make -j2 --silent --no-print-directory
tier_base:  config build probes  memory/jemalloc
export_tier_base
Creating /var/tmp/portage/net-libs/xulrunner-1.9.1-r1/work/mozilla-1.9.1/config/.deps
nsinstall.c
pathsub.c
creating build/pgo/Makefile
Creating /var/tmp/portage/net-libs/xulrunner-1.9.1-r1/work/mozilla-1.9.1/memory/jemalloc/.deps
libs_tier_base
jemalloc.c
tier_nspr:
export_tier_nspr
libs_tier_nspr
tier_nspr:
export_tier_nspr
libs_tier_nspr
tier_js:  js/src
export_tier_js
Creating /var/tmp/portage/net-libs/xulrunner-1.9.1-r1/work/mozilla-1.9.1/js/src/.deps
nsinstall.c
sh: ../build/unix/print-failed-commands.sh: No such file or directory
gmake[4]: *** [host_nsinstall.o] Error 127
gmake[3]: *** [config/nsinstall] Error 2
gmake[3]: *** Waiting for unfinished jobs....
gmake[2]: *** [export_tier_js] Error 2
gmake[1]: *** [tier_js] Error 2
make: *** [default] Error 2
 *
 * ERROR: net-libs/xulrunner-1.9.1-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5167:  Called _eapi2_src_compile
 *               ebuild.sh, line  634:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * 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/net-libs/xulrunner-1.9.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-1.9.1-r1/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
Comment 1 Pavel Procopiuc 2009-07-23 09:11:31 UTC
# emerge --info
Portage 2.2_rc33 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r3-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 23 Jul 2009 06:30:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="x86"
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"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="auth_basic auth_digest authz_host autoindex dav deflate dir env expires filter headers include info mime mime_magic negotiation rewrite setenvif so vhost_alias"
ARCH="x86"
AUTOCLEAN="yes"
BROWSER="/usr/bin/firefox"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="1"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/init.d /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/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-march=core2 -O3 -mmmx -msse -msse2 -msse3 -mfpmath=sse -fweb -pipe"
DISPLAY=":0"
DISTDIR="/var/portage/distfiles"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--keep-going --verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
GTK_IM_MODULE="xim"
HG="/usr/bin/hg"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3/info"
INPUT_DEVICES="keyboard synaptics evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LADSPA_PATH="/usr/lib/ladspa"
LANG="en_US.UTF-8"
LANGUAGE=""
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ADDRESS="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_CTYPE="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LDFLAGS="-Wl,-O3,--as-needed,--sort-common,--enable-new-dtags,--hash-style=gnu"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="en en_US ru ro"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAKEOPTS="--jobs=2 --silent --no-print-directory"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3/man:/etc/java-config/system-vm/man/:/usr/lib/php5/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man:/usr/share/postgresql-8.3/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OLDPWD="/root"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/most -s"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.3:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
PKGDIR="/var/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ECLASS_WARNING_ENABLE="0"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_IONICE_COMMAND="ionice -c3 -p ${PID}"
PORTAGE_NICENESS="15"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_STRIP_FLAGS="--strip-all --discard-all -R .comment -R .note -R .note.ABI-tag"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/portage/local/layman/kde-testing /var/portage/local/layman/roslin /var/portage/local/layman/devnull /var/portage/local/layman/java-overlay /var/portage/local/layman/Spring /var/portage/local/layman/jokey /home/pro/portage"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/var/tmp/portage/net-libs/xulrunner-1.9.1-r1/temp"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
QT_IM_MODULE="xim"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.3.3:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
RPMDIR="/var/portage/rpm"
SANE_CONFIG_DIR="/etc/sane.d"
SGML_CATALOG_FILES="/etc/sgml/sgml-docbook.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/xml-docbook-4.1.2.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/xml-docbook-4.4.cat"
SHELL="/bin/bash"
SHLVL="1"
SSH_ASKPASS="/usr/bin/ssh-askpass-fullscreen"
SUDO_COMMAND="/bin/bash"
SUDO_GID="1000"
SUDO_UID="1000"
SUDO_USER="pro"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USB_DEVFS_PATH="/dev/bus/usb"
USE="7zip X a52 aac acct acl acpi aio alsa amr apache2 ares ass async avahi bash-completion berkdb bittorrent bluetooth bzip2 cairo calendar caps cdaudio cdda cdr chm cjk cli cracklib crypt css cups curl curlwrappers custom-optimization cvs cxx dbus dga dirac djvu dri dts dvd dvdr dvdread ebook encode exif faac faad fam fat ffmpeg fftw flac fontconfig ftp fuse gcrypt gd gdbm gif glitz gnutls gpm gps gtk2 hal htmlhandbook iconv icu id3tag idn ieee1394 imagemagick imap ipv6 irda isdnlog jabber java5 java6 javascript jingle joystick jpeg jpeg2k kde4 kipi kvm ladspa lame laptop lcms libsamplerate libv4l2 live lm_sensors logitech-mouse lzo mad matroska midi mikmod mjpeg mmap mmx mng mp3 mp4 mpeg mplayer msn mudflap musicbrainz mysql ncurses network networkmanager newspr nls nodrm nptl nptlonly ntfs ntp nvidia obex ogg opengl openmp oscar pam pch pcre pdf perl pg-intdatetime php plasma png pppd python qt4 quicktime rdesktop readline reflection reiserfs resolvconf rle rtsp samba schroedinger sdl semantic-desktop session skype slang smp soundex speex spell spl sqlite sse sse2 sse3 ssl ssse3 startup-notification stream svg sysfs syslog taglib tcpd theora threads thumbnail tidy tiff truetype unicode usb utempter v4l v4l2 vcd vdpau vnc vorbis wavpack win32codecs wlm wmf wxwidgets x264 x86 xcb xcomposite xine xinerama xml xml2 xorg xpm xscreensaver xv xvid xvmc yahoo zip 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="auth_basic auth_digest authz_host autoindex dav deflate dir env expires filter headers include info mime mime_magic negotiation rewrite setenvif so vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US ru ro" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa nouveau"
USER="root"
USERLAND="GNU"
USERNAME="root"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nv nvidia vesa nouveau"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/kde/3.5/share:/usr/share:/usr/share/games"
_="/usr/bin/emerge"

Comment 2 Jory A. Pratt gentoo-dev 2009-07-25 02:37:28 UTC
--silent works fine, only option that breaks build is no-print-directory which I will investigate.
Comment 3 Jory A. Pratt gentoo-dev 2009-08-02 18:51:05 UTC
Added a workaround until upstream and myself can track down the problem. Thanks for reporting.
Comment 4 Jory A. Pratt gentoo-dev 2009-08-02 18:51:33 UTC
refer to previous comment.