Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 756046 - dev-db/postgis-3.0.3 calls ar directly
Summary: dev-db/postgis-3.0.3 calls ar directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-11-22 09:26 UTC by Agostino Sarubbo
Modified: 2020-12-18 23:19 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,103.44 KB, text/plain)
2020-11-22 09:26 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,144.31 KB, text/plain)
2020-11-22 09:26 UTC, Agostino Sarubbo
Details
2-config.log (2-config.log,144.39 KB, text/plain)
2020-11-22 09:26 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 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(-)