[mythtv-commits] Ticket #13085: Fedora 24 -> 26: RPM build error: fatal error: stdlib.h: No such file or directory
MythTV
noreply at mythtv.org
Thu Aug 3 05:49:11 UTC 2017
#13085: Fedora 24 -> 26: RPM build error: fatal error: stdlib.h: No such file or
directory
----------------------------------+------------------------------
Reporter: udovdh@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: MythTV - General | Version: 0.28.1
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+------------------------------
Comment (by udovdh@…):
I received a tip from Jonatan Lindblad to remove the line as shown at
https://github.com/MythTV/packaging/blob/master/rpm/mythtv.spec#L931.
This change makes mythtv compile but not yet the plugins that still fail
with the stdlib.h error.
For the plugins an INCLUDEPATH is modified during the rpmbuild process:
+ echo 'INCLUDEPATH -= $${PREFIX}/include'
+ echo 'INCLUDEPATH -= $${SYSROOT}/$${PREFIX}/include'
+ echo 'INCLUDEPATH -= /usr/include'
+ echo 'INCLUDEPATH +=
/root/rpmbuild/BUILD/mythtv-0.28.1/temp/usr/include'
+ echo 'INCLUDEPATH += /usr/include'
In the resulting lines during the compile we can see that Qmake treats
/usr/include differently from
/root/rpmbuild/BUILD/mythtv-0.28.1/temp/usr/include w.r.t -isystem and -I.
How can we influence this behaviour?
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13085#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list