From: phodina via <help-guix@gnu.org>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Image for Beaglebone black
Date: Sat, 24 Apr 2021 09:36:51 +0000 [thread overview]
Message-ID: <tTQB5USI64ZILU5Ft6bge7ieuqwAheCCORPEtAUmq0xdZKfTvRlBtPKSjkNTWaKbqiIUG4xu_yYaX3P0hqF-jMrUXQgTVSutfULWT5QzOeI=@protonmail.com> (raw)
I tried to build a Guix image for Beaglebone Black based on this blog post (https://guix.gnu.org/blog/2017/porting-guixsd-to-armv7/).Running guix system image --system=armhf-linux -e "(@ (gnu system install) beaglebone-black-installation-os)" gave me errors in elfutils.
Should I report these failures to elfutils or are they specific to Guix as a result of cross-compilation?
============================================================================
Testsuite summary for elfutils 0.182
============================================================================
# TOTAL: 221
# PASS: 209
# SKIP: 5
# XFAIL: 0
# FAIL: 7
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to
https://sourceware.org/bugzilla
============================================================================
make[3]: *** [Makefile:2482: test-suite.log] Error 1
make[2]: *** [Makefile:2590: check-TESTS] Error 2
make[1]: *** [Makefile:4225: check-am] Error 2
make: *** [Makefile:501: check-recursive] Error 1
Test suite failed, dumping logs.
--- ./tests/test-suite.log --------------------------------------------------
==========================================
elfutils 0.182: tests/test-suite.log
==========================================
# TOTAL: 221
# PASS: 209
# SKIP: 5
# XFAIL: 0
# FAIL: 7
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
SKIP: run-large-elf-file.sh
===========================
long_bit: 32
Only 64bit systems can create > 4GB ELF files
SKIP run-large-elf-file.sh (exit status: 77)
FAIL: run-bug1-test.sh
======================
/tmp/guix-build-elfutils-0.182.drv-0/elfutils-0.182/tests/rdwrmmap: elf_update: cannot write data to file
FAIL run-bug1-test.sh (exit status: 1)
SKIP: run-backtrace-data.sh
===========================
/tmp/guix-build-elfutils-0.182.drv-0/elfutils-0.182/tests/backtrace-data: x86_64 linux only test
SKIP run-backtrace-data.sh (exit status: 77)
FAIL: run-backtrace-dwarf.sh
============================
PTRACE_TRACEME failed: Function not implemented
/tmp/guix-build-elfutils-0.182.drv-0/elfutils-0.182/tests/backtrace-dwarf: unexpected wait status 65280
dwarf: no main
FAIL run-backtrace-dwarf.sh (exit status: 1)
SKIP: run-backtrace-native-biarch.sh
====================================
biarch testing disabled
SKIP run-backtrace-native-biarch.sh (exit status: 77)
SKIP: run-backtrace-native-core.sh
==================================
./backtrace-subr.sh: line 151: flock: command not found
SKIP run-backtrace-native-core.sh (exit status: 77)
SKIP: run-backtrace-native-core-biarch.sh
=========================================
biarch testing disabled
SKIP run-backtrace-native-core-biarch.sh (exit status: 77)
FAIL: run-deleted.sh
====================
PID 13472 - process
TID 13472:
TID 13473:
/tmp/guix-build-elfutils-0.182.drv-0/elfutils-0.182/src/stack: dwfl_thread_getframes tid 13472: Function not implemented
/tmp/guix-build-elfutils-0.182.drv-0/elfutils-0.182/src/stack: dwfl_thread_getframes tid 13473: Function not implemented
/tmp/guix-build-elfutils-0.182.drv-0/elfutils-0.182/src/stack: Couldn't show any frames.
FAIL run-deleted.sh (exit status: 1)
FAIL: elfstrtab
===============
fname: strtab.elf.32
add_string: '', stridx: 1, lastidx: 0
add_string: '.strings', stridx: 10, lastidx: 1
add_string: 'elfutils', stridx: 19, lastidx: 10
add_string: 'strtabelf', stridx: 29, lastidx: 19
add_string: 'three', stridx: 35, lastidx: 29
checking orig strings: first elf_update, before write
''
'.strings'
'elfutils'
'strtabelf'
'three'
checking orig strings: first elf_update, after write
''
'.strings'
'elfutils'
'strtabelf'
'three'
add_string: 'elfutils2', stridx: 45, lastidx: 35
add_string: 'strtabelf2', stridx: 56, lastidx: 45
add_string: 'three2', stridx: 63, lastidx: 56
checking orig strings: first extra strings
''
'.strings'
'elfutils'
'strtabelf'
'three'
'elfutils2'
'strtabelf2'
'three2'
checking orig strings: read ELF file, orig strings
''
'.strings'
'elfutils'
'strtabelf'
'three'
sh_size: 35
add_string: '0123456789', stridx: 46, lastidx: 35
add_string: 'supercalifragilisticexpialidocious', stridx: 81, lastidx: 46
add_string: 'forty-two', stridx: 91, lastidx: 81
checking orig strings: read file, added strings
''
'.strings'
'elfutils'
'strtabelf'
'three'
'0123456789'
'supercalifragilisticexpialidocious'
'forty-two'
checking orig strings: all together now
''
'.strings'
'elfutils'
'strtabelf'
'three'
'0123456789'
'supercalifragilisticexpialidocious'
'forty-two'
fname: strtab.elf.32.mmap
add_string: '', stridx: 1, lastidx: 0
add_string: '.strings', stridx: 10, lastidx: 1
add_string: 'elfutils', stridx: 19, lastidx: 10
add_string: 'strtabelf', stridx: 29, lastidx: 19
add_string: 'three', stridx: 35, lastidx: 29
checking orig strings: first elf_update, before write
''
'.strings'
'elfutils'
'strtabelf'
'three'
checking orig strings: first elf_update, after write
''
'.strings'
'elfutils'
'strtabelf'
'three'
add_string: 'elfutils2', stridx: 45, lastidx: 35
add_string: 'strtabelf2', stridx: 56, lastidx: 45
add_string: 'three2', stridx: 63, lastidx: 56
checking orig strings: first extra strings
''
'.strings'
'elfutils'
'strtabelf'
'three'
'elfutils2'
'strtabelf2'
'three2'
checking orig strings: read ELF file, orig strings
''
'.strings'
'elfutils'
'strtabelf'
'three'
sh_size: 35
add_string: '0123456789', stridx: 46, lastidx: 35
add_string: 'supercalifragilisticexpialidocious', stridx: 81, lastidx: 46
add_string: 'forty-two', stridx: 91, lastidx: 81
checking orig strings: read file, added strings
''
'.strings'
'elfutils'
'strtabelf'
'three'
'0123456789'
'supercalifragilisticexpialidocious'
'forty-two'
failure in re-elf_update(NULL): cannot write data to file
FAIL elfstrtab (exit status: 1)
FAIL: dwfl-proc-attach
======================
thread tid: 14081
thread tid: 14097
thread tid: 14101
thread tid: 14102
FAIL dwfl-proc-attach (exit status: 255)
FAIL: emptyfile
===============
fname: empty.elf.32
add_string: '', stridx: 1, lastidx: 0
add_string: '.strtab', stridx: 9, lastidx: 1
fname: empty.elf.32.mmap
add_string: '', stridx: 1, lastidx: 0
add_string: '.strtab', stridx: 9, lastidx: 1
failure in elf_update(WRITE): cannot write data to file
FAIL emptyfile (exit status: 1)
FAIL: run-copyadd-sections.sh
=============================
copy_elf: testfile29 -> testfile29.copy (read,same)
setshstrndx: 4
add_sections 'testfile29.copy': 3 (sec_size: 0)
setshstrndx: 10
copy_elf: testfile29 -> testfile29.copy.mmap (mmap,same)
setshstrndx: 4
add_sections 'testfile29.copy.mmap': 1 (sec_size: 0)
setshstrndx: 8
failure in elf_update: cannot write data to file
FAIL run-copyadd-sections.sh (exit status: 1)
command "make" "check" "-j" "4" failed with status 2
note: keeping build directory `/tmp/guix-build-elfutils-0.182.drv-0'
builder for `/gnu/store/3mij289g1gid2wv39xlnkkwk0wiyflz9-elfutils-0.182.drv' failed with exit code 1
build of /gnu/store/3mij289g1gid2wv39xlnkkwk0wiyflz9-elfutils-0.182.drv failed
View build log at '/var/log/guix/drvs/3m/ij289g1gid2wv39xlnkkwk0wiyflz9-elfutils-0.182.drv.bz2'.
note: keeping build directory `/tmp/guix-build-python-3.8.2.drv-1'
cannot build derivation `/gnu/store/b1jp50kc24vifvw8ddcjg71chbayvi4g-linux-libre-5.11.15.drv': 1 dependencies couldn't be built
note: keeping build directory `/tmp/guix-build-isc-dhcp-4.4.2.drv-0'
guix system: error: build of `/gnu/store/b1jp50kc24vifvw8ddcjg71chbayvi4g-linux-libre-5.11.15.drv' failed
Kind regards
Petr Hodina
Sent with [ProtonMail](https://protonmail.com) Secure Email.
next reply other threads:[~2021-04-24 9:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-24 9:36 phodina via [this message]
2021-04-25 7:00 ` Image for Beaglebone black Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='tTQB5USI64ZILU5Ft6bge7ieuqwAheCCORPEtAUmq0xdZKfTvRlBtPKSjkNTWaKbqiIUG4xu_yYaX3P0hqF-jMrUXQgTVSutfULWT5QzOeI=@protonmail.com' \
--to=help-guix@gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).