Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250599 - x11-misc/google-gadgets-0.10.3 - make[3]: *** No rule to make target `../../ggadget/gtk/libggadget-gtk-1.0.la', needed by `gtk-flash-element.la'. Stop.
Summary: x11-misc/google-gadgets-0.10.3 - make[3]: *** No rule to make target `../../g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-11 10:12 UTC by Robert Piasek (RETIRED)
Modified: 2008-12-15 10:14 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 Robert Piasek (RETIRED) gentoo-dev 2008-12-11 10:12:57 UTC
When I try to compile 0.10.3, compilation fails. Please note -gtk flag.

I build with following USE flags:
* x11-misc/google-gadgets [U 0.10.2-r2 -> 0.10.3] <target>
    dbus gstreamer -gtk qt4 -debug networkmanager+ -startup-notification+ 

it dies here:

Making all in gtk_flash_element
make[3]: Entering directory `/var/tmp/paludis/x11-misc-google-gadgets-0.10.3/work/google-gadgets-for-linux-0.10.3/extensions/gtk_flash_element'
/bin/sh ../../libtool --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -D__STDC_CONSTANT_MACROS     -DNDEBUG                 -DGGL_MODULE_DIR=\"/usr/lib64/google-gadgets/modules\"                  -DGGL_INCLUDE_DIR=\"/usr/include/google-gadgets\"               -DGGL_SYSDEPS_INCLUDE_DIR=\"/usr/include/google-gadgets\"               -DGGL_LIBEXEC_DIR=\"/usr/lib64/google-gadgets\"        -DGGL_RESOURCE_DIR=\"/usr/share/google-gadgets\" -DGGL_HOST_LINUX=1 -DGGL_LITTLE_ENDIAN -DHAVE_X11=1 -DHAVE_DBUS_LIBRARY -DHAVE_DBUS_WATCH_GET_UNIX_FD -DHAVE_RSVG_LIBRARY -DHAVE_STARTUP_NOTIFICATION -DHAVE_NETWORK_MANAGER -DHAVE_NEW_NETWORK_MANAGER_API -DHAVE_MKDTEMP -DHAVE_MMAP                      -DGGL_DEFAULT_GST_AUDIO_SINK=\"autoaudiosink\"                      -DGGL_DEFAULT_BROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\" -DHAVE_PTHREAD=1  -O2 -Wall -fstack-protector -march=native -O2 -pipe -mfpmath=sse -minline-all-stringops -c -o gtk_flash_element_la-gtk_flash_element.lo `test -f 'gtk_flash_element.cc' || echo './'`gtk_flash_element.cc
make[3]: *** No rule to make target `../../ggadget/gtk/libggadget-gtk-1.0.la', needed by `gtk-flash-element.la'.  Stop.
make[3]: *** Waiting for unfinished jobs....

and before you ask - yes, I've tried with sane C/CXX/LD flags as well.


Reproducible: Always
Comment 1 Robert Piasek (RETIRED) gentoo-dev 2008-12-11 10:17:00 UTC
Some relevant information:

    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.3.2
        CXXFLAGS:              -march=native -O2 -pipe -mfpmath=sse -minline-all-stringops
        LDFLAGS:               -Wl,--as-needed
        DATE:                  2008-12-06T11:06:54+0000

    Libraries:
        C++ Library:           GNU libstdc++ 20080827

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p48
        dev-java/java-config:  1.3.7-r1 2.1.6-r1
        dev-lang/python:       2.5.2-r8
        dev-python/pycrypto:   2.0.1-r6
        dev-util/ccache:       2.4-r8
        dev-util/cmake:        2.6.2
        dev-util/confcache:    (none)
        sys-apps/baselayout:   2.0.0
        sys-apps/openrc:       0.4.0
        sys-apps/sandbox:      1.2.18.1-r3
        sys-devel/autoconf:    2.13 2.63
        sys-devel/automake:    1.10.2 1.5 1.6.3 1.7.9-r1 1.8.5-r3 1.9.6-r2
        sys-devel/binutils:    2.19
        sys-devel/gcc-config:  1.4.0-r4
        sys-devel/libtool:     2.2.6a
        virtual/os-headers:    2.6.27-r2 (for sys-kernel/linux-headers::installed)

Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-13 17:13:19 UTC
(In reply to comment #1)
> Some relevant information:

Please post your `emerge --info' or similarly adequate output.
Comment 3 Robert Piasek (RETIRED) gentoo-dev 2008-12-13 18:03:14 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Some relevant information:
> 
> Please post your `emerge --info' or similarly adequate output.
> 

I'm afraid I can't as I don't use portage. Even if I would install it, provided information won't reflect my setup.
This bug reproduces every time, so my configuration is completely irrelevant. Besides I've provided all the information you should require.

If there is anything else I can help, please let me know.

Regards,
Rob
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2008-12-13 22:04:38 UTC
Voyageur: I checked the configure.ac. I think this another line to add to the gtk use flag's enables:
$(use_enable gtk gtk-flash-element)
I also saw another useful switch:
--with-oem-brand
perhaps
$(use branding&&echo "--with-oem-brand=Gentoo")
?

Robert:
If paludis accepts EXTRA_ECONF, you should be able to emerge google-gadgets with your use flags using:
EXTRA_ECONF="--disable-gtk-flash-element" $paludis_command_to_install_stuff
Comment 5 Robert Piasek (RETIRED) gentoo-dev 2008-12-14 15:55:13 UTC
Personally I think --with-oem-brand=Gentoo should be default (like for almost any other package).

loki_val: I've tried your suggested change to an ebuild and it worked well.

Thanks
Comment 6 Bernard Cafarelli gentoo-dev 2008-12-15 10:14:14 UTC
Thanks for the report, added both configure options! With oem branding always on as it does not change splash screens pics or things like that as do openoffice and other USE=branding packages

Re-open if there are still problems (compilation with USE=-gtk worked here, but with GTK libs installed it's easier ;) )