Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291424 - [gnome overlay] dev-libs/gjs-0.4 - src_install fails
Summary: [gnome overlay] dev-libs/gjs-0.4 - src_install fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-01 12:23 UTC by Laurento Frittella (mrfree)
Modified: 2010-04-03 16:59 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,94.36 KB, text/plain)
2009-11-01 12:24 UTC, Laurento Frittella (mrfree)
Details
emerge --info (emerge.info,4.28 KB, text/plain)
2009-11-01 12:25 UTC, Laurento Frittella (mrfree)
Details
another build.log (build.log,104.95 KB, text/plain)
2009-11-12 18:01 UTC, Maciej Piechotka
Details
-j1 mode (build.log,8.93 KB, text/plain)
2010-03-24 01:20 UTC, Michael Weber (RETIRED)
Details
-j8 mode (build.log,31.28 KB, text/plain)
2010-03-24 01:22 UTC, Michael Weber (RETIRED)
Details
suggested changes for gnome-overlay (0001-dev-libs-gjs-0.6-version-bump-and-USE-coverage.patch,3.66 KB, patch)
2010-04-02 03:12 UTC, Michael Weber (RETIRED)
Details | Diff
buildlog for gjs-0.6[coverage] (build.log,136.22 KB, text/plain)
2010-04-02 03:21 UTC, Michael Weber (RETIRED)
Details
patch for gnome-overlay (0579-dev-libs-gjs-0.6-version-bump.patch,3.58 KB, patch)
2010-04-03 14:09 UTC, Michael Weber (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Laurento Frittella (mrfree) 2009-11-01 12:23:52 UTC
It compiles correctly but fails during src_install
Comment 1 Laurento Frittella (mrfree) 2009-11-01 12:24:29 UTC
Created attachment 208936 [details]
build.log
Comment 2 Laurento Frittella (mrfree) 2009-11-01 12:25:37 UTC
Created attachment 208938 [details]
emerge --info
Comment 3 Laurento Frittella (mrfree) 2009-11-01 17:06:55 UTC
Disabling parallel build in the install phase, as suggested by eva in #gentoo-desktop, do the trick:

src_install() {
        gnome2_src_install -j1
}
Comment 4 Maciej Piechotka 2009-11-12 18:01:59 UTC
Created attachment 210040 [details]
another build.log

The same problem and the fix works.

Portage 2.1.7.4 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 12 Nov 2009 01:45:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -momit-leaf-frame-pointer -msahf -mcx16"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -momit-leaf-frame-pointer -msahf -mcx16"
DISTDIR="/var/tmp/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://212.219.56.132/sites/www.ibiblio.org/gentoo/ http://212.219.56.131/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.133/sites/www.ibiblio.org/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common"
LINGUAS="en en_GB pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage/local/layman/gnome"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 applet autoipd avahi bash-completion berkdb bluetooth boo branding bzip2 cairo caps cdr cli connection-sharing consolekit cracklib crypt cups dbus device-mapper dirac disk-partition djvu dmraid dri dts dvd dvdr dvi eds emacs emboss encode evo expat extras fam fat ffmpeg firefox flac fontconfig fortran fuse galago gconf gdbm gif git glitz gmp gnome gnome-keyring gnutls gphoto2 gpm graphite gsm gstreamer gtk gtksourceview hal iconv ieee1394 introspection ipv6 irc jabber java jpeg kdrive kpathsea laptop latex ldap libffi libnotify libproxy libsigseg libsoup libwnck lzma mad mikmod mmx modules mono mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin ntfs objc objc++ objc-gc ogg opengl openmp pam pango pch pcre pdf perl png podcast policykit poppler ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection reiserfs schroedinger sdl session sip spell spl sqlite sse sse2 ssl startup-notification subversion svg symlink sysfs tcpd theora thunar tiff truetype udev unicode usb v4l v4l2 videos vorbis vte wav webkit win64 x264 xattr xcb xcomposite xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul 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 en_GB pl" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Michael Weber (RETIRED) gentoo-dev 2010-03-24 01:19:41 UTC
Well, there is a problem compiling (MAKEOPTS="-j8" and MAKEOPTS="-j1").

in -j1 mode, there is a missing include "jsstddef.h" which only exists as /usr/include/js/jsstddef.h from dev-lang/spidermonkey-1.7.0 on my system, bot not in the xulrunner-1.9.2 includes.

in -j8 (quad core), there is a 
- /usr/include/xulrunner-1.9.2/jscntxt.h:1824: error: ‘JSContext’ has no member named ‘fp’
- modules/console.c:114: error: expected expression before ‘char’
and some warnings about /usr/include/xulrunner-1.9.2/js*
Comment 6 Michael Weber (RETIRED) gentoo-dev 2010-03-24 01:20:43 UTC
Created attachment 225061 [details]
-j1 mode
Comment 7 Michael Weber (RETIRED) gentoo-dev 2010-03-24 01:22:25 UTC
Created attachment 225063 [details]
-j8 mode

seems like gjs does not like xulrunner-1.9.2
Comment 8 Michael Weber (RETIRED) gentoo-dev 2010-03-24 01:58:23 UTC
(In reply to comment #5)
> Well, there is a problem compiling (MAKEOPTS="-j8" and MAKEOPTS="-j1").

version bump to 0.5 does the trick. 
Comment 9 Michael Weber (RETIRED) gentoo-dev 2010-04-02 03:12:20 UTC
Created attachment 226207 [details, diff]
suggested changes for gnome-overlay

Subject: [PATCH] dev-libs/gjs-0.6 version bump and USE=coverage

git-0.4 does not compile against xulrunner-1.9.2.2-r1.
see http://dpaste.com/178679/ and
http://bugs.gentoo.org/show_bug.cgi?id=291424

the new version depends on x11-libs/cairo

the coverage USE flag wasn't passed to the econf command /
configure script.

USE=coverage does not compile yet, see http://dpaste.com/178689/
I think that is no regression to the gjs-0.4.ebuild which does
not respect it.

Michael
Comment 10 Michael Weber (RETIRED) gentoo-dev 2010-04-02 03:21:17 UTC
Created attachment 226209 [details]
buildlog for gjs-0.6[coverage]

any clues. recompile gjs-0.4 with G2CONF="$(use_enable coverage)", i can't because of xulrunner error occurs first.
Comment 11 Michael Weber (RETIRED) gentoo-dev 2010-04-03 14:09:33 UTC
Created attachment 226399 [details, diff]
patch for gnome-overlay
Comment 12 Nirbheek Chauhan (RETIRED) gentoo-dev 2010-04-03 16:59:57 UTC
This has been fixed with the bump to 0.6, thanks for reporting!