* bug#58452: guix pack cross-compile failed to build docker img of openldap for aarch64
@ 2022-10-11 13:12 Dominik Riva via Bug reports for GNU Guix
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
0 siblings, 1 reply; 3+ messages in thread
From: Dominik Riva via Bug reports for GNU Guix @ 2022-10-11 13:12 UTC (permalink / raw)
To: 58452
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* 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)
2022-10-11 13:12 bug#58452: guix pack cross-compile failed to build docker img of openldap for aarch64 Dominik Riva via Bug reports for GNU Guix
@ 2022-10-12 12:32 ` Maxime Devos
2022-10-13 15:18 ` Dominik Riva via Bug reports for GNU Guix
0 siblings, 1 reply; 3+ messages in thread
From: Maxime Devos @ 2022-10-12 12:32 UTC (permalink / raw)
To: Dominik Riva, 58452
[-- Attachment #1.1.1: Type: text/plain, Size: 303 bytes --]
retitle 58452 openldap fails to cross-compile to aarch64 (strip errors)
thanks
"guix pack" and Docker seem unrelated here, rather it seems to be
regular cross-compilation bug to me that could presumably be reproduced
with "guix build openldap --target=aarch64-linux-gnu".
Greetings,
Maxime.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* 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)
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
0 siblings, 0 replies; 3+ messages in thread
From: Dominik Riva via Bug reports for GNU Guix @ 2022-10-13 15:18 UTC (permalink / raw)
To: 58452; +Cc: Maxime Devos
[-- Attachment #1.1: Type: text/plain, Size: 574 bytes --]
------- Original Message -------
On Wednesday, October 12th, 2022 at 14:32, Maxime Devos <maximedevos@telenet.be> wrote:
> retitle 58452 openldap fails to cross-compile to aarch64 (strip errors)
> thanks
>
> "guix pack" and Docker seem unrelated here, rather it seems to be
> regular cross-compilation bug to me that could presumably be reproduced
> with "guix build openldap --target=aarch64-linux-gnu".
>
> Greetings,
> Maxime.
I can confirm that "guix build openldap --target=aarch64-linux-gnu" results in the exact same error.
Regards,
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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-13 17:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-11 13:12 bug#58452: guix pack cross-compile failed to build docker img of openldap for aarch64 Dominik Riva via Bug reports for GNU Guix
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
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.