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

Bug 756046

Summary: dev-db/postgis-3.0.3 calls ar directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: sci-geosciences
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18518
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log
1-config.log
2-config.log

Description Agostino Sarubbo gentoo-dev 2020-11-22 09:26:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-db/postgis-3.0.3 calls ar directly.
Discovered on: amd64 (internal ref: ci)

NOTE:
As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different AR implementation (like llvm-ar). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the AR variable to x86_64-pc-linux-gnu-ar.
Comment 1 Agostino Sarubbo gentoo-dev 2020-11-22 09:26:53 UTC
Created attachment 674266 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-11-22 09:26:54 UTC
Created attachment 674269 [details]
1-config.log

1-config.log
Comment 3 Agostino Sarubbo gentoo-dev 2020-11-22 09:26:56 UTC
Created attachment 674272 [details]
2-config.log

2-config.log
Comment 4 Agostino Sarubbo gentoo-dev 2020-11-22 09:26:58 UTC
Possible context of error(s):

checking for shared library run path origin... /bin/sh: build-aux/config.rpath: No such file or directory
checking for shared library run path origin... /bin/sh: build-aux/config.rpath: No such file or directory
make[1]: ar: No such file or directory
Comment 5 Larry the Git Cow gentoo-dev 2020-12-18 23:19:03 UTC
The bug has been closed via the following commit(s):

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

commit 061acf21495a02e1f2520ae1c3953879ae4fb798
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2020-12-05 14:23:35 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2020-12-18 23:17:51 +0000

    dev-db/postgis: fix direct ar call
    
    Fix done during bugday 2020-12-05
    
    Closes: https://bugs.gentoo.org/756046
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Bernd Waibel <waebbl@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/18518
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 .../postgis-3.0.3-avoid-calling-ar-directly.patch  | 85 ++++++++++++++++++++++
 ...ostgis-3.0.3.ebuild => postgis-3.0.3-r1.ebuild} |  5 +-
 2 files changed, 89 insertions(+), 1 deletion(-)