#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 | Keywords:
Ticket locked: 0 |
--------------------------------------+--------------------------
Another issue that popped up after the Fedora 24 -> Fedora 26 upgrade is
this one.
After being able to compile 0.27.6 without issue I checked out fixes/0.28.
Trying to build 0.28 gives the error pasted below.
When I replace all -isystem mentions by -I in all Makefiles the
compilation succeeds.
{{{
make[2]: Entering directory
'/usr/src/redhat/BUILD/mythtv-0.28.1/mythtv/external/libmythsoundtouch'
g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -march=k8
-mtune=k8 -msse -msse2 -msse3 -m3dnow -O2 -g -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-stron
g --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -fomit-frame-
pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -pthread -Wpointer-
arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-
inlines-hidden -Wmissing-declarations -Wno-switch -Woverloaded-virtual
-funit-at-a-time -fPIC -std=gnu++11 -w -D_REENTRANT -DMMX -Dusing_libcec
-D_GNU_SOURCE -DALLOW_SSE2 -DALLOW_SSE3 -I. -isystem /usr/inclu
de/libxml2 -isystem /usr/include -I. -I../..
-I/usr/lib64/qt5/mkspecs/linux-g++ -o AAFilter.o AAFilter.cpp
g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -march=k8
-mtune=k8 -msse -msse2 -msse3 -m3dnow -O2 -g -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-stron
g --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -fomit-frame-
pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -pthread -Wpointer-
arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-
inlines-hidden -Wmissing-declarations -Wno-switch -Woverloaded-virtual
-funit-at-a-time -fPIC -std=gnu++11 -w -D_REENTRANT -DMMX -Dusing_libcec
-D_GNU_SOURCE -DALLOW_SSE2 -DALLOW_SSE3 -I. -isystem /usr/inclu
de/libxml2 -isystem /usr/include -I. -I../..
-I/usr/lib64/qt5/mkspecs/linux-g++ -o FIRFilter.o FIRFilter.cpp
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0,
from /usr/include/c++/7/bits/basic_string.h:6159,
from /usr/include/c++/7/string:52,
from /usr/include/c++/7/stdexcept:39,
from FIRFilter.cpp:46:
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or
directory
#include_next <stdlib.h>
^~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:369: FIRFilter.o] Error 1
make[2]: Leaving directory
'/usr/src/redhat/BUILD/mythtv-0.28.1/mythtv/external/libmythsoundtouch'
make[1]: *** [Makefile:66: libmythsoundtouch-all] Error 2
make[1]: *** Waiting for unfinished jobs....
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13085>
MythTV <http://www.mythtv.org>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits
directory
--------------------------------------+--------------------------
Reporter: udovdh@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: needs_triage
Component: MythTV - General | Version: 0.28.1
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+--------------------------
Another issue that popped up after the Fedora 24 -> Fedora 26 upgrade is
this one.
After being able to compile 0.27.6 without issue I checked out fixes/0.28.
Trying to build 0.28 gives the error pasted below.
When I replace all -isystem mentions by -I in all Makefiles the
compilation succeeds.
{{{
make[2]: Entering directory
'/usr/src/redhat/BUILD/mythtv-0.28.1/mythtv/external/libmythsoundtouch'
g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -march=k8
-mtune=k8 -msse -msse2 -msse3 -m3dnow -O2 -g -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-stron
g --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -fomit-frame-
pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -pthread -Wpointer-
arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-
inlines-hidden -Wmissing-declarations -Wno-switch -Woverloaded-virtual
-funit-at-a-time -fPIC -std=gnu++11 -w -D_REENTRANT -DMMX -Dusing_libcec
-D_GNU_SOURCE -DALLOW_SSE2 -DALLOW_SSE3 -I. -isystem /usr/inclu
de/libxml2 -isystem /usr/include -I. -I../..
-I/usr/lib64/qt5/mkspecs/linux-g++ -o AAFilter.o AAFilter.cpp
g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -march=k8
-mtune=k8 -msse -msse2 -msse3 -m3dnow -O2 -g -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-stron
g --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -fomit-frame-
pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -pthread -Wpointer-
arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-
inlines-hidden -Wmissing-declarations -Wno-switch -Woverloaded-virtual
-funit-at-a-time -fPIC -std=gnu++11 -w -D_REENTRANT -DMMX -Dusing_libcec
-D_GNU_SOURCE -DALLOW_SSE2 -DALLOW_SSE3 -I. -isystem /usr/inclu
de/libxml2 -isystem /usr/include -I. -I../..
-I/usr/lib64/qt5/mkspecs/linux-g++ -o FIRFilter.o FIRFilter.cpp
In file included from /usr/include/c++/7/ext/string_conversions.h:41:0,
from /usr/include/c++/7/bits/basic_string.h:6159,
from /usr/include/c++/7/string:52,
from /usr/include/c++/7/stdexcept:39,
from FIRFilter.cpp:46:
/usr/include/c++/7/cstdlib:75:15: fatal error: stdlib.h: No such file or
directory
#include_next <stdlib.h>
^~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:369: FIRFilter.o] Error 1
make[2]: Leaving directory
'/usr/src/redhat/BUILD/mythtv-0.28.1/mythtv/external/libmythsoundtouch'
make[1]: *** [Makefile:66: libmythsoundtouch-all] Error 2
make[1]: *** Waiting for unfinished jobs....
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13085>
MythTV <http://www.mythtv.org>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits