Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669012 - 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
Summary: sys-libs/pam-version? - /usr/libexec/gcc/aarch64-unknown-linux-gnu/ld: /usr/l...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-19 11:21 UTC by Necktwi Ozfguah
Modified: 2018-10-20 14:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,357.08 KB, text/plain)
2018-10-19 12:04 UTC, Necktwi Ozfguah
Details

Note You need to log in before you can comment on or make changes to this bug.
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.