Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
arm64 and default/linux/arm64/17.0/desktop
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
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Dec 23, 2017 1:41 pm    Post subject: arm64 and default/linux/arm64/17.0/desktop Reply with quote

Team,

I've moved my Raspberry Pi to the default/linux/arm64/17.0/desktop
profile and have a few Python related problems.

Any package that uses build_ext hangs forever.
Code:
>>> Emerging (40 of 94) dev-python/pyxattr-0.6.0::gentoo
 * pyxattr-0.6.0.tar.gz BLAKE2B SHA512 size ;-) ...                                                                      $
[ ok ]
>>> Unpacking source...
>>> Unpacking pyxattr-0.6.0.tar.gz to
/var/tmp/portage/dev-python/pyxattr-0.6.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/pyxattr-0.6.0/work
>>> Preparing source in
/var/tmp/portage/dev-python/pyxattr-0.6.0/work/pyxattr-0.6.0 ...
>>> Source prepared.
>>> Configuring source in
/var/tmp/portage/dev-python/pyxattr-0.6.0/work/pyxattr-0.6.0 ...
>>> Source configured.
>>> Compiling source in
/var/tmp/portage/dev-python/pyxattr-0.6.0/work/pyxattr-0.6.0 ...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
running build
running build_ext


Some other strange behaviour which may or may not be connected.
Building /sys-apps/portage-2.3.19 with FEATURES=test hangs at
Code:
testArrayFromfileEof
(portage.tests.ebuild.test_array_fromfile_eof.ArrayFromfileEofTestCase)
... sandbox:stop  caught signal 2 in pid 27463


The system will no longer build binary packages. They all produce

Code:
Traceback (most recent call last):
  File "/usr/lib/portage/python2.7/xpak-helper.py", line 68, in <module>
    rval = main(sys.argv[:])
  File "/usr/lib/portage/python2.7/xpak-helper.py", line 61, in main
    rval = command_recompose(args[1:])
  File "/usr/lib/portage/python2.7/xpak-helper.py", line 35, in
command_recompose
    t.recompose(metadata_dir)
  File "/usr/lib64/python2.7/site-packages/portage/xpak.py", line 310,
in recompose
    xpdata = xpak(datadir)
  File "/usr/lib64/python2.7/site-packages/portage/xpak.py", line 107,
in xpak
    xpak_segment = xpak_mem(mydata)
  File "/usr/lib64/python2.7/site-packages/portage/xpak.py", line 135,
in xpak_mem
    indexglob = indexglob + encodeint(len(x)) + x + encodeint(datapos) +
encodeint(mydatasize)
  File "/usr/lib64/python2.7/site-packages/portage/xpak.py", line 67, in
encodeint
    a.append((myint >> 24) & 0xff)
TypeError: argument (impossible<bad format char>)
 * ERROR: app-arch/bzip2-1.0.6-r8::gentoo failed (package phase):
 *   Failed to append metadata to the tbz2 file

Thats an example from app-arch/bzip2. Its a general problem.


