Bug 1471173 - mariadb library upgrade to 10.2 causes vdr-epg-daemon FTBFS
Summary: mariadb library upgrade to 10.2 causes vdr-epg-daemon FTBFS
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: vdr-epg-daemon
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 15:06 UTC by Augusto Caringi
Modified: 2017-07-21 18:41 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-07-21 18:41:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to allow compilation of vdr-epg-daemon with MariaDB 10.2 (deleted)
2017-07-14 15:06 UTC, Augusto Caringi
no flags Details | Diff
Patch to allow compilation of vdr-epg-daemon with MariaDB 10.2 (792 bytes, patch)
2017-07-14 15:08 UTC, Augusto Caringi
no flags Details | Diff
Patch to allow compilation of vdr-epg-daemon with MariaDB 10.2 (792 bytes, patch)
2017-07-14 15:09 UTC, Augusto Caringi
no flags Details | Diff

Description Augusto Caringi 2017-07-14 15:06:46 UTC
Trying to build vdr-epg-daemon 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:1379:17: error: 'CR_INVALID_CONN_HANDLE' was not declared in this scope
        error == CR_INVALID_CONN_HANDLE ||
                 ^~~~~~~~~~~~~~~~~~~~~~
db.c:1379:17: note: suggested alternative: 'CR_INVALID_BUFFER_USE'
        error == CR_INVALID_CONN_HANDLE ||
                 ^~~~~~~~~~~~~~~~~~~~~~
                 CR_INVALID_BUFFER_USE
db.c:1383:17: error: 'CR_CONN_UNKNOW_PROTOCOL' was not declared in this scope
        error == CR_CONN_UNKNOW_PROTOCOL ||
                 ^~~~~~~~~~~~~~~~~~~~~~~
db.c:1383: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-epg-daemon/

Comment 1 Augusto Caringi 2017-07-14 15:08:02 UTC
Created attachment 1298401 [details]
Patch to allow compilation of vdr-epg-daemon with MariaDB 10.2

Comment 2 Augusto Caringi 2017-07-14 15:09:39 UTC
Created attachment 1298402 [details]
Patch to allow compilation of vdr-epg-daemon with MariaDB 10.2

Comment 3 MartinKG 2017-07-20 14:51:08 UTC
successfully build for rawhide
https://koji.fedoraproject.org/koji/taskinfo?taskID=20629219

Comment 4 Adam Williamson 2017-07-21 18:41:01 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.