From: Dominik Riva via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 58452@debbugs.gnu.org
Subject: bug#58452: guix pack cross-compile failed to build docker img of openldap for aarch64
Date: Tue, 11 Oct 2022 13:12:34 +0000 [thread overview]
Message-ID: <_kdBHOFT4LcqatdHhmClRwmT5wRghnrpXRDmx0R30wQeHAbmUC7vzO6GDSJ7hhOcEMyfDkOSBFpOBZTWf1Y8PI1Wqipt-2Ygv5oxUhCW90A=@protonmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 4054 bytes --]
Hi,
The command `guix pack --target=aarch64-linux-gnu -f docker -S /opt/gnu/bin=bin openldap
` resulted in:
```
Entering subdirectory clientsmake[1]: Entering directory '/tmp/guix-build-openldap-2.6.1.drv-0/openldap-2.6.1/clients'
Making install in /tmp/guix-build-openldap-2.6.1.drv-0/openldap-2.6.1/clients
Entering subdirectory tools
make[2]: Entering directory '/tmp/guix-build-openldap-2.6.1.drv-0/openldap-2.6.1/clients/tools'
../../build/shtool mkdir -p /gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin
libtool: install: ../../build/shtool install -c -m 755 -s ldapsearch /gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/ldapsearch
strip: Unable to recognise the format of the input file `/gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/#INST@18948#'
libtool: install: ../../build/shtool install -c -m 755 -s ldapmodify /gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/ldapmodify
strip: Unable to recognise the format of the input file `/gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/#INST@19036#'
libtool: install: ../../build/shtool install -c -m 755 -s ldapdelete /gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/ldapdelete
strip: Unable to recognise the format of the input file `/gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/#INST@19124#'
libtool: install: ../../build/shtool install -c -m 755 -s ldapmodrdn /gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/ldapmodrdn
strip: Unable to recognise the format of the input file `/gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/#INST@19212#'
libtool: install: ../../build/shtool install -c -m 755 -s ldappasswd /gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/ldappasswd
strip: Unable to recognise the format of the input file `/gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/#INST@19300#'
libtool: install: ../../build/shtool install -c -m 755 -s ldapwhoami /gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/ldapwhoami
strip: Unable to recognise the format of the input file `/gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/#INST@19388#'
libtool: install: ../../build/shtool install -c -m 755 -s ldapvc /gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/ldapvc
strip: Unable to recognise the format of the input file `/gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/#INST@19476#'
libtool: install: ../../build/shtool install -c -m 755 -s ldapcompare /gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/ldapcompare
strip: Unable to recognise the format of the input file `/gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/#INST@19564#'
libtool: install: ../../build/shtool install -c -m 755 -s ldapexop /gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/ldapexop
strip: Unable to recognise the format of the input file `/gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/#INST@19652#'
libtool: install: ../../build/shtool install -c -m 755 -s ldapurl /gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/ldapurl
strip: Unable to recognise the format of the input file `/gnu/store/9q59516v6x8f8sp4wyhnlddava98argn-openldap-2.6.1/bin/#INST@19740#'
make[2]: *** [Makefile:390: install-local] Error 1
make[2]: Leaving directory '/tmp/guix-build-openldap-2.6.1.drv-0/openldap-2.6.1/clients/tools'
make[1]: *** [Makefile:308: install-common] Error 1
make[1]: Leaving directory '/tmp/guix-build-openldap-2.6.1.drv-0/openldap-2.6.1/clients'
make: *** [Makefile:329: install-common] Error 1
error: in phase 'install': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("install" "STRIP=") exit-status: 2 term-signal: #f stop-signal: #f>
phase `install' failed after 3.5 seconds
command "make" "install" "STRIP=" failed with status 2
```
I don't know why strip is still uses as https://issues.guix.gnu.org/36477#102 should suppress it?
Thanks,
Dominik
[-- Attachment #1.2: publickey - driva@protonmail.com - 0x53958C99.asc --]
[-- Type: application/pgp-keys, Size: 1722 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]
next reply other threads:[~2022-10-11 20:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-11 13:12 Dominik Riva via Bug reports for GNU Guix [this message]
2022-10-12 12:32 ` bug#58452: openldap fails to cross-compile to aarch64 (strip errors) (was: guix pack cross-compile failed to build docker img of openldap for aarch64) Maxime Devos
2022-10-13 15:18 ` Dominik Riva via Bug reports for GNU Guix
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='_kdBHOFT4LcqatdHhmClRwmT5wRghnrpXRDmx0R30wQeHAbmUC7vzO6GDSJ7hhOcEMyfDkOSBFpOBZTWf1Y8PI1Wqipt-2Ygv5oxUhCW90A=@protonmail.com' \
--to=bug-guix@gnu.org \
--cc=58452@debbugs.gnu.org \
--cc=driva@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.