[mythtv-commits] Ticket #13085: Fedora 24 -> 26: RPM build error: fatal error: stdlib.h: No such file or directory

MythTV noreply at mythtv.org
Sun Dec 10 11:28:59 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 martin.bantz@…):

 Does not compile on PCLinuxOS either - here trying 29.0

 Quote from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129:
 "The real problem here is that "-isystem /usr/include" changes the include
 search path in a way that is incompatible with "-I /usr/include""


 echo '#include <cstdlib>' > try.cc[[BR]]

 g++ -c try.cc[[BR]]

 g++ -I /usr/include -c try.cc[[BR]]

 g++ -isystem /usr/include -c try.cc[[BR]]

 In file included from try.cc:1:0:
 /usr/include/c++/7.2.1/cstdlib:75:15: fatal fejl: stdlib.h: Ingen sådan
 fil eller filkatalog
  #include_next <stdlib.h>
                ^~~~~~~~~~

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13085#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list