Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 669012

Summary: sys-libs/pam-version? - /usr/libexec/gcc/aarch64-unknown-linux-gnu/ld: /usr/lib64/libdb-6.0.so: error adding symbols: file in wrong format
Product: Gentoo Linux Reporter: Necktwi Ozfguah <necktwi>
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED INVALID    
Severity: normal CC: pam-bugs+disabled
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Necktwi Ozfguah 2018-10-19 11:21:49 UTC
[code]CCACHE_DISABLE=YES FEATURES="-distcc -distcc-pump" aarch64-unknown-linux-gnu-emerge --ask --verbose pam[/code]

fails with 
[b]/usr/libexec/gcc/aarch64-unknown-linux-gnu/ld: /usr/lib64/libdb-6.0.so: error adding symbols: file in wrong format[/b]

(gentoo):aarch64-unknown-linux-gnu # [code]aarch64-unknown-linux-gnu-emerge --info '=sys-libs/pam-1.3.1::gentoo' | wgetpaste[/code]
Your paste can be seen here: https://paste.pound-python.org/show/st1qfVdNnRaKqF1jYpQR/

(gentoo):aarch64-unknown-linux-gnu # [code]aarch64-unknown-linux-gnu-emerge -pqv '=sys-libs/pam-1.3.1::gentoo'|wgetpaste[/code]
Your paste can be seen here: https://paste.pound-python.org/show/FLffkSRtyfuYARVi7Ja9/

(gentoo):aarch64-unknown-linux-gnu # [code]wgetpaste /usr/aarch64-unknown-linux-gnu/tmp/portage/sys-libs/pam-1.3.1/temp/environment[/code]
Your paste can be seen here: https://paste.pound-python.org/show/yIII19bAxzEwbeuxQQ36/

(gentoo):aarch64-unknown-linux-gnu # [code]split -n1/5 /usr/aarch64-unknown-linux-
gnu/tmp/portage/sys-libs/pam-1.3.1/temp/build.log | wgetpaste[/code]
Your paste can be seen here: https://paste.pound-python.org/show/UPVwBWbzT0a76DdUxYKa/

(gentoo):aarch64-unknown-linux-gnu # [code]split -n4/5 /usr/aarch64-unknown-linux-gnu/tmp/portage/sys-libs/pam-1.3.1/temp/build.log | wgetpaste[/code]
Your paste can be seen here: https://paste.pound-python.org/show/Dy5nCCsVqAhTpFaWgp4L/

The build.log is too big so I've only put 1 n 4 of 4 parts of it.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-10-19 11:59:21 UTC
(In reply to Necktwi Ozfguah from comment #0)

> The build.log is too big so I've only put 1 n 4 of 4 parts of it.

Compress it.

1) xz <file.to.compress>
2) Then upload <file.to.compress>.xz
Comment 2 Necktwi Ozfguah 2018-10-19 12:04:28 UTC
Created attachment 551846 [details]
build.log

build log
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-10-20 14:35:08 UTC
your sys-libs/db should be cross-compiled too, you are trying to link native libdb agaist aarch64 compiled pam.