ok had to define the correct vdr-devel version in the spec file, now i get a 
other error message:

+ '[' -f /usr/lib/rpm/generate-rpm-note.sh ']'
+ /usr/lib/rpm/generate-rpm-note.sh vdr-epg-daemon 1.2.3-3.fc37 x86_64
+ cd vdr-epg-daemon-1.2.3
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
(cd lib && /usr/bin/make lib)
g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches 
-pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  
-mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection 
-fcf-protection -I/usr/include/mysql -I/usr/include/mysql/mysql 
-I/usr/include/python3.11 -I/usr/include/python3.11 -ggdb -fno-stack-protector 
-O -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe 
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DBINDEST='"/usr/bin"' 
-DTARGET='"epgd"' -DLOG_PREFIX='""' -DPLG
 DIR='"/usr/lib64/epgd"' -DUSEUUID -DUSEMD5 -DUSELIBXML -DUSELIBARCHIVE 
-DUSEJSON -DUSEGUNZIP -DSYSDWDIFO -DUSESYSD -I/usr/include/libxml2  
-I/usr/include/libxml2  -I/usr/include/python3.11 -I/usr/include/python3.11 
-DGIT_REV='""' -o epgdconfig.o epgdconfig.c
In file included from lib/epgservice.h:13,
                 from epgdconfig.c:8:
lib/common.h: In member function 'void MemoryStruct::clear()':
lib/common.h:218:20: error: 'time' was not declared in this scope; did you mean 
'tm'?
  218 |          modTime = time(0);
      |                    ^~~~
      |                    tm
lib/epgservice.h: In member function 'time_t cUserTimes::UserTime::getTime()':
lib/epgservice.h:349:23: error: aggregate 'tm tmnow' has incomplete type and 
cannot be defined
  349 |             struct tm tmnow;
      |                       ^~~~~
lib/epgservice.h:350:26: error: 'time' was not declared in this scope; did you 
mean 'times'?
  350 |             time_t now = time(0);
      |                          ^~~~
      |                          times
lib/epgservice.h:352:13: error: 'localtime_r' was not declared in this scope; 
did you mean 'locale_t'?
  352 |             localtime_r(&now, &tmnow);
      |             ^~~~~~~~~~~
      |             locale_t
lib/epgservice.h:357:28: error: 'mktime' was not declared in this scope; did 
you mean 'mTime'?
  357 |             time_t ltime = mktime(&tmnow);
      |                            ^~~~~~
      |                            mTime
make: *** [Make.config:118: epgdconfig.o] Error 1
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to