Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581284 - www-plugins/gnash-0.8.10_p20160329 fails to build using recent jemalloc
Summary: www-plugins/gnash-0.8.10_p20160329 fails to build using recent jemalloc
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2016-04-26 18:20 UTC by Attila Tóth
Modified: 2018-10-12 16:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.48 KB, text/plain)
2017-09-10 08:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,235.07 KB, text/plain)
2017-09-10 08:49 UTC, Toralf Förster
Details
environment (environment,154.54 KB, text/plain)
2017-09-10 08:49 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.40 KB, application/x-bzip)
2017-09-10 08:49 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,15.09 KB, application/x-bzip)
2017-09-10 08:49 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,47.54 KB, application/x-bzip)
2017-09-10 08:49 UTC, Toralf Förster
Details
www-plugins:gnash-0.8.10_p20160329-r1:20170910-032607.log (www-plugins:gnash-0.8.10_p20160329-r1:20170910-032607.log,68.51 KB, text/plain)
2017-09-10 08:49 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2016-04-26 18:20:06 UTC
Fails with:
Makefile:592: *** missing separator.
in build.log.

Reason behind: congifure tries to call jemalloc-config using invalid --cxxflags option. Multiple line output gets included in the Makefile rendering it invalid. Current jemalloc-config expects --cppflags.
Replacing cxxflags with cppflags corrects configure's behavior and results in valid Makefiles.

I suspect automake may be involved in the above mentioned problem, however I could not find the culprit module during the time I spent on solving this issue.

Apart from this there is one more obstacle to overcome before successful compile:
libbase/jemalloc_gnash.c have jemalloc.h included. This file no longer exists. The correct location is: jemalloc/jemalloc.h. After correcting the include line in this file gnash compiles successfully.

Portage 2.2.28 (python 2.7.11-final-0, hardened/linux/amd64/no-multilib, gcc-5.3.0, glibc-2.23-r2, 4.4.7-hardened x86_64)
=================================================================
System uname: Linux-4.4.7-hardened-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.2
KiB Mem:     7942668 total,   2627012 free
KiB Swap:   17070076 total,  17070072 free
Timestamp of repository gentoo: Tue, 26 Apr 2016 06:30:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.5.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

dwokfur_local
    location: /usr/local/portage
    masters: gentoo
    priority: 3
    eclass-overrides: hardened-development

dwokfur_public
    location: /home/atoth/public_html/overlay
    masters: gentoo
    priority: 4
    eclass-overrides: hardened-development

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 5
    eclass-overrides: hardened-development
    sync-rsync-extra-opts: -4

anarchy
    location: /var/lib/layman/anarchy
    masters: gentoo
    priority: 6
    eclass-overrides: hardened-development

hardened-development
    location: /var/lib/layman/hardened-development
    masters: gentoo
    priority: 7
    eclass-overrides: hardened-development

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 8
    eclass-overrides: hardened-development

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://gentoo.wheel.sk/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirrors.xservers.ro/gentoo/"
LANG="hu_HU.utf8"
LC_ALL="hu_HU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-4"
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="64bit 7zip GNU R X X509 Xaw3d a52 aac aacs aalib acl acpi action_modeswitch addbookmarks adobe-cff adolc adplug aiglx aio airdrop-ng airgraph-ng aisleriot alsa amd64 amr analitza androiddump ansi aotuv apache2 apng applet archive ares argyllcms arp arping asf asm asn1 atahpt atmo attica audio audiofile auto-completion autoconf-archive automount autoreplace avcodec avformat avs avx awt bash-completion bat battstat bazaar bcmath bdf bdplus beautifulsoup3 berkdb bfio binfilter bitbang_spi bitmap-fonts bittorrent blas bluetooth bogofilter bonobo boost botan branding browserplugin bugzilla buspirate_spi bzip2 bzr cacert cairo calendar canberra canvas caps cblas-external cdaudio cdda cddax cddb cdio cdparanoia cdr cdrom celt cgroups chappa chardet charmap checkpath cheese chm cholmod chromaprint clamav clamdtop clang cli client client-libs clipboard clockdiff clutter cmdmon coinmp collada color colord combination-explosion-check command-not-found compat conntrack contactnotes context contrast contrib convert convert-mozilla-cookies corefonts coverage cpufreq_bench cracklib cramfs crash-reporter crashreporter crnl-as-line-terminator cron crypt cryptsetup crywrap css cue cups curl cvs cxx datahub dba dbm dbus dcmtk ddate declarative dediprog designer designer-plugin deskbar desktopglobe detex devhelp device-mapper dga dhcp dia dicom dii dirac discard-path divx divx4linux djbfft djvu dlloader dmi dns dot downloads-monitor doxysearch dpi drawing dri dri3 drkaiser drm dselect dtmf dts dv dvbpsi dvd dvdnav dvdr dvdread dvi dvi2tty dvipdfm eap-sim ebook edd editor eds egl eglfs eigen elfutils emerald enca enchant encode epiphany epspdf epub equalizer evdev evo ewf exif expat exporter extensions extra extraengine extrafilters extras faac faad facebook fallback fam fame fat fax fbosd fcitx fdformat fdk ffmpeg ffmpegsource fftw filecaps filter-aaaa finger firefox firefox-bookmarks firmware firmware-loader fits flac flash flashback flatfile flickr floppy fltk fontconfig fontforge fonts foomaticdb force-cgi-redirect fortran fox fpx freerdp frontend ftdi ftp fuse g3dvl g726 gadu gajim galago gallium gbm gcj gconf gcrypt gd gdal gdata gdb gdbm gdk-pixbuf gdl gdm gdu geany gedit geo geoloc gif gimp gimpprint ginac git gjdoc glade glchess gles gles1 glibc glpk gltf gme gmedia gmp gnet gnome gnome-keyring gnome-online-accounts gnome-screensaver gnumeric gnuplot gnutls gold google gopher gpac gpg gphoto2 gpm graph graphics graphicsmagick graphviz groupwise grp gs gsf gsl gsm gstreamer gtalk gtk gtk2 gtk3 gtkhtml gtkstyle gudev gui guile h224 h281 h323 handbook hardened hdaps hdf hdf5 hdfview hid hid2hci highlight history hpack-tools hpcups hpijs hs2-0 html http http2 httpd hub hwaccel hwdb ibus icedtea7 iconv icu id3tag idle idn iec61883 ieee1394 ilbc imagemagick imaging imap imlib inherit-graph inkjar innodb-lz4 innodb-lzo innodb-snappy inotify int-quality int64 internal introspection iodbc ipc iplayer iplsrc iprint iptc ipv6 irc irda ivr jabber jadetex java java6 javascript jbootstrap jce jemalloc jemalloc3 jingle jpeg jpeg2k jrtplib json juju justify kate kde kdenlive kdepim kdrive keybinder keymap kinit kipi kms kontact kpathsea ktp l10n ladspa lame lapack laptop latex latex3 lcms ldb ldns leaps_timezone lensfun libass libburn libcaca libcanberra libcerf libffi libgda libguess libindicate libkms liblockfile libmpv libnl libnotify libopts libplot libsamplerate libsecret libssh2 libtar libtiger libv4l2 libvisual lightning lit2epub live lldb llvm llvm-shared-libs lm_sensors lock log4j logger logitech-mouse loop-aes lto lxde lxpanel lyx lz4 lzma lzo lzw m17n-lib mad map math mathml matio matroska mbim mbox mcal mclib md5sum mdev meanwhile mediawiki melt memlimit mercurial metapost metis midi mikmod mime miner-fs mjpeg mktemp mmap mmx mmxext mng mobi mobipocket mod mode-owner modplug modules motif mozbranding mozcalendar mp2 mp3 mp4 mpeg mpeg1 mpeg2 mplayer mpris msn mta mtp mudflap mumps musepack musicbrainz mxit mysql mysqli nat native-headset natspec nautilus ncat ncurses ndiff nemesi netifrc netlink network networking networkmanager nic3com nicintel nicintel_spi nicnatsemi nicrealtek nifti nls nmap-update nntp nokia nopop3d notification nowlistening nping nptl nse nsplugin nss nss-pem ntfs ntfsdecrypt ntlm nullok numpy nut nuv oauth oav obex ocr odbc odk offensive office offlinehelp ofx ogg oggvorbis ogm ogp_spi oil okular oldwallet onaccess oniguruma openal opencore-amr openct opencv openexr opengl openmax openmp openpty openssl optimisememory optreg opus oqgraph orbit oscar osmesa otr pam pam_chroot pam_ssh pam_timestamp pango passwdqc paste64 pasteafter pastix patented pax_kernel pcap pccts pcmcia pcre pcre16 pcre32 pcsc-lite pda pdf pear perl pgp phc phonon php physfs pic pidgin pie pipes pkcs11 plasma playlist playtools plotutils plugin-autowep plugin-btscan plugin-checksum plugin-doat plugin-dot15d4 plugin-fishlim plugin-ptw plugin-spectools plugin-sysinfo plugins pm-utils png pnm policykit pony_spi posix postproc postscript ppds pps pptx prevent-removal printsupport prison privacy projectm pstricks ptpax publishers pulseaudio pvr pwquality python python2 qalculate qhull qml qpak qt3support qt4 qt5 quicktime quotas qwt r600-llvm-compiler raptor rar rarpd raw rawio rc5 rcs rdesktop rdisc rdp readline realmedia reencrypt refclock reiserfs remote remoteosd rendering replytolist review rle rpc rss rtc rtf rtmp rubberband ruby20 ruby21 ruby22 ruby23 rule_generator samba sasl satamv satasii sbc sbsms scanner scenarios schroedinger science scim screen script scripting scripttools scsi sdl sdl-sound sdlgfx seccomp secure secure-delete seed semantic-desktop sendmail sendto sensord serprog servlet servletapi session sftp sftplogging shapefile shared shared-dricore shared-glapi shm short-touchpad-timeout showtabbar sid sidebar silc sip sipe sipim skins skype slang smbsharemodes smime smp sms smtp snappy sndfile soap socialweb sockets softstore solver soprano sound soundex soundtouch sourceview sox spam-report spamassassin sparse speex spell spf split-ucode spreadsheet-model sql sqlite3 srt srtp sse sse2 sse2check sse3 sse4_1 ssh ssl ssp ssse3 startup-notification static-analyzer statistics stats steam stemmer streaming stun stunnel subtitles subversion sudoku suggested sunec svg swat switcher swscale sysgccxml syslog system-cairo system-icu system-jpeg system-libvpx system-sqlite systemd systemd-units systray sysvipc szip t1lib taglib tagsoup tagwriting tbb tcl tcltk tcmalloc tcpd tdls telepathy templates terminal tetex tex4ht texi2html text texteffect tfshark tftpd tga themes theora thetvdb thin threads threadsafe thumbnail thunar thunderbird tiff tilepath timezone timidity tk tlen tls-heartbeat tokenizer toolame toolbar tools totem tracepath tracker transcode translator trayicon tremor truetype truetype-fonts trust tts tty-helpers twolame type1-fonts type3 uchardet udev udf udis86 udisks umfpack uncommon-eap-types underscores unicode units_cur unlock-notify unstable unwind update-alternatives upnp-av upower urandom urlpicpreview usb user-session userlocales utils uuid v4l v4l2 vaapi vala valgrind vamp vcd vcdinfo vcdx vdpau verify-file vf-dlopen video views virus-scan visio vista visualization vlc vlm vnc voice volpack vorbis vpx vtk vxml wad wallpapers wav wavpack wavplay webchannel webgl webkit webm webp webphoto webrtc-aec webstart widgets wifi wiki wimax wma wma-fixed wmf wmp wpg wps wxwidgets wxwindows x264 x265 xa xattr xblas xcap xcb xchat xchatdccserver xcos xdm-auth xdmf2 xephyr xetex xface xforms xft xine xkb xlib-xcb xls xmedcon xml xml2 xmlrpc xmp xmpp xnest xorg xosd xpm xps xscreensaver xsl xtpax xulrunner xv xvfb xvid xvmc yahoo yuv4mpeg zeitgeist zenmap zip zlib zvbi" ABI_X86="64" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 avx" CURL_SSL="nss" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" 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 ublox ubx" GRUB_PLATFORMS="pc emu" INPUT_DEVICES="keyboard mouse acecad evdev roccat_kone roccat_koneplus roccat_konepure roccat_konextd roccat_kovaplus roccat_pyra roccat_savu roccat_konepureoptical roccat_ryosmk synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport" LINGUAS="hu en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby20 ruby21 ruby22 ruby23" SANE_BACKENDS="epson epson2 gt68xx ma1509 mustek mustek_usb mustek_usb2 plustek snapscan umax pnm" USERLAND="GNU" VIDEO_CARDS="radeon r600" XFCE_PLUGINS="battery brightness clock power trash" 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"
USE_PYTHON="2.7 3.4 3.5"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-04-27 15:50:02 UTC
It would be good if you also report a bug upstream at https://savannah.gnu.org/projects/gnash
Comment 2 Pacho Ramos gentoo-dev 2017-07-16 21:24:27 UTC
ArchLinux is applying this patch
https://aur.archlinux.org/cgit/aur.git/tree/jemalloc_gnash.patch?h=gnash-git
Comment 3 Pacho Ramos gentoo-dev 2017-07-16 21:25:01 UTC
And this sedding to configure script before running it:
sed -i 's#${JEMALLOC_CONFIG} --cxxflags#${JEMALLOC_CONFIG} --cflags#g' configure
Comment 4 Attila Tóth 2017-07-18 07:34:27 UTC
(In reply to Pacho Ramos from comment #3)
> And this sedding to configure script before running it:
> sed -i 's#${JEMALLOC_CONFIG} --cxxflags#${JEMALLOC_CONFIG} --cflags#g'
> configure

Reason behind: jemalloc-config uses --cppflags instead of --cxxflags.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2017-07-18 10:17:42 UTC
As jemalloc is purely optional, I am not interested in carrying yet another non-upstreamed patch for gnash.
I'll let the various upstreams sort it out per comment #1 and in the meantime mask the jemalloc flag to address user-visible breakage.
Comment 6 Toralf Förster gentoo-dev 2017-09-10 08:49:00 UTC
appeared recently at the tinderbox image 20170910-053011_www-plugins_gnash-0.8.10_p20160329-r1
Comment 7 Toralf Förster gentoo-dev 2017-09-10 08:49:06 UTC
Created attachment 493672 [details]
emerge-info.txt
Comment 8 Toralf Förster gentoo-dev 2017-09-10 08:49:09 UTC
Created attachment 493674 [details]
emerge-history.txt
Comment 9 Toralf Förster gentoo-dev 2017-09-10 08:49:12 UTC
Created attachment 493676 [details]
environment
Comment 10 Toralf Förster gentoo-dev 2017-09-10 08:49:15 UTC
Created attachment 493678 [details]
etc.portage.tbz2
Comment 11 Toralf Förster gentoo-dev 2017-09-10 08:49:18 UTC
Created attachment 493680 [details]
logs.tbz2
Comment 12 Toralf Förster gentoo-dev 2017-09-10 08:49:20 UTC
Created attachment 493682 [details]
temp.tbz2
Comment 13 Toralf Förster gentoo-dev 2017-09-10 08:49:23 UTC
Created attachment 493684 [details]
www-plugins:gnash-0.8.10_p20160329-r1:20170910-032607.log
Comment 14 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-10-12 16:15:55 UTC
Package removed.