Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636674 - sys-apps/portage-2.3.13: Portage does not have an arch-specific configuration for arm64
Summary: sys-apps/portage-2.3.13: Portage does not have an arch-specific configuration...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 659322
  Show dependency tree
 
Reported: 2017-11-05 22:44 UTC by Conrad Kostecki
Modified: 2018-10-12 19:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Initial cnf/make.conf.example.arm64.diff (make.conf.example.arm64.diff,1.54 KB, patch)
2018-08-12 09:12 UTC, Mart Raudsepp
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2017-11-05 22:44:00 UTC
[ebuild   R    ] sys-apps/portage-2.3.13::gentoo  USE="(ipc) native-extensions xattr -build (-doc) (-epydoc) (-selinux)" LINGUAS="-ru" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5" 0 KiB

 *
 * Portage does not have an arch-specific configuration for this arch.
 * Please notify the arch maintainer about this issue. Using generic.
 *
Comment 1 Conrad Kostecki gentoo-dev 2017-11-05 22:44:27 UTC
Portage 2.3.13 (python 3.6.3-final-0, default/linux/arm64/13.0/desktop, gcc-6.4.0, glibc-2.25-r9, 4.9.53-v8-e9091cf61983+ aarch64)
=================================================================
System uname: Linux-4.9.53-v8-e9091cf61983+-aarch64-with-gentoo-2.4.1
KiB Mem:      878300 total,    681760 free
KiB Swap:    2097148 total,   2090640 free
Timestamp of repository gentoo: Thu, 02 Nov 2017 00:45:01 +0000
Head commit of repository gentoo: ee2045e2608abb2d6e54861c8c7d5c115e40093c
sh bash 4.4_p12
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.6::gentoo, 3.5.4::gentoo, 3.6.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.5::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.9.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes

archeron
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="*"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-march=armv8-a+crc+fp+simd -mcpu=cortex-a53 -mtune=cortex-a53 -O3 -pipe -fomit-frame-pointer -mabi=lp64 -mcmodel=small -mlittle-endian -momit-leaf-frame-pointer -mpc-relative-literal-loads -mstrict-align -mtls-dialect=desc -mtls-size=24"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv8-a+crc+fp+simd -mcpu=cortex-a53 -mtune=cortex-a53 -O3 -pipe -fomit-frame-pointer -mabi=lp64 -mcmodel=small -mlittle-endian -momit-leaf-frame-pointer -mpc-relative-literal-loads -mstrict-align -mtls-dialect=desc -mtls-size=24 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
INSTALL_MASK="/etc/systemd/* /etc/xinetd.d/* /usr/lib/systemd/system/*"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now"
MAKEOPTS="-j5 -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/var/tmp"
USE="X acl arm64 bzip2 cairo caps cjk cracklib crypt cxx dbus fbcon fontconfig gif gmp gnutls gpm iconv icu idn imlib introspection ipv6 jpeg lzma lzo mp3 ncurses neon nls nntp nptl opencl opengl openmp pam pcre png readline slang spell ssl suid svg symlink threads tiff truetype udev unicode usb xattr xface xml zlib" CPU_FLAGS_ARM="neon edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de de_DE" LINGUAS="de de_DE" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" USERLAND="GNU" VIDEO_CARDS="fbdev vc4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LANG, LC_ALL
Comment 2 Mart Raudsepp gentoo-dev 2018-08-12 09:12:06 UTC
Created attachment 543188 [details, diff]
Initial cnf/make.conf.example.arm64.diff

Here's an initial version for arm64 make.conf.example. Please proof-read for correctness and grammar.

I intentionally didn't add a CHOST section right now like the others are doing - I'm thinking it should come from the profiles, but then perhaps it should be a more global approach change for the conf diffs, not just for arm64.

I didn't complicate matters about errata CFLAGS right now, it seems in practice those issues aren't really hit much besides the kernel, which handles it on its own. Might want to revisit later on.
Comment 3 Larry the Git Cow gentoo-dev 2018-08-12 10:05:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=d40b9fc1f9591efab0c28fc1cbee1980dc86c735

commit d40b9fc1f9591efab0c28fc1cbee1980dc86c735
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-08-12 10:02:14 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2018-08-12 10:03:20 +0000

    Initial cnf/make.conf.example.arm64.diff (bug 636674)
    
    Bug: https://bugs.gentoo.org/636674

 cnf/make.conf.example.arm64.diff | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
Comment 4 Zac Medico gentoo-dev 2018-08-12 10:06:10 UTC
Thanks!