Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New to Gentoo via a Chromebook. I have a few questions.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
andey
n00b
n00b


Joined: 08 Dec 2013
Posts: 2

PostPosted: Sun Dec 08, 2013 4:40 am    Post subject: New to Gentoo via a Chromebook. I have a few questions. Reply with quote

I just bought a new HP Chromebook 14, and put it into developer mode.

I'm new to Gentoo, however I've been using Linux full time for the past 6 years. Fedora, Arch, but mostly Ubuntu.
There doesn't seem to be that many ChromeOS-Gentoo guides out in the wild as of yet.
Since I'm not competent with Gentoo, I have the inability to spot out if my emerge / portage behaves unusual.

My first question.
I went to https://packages.gentoo.org, and wanted to install something simple. In this case app-editors/nano
This was the result:
Code:
localhost portage # emerge app-editors/nano
!!! PORTAGE_BINHOST unset, but use is requested.
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "app-editors/nano" for /usr/local/.

emerge: searching for similar names...
emerge: Maybe you meant app-editors/qemacs?


No I didn't want to install qemacs? But let's see whats happens.
http://i.imgur.com/ree4oQ6.png
Ok, that worked. qemacs fired up fine.
...binary from chromiumos?
So I'm guessing the reason my nano installation failed, is because the repo source isn't packages.gentoo.org

What's in emerge --info
Code:
localhost portage # emerge --info
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.1.10.11-r11 (unavailable, [unavailable], unavailable, 3.8.11 x86_64)
=================================================================
System uname: Linux-3.8.11-x86_64-Intel-R-_Celeron-R-_2955U_@_1.40GHz-with-glibc2.2.5
Timestamp of tree: Unknown
Repositories: x-portage
ACCEPT_KEYWORDS="arm x86 ~arm ~x86"
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 distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
PKGDIR="/usr/local/portage/packages"
PORTAGE_TMPDIR="/usr/local/var/tmp"
PORTDIR="/usr/local/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE=""
Unset:  CHOST, PORTAGE_BUNZIP2_COMMAND

So here's my questions

  • If my kernel is 64bit, then why is my keyworks arm x86?
  • I don't see anything referencing a chromium type repo? So why wouldn't it find app-editors/nano ?


Last edited by andey on Sun Dec 08, 2013 5:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Dec 08, 2013 8:52 am    Post subject: Reply with quote

Moving to Unsupported. This has nothing to do with the official Gentoo project, you probably used some unofficial guide to set this up. The only supported method to install Gentoo is by using the Gentoo Handbook.


andey wrote:
I just bought a new HP Chromebook 14, and put it into developer mode.

I'm new to Gentoo, however I've been using Linux full time for the past 6 years. Fedora, Arch, but mostly Ubuntu.
There doesn't seem to be that many ChromeOS-Gentoo guides out in the wild as of yet.
Since I'm not competent with Gentoo, I have the inability to spot out if my emerge / portage behaves unusual.

My first question.
I went to https://packages.gentoo.org, and wanted to install something simple. In this case app-editors/nano
This was the result: http://i.imgur.com/1wKaffE.png

No I didn't want to install qemacs? But let's see whats happens.
http://i.imgur.com/ree4oQ6.png
Ok, that worked. qemacs fired up fine.
...binary from chromiumos?
So I'm guessing the reason my nano installation failed, is because the repo source isn't packages.gentoo.org

What's in emerge --info
http://i.imgur.com/IM7rSLo.png
So here's my questions

  • If my kernel is 64bit, then why is my keyworks arm x86?
  • I don't see anything referencing a chromium type repo? So why wouldn't it find app-editors/nano ?


It seems that, whatever the root image or stage you are using is, it's a non-standard Gentoo system, which hasn't even a gcc compiler (something nasty for a Gentoo system, if you ask me). There also a non-standard portage tree which seems to rely on a binary repository (that "chroiumos" thing). I would expect to find only a small subset of the real package tree there... That's why some packages work and some others do not.

The keywords are the lesser of your problems here. They just indicate that your system should also be able to install packages marked stable for x86. That doesn't mean you are gonna use x86 binaries (that'd be impossible without any kind of emulation layer, of course). This has probably been done because the set of packages marked usable for arm is too small.
Back to top
View user's profile Send private message
andey
n00b
n00b


Joined: 08 Dec 2013
Posts: 2

PostPosted: Sun Dec 08, 2013 5:07 pm    Post subject: Reply with quote

I'm making the assumption that this isn't your standard looking /etc/portage folder.

/etc/portage
Code:
localhost portage # ls -la
total 12
drwxr-xr-x  3 root root 4096 Nov 28 02:29 .
drwxr-xr-x 42 root root 4096 Nov 28 03:31 ..
lrwxrwxrwx  1 root root   49 Nov 28 02:29 bootstrap.packages -> /usr/share/dev-install/portage/bootstrap.packages
drwxr-xr-x  3 root root 4096 Nov 28 02:29 make.profile
lrwxrwxrwx  1 root root   46 Nov 28 02:29 repository.conf -> /usr/share/dev-install/portage/repository.conf

As @i92guboj suspected, Repository.conf isn't point to the official repo
Code:
localhost portage # cat repository.conf
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file
#
# This file stores the URL of the repository for
# - Bootstrapping emerge on a pristine image
# - PORTAGE_BINHOST repository for installing packages through emerge
PREFIX_BINHOST=https://commondatastorage.googleapis.com/chromeos-dev-installer/board/falco/


My goal is to add the official Gentoo repo as a "Secondary" repo.
Some research shows that I would need to use an "overlay" (aka http://wiki.gentoo.org/wiki/Overlay)

Unsurprisingly
Code:
localhost portage # emerge app-portage/layman
!!! PORTAGE_BINHOST unset, but use is requested.
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "app-portage/layman" for /usr/local/.

emerge: searching for similar names... nothing similar found.


So I can't install gcc to make anything either.
Code:
localhost portage # emerge sys-devel/gcc
!!! PORTAGE_BINHOST unset, but use is requested.
Calculating dependencies... done!
>>> Auto-cleaning packages...

>>> Using system located in ROOT tree /usr/local/

>>> No outdated packages were found on your system.


Question:
What would be the repercussions, if I would to swap the PREFIX_BINHOST to the official Gentoo repo. Install the "essentials", then swap it back?
If you were in my position, would you do that? Or would you try something different?
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sun Dec 08, 2013 10:19 pm    Post subject: Reply with quote

The problem is that there's no such thing as an official Gentoo binhost. There's a thing called "tinderbox", which can be used to rescue broken systems (for example, in those funny cases when someone breaks every system binary by downgrading glibc).

But I have no idea about it's current status for arm architecture. I've only used it a couple of times in x86 (or maybe x86_64, don't really remember).

All in all, if I were you I'd just install Gentoo using the standard procedure from scratch. I can't really predict how difficult it would be to do it in any other way. For all I can tell, what you have right now is not Gentoo. It just uses the Gentoo package manager, and a mostly broken one.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum