Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366413 - chromium-9999 native_client binaries
Summary: chromium-9999 native_client binaries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL: http://groups.google.com/a/chromium.o...
Whiteboard:
Keywords:
: 365907 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-08 02:42 UTC by Mike Gilbert
Modified: 2011-07-17 00:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2011-05-08 02:42:58 UTC
The src/DEPS file has an new post-sync hook that downloads some pre-compiled binaries:

    # This downloads binaries for Native Client's integrated runtime (IRT)
    # library, which is built as NaCl untrusted code.
    "pattern": ".",
    "action": ["python", "src/build/download_nacl_irt.py",
               "--nacl_revision", Var("nacl_revision"),
               "--file_hash", "x86_32", Var("nacl_irt_hash_x86_32"),
               "--file_hash", "x86_64", Var("nacl_irt_hash_x86_64")],
  },

The chromium-9999 ebuild never downloads these files since we run gclient --sync --nohooks. Not downloading the files causes the following failure:

make: *** No rule to make target `native_client/irt_binaries/nacl_irt_x86_32.nexe', needed by `out/Release/nacl_irt_x86_32.nexe'

I am not quite sure how to resolve this. There are 2 issues:

1. We can't just remove the "--nohooks" because of bug 337543, comment 6. 

2. Calling the download_nacl_irt.py script from the ebuild is difficult because we would need to figure out the nacl_revision and file_hash values.
Comment 1 Mike Gilbert gentoo-dev 2011-05-08 20:28:27 UTC
*** Bug 365907 has been marked as a duplicate of this bug. ***
Comment 2 Mike Gilbert gentoo-dev 2011-05-08 20:29:29 UTC
See bug 365907 for build logs by Julien.
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-05-09 06:50:37 UTC
I started a discussion on chromium-dev, this is soon going to affect our non-live builds, and I see no obvious workaround.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-05-11 14:55:55 UTC
Fixed, thanks!
Comment 5 Zac Medico gentoo-dev 2011-06-30 22:00:00 UTC
I found that the following nacl examples wouldn't run for me with the beta channel non-live builds:

  http://code.google.com/chrome/nativeclient/docs/examples.html

However, adding this to the src_install of chromium-13.0.782.41.ebuild fixed it for me:

case "$(tc-arch)" in
	amd64)
		doins native_client/irt_binaries/nacl_irt_x86_64.nexe || die
		;;
	x86)
		doins native_client/irt_binaries/nacl_irt_x86_32.nexe || die
		;;
esac
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-07-17 00:26:49 UTC
(In reply to comment #5)
> I found that the following nacl examples wouldn't run for me with the beta
> channel non-live builds:
> 
>   http://code.google.com/chrome/nativeclient/docs/examples.html

Thank you, I have fixed that in 14.x. Please don't comment on closed bugs and open a new bug in cases like this.