GNU bug report logs -
#58452
openldap cross-compilation fails
Previous Next
To reply to this bug, email your comments to 58452 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#58452
; Package
guix
.
(Tue, 11 Oct 2022 19:23:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dominik Riva <driva <at> protonmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 11 Oct 2022 19:23:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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
[publickey - driva@protonmail.com - 0x53958C99.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58452
; Package
guix
.
(Wed, 12 Oct 2022 12:33:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 58452 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#58452
; Package
guix
.
(Thu, 13 Oct 2022 17:48:04 GMT)
Full text and
rfc822 format available.
Message #11 received at 58452 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
------- Original Message -------
On Wednesday, October 12th, 2022 at 14:32, Maxime Devos <maximedevos <at> 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
[publickey - driva@protonmail.com - 0x53958C99.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]
Changed bug title to 'openldap cross-compilation fails' from 'guix pack cross-compile failed to build docker img of openldap for aarch64'
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Fri, 21 Oct 2022 10:14:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 302 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.