Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828951 - net-fs/openafs-1.8.8.1 fails to configure on setups without `gcc` or `ld` symlinks
Summary: net-fs/openafs-1.8.8.1 fails to configure on setups without `gcc` or `ld` sym...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adam Feldman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-11 19:45 UTC by Agostino Sarubbo
Modified: 2021-12-12 17:35 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,47.56 KB, text/plain)
2021-12-11 19:45 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,63.29 KB, text/plain)
2021-12-11 19:45 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-12-11 19:45:35 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-fs/openafs-1.8.8.1 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-11 19:45:37 UTC
Created attachment 758603 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-11 19:45:38 UTC
Created attachment 758604 [details]
1-config.log

1-config.log
Comment 3 Agostino Sarubbo gentoo-dev 2021-12-11 19:45:39 UTC
Error(s) that match a know pattern:

configure: error: in `/var/tmp/portage/net-fs/openafs-1.8.8.1/work/openafs-1.8.8.1':
Comment 4 Andrew Savchenko gentoo-dev 2021-12-11 20:45:04 UTC
make: gcc: No such file or directory
/bin/sh: line 1: gcc: command not found
make[1]: *** [scripts/Makefile.build:262: /var/tmp/portage/net-fs/openafs-1.8.8.1/work/openafs-1.8.8.1/conftest.dir/conftest.o] Error 127

Hm? Do we support such setups?
Comment 5 Andrew Savchenko gentoo-dev 2021-12-11 21:02:33 UTC
(In reply to Andrew Savchenko from comment #4)
> make: gcc: No such file or directory
> /bin/sh: line 1: gcc: command not found
> make[1]: *** [scripts/Makefile.build:262:
> /var/tmp/portage/net-fs/openafs-1.8.8.1/work/openafs-1.8.8.1/conftest.dir/
> conftest.o] Error 127
> 
> Hm? Do we support such setups?

The build itself uses system toolchain-CC fine, but messed up configure isn'tâ€Ĥ
Will try to fix this.
Comment 6 Larry the Git Cow gentoo-dev 2021-12-12 10:10:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e8d3e17a7301ea7c5d091523fcfe88ecb580c92

commit 0e8d3e17a7301ea7c5d091523fcfe88ecb580c92
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2021-12-12 09:59:53 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2021-12-12 10:10:03 +0000

    net-fs/openafs: fix build and deps
    
    - Fix build when gcc and ld symlinks are absent
    - Add virtual/libcrypt dep
    - Refactor autotools hacks
    
    Closes: https://bugs.gentoo.org/828951
    Closes: https://bugs.gentoo.org/828952
    Package-Manager: Portage-3.0.29, Repoman-3.0.3
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 net-fs/openafs/Manifest                  |   1 +
 net-fs/openafs/openafs-1.8.8.1-r1.ebuild | 342 +++++++++++++++++++++++++++++++
 2 files changed, 343 insertions(+)
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-12 10:12:34 UTC
libcrypt deps need := (you're linking against it and it has a subslot, and we say so on the wiki)
Comment 8 Larry the Git Cow gentoo-dev 2021-12-12 17:35:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e304737de17b265f4080dcd7acd3434a0fbb19fc

commit e304737de17b265f4080dcd7acd3434a0fbb19fc
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2021-12-12 17:35:02 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2021-12-12 17:35:28 +0000

    net-fs/openafs: use subslot rebuild dep on libcrypt
    
    Bug: https://bugs.gentoo.org/828951
    Package-Manager: Portage-3.0.29, Repoman-3.0.3
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 net-fs/openafs/openafs-1.8.8.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)