Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668492 - dev-lang/mujs-1.0.4 CFLAGS overwritten
Summary: dev-lang/mujs-1.0.4 CFLAGS overwritten
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-10-13 02:00 UTC by Tom
Modified: 2018-10-30 00:08 UTC (History)
2 users (show)

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 Tom 2018-10-13 02:00:55 UTC
Package uses -Os for compilation, overwriting -O2 given inside /etc/make.conf

Below you'll find the requested information - grep for:
^#emerge.info: emerge --info
^#emerge.pqv: emerge -pqv
^#build.log: log file

CU Tom

===
#emerge.info:
Portage 2.3.49 (python 3.6.5-final-0, default/linux/x86/17.0, gcc-6.4.0, glibc-2.26-r7, 4.14.65-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.65-gentoo-i686-Pentium-R-_Dual-Core_CPU_T4500_@_2.30GHz-with-gentoo-2.4.1
KiB Mem:     2035024 total,    632216 free
KiB Swap:    2160736 total,   2032984 free
Timestamp of repository gentoo: Thu, 11 Oct 2018 02:30:01 +0000
Head commit of repository gentoo: 0a486b6ed5e7ad6dfce634d0b2dc574bed81c825
Head commit of repository kde-sunset: aced358851d2c4f83ddb35773694f5932e50d4a2

sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.38.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

kde-sunset
    location: /usr/local/overlay/kde-sunset
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/kde-sunset.git
    masters: gentoo

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -fno-stack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -fno-stack-protector"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -fno-stack-protector"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -fno-stack-protector"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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 Xaw3d a52 aac acl acpi alsa amr apache2 berkdb bs2b bzip2 cairo cdda cddb cdr cli cracklib crypt css cups curl cxx dbus device-mapper dri dts dv dvd dvdr encode exif extensions extras fam ffmpeg fftw fits flac flatfile fontconfig fortran ftp gdbm gif gmp gphoto2 gstreamer iconv icu id3tag imagemagick inotify ipc ipv6 javascript jit jpeg jpeg2k kde kpathsea ladspa lame latex lcms libnotify libsoxr libtirpc lzma mad mbox mikmod mime mmap mms mmx mmxext mng mp3 mp4 mpeg ncurses nls nntp nptl nsplugin nss ogg opengl opus pam pcmcia pcre pdf plasma plotutils png postscript qt5 raw readline seccomp snmp sockets soxr sse sse2 sse3 ssl ssse3 startup-notification svg syslog sysvipc taglib tcpd theora tiff toolame truetype twolame udev unicode usb vcd vhosts vim-syntax vorbis vpx wavpack webp x264 x265 x86 xattr xft xinetd xml xpm xv xvid zlib" ABI_X86="32" 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" 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="karbon plan sheets stage words" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 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" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="vesa" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-lang/mujs-1.0.4::gentoo was built with the following:
USE="-static-libs"
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -fno-stack-protector -fPIC -Wl,-soname=libmujs.so.1.0.4"

===
#emerge.pqv:
[ebuild   R   ] dev-lang/mujs-1.0.4  USE="-static-libs" 

===
#build.log:
[32;01m * [39;49;00mPackage:    dev-lang/mujs-1.0.4
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: xmw@gentoo.org vdupras@gentoo.org
[32;01m * [39;49;00mUSE:        abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
[32;01m * [39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking mujs-1.0.4.tar.xz to /var/tmp/portage/dev-lang/mujs-1.0.4/work
>>> Source unpacked in /var/tmp/portage/dev-lang/mujs-1.0.4/work
>>> Preparing source in /var/tmp/portage/dev-lang/mujs-1.0.4/work/mujs-1.0.4 ...
 [32;01m*[0m Applying mujs-1.0.4-gentoo.patch ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/mujs-1.0.4/work/mujs-1.0.4 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-lang/mujs-1.0.4/work/mujs-1.0.4 ...
make -j3 VERSION=1.0.4 prefix=/usr shared 
i686-pc-linux-gnu-gcc -O2 -march=core2 -pipe -fomit-frame-pointer -fno-stack-protector -fPIC -Wl,-soname=libmujs.so.1.0.4 -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os -DHAVE_READLINE  -o build/release/libmujs.o -c one.c
i686-pc-linux-gnu-gcc -O2 -march=core2 -pipe -fomit-frame-pointer -fno-stack-protector -fPIC -Wl,-soname=libmujs.so.1.0.4 -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os -DHAVE_READLINE  -o build/release/pp.o -c pp.c
i686-pc-linux-gnu-gcc -O2 -march=core2 -pipe -fomit-frame-pointer -fno-stack-protector -fPIC -Wl,-soname=libmujs.so.1.0.4 -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os -DHAVE_READLINE  -o build/release/main.o -c main.c
[01m[Kpp.c:[m[K In function '[01m[Kmain[m[K':
[01m[Kpp.c:88:6:[m[K [01;35m[Kwarning: [m[Kvariable '[01m[Kminify[m[K' might be clobbered by '[01m[Klongjmp[m[K' or '[01m[Kvfork[m[K' [[01;35m[K-Wclobbered[m[K]
  int [01;35m[Kminify[m[K = 0;
      [01;35m[K^~~~~~[m[K
Creating build/release/mujs.pc
i686-pc-linux-gnu-gcc -O2 -march=core2 -pipe -fomit-frame-pointer -fno-stack-protector -fPIC -Wl,-soname=libmujs.so.1.0.4 -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os -DHAVE_READLINE  -fPIC -shared -o build/release/libmujs.so one.c -lm
sandbox:stop  caught signal 2 in pid 11389
make: *** [Makefile:80: build/release/libmujs.so] Interrupt
make: *** wait: No child processes.  Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.
sandbox:stop  Send signal 4 more times to force SIGKILL
 [31;01m*[0m ERROR: dev-lang/mujs-1.0.4::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=dev-lang/mujs-1.0.4::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-lang/mujs-1.0.4::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-lang/mujs-1.0.4/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-lang/mujs-1.0.4/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/dev-lang/mujs-1.0.4/work/mujs-1.0.4'
 [31;01m*[0m S: '/var/tmp/portage/dev-lang/mujs-1.0.4/work/mujs-1.0.4'
Comment 1 Larry the Git Cow gentoo-dev 2018-10-30 00:08:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1328f92d871f75668d7ae9e352b3129c574863d

commit d1328f92d871f75668d7ae9e352b3129c574863d
Author:     Conrad Kostecki <conrad@kostecki.com>
AuthorDate: 2018-10-28 19:15:32 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-10-30 00:05:57 +0000

    dev-lang/mujs: bump to version 1.0.5
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=668492
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=669854
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=669884
    Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    Closes: https://github.com/gentoo/gentoo/pull/10283
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>

 dev-lang/mujs/Manifest                     |  1 +
 dev-lang/mujs/files/mujs-1.0.5-flags.patch | 30 +++++++++++++++++
 dev-lang/mujs/metadata.xml                 |  8 +++++
 dev-lang/mujs/mujs-1.0.5.ebuild            | 52 ++++++++++++++++++++++++++++++
 4 files changed, 91 insertions(+)