Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332171 - chromium-9999: failed to build
Summary: chromium-9999: failed to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chromium Project
URL:
Whiteboard: ht-wanted
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 03:13 UTC by fkhp
Modified: 2010-08-18 03:31 UTC (History)
2 users (show)

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


Attachments
Fix error when trying to remove missing bundled lib (chromium-9999.ebuild.patch,499 bytes, patch)
2010-08-17 16:29 UTC, Julien Sanchez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2010-08-11 03:13:19 UTC
>>> Starting src_prepare
 * Removing bundled library third_party/bzip2 ...
 * Removing bundled library third_party/codesighs ...
 * Removing bundled library third_party/cros ...
find: `third_party/cros': No such file or directory

!!! ERROR in www-client/chromium-9999::gentoo:
!!! In remove_bundled_lib at line 4106
!!! failed to remove bundled library third_party/cros

Reproducible: Always
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-08-13 16:46:19 UTC
Can anyone else confirm this?
Comment 2 fkhp 2010-08-13 23:00:46 UTC
(In reply to comment #1)
> Can anyone else confirm this?
to compile, 2 lines need to be commented out:
#remove_bundled_lib "third_party/cros"
#remove_bundled_lib "third_party/py"




Comment 3 Mike Gilbert gentoo-dev 2010-08-13 23:32:05 UTC
I had the same issue. In my overlay, I just ewarn rather than dying.
Comment 4 Julien Sanchez archtester 2010-08-17 15:37:50 UTC
Now, I meet the same issue after bug #333013 fixing.
Comment 5 Anthony Scopatz 2010-08-17 15:49:31 UTC
I can confirm this on two different machines.
Comment 6 Julien Sanchez archtester 2010-08-17 16:29:19 UTC
Created attachment 243353 [details, diff]
Fix error when trying to remove missing bundled lib
Comment 7 Julien Sanchez archtester 2010-08-17 16:32:23 UTC
See proposed patch (http://bugs.gentoo.org/attachment.cgi?id=243353) to fix the problem.

Now, I meet the issue described in bug #331343.
Comment 8 Julien Sanchez archtester 2010-08-17 21:21:53 UTC
Of course, as said by fkhp, remove_bundled_lib "third_party/cros" and third_party/py has to be removed too since they seems useless. The patch is to make remove_bundled_lib() function failure_proof when some third_party subdirectories are removed or renamed.
Comment 9 Mike Gilbert gentoo-dev 2010-08-17 21:26:48 UTC
(In reply to comment #6)
> Created an attachment (id=243353) [details]
> Fix error when trying to remove missing bundled lib
> 

Nitpick: if you want to treat this as non-fatal, there really is no
need to explicitly check for a missing directory; just change the "|| die ..."
after the find call to "|| ewarn ...".

However, I'm guessing our friendly maintainer wants it to die to generate bug
reports when the list changes.
Comment 10 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-08-18 03:31:52 UTC
(In reply to comment #9)
> Nitpick: if you want to treat this as non-fatal, there really is no
> need to explicitly check for a missing directory; just change the "|| die ..."
> after the find call to "|| ewarn ...".

Yeah... seems to be the best option. Thanks!

> However, I'm guessing our friendly maintainer wants it to die to generate bug
> reports when the list changes.

Right, but in case of the 9999 ebuild it turned out to be the wrong choice that prevented you from testing the bleeding-edge code. Now that this thing is removed (sorry it took so long), enjoy your 9999 builds!