public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] chromium build issue
@ 2013-11-21 23:19 james N.
  2013-11-23  1:03 ` [gentoo-user] " walt
  2013-11-23  2:31 ` [gentoo-user] " Alecks Gates
  0 siblings, 2 replies; 6+ messages in thread
From: james N. @ 2013-11-21 23:19 UTC (permalink / raw
  To: gentoo-user

Hey list,

I have a build issue with chromium on one machine but not the other.
The version I'm trying to build is www-client/chromium-32.0.1700.19
but the problem occurs on the current stable version also (31.0.1650.57).


 * ERROR: www-client/chromium-32.0.1700.19::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_configure
 *   environment, line 4972:  Called die
 * The specific snippet of code:
 *       egyp_chromium ${myconf} || die
 *
 * If you need support, post the output of `emerge --info '=www-client/chromium-32.0.1700.19::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-32.0.1700.19::gentoo'`.
 * The complete build log is located at
'/var/tmp/portage/www-client/chromium-32.0.1700.19/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/www-client/chromium-32.0.1700.19/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19'
 * S: '/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19'


before that, the output is:

Updating projects from gyp files...
Traceback (most recent call last):
  File "build/gyp_chromium", line 157, in <module>
    sys.exit(gyp.main(args))
  File
"/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19/tools/gyp/pylib/gyp/__init__.py",
line 527, in main
    return gyp_main(args)
  File
"/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19/tools/gyp/pylib/gyp/__init__.py",
line 503, in gyp_main
    options.circular_check)
  File
"/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19/tools/gyp/pylib/gyp/__init__.py",
line 129, in Load
    params['parallel'], params['root_targets'])
  File
"/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19/tools/gyp/pylib/gyp/input.py",
line 2687, in Load
    generator_input_info)
  File
"/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19/tools/gyp/pylib/gyp/input.py",
line 594, in LoadTargetBuildFilesParallel
    parallel_state.pool = multiprocessing.Pool(8)
  File "/usr/lib64/python2.7/multiprocessing/__init__.py", line 232, in Pool
    return Pool(processes, initializer, initargs, maxtasksperchild)
  File "/usr/lib64/python2.7/multiprocessing/pool.py", line 138, in __init__
    self._setup_queues()
  File "/usr/lib64/python2.7/multiprocessing/pool.py", line 232, in _setup_queues
    from .queues import SimpleQueue
  File "/usr/lib64/python2.7/multiprocessing/queues.py", line 48, in <module>
    from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, Condition
  File "/usr/lib64/python2.7/multiprocessing/synchronize.py", line 59, in <module>
    " function, see issue 3770.")
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required
synchronization primitives needed will not function, see issue 3770.

Any ideas?

Thanks

-- 
James

This is my signature. Please don't steal it.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: chromium build issue
  2013-11-21 23:19 [gentoo-user] chromium build issue james N.
@ 2013-11-23  1:03 ` walt
  2013-11-23  2:31 ` [gentoo-user] " Alecks Gates
  1 sibling, 0 replies; 6+ messages in thread
From: walt @ 2013-11-23  1:03 UTC (permalink / raw
  To: gentoo-user

On 11/21/2013 03:19 PM, james N. wrote:

>   File "/usr/lib64/python2.7/multiprocessing/synchronize.py", line 59, in <module>
>     " function, see issue 3770.")
> ImportError: 

In general, when I see emerge errors involving any python stuff, I run python-updater
as a knee-jerk reflex even before I start using my brain :)

