when i try to emerge gnome-cups-manager, the compile fails saying this: gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wunused -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-promo -Wno-sign-compare -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/libgnomecups-1 -I.. -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DDATADIR=\""/usr/share"\" -DGNOME_CUPS_MANAGER_DATADIR=\""/usr/share/gnome-cups-manager"\" -DLIBDIR=\""/usr/lib"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -O3 -mcpu=athlon-xp -funroll-loops -pipe -c add-printer.c cc1: warning: "-Wsign-promo" is valid for C++ but not for C/ObjC snmpinter.C: In function `void* do_req(SNMP_session*)': snmpinter.C:53: warning: unused variable `char*tempstr' snmpinter.C:54: warning: unused variable `char*formatstr' add-printer.c: In function `option_menu_get_selected_item': add-printer.c:193: warning: implicit declaration of function `gtk_option_menu_get_menu' add-printer.c:193: warning: implicit declaration of function `GTK_OPTION_MENU' add-printer.c:193: warning: assignment makes pointer from integer without a cast add-printer.c:197: warning: implicit declaration of function `gtk_option_menu_get_history' add-printer.c: In function `select_item': add-printer.c:426: warning: assignment makes pointer from integer without a cast add-printer.c:436: warning: implicit declaration of function `gtk_option_menu_set_history' add-printer.c: In function `setup_port_option_menu': add-printer.c:601: warning: implicit declaration of function `gtk_option_menu_set_menu' add-printer.c: At top level: add-printer.c:1109: error: syntax error before '*' token add-printer.c: In function `network_type_changed_cb': add-printer.c:1115: error: `option_menu' undeclared (first use in this function) add-printer.c:1115: error: (Each undeclared identifier is reported only once add-printer.c:1115: error: for each function it appears in.) add-printer.c:1116: error: `xml' undeclared (first use in this function) add-printer.c: In function `add_cups_printer': add-printer.c:1809: warning: passing arg 1 of `gnome_cups_error_dialog' from incompatible pointer type make[3]: *** [add-printer.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gnome-cups-manager-0.17/work/gnome-cups-manager-0.17/gnome-cups-add' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-cups-manager-0.17/work/gnome-cups-manager-0.17/gnome-cups-add' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-cups-manager-0.17/work/gnome-cups-manager-0.17' make: *** [all-recursive-am] Error 2 !!! ERROR: net-print/gnome-cups-manager-0.17 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure Reproducible: Always Steps to Reproduce: 1. emerge gnome-cups-manager 2. 3. Actual Results: compilation failed Expected Results: successfully merged Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r2) ================================================================= System uname: 2.6.3-gentoo-r2 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Same here. CXXFLAGS or CFLAGS do not matter... even if I set them to "" it does fail. Got around this by compiling nautilus with -cups but why does this happen that suddenly (same arch (athlon-xp) by the way) when there was no change since months?
because you now use gtk+-2.4 & libgnomeui 2.5 (?) the latter i am uncertain of and you shouldn't be using it at this time (The big gnome mask still sais "DO NOT USE" , doesn't it ?). Anyway, there's an updated version in portage already that fixes this.
i also added a fix for this to gnome-cups-manager-0.17 , please rsync & test
Works now, thank you. gtk+-2.4.0 isn't in the mask anymore, that's why. It raises many bugs in Gentoo |:
well, they have to be found & solved anyway. Don't forget ~arch is for finding these things.
Yes it is. But that's where I have some problems with portage and Gentoo. I want Gentoo to get almost actual software, which x86 doesn't provide. Many things in ~x86 are very unstable which is kind of annoying. And I haven't found any way of a selective install like on Debian. I couldn't basicly have x86 and use only some of ~x86 because portage then would downgrade the package on the next emerge world. Or is there a possibility?
yes, there is. "man portage" And the reason things in ~x86 tends to break is the same reason the delay for x86 is, to just get things stabilized so x86 doesn't break in this sense