View previous topic :: View next topic |
Author |
Message |
filbar n00b
Joined: 23 Nov 2005 Posts: 11
|
Posted: Thu Apr 26, 2018 7:46 am Post subject: Crossdev invalid make.profile |
|
|
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 |
|
|
bbgermany Veteran
Joined: 21 Feb 2005 Posts: 1844 Location: Oranienburg/Germany
|
Posted: Thu Apr 26, 2018 9:49 am Post subject: |
|
|
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 _________________ Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Thu Apr 26, 2018 6:04 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|