dev_install, emerge and what packages are available

803 views
Skip to first unread message

Thomas Dye

unread,
Nov 23, 2016, 4:38:27 AM11/23/16
to chromiu...@chromium.org
Hi,

Tried dev_install after running sudo -i in shell in chrosh as suggested here https://www.chromium.org/chromium-os/how-tos-and-troubleshooting/install-software-on-base-images

It threw up some errors and suggested that if I need support I post the output of `emerge --info '=dev-python/six-1.10.0::portage-stable'`

Here is the output:

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!!!
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.2.12-r9 (python 2.7.10-final-0, unavailable, [unavailable], unavailable, 3.18.0-13451-gc264b5c x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.0-13451-gc264b5c-x86_64-Intel-R-_Celeron-R-_CPU_N3060_@_1.60GHz-with-glibc2.2.5
KiB Mem:     3989860 total,    192832 free
KiB Swap:    5844520 total,   4574664 free
Timestamp of tree: Unknown
Repositories: x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CFLAGS=""
CONFIG_PROTECT="/usr/local/share/portage"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS=""
DISTDIR="/usr/local/portage/distfiles"
EMERGE_DEFAULT_OPTS="--getbinpkg --usepkgonly"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
PKGDIR="/usr/local/portage/packages"
PORTAGE_TMPDIR="/usr/local/var/tmp"
PORTDIR="/usr/local/portage"
PORTDIR_OVERLAY=""
USE="amd64"
Unset:  CHOST, PORTAGE_BUNZIP2_COMMAND

TLDR: Want gcc and arduino programming on chrome os don't particularly like chromebrew, chromeduino or voiding warranties/reflashing devices.

I should be clear that my end goal(s) are:

1. to program an arduino using the standard arduino ide on chromebook. Presumably the main issue with this will be the differences between the X window system and Aura, does this mean that to port the arduino ide to chrome os someone would have to port the underlying java libraries to chrome os too. I would settle for being able to program an arduino from the command line for now but would like to understand how difficult it would.

2. to transfer files from an arduino's internal storage to a CSV file over serial at a time specified by the user. I was planning on doing this using C/C++ but have since realised that on linux it could be done using bash scripts.


I had the arduino-builder software working from the command line since it comes bundled with avr-gcc. However, running this from an SD Card I got the feeling that every now and again Chrome OS would remount the SD Card noexec or something and I would have to remount it from the command line to continue working. I decided that the best option was to get gcc properly installed on the Chromebook itself, which would be useful anyway. I tried chromebrew but that didn't work satisfactorily, I can't remember exactly why but it seems that some packages I tried to install couldn't find gcc or the specific part of gcc they were looking for, even when I tried to install gcc from source the packages from chromebrew were incapable of performing the task, at least in there current configuration. 

Another issue with chromebrew is that it doesn't feel very safe downloading a binary packages from somebody's dropbox account.

It is amazing to me that I can't find a supported (by chromium community) way of installing gcc and friends in a reliable/usable way on a chromebook without reflashing the device entirely.

Thanks for any help and I hope the emerge output helps the improvement of Chrome OS and Chromium OS for developers etc.

Best Wishes

Tom


Mike Frysinger

unread,
Nov 23, 2016, 9:57:40 AM11/23/16
to Thomas Dye, chromium-os-dev
gcc isn't (currently) available via dev_install

you might want to check out crouton instead:
-mike

--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en


Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages