Issue metadata
Sign in to add a comment
|
dev_install fails to work on Samsung Chromebook 3
Reported by
azharich...@gmail.com,
Apr 14 2016
|
||||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (X11; CrOS x86_64 7978.48.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.67 Safari/537.36
Platform: 7978.48.0 (Official Build) beta-channel celes Firmware Google_Celes.7287.92.3
Steps to reproduce the problem:
1. sudo -i
2. dev_install (--reinstall)
What is the expected behavior?
Ability to setup dev environment and install packages. And for dev_install to install all the optional packages.
What went wrong?
Right after it downloads and extracts the packages and says "Emerge installation complete. Installing additional optional packages" it gives this error (which does occur a couple times).
!!! PORTAGE_BINHOST unset, but use is requested.
emerge: incomplete set configuration, missing set(s): "selected", "system", and "world"
This usually means that '/usr/share/portage/config/sets/portage.conf'
is missing or corrupt.
Falling back to default world and system set configuration!!!
Then it beings to install other packages, which once it reaches installing gdb it gives this.
>>> Installing (15 of 64) sys-devel/gdb-7.7.1-r4::chromiumos to /usr/local/
* Running stacked hooks for pre_pkg_preinst
* wrap_old_config_scripts ... [ ok ]
* ERROR: sys-devel/gdb-7.7.1-r4::chromiumos failed (postinst phase):
* USE Flag 'prefix' not in IUSE for sys-devel/gdb-7.7.1-r4
*
* Call stack:
* ebuild.sh, line 94: Called pkg_postinst
* environment, line 2751: Called use 'prefix'
* phase-helpers.sh, line 200: Called die
* The specific snippet of code:
* die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
*
* If you need support, post the output of `emerge --info '=sys-devel/gdb-7.7.1-r4::chromiumos'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/gdb-7.7.1-r4::chromiumos'`.
* The complete build log is located at '/usr/local/var/tmp/portage/sys-devel/gdb-7.7.1-r4/temp/build.log'.
* The ebuild environment file is located at '/usr/local/var/tmp/portage/sys-devel/gdb-7.7.1-r4/temp/environment'.
* Working directory: '/usr/local/lib/portage/pym'
* S: '/usr/local/var/tmp/portage/sys-devel/gdb-7.7.1-r4/work/gdb-7.7.1'
!!! FAILED postinst: 1
It continues to install other packages succefully but once it reaches net-dns/dnsmasq it gives off this error.
>>> Emerging binary (36 of 64) net-dns/dnsmasq-2.72-r4::portage-stable for /usr/local/
* dnsmasq-2.72-r4.tbz2 MD5 SHA1 size ;-) ... [ ok ]
>>> Extracting info
* Running stacked hooks for pre_pkg_setup
* sysroot_build_bin_dir ... [ ok ]
/usr/local/lib/portage/bin/ebuild-helpers/portageq: line 8: cd: /usr/lib/portage/pym: No such file or directory
/usr/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
* No user/group data files present. Skipping.
* ERROR: net-dns/dnsmasq-2.72-r4::portage-stable failed (setup phase):
* No entry for dnsmasq in any overlay.
*
* Call stack:
* ebuild.sh, line 94: Called pkg_setup
* environment, line 2766: Called enewuser 'dnsmasq' '-1' '-1' '/dev/null' 'dnsmasq'
* environment, line 1147: Called _get_value_for_user 'dnsmasq' 'user'
* environment, line 427: Called die
* The specific snippet of code:
* [[ -z "${template}" ]] && die "No entry for ${user} in any overlay.";
*
* If you need support, post the output of `emerge --info '=net-dns/dnsmasq-2.72-r4::portage-stable'`,
* the complete build log and the output of `emerge -pqv '=net-dns/dnsmasq-2.72-r4::portage-stable'`.
* The complete build log is located at '/usr/local/var/tmp/portage/net-dns/dnsmasq-2.72-r4/temp/build.log'.
* The ebuild environment file is located at '/usr/local/var/tmp/portage/net-dns/dnsmasq-2.72-r4/temp/environment'.
* Working directory: '/usr/local/lib/portage/pym'
* S: '/usr/local/var/tmp/portage/net-dns/dnsmasq-2.72-r4/work/dnsmasq-2.72'
>>> Failed to emerge net-dns/dnsmasq-2.72-r4 for /usr/local/, Log file:
>>> '/usr/local/var/tmp/portage/net-dns/dnsmasq-2.72-r4/temp/build.log'
* Messages for package app-misc/screen-4.0.3-r6 merged to /usr/local/:
* Some dangerous key bindings have been removed or changed to more safe values.
* We enable some xterm hacks in our default screenrc, which might break some
* applications. Please check /etc/screenrc for information on these changes.
* Messages for package app-portage/portage-utils-0.55 merged to /usr/local/:
* /etc/portage/postsync.d/q-reinitialize has been installed for convenience
* If you wish for it to be automatically run at the end of every --sync:
* # chmod +x /etc/portage/postsync.d/q-reinitialize
* Normally this should only take a few seconds to run but file systems
* such as ext3 can take a lot longer. To disable, simply do:
* # chmod -x /etc/portage/postsync.d/q-reinitialize
* Messages for package sys-devel/gdb-7.7.1-r4 merged to /usr/local/:
* ERROR: sys-devel/gdb-7.7.1-r4::chromiumos failed (postinst phase):
* USE Flag 'prefix' not in IUSE for sys-devel/gdb-7.7.1-r4
*
* Call stack:
* ebuild.sh, line 94: Called pkg_postinst
* environment, line 2751: Called use 'prefix'
* phase-helpers.sh, line 200: Called die
* The specific snippet of code:
* die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
*
* If you need support, post the output of `emerge --info '=sys-devel/gdb-7.7.1-r4::chromiumos'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/gdb-7.7.1-r4::chromiumos'`.
* The complete build log is located at '/usr/local/var/tmp/portage/sys-devel/gdb-7.7.1-r4/temp/build.log'.
* The ebuild environment file is located at '/usr/local/var/tmp/portage/sys-devel/gdb-7.7.1-r4/temp/environment'.
* Working directory: '/usr/local/lib/portage/pym'
* S: '/usr/local/var/tmp/portage/sys-devel/gdb-7.7.1-r4/work/gdb-7.7.1'
* Messages for package sys-apps/less-468 merged to /usr/local/:
* lesspipe offers colorization options. Run 'lesspipe -h' for info.
* Messages for package net-dns/dnsmasq-2.72-r4 merged to /usr/local/:
* No user/group data files present. Skipping.
* ERROR: net-dns/dnsmasq-2.72-r4::portage-stable failed (setup phase):
* No entry for dnsmasq in any overlay.
*
* Call stack:
* ebuild.sh, line 94: Called pkg_setup
* environment, line 2766: Called enewuser 'dnsmasq' '-1' '-1' '/dev/null' 'dnsmasq'
* environment, line 1147: Called _get_value_for_user 'dnsmasq' 'user'
* environment, line 427: Called die
* The specific snippet of code:
* [[ -z "${template}" ]] && die "No entry for ${user} in any overlay.";
*
* If you need support, post the output of `emerge --info '=net-dns/dnsmasq-2.72-r4::portage-stable'`,
* the complete build log and the output of `emerge -pqv '=net-dns/dnsmasq-2.72-r4::portage-stable'`.
* The complete build log is located at '/usr/local/var/tmp/portage/net-dns/dnsmasq-2.72-r4/temp/build.log'.
* The ebuild environment file is located at '/usr/local/var/tmp/portage/net-dns/dnsmasq-2.72-r4/temp/environment'.
* Working directory: '/usr/local/lib/portage/pym'
* S: '/usr/local/var/tmp/portage/net-dns/dnsmasq-2.72-r4/work/dnsmasq-2.72'
Did this work before? N/A
Chrome version: 50.0.2661.67 Channel: dev
OS Version: 7978.48.0
Flash Version: Shockwave Flash 21.0 r0
The log of the command line is in log.txt. This also occurred when I was on the stable channel but slightly different.
,
Apr 28 2016
,
Nov 4 2016
I think this is a duplicate of crbug.com/402673. See also some discussion here: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-os-dev/7RDz_-yXdE4 Most of those errors/warnings are not completely fatal, but the inability for dev_install to create new users/groups is.
,
Nov 4 2016
the gdb part is unique: * USE Flag 'prefix' not in IUSE for sys-devel/gdb-7.7.1-r4 |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by vssummer...@gmail.com
, Apr 17 2016