When i use a if condition in the spec file [1], vdr-epg-deamon compiles fine on f31, but without it it fails. make[1]: Entering directory '/home/martin/rpmbuild/BUILD/vdr-epg-daemon-1.1.146/epglv' gcc -c -I/usr/include/mysql -fPIC -L/usr/lib64/mysql -L/usr/lib64/ -lmariadb -DMYSQL_DYNAMIC_PLUGIN -DDEBUG_MYSQL=0 -ggdb -fno-stack-protector -O -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -std=c++11 -D__STDC_FORMAT_MACROS -shared src/epglv.c -o src/epglv.o cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C make[1]: Leaving directory '/home/martin/rpmbuild/BUILD/vdr-epg-daemon-1.1.146/epglv' g++ -rdynamic main.o update.o plugin.o epgdconfig.o channelmap.o series.o svdrpclient.o levenshtein.o episode.o tvdbmanager.o moviedbmanager.o tools/fuzzy.o tools/stringhelpers.o scraper/thetvdbscraper/thetvdbscraper.o scraper/thetvdbscraper/tvdbseries.o scraper/thetvdbscraper/tvdbmirrors.o scraper/thetvdbscraper/tvdbmedia.o scraper/thetvdbscraper/tvdbactor.o scraper/thetvdbscraper/tvdbepisode.o scraper/themoviedbscraper/themoviedbscraper.o scraper/themoviedbscraper/moviedbmovie.o scraper/themoviedbscraper/moviedbactor.o -L./lib -lhorchi -lrt -lz -larchive -ldl -lcrypto -luuid -L/usr/lib64/ -lmariadb Usage: /usr/bin/python3.7m-x86_64-config --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--abiflags|--configdir -ljansson -lsystemd -lcurl -lxml2 -lz -llzma -lm -ldl -L/usr/lib64 -lxslt -lxml2 -lm -lexslt -o epgd /bin/sh: --configdir: command not found /bin/sh: --includes: command not found /bin/sh: --abiflags: command not found /bin/sh: --exec-prefix: command not found /bin/sh: --cflags: command not found /bin/sh: --ldflags: command not found /bin/sh: --libs: command not found /bin/sh: --help: command not found /bin/sh: --extension-suffix: command not found g++: error: Usage:: No such file or directory g++: error: missing argument to '--prefix' make: *** [Makefile:71: epgd] Error 127 make: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/martin/rpmbuild/BUILD/vdr-epg-daemon-1.1.146/epglv' gcc -c -I/usr/include/mysql -fPIC -L/usr/lib64/mysql -L/usr/lib64/ -lmariadb -DMYSQL_DYNAMIC_PLUGIN -DDEBUG_MYSQL=0 -ggdb -fno-stack-protector -O -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -std=c++11 -D__STDC_FORMAT_MACROS -shared src/epglvbase.c -o src/epglvbase.o cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C make[1]: Leaving directory '/home/martin/rpmbuild/BUILD/vdr-epg-daemon-1.1.146/epglv' make[1]: Entering directory '/home/martin/rpmbuild/BUILD/vdr-epg-daemon-1.1.146/epglv' gcc -I/usr/include/mysql -fPIC -L/usr/lib64/mysql -L/usr/lib64/ -lmariadb -DMYSQL_DYNAMIC_PLUGIN -DDEBUG_MYSQL=0 -ggdb -fno-stack-protector -O -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -std=c++11 -D__STDC_FORMAT_MACROS -shared -o mysqlepglv.so src/epglvbase.o src/epglv.o make[1]: Leaving directory '/home/martin/rpmbuild/BUILD/vdr-epg-daemon-1.1.146/epglv' [1] https://src.fedoraproject.org/rpms/vdr-epg-daemon/blob/master/f/vdr-epg-daemon.spec Regards Martin _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx