Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519372 - media-libs/sdl-mixer-1.2.12-{r3,r4} with media-libs/libmodplug- - music_modplug.h:3:21: fatal error: modplug.h: No such file or directory
Summary: media-libs/sdl-mixer-1.2.12-{r3,r4} with media-libs/libmodplug- - musi...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
Depends on:
Blocks: CVE-2013-4234
  Show dependency tree
Reported: 2014-08-08 07:59 UTC by Frank Krömmelbein
Modified: 2014-08-08 23:37 UTC (History)
0 users

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

sdl-mixer-1.2.12-r3 build.log (build.log,12.95 KB, text/plain)
2014-08-08 08:00 UTC, Frank Krömmelbein
sdl-mixer-1.2.12-r4 build.log (build.log,20.41 KB, text/plain)
2014-08-08 08:01 UTC, Frank Krömmelbein

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2014-08-08 07:59:52 UTC
After cherry picking security bug , media-libs/sdl-mixer-1.2.12-{r3,r4} fails to rebuild.
With media-libs/libmodplug- both version of sdl-mixer-1.2.12-{r3,r4} rebuilds.

In file included from music.c:41:0:
music_modplug.h:3:21: fatal error: modplug.h: No such file or directory
 #include "modplug.h"

This bug is possible a blocker for 

Reproducible: Always
Comment 1 Frank Krömmelbein 2014-08-08 08:00:42 UTC
Created attachment 382506 [details]
sdl-mixer-1.2.12-r3 build.log
Comment 2 Frank Krömmelbein 2014-08-08 08:01:21 UTC
Created attachment 382508 [details]
sdl-mixer-1.2.12-r4 build.log
Comment 3 Frank Krömmelbein 2014-08-08 08:02:37 UTC
emerge --info media-libs/libmodplug sdl-mixer
Portage 2.2.8-r1 (hardened/linux/amd64, gcc-4.8.3, glibc-2.19-r1, 3.15.8-hardened x86_64)
                         System Settings
System uname: Linux-3.15.8-hardened-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.2
KiB Mem:    20578764 total,   7165156 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Thu, 07 Aug 2014 21:00:01 +0000
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.8, 3.3.5-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo steam-overlay vdr-devel fouxlay lokal
CFLAGS="-march=corei7 -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -O2 -pipe"
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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR_OVERLAY="/var/lib/layman/steam /var/lib/layman/vdr-devel /var/lib/layman/fouxlay /usr/local/portage"
USE="X a52 aac aacs acl acpi alsa amd64 amrenc avx berkdb bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdr cec chroma chromaprint clamav cli clucene corefonts cracklib crypt cryptsetup css cups cxx dbus declarative device-mapper dmraid dri dts dv dvb dvd dvdr ebook encode epub exif ext4 f2fs faac faad fam fat ffmpeg flac fontconfig fontforge fortran fuse gdbm gif gimp gpg gphoto2 gpm gtk gudev hardened iconv id3tag idn infinality inotify introspection ipv6 iscsi jfs jpeg jpeg2k justify kde kdecards kdepim kipi ladspa lame lcms ldap libkms libnotify libsamplerate libsoxr libvisual lirc llvm-shared-libs lm_sensors lvm lxc lz4 lzma lzo mad matroska mdadm mmx mng mobi mod modemmanager modplug modules mp3 mp4 mpeg mplayer mtp multilib multimedia musicbrainz mysql natspec ncurses networkmanager nfs nls nptl ntfs ogg opencl opencv openexr opengl openmp openrc opus pam pango pax_kernel pcmcia pcre pdf phonon pkcs11 plasma png policykit postscript ppds ppp pvr qt3support qt4 rar raw rdesktop readline reiser4 reiserfs rss samba scanner sdl semantic-desktop session sftp smartcard sna sndfile spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg system-cairo system-icu system-jpeg system-sqlite systemd taglib tcpd threads thumbnail tiff truetype udev udisks unicode upnp upower urandom usb uvm v4l vaapi vcd vdpau vdr vlc vnc vorbis vpx webinterface wifi wxwidgets x264 x265 xa xattr xcb xcomposite xfs xinerama xkb xml xmp xpm xscreensaver xtpax xv xvid xvmc zeroconf zip zlib" ABI_X86="64 32" 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" 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="*" 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 ublox ubx" GRUB_PLATFORMS="efi-64 pc qemu emu" INPUT_DEVICES="evdev keyboard mouse joystick synaptics vmmouse lirc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-minimizer wiki-publisher" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="*" USERLAND="GNU" VIDEO_CARDS="intel vmware virtualbox modesetting vesa nouveau i915 i965" 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"

                        Package Settings

media-libs/libmodplug- was built with the following:
USE="-static-libs" ABI_X86="32 64 -x32"

media-libs/sdl-mixer-1.2.12-r4 was built with the following:
USE="flac mad mod modplug mp3 vorbis wav -fluidsynth -midi -mikmod -playtools -smpeg -static-libs -timidity" ABI_X86="32 64 -x32"
Comment 4 Julian Ospald 2014-08-08 11:59:42 UTC
+  08 Aug 2014; Julian Ospald <> sdl-mixer-1.2.12-r3.ebuild,
+  sdl-mixer-1.2.12-r4.ebuild,
+  +files/sdl-mixer-1.2.12-Fix-compiling-against-libmodplug-
+  Fix compiling against libmodplug- wrt #519372
Comment 5 Frank Krömmelbein 2014-08-08 23:37:13 UTC
Thank you very much, this fix works for me.