View previous topic :: View next topic |
Author |
Message |
spornitz n00b
Joined: 17 Apr 2012 Posts: 5
|
Posted: Tue Apr 17, 2012 6:47 pm Post subject: libgnomecups won't compile |
|
|
Hi;
Trying to update world and I can't figure out why libgnomecups won't compile. Thanks for any tips!
Here is the contents of build.log:
[code]
[32;01m * [39;49;00mPackage: net-print/libgnomecups-0.2.3-r1
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: gnome@gentoo.org printing@gentoo.org
[32;01m * [39;49;00mUSE: elibc_glibc kernel_linux userland_GNU x86
[32;01m * [39;49;00mFEATURES: sandbox
>>> Unpacking source...
>>> Unpacking libgnomecups-0.2.3.tar.bz2 to /var/tmp/portage/net-print/libgnomecups-0.2.3-r1/work
>>> Source unpacked in /var/tmp/portage/net-print/libgnomecups-0.2.3-r1/work
>>> Preparing source in /var/tmp/portage/net-print/libgnomecups-0.2.3-r1/work/libgnomecups-0.2.3 ...
[32;01m*[0m Applying enablenet.patch ...
[A[188C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying libgnomecups-0.2.3-pkgconfig.patch ...
[A[188C [34;01m[ [32;01mok[34;01m ][0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-print/libgnomecups-0.2.3-r1/work/libgnomecups-0.2.3 ...
* econf: updating libgnomecups-0.2.3/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating libgnomecups-0.2.3/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of i686-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... none
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... no
checking for i686-pc-linux-gnu-xlf... no
checking for i686-pc-linux-gnu-f77... no
checking for i686-pc-linux-gnu-frt... no
checking for i686-pc-linux-gnu-pgf77... no
checking for i686-pc-linux-gnu-cf77... no
checking for i686-pc-linux-gnu-fort77... no
checking for i686-pc-linux-gnu-fl32... no
checking for i686-pc-linux-gnu-af77... no
checking for i686-pc-linux-gnu-xlf90... no
checking for i686-pc-linux-gnu-f90... no
checking for i686-pc-linux-gnu-pgf90... no
checking for i686-pc-linux-gnu-pghpf... no
checking for i686-pc-linux-gnu-epcf90... no
checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-gfortran accepts -g... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) 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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i686-pc-linux-gnu-gfortran option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gfortran static flag -static works... yes
checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
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 whether we are using the GNU C++ compiler... (cached) yes
checking whether i686-pc-linux-gnu-g++ accepts -g... (cached) yes
checking dependency style of i686-pc-linux-gnu-g++... (cached) none
checking for i686-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 LIBGNOMECUPS... yes
checking for cups-config... /usr/bin/cups-config
checking for intltool >= 0.20... 0.37.0 found
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
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... /usr/bin/gmsgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... ar bg ca cs da de dz en_CA en_GB es eu fi fr gl gu hi hr hu is it ja lt mk nb ne nl oc pa pl pt pt_BR rw sk sl sq sr sr@Latn sv th tr uk vi wa zh_CN zh_HK zh_TW
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libgnomecups/Makefile
config.status: creating libgnomecups-1.0.pc
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-print/libgnomecups-0.2.3-r1/work/libgnomecups-0.2.3 ...
make -j5
make all-recursive
make[1]: Entering directory `/var/tmp/portage/net-print/libgnomecups-0.2.3-r1/work/libgnomecups-0.2.3'
Making all in libgnomecups
make[2]: Entering directory `/var/tmp/portage/net-print/libgnomecups-0.2.3-r1/work/libgnomecups-0.2.3/libgnomecups'
/bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\""/usr/share"\" -march=prescott -O2 -pipe -c -o gnome-cups-i18n.lo gnome-cups-i18n.c
/bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\""/usr/share"\" -march=prescott -O2 -pipe -c -o gnome-cups-init.lo gnome-cups-init.c
/bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\""/usr/share"\" -march=prescott -O2 -pipe -c -o gnome-cups-printer.lo gnome-cups-printer.c
/bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\""/usr/share"\" -march=prescott -O2 -pipe -c -o gnome-cups-queue.lo gnome-cups-queue.c
/bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\""/usr/share"\" -march=prescott -O2 -pipe -c -o gnome-cups-request.lo gnome-cups-request.c
mkdir .libs
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\"/usr/share\" -march=prescott -O2 -pipe -c gnome-cups-init.c -fPIC -DPIC -o .libs/gnome-cups-init.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\"/usr/share\" -march=prescott -O2 -pipe -c gnome-cups-printer.c -fPIC -DPIC -o .libs/gnome-cups-printer.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\"/usr/share\" -march=prescott -O2 -pipe -c gnome-cups-queue.c -fPIC -DPIC -o .libs/gnome-cups-queue.o
In file included from gnome-cups-init.h:4,
from gnome-cups-init.c:3:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9,
from /usr/include/glib-2.0/glib/gtypes.h:34,
from gnome-cups-init.h:4,
from gnome-cups-init.c:3:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gtypes.h:35,
from gnome-cups-init.h:4,
from gnome-cups-init.c:3:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gtypes.h:36,
from gnome-cups-init.h:4,
from gnome-cups-init.c:3:
/usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from gnome-cups-init.h:5,
from gnome-cups-init.c:3:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
make[2]: *** [gnome-cups-init.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\"/usr/share\" -march=prescott -O2 -pipe -c gnome-cups-i18n.c -fPIC -DPIC -o .libs/gnome-cups-i18n.o
In file included from gnome-cups-i18n.c:2:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
In file included from gnome-cups-init.h:4,
from gnome-cups-request.h:6,
from gnome-cups-printer.c:34:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from gnome-cups-init.h:5,
from gnome-cups-request.h:6,
from gnome-cups-printer.c:34:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
In file included from gnome-cups-init.h:4,
from gnome-cups-request.h:6,
from gnome-cups-queue.c:12:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from gnome-cups-init.h:5,
from gnome-cups-request.h:6,
from gnome-cups-queue.c:12:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
gnome-cups-printer.c: In function 'set_timeout':
gnome-cups-printer.c:795: warning: passing argument 2 of 'g_timeout_add' from incompatible pointer type
/usr/include/glib-2.0/glib/gmain.h:448: note: expected 'GSourceFunc' but argument is of type 'gboolean (*)(void)'
make[2]: *** [gnome-cups-queue.lo] Error 1
gnome-cups-printer.c:2004:2: warning: #warning this is broken for smb:
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\"/usr/share\" -march=prescott -O2 -pipe -c gnome-cups-request.c -fPIC -DPIC -o .libs/gnome-cups-request.o
make[2]: *** [gnome-cups-i18n.lo] Error 1
make[2]: *** [gnome-cups-printer.lo] Error 1
In file included from gnome-cups-init.h:4,
from gnome-cups-request.h:6,
from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from gnome-cups-init.h:5,
from gnome-cups-request.h:6,
from gnome-cups-request.c:3:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."
gnome-cups-request.c: In function 'request_thread_main':
gnome-cups-request.c:356: warning: format not a string literal and no format arguments
gnome-cups-request.c:367: warning: format not a string literal and no format arguments
gnome-cups-request.c: In function 'gnome_cups_request_add_requested_attributes':
gnome-cups-request.c:469: warning: passing argument 7 of 'ippAddStrings' from incompatible pointer type
/usr/include/cups/ipp.h:447: note: expected 'const char * const*' but argument is of type 'char **'
make[2]: *** [gnome-cups-request.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-print/libgnomecups-0.2.3-r1/work/libgnomecups-0.2.3/libgnomecups'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-print/libgnomecups-0.2.3-r1/work/libgnomecups-0.2.3'
make: *** [all] Error 2
[31;01m*[0m ERROR: net-print/libgnomecups-0.2.3-r1 failed (compile phase):
[31;01m*[0m emake failed
[31;01m*[0m
[31;01m*[0m If you need support, post the output of 'emerge --info =net-print/libgnomecups-0.2.3-r1',
[31;01m*[0m the complete build log and the output of 'emerge -pqv =net-print/libgnomecups-0.2.3-r1'.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/net-print/libgnomecups-0.2.3-r1/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-print/libgnomecups-0.2.3-r1/temp/environment'.
[31;01m*[0m S: '/var/tmp/portage/net-print/libgnomecups-0.2.3-r1/work/libgnomecups-0.2.3'
[/code] |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
spornitz n00b
Joined: 17 Apr 2012 Posts: 5
|
Posted: Tue Apr 17, 2012 8:22 pm Post subject: |
|
|
glib:
dev-libs/glib
Latest version available: 2.32.0
Latest version installed: 2.32.0
Size of files: 6,335 kB
Homepage: http://www.gtk.org/
Description: The GLib library of C routines
License: LGPL-2 |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
spornitz n00b
Joined: 17 Apr 2012 Posts: 5
|
Posted: Tue Apr 17, 2012 8:51 pm Post subject: |
|
|
Stupid question: file a bug with the gtk+ project, or another?
thanks
-Bill |
|
Back to top |
|
|
spornitz n00b
Joined: 17 Apr 2012 Posts: 5
|
Posted: Tue Apr 17, 2012 8:52 pm Post subject: |
|
|
The gtk+ website says this version of glib is stable...
thanks
-Bill |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Tue Apr 17, 2012 9:00 pm Post subject: |
|
|
Running Gentoo stable means software builds are tested against each other. Has not much to do with what upstream declares stable.
Code: | dev-libs/glib
Available versions:
(1) 1.2.10-r5
(2) 2.28.8 2.30.2 (~)2.30.2-r1 (~)2.30.3 (~)2.32.0 (~)2.32.1
net-print/libgnomecups
Available versions: 0.2.3 0.2.3-r1 (~)0.2.3-r2
|
There is no valid reason to file a bug if you mix branches - I'm talking about Gentoo bugs. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
spornitz n00b
Joined: 17 Apr 2012 Posts: 5
|
Posted: Tue Apr 17, 2012 9:12 pm Post subject: |
|
|
Ah, I see!
I'm a java developer who enjoys the flexibility of the gentoo platform but have a bit of a learning curve when I try to upgrade. Thanks very much for your help!
-Bill |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21490
|
Posted: Wed Apr 18, 2012 1:30 am Post subject: |
|
|
In some cases, when a stable package fails to build due to using an unstable dependency, you can get a successful build by switching both of them to unstable. |
|
Back to top |
|
|
|