[mythtv-users] 0.28 compilation issue

Udo van den Heuvel udovdh at xs4all.nl
Sun Mar 4 05:21:35 UTC 2018


On 03-08-17 05:42, Udo van den Heuvel wrote:
> 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?

Still, built 0.28.2 today, the workaround is:

cd /usr/src/mythtv
git pull
cd /usr/src/mythweb
git pull
cd /usr/src/packaging/rpm
nice ionice -c3 ./build_myth.sh
# if stdlib.h error in mythplugins:
cd /usr/src/redhat/BUILD/mythtv-0.28.2/mythplugins/
find . -type f -name Makefile|while read a; do sed -e 's#-isystem\
/usr/include#-I\ /usr/include#g' < $a > /tmp/mytemp; cat /tmp/mytemp >
$a; done
make
rpmbuild -bi /usr/src/packaging/rpm/mythtv.spec --define "_sourcedir
/usr/src/packaging/rpm/mythtv" --short-circuit
rpmbuild -bb /usr/src/packaging/rpm/mythtv.spec --define "_sourcedir
/usr/src/packaging/rpm/mythtv" --short-circuit

This gives me usable MythTV RPMs.
What is the status of the -isystem issue?

Kind regards,
Udo


More information about the mythtv-users mailing list