Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384943 - 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
Summary: www-client/firefox: fails to build with pgo useflag when gnome-vfs is install...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 14:43 UTC by K. Posern
Modified: 2012-03-05 00:48 UTC (History)
2 users (show)

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


Attachments
/tmp/emerge.info (emerge.info,10.02 KB, text/plain)
2011-09-29 14:45 UTC, K. Posern
Details
/vola/emerge-logs/www-client:firefox-7.0:20110929-141009.log.gz (www-client:firefox-7.0:20110929-141009.log.gz,362.56 KB, text/plain)
2011-09-29 14:55 UTC, K. Posern
Details
/vola/emerge-logs/www-client:firefox-6.0.2:20110929-150738.log.gz (www-client:firefox-6.0.2:20110929-150738.log.gz,377.15 KB, text/plain)
2011-09-29 15:29 UTC, K. Posern
Details
firefox-8.0 pgo failure build.log (build.log.gz,664.06 KB, application/gzip)
2011-12-17 15:32 UTC, Raphaël Droz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description K. Posern 2011-09-29 14:43:27 UTC
Build of firefox-7.0 fails - see attachments.
Up until firefox-6.0.2 everython always compiled fine for me. 

Where does this automation.py script come from? Is this part of emerge?

I could need a hint here.


Reproducible: Always

Steps to Reproduce:
1. emerge -auvtDNq firefox
2.
3.
Comment 1 K. Posern 2011-09-29 14:45:23 UTC
Created attachment 288235 [details]
/tmp/emerge.info

emerge --info www-client/firefox
Comment 2 K. Posern 2011-09-29 14:55:50 UTC
Created attachment 288237 [details]
/vola/emerge-logs/www-client:firefox-7.0:20110929-141009.log.gz

emerge log
Comment 3 K. Posern 2011-09-29 14:57:17 UTC
... 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.
Comment 4 K. Posern 2011-09-29 15:01:26 UTC
.... 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/',
Comment 5 K. Posern 2011-09-29 15:03:01 UTC
gpo useflag == pgo useflag ;)
Comment 6 K. Posern 2011-09-29 15:29:05 UTC
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
Comment 7 K. Posern 2011-09-29 15:31:55 UTC
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'
Comment 8 Raphaël Droz 2011-12-17 15:29:51 UTC
confirmed with firefox-8.0
Comment 9 Raphaël Droz 2011-12-17 15:32:00 UTC
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
Comment 10 Nirbheek Chauhan (RETIRED) gentoo-dev 2012-01-28 05:07:40 UTC
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!
Comment 11 Jory A. Pratt gentoo-dev 2012-03-04 14:27:27 UTC
One month with no comments, closing needinfo.
Comment 12 Alastair Murray 2012-03-05 00:48:06 UTC
I can't comment on versions 7-9 but version 10.0.1 compiles with pgo when version 7.0 wouldn't.