Created attachment 454556 [details] emerge --info Hello, yet another package with the -fpermissive failure: Here, the exact error location and information: /var/tmp/portage/dev-lang/spidermonkey-24.2.0-r3/work/mozjs-24.2.0/js/src/shell/jsoptparse.cpp:256:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (value[0] == '\0') The build log, and emerge --info are in the attachements. Best regards, Roman
Created attachment 454558 [details] build log
Created attachment 472260 [details] spidermonkey-17.0.0-r5-build.log x86_64-pc-linux-gnu-g++ -o jsoptparse.o -c -I../dist/system_wrappers_js -include ../config/gcc_hidden.h -DEXPORT_JS_API -DIMPL_MFBT -I.. -I.. -I../shell -I. -I../dist/include -I/usr/include/nspr -fPIC -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -Wall -march=native -O2 -pipe -frecord-gcc-switches -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -DNDEBUG -DTRIMMED -g -O3 -freorder-blocks -fomit-frame-pointer -DMOZILLA_CLIENT -include ../js-confdefs.h -MD -MF .deps/jsoptparse.o.pp /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r5/work/mozjs17.0.0/js/src/shell/jsoptparse.cpp /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r5/work/mozjs17.0.0/js/src/shell/jsoptparse.cpp: In member function 'js::cli::OptionParser::Result js::cli::OptionParser::extractValue(size_t, char**, size_t*, char**)': /var/tmp/portage/dev-lang/spidermonkey-17.0.0-r5/work/mozjs17.0.0/js/src/shell/jsoptparse.cpp:246:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (value[0] == '\0') ^~~~ make[2]: *** [../config/rules.mk:1019: jsoptparse.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-17.0.0-r5/work/mozjs17.0.0/js/src/shell' make[1]: *** [config/makefiles/target_libs.mk:61: libs] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-lang/spidermonkey-17.0.0-r5/work/mozjs17.0.0/js/src' make: *** [config/rules.mk:577: default] Error 2 # emerge --info spidermonkey:17 gcc Portage 2.3.5 (python 3.6.1-final-0, default/linux/amd64/13.0, gcc-7.1.0, glibc-2.25, 4.11.0-gentoo.x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.11.0-gentoo.x86_64-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.3 KiB Mem: 6118136 total, 1142508 free KiB Swap: 6291452 total, 5646384 free sh dash 0.5.9.1-r1 ld GNU gold (Gentoo 2.28 p1.0 2.28) 1.14 ccache version 3.3.4 [disabled] app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1-r1::gentoo dev-lang/python: 2.7.13::gentoo, 3.6.1-r1::gentoo dev-util/ccache: 3.3.4::gentoo dev-util/cmake: 3.8.1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/sandbox: 2.11-r5::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r3::gentoo sys-devel/automake: 1.15-r2::gentoo sys-devel/binutils: 2.28::gentoo sys-devel/gcc: 7.1.0-r1::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.25::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: git://anongit.gentoo.org/repo/gentoo.git sync-user: portage priority: -1000 eclass-overrides: local-repo local-repo location: /usr/local/portage masters: gentoo Installed sets: @local ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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="-Wall -march=native -O2 -pipe -frecord-gcc-switches" DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS="--color=n --keep-going --oneshot" FCFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches" FEATURES="assume-digests binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches" GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="V=1 -j6" PKGDIR="/var/portage/packages" PORTAGE_BZIP2_COMMAND="lbzip2" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-9T0" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl amd64 audit berkdb bzip2 cli cracklib crypt cxx dbus dri egl fortran gdbm gles2 iconv icu ipv6 jpeg modules multilib ncurses nls nptl opengl openmp pam pax_kernel pcre pic png policykit pulseaudio readline seccomp session ssl systemd tcpd unicode vdpau vim-syntax wayland xattr zlib" ABI_X86="64 32 x32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="zh-CN" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="zh_CN" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nouveau" 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" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= dev-lang/spidermonkey-17.0.0-r5::gentoo was built with the following: USE="jit -debug -minimal -static-libs -test" ABI_X86="64" sys-devel/gcc-7.1.0-r1::gentoo was built with the following: USE="cxx fortran (multilib) nls nptl openmp pch pie sanitize ssp vtv (-altivec) (-awt) -cilk -debug -doc (-fixed-point) (-gcj) -go -graphite (-hardened) (-jit) (-libssp) -mpx -objc -objc++ -objc-gc -regression-test -vanilla" ABI_X86="64" CFLAGS="-Wall -march=native -O2 -pipe" CXXFLAGS="-Wall -march=native -O2 -pipe" See also: https://bugzilla.mozilla.org/show_bug.cgi?id=894240
commit 43e1e2cedec34aecb769f4efcd897e6943e02ba7 Author: Ian Stakenvicius <axs@gentoo.org> Date: Thu May 11 16:52:03 2017 -0400 dev-lang/spidermonkey: fix pointer dereference causing c++11 compile error Backported fix from mozilla25 to spidermonkey-17 and spidermonkey-24. Also bumped spidermonkey-24 EAPI to 6. Bug: http://bugs.gentoo.org/601030 Package-Manager: Portage-2.3.3, Repoman-2.3.1
*** Bug 632016 has been marked as a duplicate of this bug. ***