Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Crossdev invalid make.profile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
filbar
n00b
n00b


Joined: 23 Nov 2005
Posts: 11

PostPosted: Thu Apr 26, 2018 7:46 am    Post subject: Crossdev invalid make.profile Reply with quote

I try to use crossdev environment for RPI zero. But when I try to emerge package, than I have this message:
Code:
armv6j-hardfloat-linux-gnueabi-emerge -pv hplip
!!! /usr/armv6j-hardfloat-linux-gnueabi/etc/portage/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)


!!! Your current profile is invalid. If you have just changed your profile
!!! configuration, you should revert back to the previous configuration.
!!! Allowed actions are limited to --help, --info, --search, --sync, and
!!! --version.

but ls -l says
Code:
ls -l  /usr/armv6j-hardfloat-linux-gnueabi/etc/portage/make.profile
lrwxrwxrwx 1 root root 30 Apr 23 09:07 /usr/armv6j-hardfloat-linux-gnueabi/etc/portage/make.profile -> /usr/portage/profiles/embedded


Code:
armv6j-hardfloat-linux-gnueabi-emerge --info   
Portage 2.3.24 (python 3.5.5-final-0, embedded, gcc-6.4.0, unavailable, 4.9.76-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-x86_64-Intel_Celeron_4x0_-Conroe-Merom_Class_Core_2-with-gentoo-2.4.1
KiB Mem:     2056280 total,   1451732 free
KiB Swap:    7340028 total,   7340028 free
Timestamp of repository gentoo: Thu, 26 Apr 2018 07:00:01 +0000
Head commit of repository gentoo: 45299912a59d013cc9e7c4f2670275596cf01e4f
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="armv6j-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-Os -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-Os -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.utf8"
LDFLAGS=""
LINGUAS="en"
PKGDIR="/usr/armv6j-hardfloat-linux-gnueabi/packages/"
PORTAGE_CONFIGROOT="/usr/armv6j-hardfloat-linux-gnueabi/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/usr/armv6j-hardfloat-linux-gnueabi/tmp/"
USE="arm kdrive minimal multicall zlib" INPUT_DEVICES="evdev mouse keyboard tslib" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="fbdev"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


What I do wrong?

Thanks
Filip Bartmann
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1799
Location: Oranienburg/Germany

PostPosted: Thu Apr 26, 2018 9:49 am    Post subject: Reply with quote

Hi,

please have a look here: https://wiki.gentoo.org/wiki/Cross_build_environment#Raspberry_Pi_specific

Especially look for the profile information.

greets, bb
_________________
1st: i5-7400, 16GB, 2TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 32GB, 14.5TB
4th: i5-3210M, 8GB, 512GB
5th: i5-3210M, 8GB, 120GB
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46368
Location: 56N 3W

PostPosted: Thu Apr 26, 2018 6:04 pm    Post subject: Reply with quote

filbar,

You didn't do anything wrong. That's a feature. :)

You need to point the make.profile symlink to the profile of your choice in /usr/portage/profiles/...
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM 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