Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 422479 - =dev-libs/gjs-1.34.0: missing support for =dev-lang/spidermonkey-1.8.{7,8}
Summary: =dev-libs/gjs-1.34.0: missing support for =dev-lang/spidermonkey-1.8.{7,8}
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 455056 (view as bug list)
Depends on:
Blocks: mozjs187
  Show dependency tree
 
Reported: 2012-06-19 20:58 UTC by Vasco Gervasi
Modified: 2013-08-26 16:25 UTC (History)
2 users (show)

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


Attachments
spidermonkey-1.8.7 support (gjs-1.32.0-spidermonkey-1.8.7_support.patch,540 bytes, patch)
2012-06-20 13:05 UTC, Jory A. Pratt
Details | Diff
patch to fix the dependency to mozjs185 (file_422479.txt,385 bytes, text/plain)
2012-08-02 13:13 UTC, Guillaume ZITTA
Details
dev-libs/gjs-1.36.0 (gjs-1.36.0.ebuild,1.62 KB, text/plain)
2013-03-28 20:15 UTC, Maciej Piechotka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasco Gervasi 2012-06-19 20:58:37 UTC
I have just update spidermonkey to 1.8.7 so I get "Use emerge @preserved-rebuild to rebuild packages using these libraries" and I run that command so:

emerge @preserved-rebuild
[ebuild   R    ] dev-libs/gjs-1.32.0  USE="-examples -test" 454 kB
[ebuild   R    ] sys-auth/polkit-0.106-r2  USE="gtk introspection nls pam -debug -examples -kde -systemd" 0 kB
[ebuild   R   #] gnome-base/gnome-shell-3.4.1  USE="bluetooth networkmanager -systemd" 0 kB

But I get this error:

No package 'mozjs185' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GJS_CFLAGS
and GJS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Comment 1 Jory A. Pratt gentoo-dev 2012-06-20 12:50:41 UTC
  19 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> polkit-0.106-r2.ebuild:
  Check for mozjs187.pc for >=dev-lang/spidermonkey-1.8.7 compability

Your emerge info is missing so no timestamp means we have no clue how old your tree is.
Comment 2 Jory A. Pratt gentoo-dev 2012-06-20 13:05:24 UTC
Created attachment 315843 [details, diff]
spidermonkey-1.8.7 support

Overlooked your comment on GJS
Comment 3 Vasco Gervasi 2012-06-20 15:59:44 UTC
Sorry:


Portage 2.2.0_alpha110 (default/linux/x86/10.0, gcc-4.7.1, glibc-2.15-r2, 3.5.0-rc3 i686)
=================================================================
System uname: Linux-3.5.0-rc3-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.1
Timestamp of tree: Tue, 19 Jun 2012 19:00:01 +0000
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories:

gentoo
    location: /usr/portage/tree
    sync: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x11
    location: /usr/portage/dist/layman/x11
    masters: gentoo
    priority: 0

gnome
    location: /usr/portage/dist/layman/gnome
    masters: gentoo
    priority: 1

yellowhat-overlay
    location: /usr/portage/dist/local
    masters: gentoo
    priority: 2

Installed sets: 
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="ctxfi"
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="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 cgi cgid 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"
ARCH="x86"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump"
CAMERAS="ptp2"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co]"
COLORTERM="gnome-terminal"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISPLAY=":0"
DISTDIR="/usr/portage/dist/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --with-bdeps y --quiet-build=n"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ http://gentoo.binarycompass.org"
GJS_DEBUG_OUTPUT="stderr"
GJS_DEBUG_TOPICS="JS ERROR;JS LOG"
GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
GNOME_KEYRING_CONTROL="/home/vasco/.cache/keyring-uujMI3"
GPG_AGENT_INFO="/home/vasco/.cache/keyring-uujMI3/gpg:0:1"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
GRUB_PLATFORMS=""
GSETTINGS_BACKEND="dconf"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HG="/usr/bin/hg"
HOME="/root"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.7.1/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.22/info"
INPUT_DEVICES="evdev"
I_WANT_GNOME_3_3_X="yes"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVACC_HOME="/usr/share/javacc/"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="it_IT.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LINGUAS="it"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00: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:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=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:*.webm=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:*.cgm=01;35:*.emf=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:"
MAIL="/var/mail/vasco"
MAKEOPTS="-j3"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.7.1/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.22/man:/etc/java-config-2/current-system-vm/man/"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.7.1"
PHP_TARGETS="php5-3"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd ppc64-linux x86-cygwin 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 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_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_GPG_SIGNING_COMMAND="gpg --sign --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="10"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage/tree"
PORTDIR_OVERLAY="/usr/portage/dist/layman/x11 /usr/portage/dist/layman/gnome /usr/portage/dist/local"
PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PRELINK_PATH_MASK="/usr/lib/libfreebl3.so:/usr/lib/libnssdbm3.so:/usr/lib/libsoftokn3.so"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/vasco"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_TARGETS="python3_2 python2_7"
QEMU_SOFTMMU_TARGETS="i386 x86_64"
QEMU_USER_TARGETS="i386 x86_64"
QT_GRAPHICSSYSTEM="raster"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.7.1"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18 ruby19"
SESSION_MANAGER="local/yellowhat:@/tmp/.ICE-unix/1827,unix/yellowhat:/tmp/.ICE-unix/1827"
SHELL="/bin/bash"
SHLVL="5"
SSH_AUTH_SOCK="/home/vasco/.cache/keyring-uujMI3/ssh"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="3dnow 3dnowext X a52 acl alsa berkdb branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dvd exif fortran gdbm gif gles1 gles2 gnome gpm gtk gtk3 hddtemp iconv ipv6 jpeg lame mad mmx modules mp3 mpeg mudflap nautilus ncurses nls nptl ogg opengl openmp pam pcre perl png policykit pppd pulseaudio python qemu quicktime rar readline session smp sse sse2 sse3 ssl ssse3 svg tcpd theora tiff udev unicode usb vdpau webgl x264 x86 xcb xorg xv xvid zlib" ALSA_CARDS="ctxfi" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USER="root"
USERLAND="GNU"
USE_AUDIO="	alsa cdda cddb lame mad mp3 pulseaudio theora"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_GNOME="	branding gnome gtk gtk3 nautilus webgl -cheese -eds -fallback -kde -previewer -qt3 -qt4 -socialweb"
USE_IMAGE="	exif gif jpeg png svg tiff"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
USE_SYSTEM="	3dnow 3dnowext alsa consolekit cdr dbus dvd hddtemp mmx pam perl policykit python qemu rar 		smp sse sse2 sse3 ssse3 udev usb xcb -doc"
USE_VIDEO="	a52 mpeg ogg quicktime x264 xvid"
USE_X="		cairo gles1 gles2 opengl vdpau X xcb xv"
VIDEO_CARDS="radeon r600"
WINDOWID="37748741"
WINDOWPATH="7"
XAUTHORITY="/tmp/libgksu-yOaBnC/.Xauthority"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_MENU_PREFIX="gnome-"
XDG_SESSION_COOKIE="33515c4288d15173dbe001eb0000001b-1340207889.237994-493621203"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
_="/usr/bin/emerge"
Comment 4 Attila Tóth 2012-06-24 00:01:50 UTC
After I managed to make it start compiling, it still fails with this:
gjs/byteArray.c: In function ‘to_string_func’:
gjs/byteArray.c:543:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
modules/console.c: In function ‘gjs_console_interact’:
modules/console.c:201:9: warning: passing argument 2 of ‘JS_BufferIsCompilableUnit’ makes integer from pointer without a cast [enabled by default]
/usr/include/js/jsapi.h:3797:1: note: expected ‘JSBool’ but argument is of type ‘struct JSObject *’
modules/console.c:201:9: warning: passing argument 3 of ‘JS_BufferIsCompilableUnit’ from incompatible pointer type [enabled by default]
/usr/include/js/jsapi.h:3797:1: note: expected ‘struct JSObject *’ but argument is of type ‘gchar *’
modules/console.c:201:9: warning: passing argument 4 of ‘JS_BufferIsCompilableUnit’ makes pointer from integer without a cast [enabled by default]
/usr/include/js/jsapi.h:3797:1: note: expected ‘const char *’ but argument is of type ‘gsize’
modules/console.c:201:9: error: too few arguments to function ‘JS_BufferIsCompilableUnit’
/usr/include/js/jsapi.h:3797:1: note: declared here
modules/console.c:209:16: warning: assignment from incompatible pointer type [enabled by default]
modules/console.c:214:13: warning: passing argument 3 of ‘JS_ExecuteScript’ from incompatible pointer type [enabled by default]
/usr/include/js/jsapi.h:3942:1: note: expected ‘struct JSScript *’ but argument is of type ‘struct JSObject *’
modules/console.c: In function ‘gjs_console_error_reporter’:
modules/console.c:93:15: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result [-Wunused-result]
make[1]: *** [console_la-console.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
gjs/context.c: In function ‘gjs_context_constructor’:
gjs/context.c:578:5: warning: implicit declaration of function ‘JS_SetScriptStackQuota’ [-Wimplicit-function-declaration]
gjs/context.c:578:5: warning: nested extern declaration of ‘JS_SetScriptStackQuota’ [-Wnested-externs]
gjs/context.c: In function ‘gjs_context_eval’:
gjs/context.c:1010:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[1]: Leaving directory `/var/tmp/portage/dev-libs/gjs-1.32.0/work/gjs-1.32.0'
make: *** [all] Error 2
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-06-25 01:32:41 UTC
Gjs upstream is planning to port their code to the new 1.8.7 api only after "mozjs187 is officially released". See https://bugzilla.gnome.org/show_bug.cgi?id=678410
Comment 6 Guillaume ZITTA 2012-08-02 13:13:30 UTC
Created attachment 320058 [details]
patch to fix the dependency to mozjs185

As it was said, gjs 1.32 only support mozjs185.

Shouldn't this ebuild depend on only dev-lang/spidermonkey-1.8.5 ?
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2013-02-02 00:24:18 UTC
*** Bug 455056 has been marked as a duplicate of this bug. ***
Comment 8 Maciej Piechotka 2013-03-28 19:52:25 UTC
(In reply to comment #5)
> Gjs upstream is planning to port their code to the new 1.8.7 api only after
> "mozjs187 is officially released". See
> https://bugzilla.gnome.org/show_bug.cgi?id=678410

mozjs187 code was put inside gnome-3.8 branch (I've been running gnome-shell on gjs 3.7.4+patch for a few months). It would be nice to have option to build it against mozjs187 as mozjs185 have known problems (It crashed fnome-shell a few times a day on my system).
Comment 9 Maciej Piechotka 2013-03-28 20:15:05 UTC
Created attachment 343552 [details]
dev-libs/gjs-1.36.0

(In reply to comment #8)
> (In reply to comment #5)
> > Gjs upstream is planning to port their code to the new 1.8.7 api only after
> > "mozjs187 is officially released". See
> > https://bugzilla.gnome.org/show_bug.cgi?id=678410
> 
> mozjs187 code was put inside gnome-3.8 branch (I've been running gnome-shell
> on gjs 3.7.4+patch for a few months). It would be nice to have option to
> build it against mozjs187 as mozjs185 have known problems (It crashed
> fnome-shell a few times a day on my system).

Ups. Sorry mozjs188 or mozjs-17.0. I've patched sources to work with spidermonkey-188 from mozilla overlay (just change of mozjs-17.0 to mozjs188 in patch created from git).
Comment 10 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-05-23 13:59:08 UTC
(In reply to comment #8)
> (In reply to comment #5)
> > Gjs upstream is planning to port their code to the new 1.8.7 api only after
> > "mozjs187 is officially released". See
> > https://bugzilla.gnome.org/show_bug.cgi?id=678410
> 
> mozjs187 code was put inside gnome-3.8 branch

Complete support seems to be only in the master (i.e. 3.10) branch :(

Will need to backport it since spidermonkey-17 got unmasked.
Comment 11 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-05-23 14:42:06 UTC
(In reply to comment #10)
> spidermonkey-17 got unmasked.

er, never mind, it looks like it's still in the overlay.
Comment 12 Ian Stakenvicius (RETIRED) gentoo-dev 2013-08-26 16:25:04 UTC
Spidermonkey-1.8.7 is getting removed, and future spidermonkey versions (17, 24, etc) are slotted.  This specific version of GJS can stay as-is, and hopefully new versions will build against the slot(s) that they support.  I did see that there are js17 patches against gjs-1.36.1 in ubuntu, but it's up to the gnome team if they want to use them or not.  I don't know if the recently-released gjs-1.37 includes js17 support.

All of that is outside the scope of this bug, tho.  Closing..