Re: vdr-epg-daemon-1.1.128 compiles fine on f26 but not on higher fedora version

2018-02-10 Thread Martin Gansser
> On 09/02/18 15:01 -, Martin Gansser wrote:
> 
> This suggests the package is not using the mariadb API correctly, and
> should be including a different header.
> 
> 
> And this is probably for the same reason:  is not part of
> the public API for mariadb clients.
> 
> Did you try replacing  and  and 
> with  ?

Thanks for pointing this out, it is now compiling by replacing the correct 
header files.

sed -i -e 's|# include |# include |' epglv/src/epglv.h
sed -i -e 's|# include |# include |' epglv/src/epglv.h
sed -i -e 's|#include |#include |' epglv/src/epglv.h
sed -i -e 's|#include |#include |' epglv/src/epglv.h
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: vdr-epg-daemon-1.1.128 compiles fine on f26 but not on higher fedora version

2018-02-09 Thread Jonathan Wakely

On 09/02/18 15:01 -, Martin Gansser wrote:

Hi,

vdr-epg-daemon-1.1.128 compiles fine on f26 but not on higher fedora version,
something changed on F27 and rawhide, program


make[1]: Entering directory 
'/home/martin/rpmbuild/BUILD/vdr-epg-daemon-1.1.128/epglv'
gcc -c -I/usr/include/mysql -fPIC -L/usr/lib64/mysql -L/usr/lib64/ -lmariadb 
-lz -lm -lpthread -lssl -lcrypto -DMYSQL_DYNAMIC_PLUGIN -DDEBUG_MYSQL=0 -ggdb 
-fno-
stack-protector -O -O2 -g -pipe -Wall -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-
gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic 
-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
In file included from src/epglv.h:16:0,
from src/epglvbase.c:10:
/usr/include/mysql/my_global.h:3:2: warning: #warning This file should not be 
included by clients, include only  [-Wcpp]
#warning This file should not be included by clients, include only 
 ^~~


This suggests the package is not using the mariadb API correctly, and
should be including a different header.


In file included from src/epglv.h:17:0,
from src/epglvbase.c:10:
/usr/include/mysql/my_sys.h:3:2: warning: #warning This file should not be included 
by clients, include only  [-Wcpp]
#warning This file should not be included by clients, include only 
 ^~~
In file included from src/epglvbase.c:10:0:
src/epglv.h:21:10: fatal error: m_ctype.h: No such file or directory
#include 
 ^~~


And this is probably for the same reason:  is not part of
the public API for mariadb clients.

Did you try replacing  and  and 
with  ?
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


vdr-epg-daemon-1.1.128 compiles fine on f26 but not on higher fedora version

2018-02-09 Thread Martin Gansser
Hi,

vdr-epg-daemon-1.1.128 compiles fine on f26 but not on higher fedora version,
something changed on F27 and rawhide, program


make[1]: Entering directory 
'/home/martin/rpmbuild/BUILD/vdr-epg-daemon-1.1.128/epglv'
gcc -c -I/usr/include/mysql -fPIC -L/usr/lib64/mysql -L/usr/lib64/ -lmariadb 
-lz -lm -lpthread -lssl -lcrypto -DMYSQL_DYNAMIC_PLUGIN -DDEBUG_MYSQL=0 -ggdb 
-fno-
stack-protector -O -O2 -g -pipe -Wall -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-
gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic 
-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
In file included from src/epglv.h:16:0,
 from src/epglvbase.c:10:
/usr/include/mysql/my_global.h:3:2: warning: #warning This file should not be 
included by clients, include only  [-Wcpp]
 #warning This file should not be included by clients, include only 
  ^~~
In file included from src/epglv.h:17:0,
 from src/epglvbase.c:10:
/usr/include/mysql/my_sys.h:3:2: warning: #warning This file should not be 
included by clients, include only  [-Wcpp]
 #warning This file should not be included by clients, include only 
  ^~~
In file included from src/epglvbase.c:10:0:
src/epglv.h:21:10: fatal error: m_ctype.h: No such file or directory
 #include 
  ^~~
compilation terminated.
make[1]: *** [Makefile:51: src/epglvbase.o] Error 1
make[1]: Leaving directory 
'/home/martin/rpmbuild/BUILD/vdr-epg-daemon-1.1.128/epglv'
make: *** [Makefile:77: lv] Error 2
make: *** Waiting for unfinished jobs
g++ -shared epgdata.o  -o libepgd-epgdata.so


results compiling the program on different versions:

koji build --scratch f26 ../SRPMS/vdr-epg-daemon-1.1.128-1.fc26.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=24890318

koji build --scratch f27 ../SRPMS/vdr-epg-daemon-1.1.128-1.fc26.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=24890368

koji build --scratch rawhide ../SRPMS/vdr-epg-daemon-1.1.128-1.fc26.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=24890169
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org