Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 532558

Summary: media-plugins/gst-plugins-modplug-0.10.23 - .../work/gst-plugins-bad-0.10.23/ext/modplug/gstmodplug.cc:53:20: fatal error: stdafx.h: No such file or directory
Product: Gentoo Linux Reporter: Dmitry <dmitry.ghost99>
Component: [OLD] LibraryAssignee: GStreamer package maintainers <gstreamer>
Status: RESOLVED FIXED    
Severity: normal CC: Adrian.Bassett
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 536956    
Attachments: build.log
emerge --info

Description Dmitry 2014-12-14 12:38:16 UTC
Created attachment 391678 [details]
build.log

Compilation fails with messages:

/portage/media-plugins/gst-plugins-modplug-0.10.23-r1/work/gst-plugins-bad-0.10.23/ext/modplug/'`gstmodplug.cc
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/mnt/fast-cache/portage/media-plugins/gst-plugins-modplug-0.10.23-r1/work/gst-plugins-bad-0.10.23/ext/modplug -I../.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -Wall -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -g -march=amdfam10 -O2 -pipe -c /mnt/fast-cache/portage/media-plugins/gst-plugins-modplug-0.10.23-r1/work/gst-plugins-bad-0.10.23/ext/modplug/gstmodplug.cc  -fPIC -DPIC -o .libs/libgstmodplug_la-gstmodplug.o
/mnt/fast-cache/portage/media-plugins/gst-plugins-modplug-0.10.23-r1/work/gst-plugins-bad-0.10.23/ext/modplug/gstmodplug.cc:53:20: fatal error: stdafx.h: No such file or directory
------------


media-plugins/gst-plugins-modplug-0.10.23-r1 have the same problem.
Comment 1 Dmitry 2014-12-14 12:40:25 UTC
Created attachment 391680 [details]
emerge --info
Comment 2 cache 2015-01-18 13:00:58 UTC
I confirm this bug.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-19 10:07:10 UTC
1) libmodplug.pc doesn't report -I/usr/include/libmodplug for --cflags* as it perhaps should or should not.
2) gst-plugins-modplug-1* "fixes" this by doing includes of <libmodplug/{*}.h>
3) gst-plugins-modplug-0* doesn't fix the missing -I and uses <stdafx.h> directly, causing this failure.
Comment 4 Pacho Ramos gentoo-dev 2015-01-19 10:24:16 UTC
+  19 Jan 2015; Pacho Ramos <pacho@gentoo.org>
+  +files/gst-plugins-modplug-0.10.23-include-header.patch,
+  -gst-plugins-modplug-0.10.23.ebuild, -gst-plugins-modplug-1.2.3.ebuild,
+  -gst-plugins-modplug-1.2.4.ebuild, gst-plugins-modplug-0.10.23-r1.ebuild:
+  Fix compilation, bug #532558 by ghost99 and jer; drop old.
+