Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416625 - x11-libs/gtk+-3.4.3 build failure with USE="cups debug"
Summary: x11-libs/gtk+-3.4.3 build failure with USE="cups debug"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-19 12:46 UTC by Jakub Daniel
Modified: 2012-05-19 19:58 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 Jakub Daniel 2012-05-19 12:46:57 UTC
Hello,

i just tried to update on ~amd64 with modified USE to contain 'debug' and the build of x11-libs/gtk+-3.4.3 failed.

after i removed the 'debug' from USE it got updated (built) without any problem.

Reproducible: Always

Steps to Reproduce:
1. enable ~amd64
2. add 'debug' to USE in /etc/make.conf
3. emerge -avuND world (emerge '>=gtk+-3.4.3' should suffice)



http://pastebin.com/Dw6Ss5kC
http://pastebin.com/AaNHgG2a
http://pastebin.com/NsxE2Siv
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-05-19 18:17:25 UTC
In the future, please attach all logs, emerge output, etc. directly to the bug (click on "Add an attachment" above the comment text entry field). This is because pastebins expire quickly, but we sometimes need to refer to a bug months or years later.

Fortunately, in this case the error is rather simple, and was caused by an oversight in an upstream gtk+ commit that struct-ized various printer setup variables:

gtkprintbackendcups.c: In function 'cups_create_printer':
gtkprintbackendcups.c:1897:7: error: 'printer_name' undeclared (first use in this function)
gtkprintbackendcups.c:1897:7: note: each undeclared identifier is reported only once for each function it appears in
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-05-19 19:58:27 UTC
Thanks for reporting, fixed in cvs without a revision bump.

>  19 May 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  -files/gtk+-3.4.1-extraneous-events-scrolling.patch,
>  -files/gtk+-3.4.1-toolpalette-adjustment.patch,
>  -files/gtk+-3.4.1-toolpalette-rename.patch, gtk+-3.4.3.ebuild,
>  +files/gtk+-3.4.3-gtkprintbackendcups-debug.patch:
>  Fix buid with USE="cups debug" (bug #416625, thanks to Jakub Daniel). Remove
>  unused patches.