It may not help, but it couldn't hurt...



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] chromium build issue
  2013-11-21 23:19 [gentoo-user] chromium build issue james N.
  2013-11-23  1:03 ` [gentoo-user] " walt
@ 2013-11-23  2:31 ` Alecks Gates
  2013-11-23 22:45   ` james N.
  1 sibling, 1 reply; 6+ messages in thread
From: Alecks Gates @ 2013-11-23  2:31 UTC (permalink / raw
  To: gentoo-user

On Thu, Nov 21, 2013 at 5:19 PM, james N. <james@flatlan.net> wrote:
> Hey list,
>
> I have a build issue with chromium on one machine but not the other.
> The version I'm trying to build is www-client/chromium-32.0.1700.19
> but the problem occurs on the current stable version also (31.0.1650.57).
>
>
>  * ERROR: www-client/chromium-32.0.1700.19::gentoo failed (configure phase):
>  *   (no error message)
>  *
>  * Call stack:
>  *     ebuild.sh, line  93:  Called src_configure
>  *   environment, line 4972:  Called die
>  * The specific snippet of code:
>  *       egyp_chromium ${myconf} || die
>  *
>  * If you need support, post the output of `emerge --info '=www-client/chromium-32.0.1700.19::gentoo'`,
>  * the complete build log and the output of `emerge -pqv '=www-client/chromium-32.0.1700.19::gentoo'`.
>  * The complete build log is located at
> '/var/tmp/portage/www-client/chromium-32.0.1700.19/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/www-client/chromium-32.0.1700.19/temp/environment'.
>  * Working directory: '/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19'
>  * S: '/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19'
>
>
> before that, the output is:
>
> Updating projects from gyp files...
> Traceback (most recent call last):
>   File "build/gyp_chromium", line 157, in <module>
>     sys.exit(gyp.main(args))
>   File
> "/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19/tools/gyp/pylib/gyp/__init__.py",
> line 527, in main
>     return gyp_main(args)
>   File
> "/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19/tools/gyp/pylib/gyp/__init__.py",
> line 503, in gyp_main
>     options.circular_check)
>   File
> "/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19/tools/gyp/pylib/gyp/__init__.py",
> line 129, in Load
>     params['parallel'], params['root_targets'])
>   File
> "/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19/tools/gyp/pylib/gyp/input.py",
> line 2687, in Load
>     generator_input_info)
>   File
> "/var/tmp/portage/www-client/chromium-32.0.1700.19/work/chromium-32.0.1700.19/tools/gyp/pylib/gyp/input.py",
> line 594, in LoadTargetBuildFilesParallel
>     parallel_state.pool = multiprocessing.Pool(8)
>   File "/usr/lib64/python2.7/multiprocessing/__init__.py", line 232, in Pool
>     return Pool(processes, initializer, initargs, maxtasksperchild)
>   File "/usr/lib64/python2.7/multiprocessing/pool.py", line 138, in __init__
>     self._setup_queues()
>   File "/usr/lib64/python2.7/multiprocessing/pool.py", line 232, in _setup_queues
>     from .queues import SimpleQueue
>   File "/usr/lib64/python2.7/multiprocessing/queues.py", line 48, in <module>
>     from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, Condition
>   File "/usr/lib64/python2.7/multiprocessing/synchronize.py", line 59, in <module>
>     " function, see issue 3770.")
> ImportError: This platform lacks a functioning sem_open implementation, therefore, the required
> synchronization primitives needed will not function, see issue 3770.
>
> Any ideas?
>
> Thanks
>
> --
> James
>
> This is my signature. Please don't steal it.
>

What kernel are you running and/or what kernel did you build python2.7
with?  I would try remerging dev-lang/python:2.7

Possibly relevant:
http://bugs.python.org/issue8326

-- 
Alecks Gates


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] chromium build issue
  2013-11-23  2:31 ` [gentoo-user] " Alecks Gates
@ 2013-11-23 22:45   ` james N.
  2013-11-24  1:50     ` [gentoo-user] " walt
  2013-12-24 20:34     ` [gentoo-user] " james N.
  0 siblings, 2 replies; 6+ messages in thread
From: james N. @ 2013-11-23 22:45 UTC (permalink / raw
  To: gentoo-user

On 11/22/2013 07:31 PM, Alecks Gates wrote:

> 
> What kernel are you running and/or what kernel did you build python2.7
> with?  I would try remerging dev-lang/python:2.7
> 
> Possibly relevant:
> http://bugs.python.org/issue8326
> 

I ran python-updater like Walt suggested, no help.
Then I rebuilt dev-lang/python:2.7 still didn't help.

python-2.7 was built against gentoo-sources-3.11.0 which is my current kernel.

If it helps, these are my python and chromium flags.

[ebuild   R    ] dev-lang/python-2.7.5-r3:2.7  USE="gdbm ipv6 ncurses readline sqlite ssl threads
(wide-unicode) xml -berkdb -build -doc -examples -hardened -tk -wininst" 0 kB


[ebuild     U ~] www-client/chromium-32.0.1700.19 [31.0.1650.48] USE="bindist -cups -custom-cflags
-gnome -gnome-keyring -kerberos (-neon) -pulseaudio (-selinux) (-system-sqlite) (-tcmalloc) {-test}
(-gps%)" LINGUAS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he hi hr hu id it ja
kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" 0 kB

Anymore info i can give?

Further help would be greatly appreciated.

-- 
James

This is my signature. Please don't steal it.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: chromium build issue
  2013-11-23 22:45   ` james N.
