| Summary: | www-client/firefox: fails to build with pgo useflag when gnome-vfs is installed: Could not create per-user gnome configuration directory `/var/tmp/portage/.gnome2/': No such file or directory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | K. Posern <quickhelp> |
| Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | alastairmurray, raphael.droz+floss |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
/tmp/emerge.info
/vola/emerge-logs/www-client:firefox-7.0:20110929-141009.log.gz /vola/emerge-logs/www-client:firefox-6.0.2:20110929-150738.log.gz firefox-8.0 pgo failure build.log |
||
|
Description
K. Posern
2011-09-29 14:43:27 UTC
Created attachment 288235 [details]
/tmp/emerge.info
emerge --info www-client/firefox
Created attachment 288237 [details]
/vola/emerge-logs/www-client:firefox-7.0:20110929-141009.log.gz
emerge log
... to allow maybe more keywords to be found through google here the END of the failing "emerge -auDNvtq firefox" command: make tools make[3]: Entering directory `/mnt/gentoo.build/portage/www-client/firefox-7.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer' make[3]: Nothing to be done for `tools'. make[3]: Leaving directory `/mnt/gentoo.build/portage/www-client/firefox-7.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer' if test -d ../../dist/bin ; then touch ../../dist/bin/.purgecaches ; fi make[2]: Leaving directory `/mnt/gentoo.build/portage/www-client/firefox-7.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer' make[1]: Leaving directory `/mnt/gentoo.build/portage/www-client/firefox-7.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu' OBJDIR=obj-x86_64-unknown-linux-gnu JARLOG_DIR=obj-x86_64-unknown-linux-gnu/jarlog/en-US python obj-x86_64-unknown-linux-gnu/_profile/pgo/profileserver.py args: ['/mnt/gentoo.build/portage/www-client/firefox-7.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/firefox/firefox-bin', '-no-remote', '-profile', '/mnt/gentoo.build/portage/www -client/firefox-7.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/_profile/pgo/pgoprofile/', 'http://localhost:8888/index.html'] INFO | automation.py | Application pid: 30978 (firefox-bin:30978): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: No such file or directory Could not create per-user gnome configuration directory `/var/tmp/portage/.gnome2/': No such file or directory failed to create drawable TEST-UNEXPECTED-FAIL | automation.py | Exited with code 1 during test run INFO | automation.py | Application ran for: 0:00:00.343574 INFO | automation.py | Reading PID log: /mnt/gentoo.build/portage/www-client/firefox-7.0/temp/tmpfBtJo4pidlog make: *** [profiledbuild] Error 1 emake failed * ERROR: www-client/firefox-7.0 failed (compile phase): * virtualmake: the emake failed. * * Call stack: * ebuild.sh, line 91: Called src_compile * environment, line 6700: Called Xemake '-f' 'client.mk' 'profiledbuild' * environment, line 607: Called virtualmake '-f' 'client.mk' 'profiledbuild' * environment, line 7764: Called die * The specific snippet of code: * [[ ${retval} -ne 0 ]] && die "${FUNCNAME}: the ${VIRTUALX_COMMAND} failed."; * * If you need support, post the output of 'emerge --info =www-client/firefox-7.0', * the complete build log and the output of 'emerge -pqv =www-client/firefox-7.0'. * This ebuild is from an overlay named 'mozilla': '/mnt/vola/sd/layman/mozilla/' * The complete build log is located at '/vola/emerge-logs/www-client:firefox-7.0:20110929-141009.log'. * The ebuild environment file is located at '/mnt/gentoo.build/portage/www-client/firefox-7.0/temp/environment'. * S: '/mnt/gentoo.build/portage/www-client/firefox-7.0/work/mozilla-release' ~~~~~~{ }~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Allow: '/vola/ccache:/vola/distcc::/mnt/vola/sd/src/' * After world updates, it is important to remove obsolete packages with * emerge --depclean. Refer to `man emerge` for more information. .... ah sorry, I had another look and now I understand: It is the gpo useflag that leads to this call via profileserver.py and this fails because of the missing .gconf directory for the - I guess - "portage" user... obj-x86_64-unknown-linux-gnu/_profile/pgo/profileserver.py args: ['/mnt/gentoo.build/portage/www-client/firefox-7.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/firefox/firefox-bin', '-no-remote', '-profile', '/mnt/gentoo.build/portage/www -client/firefox-7.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/_profile/pgo/pgoprofile/', gpo useflag == pgo useflag ;) Created attachment 288241 [details]
/vola/emerge-logs/www-client:firefox-6.0.2:20110929-150738.log.gz
emerge log for firefox-6.0.2 with pgo use-flag
Here is the end of the command
emerge -avtq "=www-client/firefox-6.0.2"
make[1]: Leaving directory `/mnt/gentoo.build/portage/www-client/firefox-6.0.2/work/mozilla-release/obj-x86_64-unknown-linux-gnu'
OBJDIR=obj-x86_64-unknown-linux-gnu python obj-x86_64-unknown-linux-gnu/_profile/pgo/profileserver.py
args: ['/mnt/gentoo.build/portage/www-client/firefox-6.0.2/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/firefox/firefox-bin', '-no-remote', '-profile', '/mnt/gentoo.build/portage/www-client/firefox-6.0.2/work/mozilla-release/obj-x86_64-unknown-linux-gnu/_profile/pgo/pgoprofile/', 'http://localhost:8888/index.html']
INFO | automation.py | Application pid: 3825
failed to create drawable
(firefox-bin:3825): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: No such file or directory
Could not create per-user gnome configuration directory `/var/tmp/portage/.gnome2/': No such file or directory
TEST-UNEXPECTED-FAIL | automation.py | Exited with code 1 during test run
INFO | automation.py | Application ran for: 0:00:00.267564
INFO | automation.py | Reading PID log: /mnt/gentoo.build/portage/www-client/firefox-6.0.2/temp/tmpvfwfxUpidlog
make: *** [profiledbuild] Error 1
emake failed
* ERROR: www-client/firefox-6.0.2 failed (compile phase):
* virtualmake: the emake failed.
*
* Call stack:
* ebuild.sh, line 91: Called src_compile
* environment, line 6706: Called Xemake '-f' 'client.mk' 'profiledbuild'
* environment, line 608: Called virtualmake '-f' 'client.mk' 'profiledbuild'
* environment, line 7770: Called die
* The specific snippet of code:
* [[ ${retval} -ne 0 ]] && die "${FUNCNAME}: the ${VIRTUALX_COMMAND} failed.";
*
* If you need support, post the output of 'emerge --info =www-client/firefox-6.0.2',
* the complete build log and the output of 'emerge -pqv =www-client/firefox-6.0.2'.
* The complete build log is located at '/vola/emerge-logs/www-client:firefox-6.0.2:20110929-150738.log'.
* The ebuild environment file is located at '/mnt/gentoo.build/portage/www-client/firefox-6.0.2/temp/environment'.
* S: '/mnt/gentoo.build/portage/www-client/firefox-6.0.2/work/mozilla-release'
confirmed with firefox-8.0 Created attachment 296137 [details] firefox-8.0 pgo failure build.log google-friendly error line: make[2]: Leaving directory `/var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer' make[1]: Leaving directory `/var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu' OBJDIR=obj-x86_64-unknown-linux-gnu JARLOG_DIR=obj-x86_64-unknown-linux-gnu/jarlog/en-US python obj-x86_64-unknown-linux-gnu/_profile/pgo/profileserver.py args: ['/var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/firefox/firefox-bin', '-no-remote', '-profile', '/var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/_profile/pgo/pgoprofile/', 'http://localhost:8888/index.html'] INFO | automation.py | Application pid: 28453 failed to create drawable (firefox-bin:28453): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied Could not create per-user gnome configuration directory `/root/.gnome2/': Permission denied TEST-UNEXPECTED-FAIL | automation.py | Exited with code 1 during test run INFO | automation.py | Application ran for: 0:00:08.397633 INFO | automation.py | Reading PID log: /var/tmp/portage/www-client/firefox-8.0/temp/tmp2nW_WOpidlog make: *** [profiledbuild] Error 1 This is because you folks have gnome-vfs installed. Depending on your FEATURES settings, it will use /var/tmp/portage/.gnome2/ or /root/.gnome2/ . I've added gnome2_environment_reset to firefox-9.0, please try that and tell me if it fixes the issue. Thanks! One month with no comments, closing needinfo. I can't comment on versions 7-9 but version 10.0.1 compiles with pgo when version 7.0 wouldn't. |