Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 429762 - x11-libs/gtk+-2.24.10-r1 and x11-libs/gtk+-3.5.8: fails to build with net-print/cups-1.6
Summary: x11-libs/gtk+-2.24.10-r1 and x11-libs/gtk+-3.5.8: fails to build with net-pri...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cups-1.6
  Show dependency tree
 
Reported: 2012-08-04 05:18 UTC by tman
Modified: 2016-05-21 12:13 UTC (History)
3 users (show)

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


Attachments
/var/log/portage/x11-libs:gtk+-3.5.8:20120804-051347.log (x11-libs:gtk+-3.5.8:20120804-051347.log,44.67 KB, text/plain)
2012-08-04 05:18 UTC, tman
Details
/var/tmp/portage/x11-libs/gtk+-3.5.8/temp/environment (environment,123.78 KB, text/plain)
2012-08-04 05:19 UTC, tman
Details
Patch (cups_fix.patch,562 bytes, patch)
2012-08-05 09:41 UTC, Jura
Details | Diff
x11-libs:gtk+-3.2.4-r1:20120902-174701.log (20120902-174701.log,80.28 KB, text/plain)
2012-09-02 17:59 UTC, Erich Seifert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2012-08-04 05:18:24 UTC
ke[4]: Entering directory `/var/tmp/portage/x11-libs/gtk+-3.5.8/work/gtk+-3.5.8/modules/printbackends/cups'
 976   CC     gtkprintbackendcups.lo
 977   CC     gtkprintercups.lo
 978   CC     gtkcupsutils.lo
 979 gtkprintbackendcups.c: In function ‘cups_printer_handle_attribute’:
 980 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 981 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 982 gtkprintbackendcups.c:1838:12: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 983 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 984 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 985 gtkprintbackendcups.c:1838:12: warning: value computed is not used [-Wunused-value]
 986 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 987 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 988 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 989 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 990 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 991 gtkprintbackendcups.c:1838:12: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 992 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 993 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 994 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 995 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 996 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 997 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 998 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
 999 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
1000 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
1001 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
1002 gtkprintbackendcups.c:1838:12: error: dereferencing pointer to incomplete type
1003 gtkprintbackendcups.c:1840:37: error: dereferencing pointer to incomplete type
1004 make[4]: *** [gtkprintbackendcups.lo] Error 1
1005 make[4]: *** Waiting for unfinished jobs....
1006 make[4]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-3.5.8/work/gtk+-3.5.8/modules/printbackends/cups'
1007 make[3]: *** [all-recursive] Error 1
1008 make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-3.5.8/work/gtk+-3.5.8/modules/printbackends'
1009 make[2]: *** [all-recursive] Error 1
1010 make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-3.5.8/work/gtk+-3.5.8/modules'
1011 make[1]: *** [all-recursive] Error 1
1012 make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-3.5.8/work/gtk+-3.5.8'
1013 make: *** [all] Error 2
1014  * ERROR: x11-libs/gtk+-3.5.8 failed (compile phase):
1015  *   emake failed
1016  *
1017  * If you need support, post the output of `emerge --info '=x11-libs/gtk+-3.5.8'`,
1018  * the complete build log and the output of `emerge -pqv '=x11-libs/gtk+-3.5.8'`.


Reproducible: Always




Portage 2.2.0_alpha120_p23 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r2, 3.5.0-gentoo x86_64)
=================================================================
System uname: Linux-3.5.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Sat, 04 Aug 2012 05:00:01 +0000
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          9999
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo mpd science scarabeus luman nikai emacs java-overlay mgorny qt gnome wine-diablo3 gamerlay-stable Techwolf poly-c wirelay ruby lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
Comment 1 tman 2012-08-04 05:18:56 UTC
Created attachment 320240 [details]
/var/log/portage/x11-libs:gtk+-3.5.8:20120804-051347.log
Comment 2 tman 2012-08-04 05:19:17 UTC
Created attachment 320242 [details]
/var/tmp/portage/x11-libs/gtk+-3.5.8/temp/environment
Comment 3 acidhell 2012-08-04 17:52:11 UTC
same problem here.


emerge --info
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r2, 3.5.0-gentoo x86_64)
=================================================================
System uname: Linux-3.5.0-gentoo-x86_64-AMD_FX-tm-6100_Six-Core_Processor-with-gentoo-2.1
Timestamp of tree: Sat, 04 Aug 2012 17:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo vmware gnome mv seden mythtv x-acidhell_portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=bdver1 -mno-movbe -mno-fma -mno-bmi -mno-tbm --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=bdver1 -mno-movbe -mno-fma -mno-bmi -mno-tbm --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver1"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="el en"
MAKEOPTS="-j19"
Comment 4 Priit Laes (IRC: plaes) 2012-08-05 08:13:27 UTC
Possible fix: http://git.gnome.org/browse/gtk+/commit/?id=e8dcfad441aad7e03a8a459f3818018bd6ff63c7
Comment 5 Jura 2012-08-05 09:41:29 UTC
Created attachment 320440 [details, diff]
Patch
Comment 6 Erich Seifert 2012-09-02 17:59:47 UTC
Created attachment 322760 [details]
x11-libs:gtk+-3.2.4-r1:20120902-174701.log

The same errors happen for x11-libs/gtk+-3.2.4-r1 and net-print/cups-1.6.1 here (see attached build.log).
Comment 7 Coacher 2012-09-05 17:50:42 UTC
Same here with x11-libs/gtk+-2.24.10-r1 and net-print/cups-1.6.1
Same errors as described above. These packages are both in tree now please edit the bug name.

Related upstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=683441
Comment 8 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-09-11 08:55:35 UTC
cups-1.6 compatibility is fixed in:

>=gtk+-2.24.11 for gtk2;
>=gtk+-3.4.2 for gtk3 in portage;
>=gtk+-3.5.10 for gtk3 in the gnome overlay.

(In reply to comment #6)
(In reply to comment #7)

We do not offer support for arbitrary mixtures of stable and unstable branches. If you want to install unstable cups-1.6.1 on a stable system, you can, but then it's your responsibility to figure out which other packages you need to add to your /etc/portage/package.accept_keywords.