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>
Severity: normal CC: sci-geosciences
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-11-22 09:26:50 UTC

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

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 and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-11-22 09:26:54 UTC
Created attachment 674269 [details]

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

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):

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

    dev-db/postgis: fix direct ar call
    Fix done during bugday 2020-12-05
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Bernd Waibel <>
    Signed-off-by: Aaron W. Swenson <>

 .../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(-)