Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532558 - 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
Summary: media-plugins/gst-plugins-modplug-0.10.23 - .../work/gst-plugins-bad-0.10.23/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 536956
  Show dependency tree
 
Reported: 2014-12-14 12:38 UTC by Dmitry
Modified: 2015-01-19 10:24 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,40.80 KB, text/plain)
2014-12-14 12:38 UTC, Dmitry
Details
emerge --info (emerge-info.txt,5.84 KB, text/plain)
2014-12-14 12:40 UTC, Dmitry
Details

Note You need to log in before you can comment on or make changes to this bug.
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.
+