Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362401 - gnome-extra/polkit-gnome-0.101-r1 fails to build if gtk+-2.0 compiled without introspection use flag
Summary: gnome-extra/polkit-gnome-0.101-r1 fails to build if gtk+-2.0 compiled without...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 07:38 UTC by Alex Ermakov
Modified: 2011-04-07 08:36 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 Alex Ermakov 2011-04-07 07:38:53 UTC
As summary says, gnome-extra/polkit-gnome-0.101-r1 fails to build if gtk+-2.0 compiled without introspection use flag, recompiling gtk+-2.0 with introspection flag enabled solves this problem.

Reproducible: Always

Steps to Reproduce:
1. USE="-introspection" emerge gtk+
2. emerge =gnome-extra/polkit-gnome-0.101-r1
Actual Results:  
gnome-extra/polkit-gnome-0.101-r1 failed to build

Expected Results:  
gnome-extra/polkit-gnome-0.101-r1 successfully build

Complete build log:


 * Package:    gnome-extra/polkit-gnome-0.101-r1
 * Repository: gentoo
 * Maintainer: nirbheek@gentoo.org gnome@gentoo.org
 * USE:        amd64 elibc_glibc introspection kernel_linux multilib userland_GNU
 * FEATURES:   ccache sandbox
>>> Unpacking source...
>>> Unpacking polkit-gnome-0.101.tar.bz2 to /var/tmp/portage/gnome-extra/polkit-gnome-0.101-r1/work
>>> Source unpacked in /var/tmp/portage/gnome-extra/polkit-gnome-0.101-r1/work
>>> Preparing source in /var/tmp/portage/gnome-extra/polkit-gnome-0.101-r1/work/polkit-gnome-0.101 ...
 * Applying polkit-gnome-0.95-fix-make-check.patch ...                                                                                                [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gnome-extra/polkit-gnome-0.101-r1/work/polkit-gnome-0.101 ...
 * econf: updating polkit-gnome-0.101/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating polkit-gnome-0.101/config.sub with /usr/share/gnuconfig/config.sub
./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 --disable-dependency-tracking --disable-static --disable-gtk-doc --disable-examples --enable-introspection
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for library containing strerror... none required
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 build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... 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 gtkdoc-check... no
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking whether gcc understands -Wno-sign-compare... yes
checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
checking what language compliance flags to pass to the C compiler... 
checking which gtk+ version to compile against... 2.0
checking for GTK... yes
checking for POLKIT_AGENT... yes
checking for POLKIT_GOBJECT... yes
checking for INTROSPECTION... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.3
checking for XML::Parser... ok
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... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
checking for xgettext... (cached) /usr/bin/xgettext
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating polkitgtk/Makefile
config.status: creating polkitgtk/polkit-gtk-1.pc
config.status: creating src/Makefile
config.status: creating docs/version.xml
config.status: creating docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

                  polkit-gnome 0.101
                =======================

        prefix:                     /usr
        libdir:                     /usr/lib64
        libexecdir:                 ${exec_prefix}/libexec
        bindir:                     ${exec_prefix}/bin
        sbindir:                    ${exec_prefix}/sbin
        datadir:                    /usr/share
        sysconfdir:                 /etc
        localstatedir:              /var/lib

        compiler:                   x86_64-pc-linux-gnu-gcc
        cflags:                     -march=native -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -ftree-loop-linear -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -fexcess-precision=fast -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare
        cppflags:                   
	introspection:		    yes

        Maintainer mode:            no
        Building api docs:          no

>>> Source configured.
>>> Compiling source in /var/tmp/portage/gnome-extra/polkit-gnome-0.101-r1/work/polkit-gnome-0.101 ...
make -j5 
make  all-recursive
make[1]: Вход в каталог `/var/tmp/portage/gnome-extra/polkit-gnome-0.101-r1/work/polkit-gnome-0.101'
Making all in polkitgtk
make[2]: Вход в каталог `/var/tmp/portage/gnome-extra/polkit-gnome-0.101-r1/work/polkit-gnome-0.101/polkitgtk'
  CC     example-example.o
  CC     libpolkit_gtk_1_la-polkitlockbutton.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I.. -I../polkitgtk -I../polkitgtk -DG_LOG_DOMAIN=\"polkitgtk\" -DGNOMELOCALEDIR=\""/usr/share/locale"\"   -DPOLKIT_GTK_COMPILATION   -pthread -I/usr/include/polkit-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -DQT_SHARED -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/gdk-pixbuf-2.0 -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/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare    -march=native -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -ftree-loop-linear -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -fexcess-precision=fast -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c -o libpolkit_gtk_1_la-polkitlockbutton.lo `test -f 'polkitlockbutton.c' || echo './'`polkitlockbutton.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I.. -I.. -pthread -I/usr/include/polkit-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -DQT_SHARED -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/gdk-pixbuf-2.0 -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/libpng14 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare    -march=native -O2 -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -ftree-loop-linear -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer -fexcess-precision=fast -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c -o example-example.o `test -f 'example.c' || echo './'`example.c
polkitlockbutton.c: In function ‘update_state’:
polkitlockbutton.c:690:16: warning: ‘text’ may be used uninitialized in this function
polkitlockbutton.c:691:16: warning: ‘tooltip’ may be used uninitialized in this function
polkitlockbutton.c:692:12: warning: ‘sensitive’ may be used uninitialized in this function
  CCLD   libpolkit-gtk-1.la
/usr/bin/g-ir-scanner -v 					\
	--namespace PolkitGtk 				\
	--strip-prefix=Polkit				\
	--nsversion=1.0 				\
	--include=Gtk-2.0		\
	--include=Polkit-1.0 				\
	--library=polkit-gtk-1 				\
	--output PolkitGtk-1.0.gir 					\
	--pkg=polkit-gobject-1				\
	--pkg=gtk+-2.0			\
	--libtool=../libtool		\
                -I..		 			\
        -DPOLKIT_GTK_COMPILATION                   	\
	./polkitgtk.h 				\
	./polkitgtktypes.h 			\
	./polkitlockbutton.h 			\
	
  CCLD   example
g-ir-scanner: warning: Option --strip-prefix has been deprecated;
see --identifier-prefix and --symbol-prefix.
Couldn't find include 'Gtk-2.0.gir' (search path: ['/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gdm/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0'])
Comment 1 Alex Ermakov 2011-04-07 07:40:59 UTC
..
Comment 2 Jonathan Callen (RETIRED) gentoo-dev 2011-04-07 08:36:32 UTC
This should now be fixed in-tree.