Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576646 - dev-libs/liboil-0.3.17-r3 requires -fheinous-gnu-extensions
Summary: dev-libs/liboil-0.3.17-r3 requires -fheinous-gnu-extensions
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal minor (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
: 729882 (view as bug list)
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2016-03-06 23:41 UTC by *
Modified: 2021-12-19 22:08 UTC (History)
2 users (show)

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


Attachments
build.log (build.log.bz2,6.96 KB, application/x-bzip2)
2016-03-06 23:41 UTC, *
Details
ebuild patch (liboil-0.3.17-r2.ebuild.patch,377 bytes, patch)
2016-03-06 23:43 UTC, *
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.