Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611874 - sys-auth/pam_p11-0.1.5-r2 fails during configure on alpha
Summary: sys-auth/pam_p11-0.1.5-r2 fails during configure on alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 611518
  Show dependency tree
 
Reported: 2017-03-06 11:11 UTC by Tobias Klausmann (RETIRED)
Modified: 2017-03-06 19:26 UTC (History)
2 users (show)

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


Attachments
config.log (pam_p11_config.log,10.01 KB, text/plain)
2017-03-06 11:11 UTC, Tobias Klausmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2017-03-06 11:11:24 UTC
Created attachment 466122 [details]
config.log

./configure --prefix=/usr --build=alpha-unknown-linux-gnu --host=alpha-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/pam_p11-0.1.5-r2 --htmldir=/usr/share/doc/pam_p11-0.1.5-r2/html --libdir=/usr/lib --disable-static --enable-fast-install
checking build system type... alpha-unknown-linux-gnu
checking host system type... alpha-unknown-linux-gnu
checking target system type... alpha-unknown-linux-gnu
checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for alpha-unknown-linux-gnu-gcc... alpha-unknown-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-auth/pam_p11-0.1.5-r2/work/pam_p11-0.1.5/config.log


I've toyed around with it and it seems the added LDFLAGS are the cause. Removing them makes the configure phase pass and the thing compiles (I have done no further testing). Naturally, we'd be back with bug #274924 then (though I don't know if that is still an actual problem).

The LDFLAGS of this chroot are the default: LDFLAGS="-Wl,-O1 -Wl,--as-needed"
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2017-03-06 19:26:38 UTC
Strange, I guess it also fail in -r1 as I only changed eapi :)
Fixed it properly, I hope.
Please check.