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

Bug 922683

Summary: dev-db/postgis-3.4.1 fails to compile (MUSL-SYSTEM): convert: attempt to perform an operation not allowed by the security policy draw0 @ 989
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: PgSQL Bugs <pgsql-bugs>
Status: CONFIRMED ---    
Severity: normal CC: dirk, sci-geosciences
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
build.log for postgis-3.4.4
build.log for postgis-3.5.2
emerge --info from the system in question

Description Agostino Sarubbo gentoo-dev 2024-01-22 08:33:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-db/postgis-3.4.1 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-22 08:33:33 UTC
Created attachment 882831 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Dirk Tilger 2025-04-19 14:57:42 UTC
Fails to compile on non-MUSL system, too.
Comment 3 Dirk Tilger 2025-04-26 15:46:21 UTC
Masking >=dev-db/postgis-3.4 is a workaround.
Comment 4 Dirk Tilger 2025-04-26 15:49:39 UTC
Created attachment 926221 [details]
build.log for postgis-3.4.4
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-26 15:50:50 UTC
(In reply to Dirk Tilger from comment #4)
> Created attachment 926221 [details]
> build.log for postgis-3.4.4

Can you show emerge --info?
Comment 6 Dirk Tilger 2025-04-26 15:50:53 UTC
Created attachment 926222 [details]
build.log for postgis-3.5.2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-26 21:22:58 UTC
(In reply to Sam James from comment #5)
> (In reply to Dirk Tilger from comment #4)
> > Created attachment 926221 [details]
> > build.log for postgis-3.4.4
> 
> Can you show emerge --info?

(I suspect it's imagemagick[hardened].)
Comment 8 Dirk Tilger 2025-04-27 10:45:54 UTC
Created attachment 926240 [details]
emerge --info from the system in question