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

Bug 576646

Summary: dev-libs/liboil-0.3.17-r3 requires -fheinous-gnu-extensions
Product: Gentoo Linux Reporter: * <rfc469>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: CONFIRMED ---    
Severity: minor CC: ago, prefix
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: build.log
ebuild patch

Description * 2016-03-06 23:41:16 UTC
My system is OS X El Capitan (10.11.3).
I'm using an installation built with a successful bootstrap from bug 564814.
I'm trying to install media-libs/vips which requires dev-libs/liboil.
dev-libs/liboil-0.3.17-r2 fails on line 543 unless the attached ebuild patch is used:

/opt/gentoo/var/tmp/portage/dev-libs/liboil-0.3.17-r2/work/liboil-0.3.17/liboil/amd64/wavelet.c:1756:27: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions
        [s1] "+r" ((long)(s1))
                   ~~~~~~~^~~

Reproducible: Always

Steps to Reproduce:
emerge --oneshot dev-libs/liboil
Comment 1 * 2016-03-06 23:41:46 UTC
Created attachment 427630 [details]
build.log
Comment 2 * 2016-03-06 23:43:14 UTC
Created attachment 427632 [details, diff]
ebuild patch
Comment 3 Felix Janda 2016-03-07 12:41:42 UTC
media-libs/vips should not depend on liboil (see bug 416815).

liboil is in maintainence mode since 2013 and has seen no release since
then. People are supposed to use dev-lang/orc instead. Alas, ecasound and
psimedia still depend on it.

I would guess that liboil generally does not build with clang (also on
linux).
Comment 4 * 2016-03-08 07:02:40 UTC
Thanks, I did notice it included both liboil and orc and thought that was odd.
Comment 5 Fabian Groffen gentoo-dev 2016-03-20 18:57:39 UTC
Fixed liboil nevertheless, thanks *!
Comment 6 Andreas Sturmlechner gentoo-dev 2021-01-26 22:56:11 UTC
*** Bug 729882 has been marked as a duplicate of this bug. ***
Comment 7 Andreas Sturmlechner gentoo-dev 2021-01-26 22:57:54 UTC
Not just a problem for ${CHOST} == *-darwin* it seems.
Comment 8 Agostino Sarubbo gentoo-dev 2021-12-19 22:08:30 UTC
tinderbox has reproduced this issue with version 0.3.17-r3 - Updating summary.