Code:
# emerge --info
Portage 2.3.19 (python 2.7.14-final-0, default/linux/arm64/17.0/desktop,
gcc-7.2.0, glibc-2.26-r3, 4.10.17-v8+ aarch64)
=================================================================
System uname: Linux-4.10.17-v8+-aarch64-with-gentoo-2.4.1
KiB Mem:      992560 total,    370440 free
KiB Swap:    4194300 total,   4187036 free
sh bash 4.4_p12
ld GNU gold (Gentoo 2.29.1 p3 2.29.1) 1.14
distcc 3.2rc1 aarch64-unknown-linux-gnu [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo,
3.5.4-r1::gentoo
dev-util/cmake:           3.10.0::gentoo
dev-util/pkgconfig:     0.29.2::gentoo
sys-apps/baselayout:     2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:     2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:     1.11.6-r2::gentoo, 1.13.4-r1::gentoo,
1.15.1-r1::gentoo
sys-devel/binutils:     2.26.1::gentoo, 2.28-r2::gentoo,
2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0::gentoo,
7.1.0-r1::gentoo, 7.2.0::gentoo
sys-devel/gcc-config:     1.9.1::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.26-r3::gentoo
Repositories:

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

mrueg
    location: /var/lib/layman/mrueg
    masters: gentoo
    priority: 50

palemoon
    location: /var/lib/layman/palemoon
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="* -@EULA FraunhoferFDK Oracle-BCLA-JavaSE google-chrome"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-mcpu=cortex-a53+crc -mtune=cortex-a53 -ftree-vectorize -O2
-pipe -fomit-frame-pointer"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc
/usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mcpu=cortex-a53+crc -mtune=cortex-a53 -ftree-vectorize -O2
-pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect
config-protect-if-modified distcc distcc-pump 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="-O2"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/
http://mirror.mdfnet.se/gentoo
http://mirrors.163.com/gentoo/
http://gentoo.mirror.web4u.cz/                  http://64.50.236.52/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://gentoo.mneisen.org/
http://gentoo.mirror.pw.edu.pl/
http://gentoo.prz.rzeszow.pl
http://mirror.mdfnet.se/mirror/gentoo
http://ftp.gentoo.bg/                  http://distfiles.gentoo.bg/
http://mirrors.ludost.net/gentoo/
http://mirror.hamakor.org.il/pub/mirrors/gentoo/
http://ftp.dei.uc.pt/pub/linux/gentoo/"
INSTALL_MASK=" /usr/lib/systemd *.la"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--fix-cortex-a53-843419
-Wl,--fix-cortex-a53-835769 -Wl,--no-map-whole-files"
MAKEOPTS="-j5"
PKGDIR="/packages/"
PORTAGE_CONFIGROOT="/"
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 a52 aac acl acpi alsa arm64 berkdb bluetooth branding bzip2 cairo
cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdnav
dvdr egl emboss encode exif fam firefox flac fortran gdbm gif glamor
gles1 gles2 gnome-keyring gpm gtk iconv icu ipv6 jpeg lcms libnotify mad
minizip mng modules mp3 mp4 mpeg multilib ncurses nls nptl nss ogg
opengl openmp openssl pango pcre pcre16 pdf pie png policykit postproc
ppds python qt3support qt5 readline script seccomp session skia spell
sqlite ssl ssp startup-notification svc svg tcpd threads tiff truetype
udev udisks unicode upower usb virt-network vorbis wxwidgets x264 xattr
xcb xml xv xvid xvmc zlib" APACHE2_MODULES="authn_core authz_core
socache_shmcb unixd actions alias auth_basic authn_alias authn_anon
authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
file_cache filter headers include info log_config logio mem_cache mime
mime_magic negotiation rewrite setenvif speling status unique_id userdir
usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets
stage tables krita karbon braindump author" COLLECTD_PLUGINS="df
interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp neon
thumb vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2" ELIBC="glibc"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt
gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle
oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate
tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-GB"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport presenter-console
presenter-minimizer" LINGUAS="en en_GB"
OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="aarch64"
QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby21 ruby22 ruby24"
USERLAND="GNU" VIDEO_CARDS="fbdev vc4" XTABLES_ADDONS="quota2 psd pknock
lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee
tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS


I have been using gcc-7.2 for a long time, I've rebuilt both pythons and
glibc all without using cross distcc.

Thoughts and pointers welcome.
_________________
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
mDup
Apprentice
Apprentice


Joined: 14 Apr 2006
Posts: 212

PostPosted: Sat Dec 23, 2017 6:53 pm    Post subject: Reply with quote

not sure if it matters but I use python 3 for portage for some time now

Code:
Portage 2.3.19 (python 3.6.3-final-0, default/linux/arm64/17.0, gcc-7.2.0, glibc-2.26-r3, 4.14.2-gentoo aarch64)


I had also rebuilt libtool binutils gcc and glibc after profile change. Not sure in what order.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Dec 23, 2017 7:50 pm    Post subject: Reply with quote

mDup,

I've tried Python2 and Python3. I'll rebuild libtool binutils gcc and glibc.
Thank you for the pointer.
_________________
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