| Summary: | www-plugins/gnash-0.8.6: build fails | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Nick Aubert <nickaubert> |
| Component: | Current packages | Assignee: | Romain Perier (RETIRED) <mrpouet> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | dschridde+gentoobugs, flameeyes |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build log for failed gnash emerge | ||
More useful than make.conf would be 'emerge -1pv www-plugins/gnash'. And do attach build.log. Those errors look like correct gtk include paths aren't added. What does 'pkg-config gtk=-2.0 --cflags' prints ? $ emerge -1pv www-plugins/gnash These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] www-plugins/gnash-0.8.6 USE="cairo dbus ffmpeg nls opengl python sdl speex ssl -agg (-aqua) -cygnal -doc -gnome -gstreamer -gtk -kde -lirc -mysql -nsplugin -ssh -test" VIDEO_CARDS="-intel" 0 kB Note that gtk is *excluded* from the build flags. Next, I'm going to try emerging it with gtk to see if that helps. I'll attache the current build log first. Created attachment 209460 [details]
build log for failed gnash emerge
$ pkg-config gtk=-2.0 --cflags Package gtk=-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk=-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk=-2.0' found I have been trying to emerge gnash without gtk in the USE flags. Should I try to make this work? I added gtk to my use flags and successfully emerged gnash. $ emerge -1pv www-plugins/gnash These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] www-plugins/gnash-0.8.6 USE="cairo dbus ffmpeg gtk nls opengl python sdl speex ssl -agg (-aqua) -cygnal -doc -gnome -gstreamer -kde -lirc -mysql -nsplugin -ssh -test" VIDEO_CARDS="-intel" 0 kB So maybe the fix for this version of gnash is to specify that the gtk flag must be enabled (or make it non-optional). (In reply to comment #4) > $ pkg-config gtk=-2.0 --cflags > Package gtk=-2.0 was not found in the pkg-config search path. > Perhaps you should add the directory containing `gtk=-2.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'gtk=-2.0' found Sorry, obvious typo - gtk+-2.0. And the problem is that the ebuild is broken: it enables python even if gtk is disabled, even though python is for pygtk. In case it matters, here's the output requested earlier: $ pkg-config gtk+-2.0 --cflags -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/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 Suggesting change of "Summary" to "build fails with USE=-gtk" *** This bug has been marked as a duplicate of bug 255420 *** |
Emerge fails: ... make[4]: Entering directory `/var/tmp/portage/www-plugins/gnash-0.8.6/work/gnash-0.8.6/gui/pythonmod' if test x"/usr/bin/pygobject-codegen-2.0" != x; then \ /usr/bin/pygobject-codegen-2.0 \ --register /usr/share/pygtk/2.0/defs/gdk-types.defs \ --register /usr/share/pygtk/2.0/defs/gtk-types.defs \ --override ./gnash.override \ --prefix pygnash ./gnash.defs > gen-gnash.c; \ fi Warning: Constructor for GnashView needs to be updated to new API See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors ***INFO*** There are no declared global functions. ***INFO*** The coverage of methods is 100.00% (1/1) ***INFO*** There are no declared virtual proxies. ***INFO*** There are no declared virtual accessors. ***INFO*** There are no declared interface proxies. make all-am make[5]: Entering directory `/var/tmp/portage/www-plugins/gnash-0.8.6/work/gnash-0.8.6/gui/pythonmod' ...snip... In file included from gnash-view.cpp:20: gnash-view.h:23:24: error: gtk/gtkbin.h: No such file or directory In file included from gnash-view.cpp:21: ../../gui/gtk_canvas.h:23:32: error: gtk/gtkdrawingarea.h: No such file or directory gnash-view.cpp:23:21: error: gdk/gdk.h: No such file or directory ...snip... make: *** [all] Error 2 * * ERROR: www-plugins/gnash-0.8.6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3710: Called base_src_compile * environment, line 622: Called base_src_work 'make' * environment, line 736: Called die * The specific snippet of code: * emake || die "died running emake, $FUNCNAME:make"; * The die message: * died running emake, base_src_work:make I trimmed the output, but I can provide more if needed. Reproducible: Always Steps to Reproduce: 1. # emerge -av www-plugins/gnash Actual Results: Emerge fails Expected Results: Emerge succeeds These are my relevant USE variables: /etc/make.conf: USE="mmx sse sse2 threads bash-completion vim-syntax xgl dbus xcb hal ogg vorbis mp3 aac alsa pulse pulseaudio -ipv6 -gnome -kde -qt3 -qt4" /etc/portage/package.use: www-plugins/gnash cairo ffmpeg -nsplugin opengl sdl -gstreamer