Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388951 - net-dns/avahi-0.6.30-r1 fail to compile with USE=gtk or gtk3
Summary: net-dns/avahi-0.6.30-r1 fail to compile with USE=gtk or gtk3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-30 10:52 UTC by Dominique Michel
Modified: 2011-10-30 11:08 UTC (History)
0 users

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


Attachments
output of emerge --info =net-dns/avahi-0.6.30-r1 (emerge.info,16.79 KB, text/plain)
2011-10-30 10:54 UTC, Dominique Michel
Details
complete build log (build.log,71.38 KB, text/plain)
2011-10-30 10:58 UTC, Dominique Michel
Details
the environment file (env,226.65 KB, text/plain)
2011-10-30 10:59 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2011-10-30 10:52:36 UTC
Avahi fail to compile with:

Making all in avahi-ui
make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.30-r1/work/avahi-0.6.30/avahi-ui'
  CC     libavahi_ui_la-avahi-ui.lo
  CC     libavahi_ui_la-stdb.lo
  CC     libavahi_ui_gtk3_la-stdb.lo
  CC     libavahi_ui_gtk3_la-avahi-ui.lo
In file included from /usr/include/pango-1.0/pango/pango-gravity.h:98:0,
                 from /usr/include/pango-1.0/pango/pango-types.h:91,
                 from /usr/include/pango-1.0/pango/pango-font.h:26,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-3.0/gdk/gdktypes.h:37,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:33,
                 from /usr/include/gtk-3.0/gtk/gtk.h:32,
                 from avahi-ui.c:30:
/usr/include/pango-1.0/pango/pango-script.h:132:12: error: expected declaration specifiers or '...' before 'G_CONST_RETURN'
/usr/include/pango-1.0/pango/pango-script.h:133:12: error: expected declaration specifiers or '...' before 'G_CONST_RETURN'
In file included from /usr/include/pango-1.0/pango/pango-script.h:138:0,
                 from /usr/include/pango-1.0/pango/pango-gravity.h:98,
                 from /usr/include/pango-1.0/pango/pango-types.h:91,
                 from /usr/include/pango-1.0/pango/pango-font.h:26,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-3.0/gdk/gdktypes.h:37,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:33,
                 from /usr/include/gtk-3.0/gtk/gtk.h:32,
                 from avahi-ui.c:30:
/usr/include/pango-1.0/pango/pango-language.h:37:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
/usr/include/pango-1.0/pango/pango-language.h:41:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
... etc

Reproducible: Always

Steps to Reproduce:
1. emerge avahi
2.
3.
Actual Results:  
Compilation fail with USE="gtk gtk3", "-gtk gtk3" and "gtk -gtk3"

It work with USE="-gtk -gtk3"

Expected Results:  
It should work with USE="gtk gtk3"
Comment 1 Dominique Michel 2011-10-30 10:54:20 UTC
Created attachment 291203 [details]
output of emerge --info =net-dns/avahi-0.6.30-r1
Comment 2 Dominique Michel 2011-10-30 10:58:42 UTC
Created attachment 291205 [details]
complete build log
Comment 3 Dominique Michel 2011-10-30 10:59:18 UTC
Created attachment 291207 [details]
the environment file
Comment 4 Dominique Michel 2011-10-30 11:02:22 UTC
 # emerge -pqv =net-dns/avahi-0.6.30-r1
[ebuild   R   ] net-dns/avahi-0.6.30-r1  USE="dbus gdbm gtk* gtk3* introspection ipv6 mdnsresponder-compat python qt3 -autoipd -bookmarks -doc -howl-compat -mono -qt4 -test -utils"

And sorry for the noise. I just see than this is for an ebuild from the kde-sunset overlay.
Comment 5 Dominique Michel 2011-10-30 11:07:45 UTC
It work with the ebuild from portage. So, you can close this bug. Sorry again for the noise.