Bug 1471195 - mariadb library upgrade to 10.2 causes vdr-epg2vdr FTBFS
Summary: mariadb library upgrade to 10.2 causes vdr-epg2vdr FTBFS
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: vdr-epg2vdr
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: MartinKG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1467297
TreeView+ depends on / blocked
 
Reported: 2017-07-14 16:13 UTC by Augusto Caringi
Modified: 2017-07-21 18:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-21 18:41:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to allow compilation of vdr-epg2vdr with MariaDB 10.2 (935 bytes, patch)
2017-07-14 16:13 UTC, Augusto Caringi
no flags Details | Diff

Description Augusto Caringi 2017-07-14 16:13:52 UTC
Created attachment 1298505 [details]
Patch to allow compilation of vdr-epg2vdr with MariaDB 10.2

Trying to build vdr-epg2vdr with the new version of MariaDB 10.2 causes a build error:

db.c: In member function 'int cDbConnection::errorSql(cDbConnection*, const char*, MYSQL_STMT*, const char*)':
db.c:1382:17: error: 'CR_INVALID_CONN_HANDLE' was not declared in this scope
        error == CR_INVALID_CONN_HANDLE ||
                 ^~~~~~~~~~~~~~~~~~~~~~
db.c:1382:17: note: suggested alternative: 'CR_INVALID_BUFFER_USE'
        error == CR_INVALID_CONN_HANDLE ||
                 ^~~~~~~~~~~~~~~~~~~~~~
                 CR_INVALID_BUFFER_USE
db.c:1386:17: error: 'CR_CONN_UNKNOW_PROTOCOL' was not declared in this scope
        error == CR_CONN_UNKNOW_PROTOCOL ||
                 ^~~~~~~~~~~~~~~~~~~~~~~
db.c:1386:17: note: suggested alternative: 'CR_CONN_UNKNOWN_PROTOCOL'
        error == CR_CONN_UNKNOW_PROTOCOL ||
                 ^~~~~~~~~~~~~~~~~~~~~~~
                 CR_CONN_UNKNOWN_PROTOCOL

In this new version of the library the define CR_CONN_UNKNOW_PROTOCOL was renamed to CR_CONN_UNKNOWN_PROTOCOL and the define CR_INVALID_CONN_HANDLE was dropped. I attached a patch proposal to fix the problem.

We are tracking all the possible problems regarding this MariaDB upgrade in the bug 1467297.

Copr build: https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/package/vdr-epg2vdr/

Comment 1 MartinKG 2017-07-20 14:52:37 UTC
successfully build for rawhide
https://koji.fedoraproject.org/koji/taskinfo?taskID=20629264

Comment 2 Adam Williamson 2017-07-21 18:41:22 UTC
If its successfully built we can close the bug, nothing else is needed for Rawhide.


Note You need to log in before you can comment on or make changes to this bug.