Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487096 - media-gfx/gimp-texturize-plugin (sunrise)
Summary: media-gfx/gimp-texturize-plugin (sunrise)
Status: RESOLVED DUPLICATE of bug 213837
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-06 12:57 UTC by Samuel Bauer
Modified: 2013-10-06 13:58 UTC (History)
0 users

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 Samuel Bauer 2013-10-06 12:57:09 UTC
Texturize plugin fails to build

as suggests the build.log
sed -i '/gimpimage_pdb.h/d' src/*.{c,cpp}

removes unwanted includes and achieves to build the plugin successfully

Reproducible: Always




Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-gfx/gimp-texturize-plugin-2.1 from sunrise
 * texturize-2.1_src.tgz RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
>>> Unpacking source...
>>> Unpacking texturize-2.1_src.tgz to /var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/work
>>> Source unpacked in /var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/work
>>> Compiling source in /var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/work/gimp-texturize ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
checking for a BSD-compatible install... /usr/lib64/portage/bin/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for library containing strerror... none required
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GIMP... yes
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  fr
checking for bind_textdomain_codeset... (cached) yes
checking if GTK+ is version 2.7.0 or newer... yes
checking if GIMP is version 2.3.0 or newer... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: WARNING:  src/Makefile.in seems to ignore the --datarootdir setting
config.status: creating po/Makefile.in
config.status: creating help/Makefile
config.status: WARNING:  help/Makefile.in seems to ignore the --datarootdir setting
config.status: creating help/en/Makefile
config.status: WARNING:  help/en/Makefile.in seems to ignore the --datarootdir setting
config.status: creating help/images/Makefile
config.status: WARNING:  help/images/Makefile.in seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
make -j3 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/work/gimp-texturize'
Making all in po
make[2]: Entering directory `/var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/work/gimp-texturize/po'
file=`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file fr.po
make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/work/gimp-texturize/po'
Making all in src
make[2]: Entering directory `/var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/work/gimp-texturize/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -DLOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share/gimp-texturize"\"   -march=native -O2 -pipe -fomit-frame-pointer -Wall -MT interface.o -MD -MP -MF ".deps/interface.Tpo" -c -o interface.o interface.c; \
then mv -f ".deps/interface.Tpo" ".deps/interface.Po"; else rm -f ".deps/interface.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -DLOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share/gimp-texturize"\"   -march=native -O2 -pipe -fomit-frame-pointer -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -DLOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share/gimp-texturize"\"   -march=native -O2 -pipe -fomit-frame-pointer -MT graph.o -MD -MP -MF ".deps/graph.Tpo" -c -o graph.o graph.cpp; \
then mv -f ".deps/graph.Tpo" ".deps/graph.Po"; else rm -f ".deps/graph.Tpo"; exit 1; fi
In file included from graph.h:80:0,
                 from graph.cpp:5:
block.h: In instantiation of 'Type* Block<Type>::New(int) [with Type = Graph::node_st]':
graph.cpp:23:30:   required from here
block.h:126:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
block.h: In instantiation of 'Type* Block<Type>::New(int) [with Type = Graph::arc_st]':
graph.cpp:35:24:   required from here
block.h:126:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -DLOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share/gimp-texturize"\"   -march=native -O2 -pipe -fomit-frame-pointer -MT maxflow.o -MD -MP -MF ".deps/maxflow.Tpo" -c -o maxflow.o maxflow.cpp; \
then mv -f ".deps/maxflow.Tpo" ".deps/maxflow.Po"; else rm -f ".deps/maxflow.Tpo"; exit 1; fi
In file included from graph.h:80:0,
                 from maxflow.cpp:5:
block.h: In instantiation of 'Type* DBlock<Type>::New() [with Type = Graph::nodeptr_st]':
maxflow.cpp:156:30:   required from here
block.h:223:76: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -DLOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share/gimp-texturize"\"   -march=native -O2 -pipe -fomit-frame-pointer -Wall -MT render.o -MD -MP -MF ".deps/render.Tpo" -c -o render.o render.c; \
then mv -f ".deps/render.Tpo" ".deps/render.Po"; else rm -f ".deps/render.Tpo"; exit 1; fi
In file included from interface.c:5:0:
/usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:24:2: error: #error "Only <libgimp/gimp.h> can be included directly."
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/directfb -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -DLOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share/gimp-texturize"\"   -march=native -O2 -pipe -fomit-frame-pointer -Wall -MT initialiser.o -MD -MP -MF ".deps/initialiser.Tpo" -c -o initialiser.o initialiser.c; \
then mv -f ".deps/initialiser.Tpo" ".deps/initialiser.Po"; else rm -f ".deps/initialiser.Tpo"; exit 1; fi
make[2]: *** [interface.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from render.c:9:0:
/usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:24:2: error: #error "Only <libgimp/gimp.h> can be included directly."
make[2]: *** [render.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/work/gimp-texturize/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/work/gimp-texturize'
make: *** [all] Error 2
emake failed
 * ERROR: media-gfx/gimp-texturize-plugin-2.1::sunrise failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *          ebuild.sh, line  93:  Called src_compile
 *        environment, line 158:  Called __eapi0_src_compile
 *   phase-helpers.sh, line 592:  Called __eapi2_src_compile
 *   phase-helpers.sh, line 632:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/gimp-texturize-plugin-2.1::sunrise'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/gimp-texturize-plugin-2.1::sunrise'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/work/gimp-texturize'
 * S: '/var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/work/gimp-texturize'

>>> Failed to emerge media-gfx/gimp-texturize-plugin-2.1, Log file:

>>>  '/var/tmp/portage/media-gfx/gimp-texturize-plugin-2.1/temp/build.log'
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-06 13:58:40 UTC

*** This bug has been marked as a duplicate of bug 213837 ***