Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 570896 - mozconfig Eclasses Should Require gtk:3 Built with X USE Flag
Summary: mozconfig Eclasses Should Require gtk:3 Built with X USE Flag
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-04 19:57 UTC by Nicholas Fish
Modified: 2017-08-26 17:56 UTC (History)
0 users

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


Attachments
Build log from failed mozilla-43.0 build (firefox-43.0-gtk3-noX-build.log,427.51 KB, text/plain)
2016-01-04 19:57 UTC, Nicholas Fish
Details
Patch requiring gtk:3 to have been built with X USE flag for Mozilla builds (mozconfig-gtk3-requiresX.patch,371 bytes, patch)
2016-01-04 20:03 UTC, Nicholas Fish
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Fish 2016-01-04 19:57:58 UTC
Created attachment 421916 [details]
Build log from failed mozilla-43.0 build

Please assign to mozilla team <mozilla@gentoo.org>

The mozconfig-v6.4{0,1,2} Eclasses add support for building Firefox against gtk3. However, if the gtk3 installed on the system was not built with the X USE flag, the Firefox build will fail. See the attached build.log.

REPRO
-----
Try to build Firefox against gtk-3 built without X USE flag, get the resultant build error: "../dist/system_wrappers/gdk/gdkx.h:3:27: fatal error: gdk/gdkx.h: No such file or directory" (see firefox-43.0-gtk3-noX-build.log attached)

# USE=-X ebuild /usr/portage/x11-libs/gtk+/gtk+-3.16.7.ebuild install
[...]
# ls /var/tmp/portage/x11-libs/gtk+-3.16.7/image/usr/include/gtk-3.0/gdk/gdkx.h
ls: cannot access /var/tmp/portage/x11-libs/gtk+-3.16.7/image/usr/include/gtk-3.0/gdk/gdkx.h: No such file or directory

# USE=X ebuild /usr/portage/x11-libs/gtk+/gtk+-3.16.7.ebuild install
[...]
# ls /var/tmp/portage/x11-libs/gtk+-3.16.7/image/usr/include/gtk-3.0/gdk/gdkx.h
/var/tmp/portage/x11-libs/gtk+-3.16.7/image/usr/include/gtk-3.0/gdk/gdkx.h
Comment 1 Nicholas Fish 2016-01-04 20:03:52 UTC
Created attachment 421918 [details, diff]
Patch requiring gtk:3 to have been built with X USE flag for Mozilla builds
Comment 2 Jory A. Pratt gentoo-dev 2017-08-26 17:56:11 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team