@ 2013-11-24  1:50     ` walt
  2013-12-24 20:34     ` [gentoo-user] " james N.
  1 sibling, 0 replies; 6+ messages in thread
From: walt @ 2013-11-24  1:50 UTC (permalink / raw
  To: gentoo-user

On 11/23/2013 02:45 PM, james N. wrote:
> On 11/22/2013 07:31 PM, Alecks Gates wrote:
> 
>> > 
>> > What kernel are you running and/or what kernel did you build python2.7
>> > with?  I would try remerging dev-lang/python:2.7
>> > 
>> > Possibly relevant:
>> > http://bugs.python.org/issue8326

Interesting thread, thanks.  My gut feeling was that the kernel would have no
effect on python packages, but now I need to rethink that.

> I ran python-updater like Walt suggested, no help.
> Then I rebuilt dev-lang/python:2.7 still didn't help.
> 
> python-2.7 was built against gentoo-sources-3.11.0 which is my current kernel.

My kernel-tinkering experience may have nothing to do with your python bug,
but I'll mention it anyway because I love the sound of my own key-clicks :)

The "0" at the end of 3.11.0 means that kernel has had very little testing
and may well contain many new bugs.  If you don't want to spend your time
bisecting and reporting kernel bugs you should probably wait at least until
that "0" increments to around "3" before using it.

Given the ubuntu bug report I'd suggest trying a kernel in the 3.10.* range
as an experiment.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] chromium build issue
  2013-11-23 22:45   ` james N.
  2013-11-24  1:50     ` [gentoo-user] " walt
@ 2013-12-24 20:34     ` james N.
  1 sibling, 0 replies; 6+ messages in thread
From: james N. @ 2013-12-24 20:34 UTC (permalink / raw
  To: gentoo-user

Took me a while because i don't use Chromium on that computer much so i lost track of the issue.

The problem seems to have been that python was built with /dev/shm mounted with mode 0755.
updated the mode to 1777 (tmp-style) and recompiled python
chromium now compiles fine.

not sure if that problem will crop up again, or what the best approach would be

On 11/23/2013 03:45 PM, james N. wrote:
> On 11/22/2013 07:31 PM, Alecks Gates wrote:
> 
>>
>> What kernel are you running and/or what kernel did you build python2.7
>> with?  I would try remerging dev-lang/python:2.7
>>
>> Possibly relevant:
>> http://bugs.python.org/issue8326
>>
> 
> I ran python-updater like Walt suggested, no help.
> Then I rebuilt dev-lang/python:2.7 still didn't help.
> 
> python-2.7 was built against gentoo-sources-3.11.0 which is my current kernel.
> 
> If it helps, these are my python and chromium flags.
> 
> [ebuild   R    ] dev-lang/python-2.7.5-r3:2.7  USE="gdbm ipv6 ncurses readline sqlite ssl threads
> (wide-unicode) xml -berkdb -build -doc -examples -hardened -tk -wininst" 0 kB
> 
> 
> [ebuild     U ~] www-client/chromium-32.0.1700.19 [31.0.1650.48] USE="bindist -cups -custom-cflags
> -gnome -gnome-keyring -kerberos (-neon) -pulseaudio (-selinux) (-system-sqlite) (-tcmalloc) {-test}
> (-gps%)" LINGUAS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he hi hr hu id it ja
> kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" 0 kB
> 
> Anymore info i can give?
> 
> Further help would be greatly appreciated.
> 


-- 
James

This is my signature. Please don't steal it.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-24 20:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-21 23:19 [gentoo-user] chromium build issue james N.
2013-11-23  1:03 ` [gentoo-user] " walt
2013-11-23  2:31 ` [gentoo-user] " Alecks Gates
2013-11-23 22:45   ` james N.
2013-11-24  1:50     ` [gentoo-user] " walt
2013-12-24 20:34     ` [gentoo-user] " james N.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox