Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1423852

Summary: libgda: FTBFS since F26
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: libgdaAssignee: Haïkel Guémar <karlthered>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: alexjnewt, decathorpe, fedora, karlthered, klember, phil, sergio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libgda-5.2.8-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-07 02:39:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1423041, 1555378, 1580061    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
Fixes the various files where the file encoding is not UTF-8.
none
Adjust to new openssl API.
none
Locate the firebird includes at the right location.
none
Changes to spec file none

Description Fedora Release Engineering 2017-02-17 14:59:55 UTC
Your package libgda failed to build from source in current rawhide.

https://koji.fedoraproject.org/koji/taskinfo?taskID=17732088

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Comment 1 Fedora Release Engineering 2017-02-17 14:59:59 UTC
Created attachment 1252898 [details]
build.log

Comment 2 Fedora Release Engineering 2017-02-17 15:00:03 UTC
Created attachment 1252899 [details]
root.log

Comment 3 Fedora Release Engineering 2017-02-17 15:00:05 UTC
Created attachment 1252900 [details]
state.log

Comment 4 Fedora End Of Life 2017-02-28 11:45:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 5 Fabio Valentini 2018-01-03 19:19:57 UTC
libgda still fails to build (fedora 25, 26, 27, rawhide).

The last successful build was libgda-5.2.2-11.fc24.x86_64, for the fedora 24 (!) mass rebuild, according to koji - which is the package that is available right now on f24+, as it hasn't seen updates or successful rebuilds since.

This is starting to cause problems, as the package and its subpackages are starting to cause dependency conflicts, e.g. with mariadb-libs.

Comment 6 Philippe Troin 2018-01-24 22:49:03 UTC
Created attachment 1385814 [details]
Fixes the various files where the file encoding is not UTF-8.

This is the first in a series of patches to make libgda build on F27 (and probably other Fedora revisions).

The utf8 patch correct the file encoding for various C and header files which need to be processed by the gnome utilities which are strict about utf-8 encoding.  The developper names were using a variety of encodings, all now normalized to UTF-8.  Note that only the files that need to be processed by the gnome utilities have been corrected.

Comment 7 Philippe Troin 2018-01-24 22:50:05 UTC
Created attachment 1385815 [details]
Adjust to new openssl API.

This is the second in a series of patches to make libgda build on F27 (and probably other Fedora revisions).

The openssl patch adjusts the libgda code to the new openssl API.

Comment 8 Philippe Troin 2018-01-24 22:57:31 UTC
Created attachment 1385816 [details]
Locate the firebird includes at the right location.

This is the third in a series of patches to make libgda build on F27 (and probably other Fedora revisions).

Libgda can now be built with firebird support.
This patch fixes the build process.

Comment 9 Philippe Troin 2018-01-24 23:29:27 UTC
Created attachment 1385819 [details]
Changes to spec file

This is the fourth and last in a series of patches to make libgda build on F27 (and probably other Fedora revisions).

This patches the spec file:
- apply utf8 patch
- apply firebird patch
- apply openssl patch
- created a libgda-firebird subpackage
- disabled --with-system-sqlite=yes as it breaks libgda's build

Comment 10 Fedora End Of Life 2018-02-20 15:34:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 11 Sergio Basto 2018-10-01 04:27:56 UTC
*** Bug 1556039 has been marked as a duplicate of this bug. ***

Comment 12 Kalev Lember 2018-12-04 17:40:06 UTC
I've spent some time today working on libgda and making it build again. The itstool issue mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1604587 still remains (I did some build system hackery to build it with an older itstool), but otherwise it should now be in a bit less sorry state. Feel free to open PRs and CC me there if there's anything else you'd like fixed there (I'm not libgda maintainer, just doing drive by fixes).

Comment 13 Fedora Update System 2018-12-04 17:42:02 UTC
libgda-5.2.8-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7993c4e097

Comment 14 Philippe Troin 2018-12-04 22:58:11 UTC
(In reply to Kalev Lember from comment #12)
> I've spent some time today working on libgda and making it build again. The
> itstool issue mentioned in
> https://bugzilla.redhat.com/show_bug.cgi?id=1604587 still remains (I did
> some build system hackery to build it with an older itstool), but otherwise
> it should now be in a bit less sorry state. Feel free to open PRs and CC me
> there if there's anything else you'd like fixed there (I'm not libgda
> maintainer, just doing drive by fixes).

The itstool issue can be sidelined by using python2 instead of python3, as in:
  make %{?_smp_mflags} ITSTOOL="python2 $(which itstool)"

Comment 15 Fedora Update System 2018-12-05 03:54:33 UTC
libgda-5.2.8-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7993c4e097

Comment 16 Kalev Lember 2018-12-05 06:55:56 UTC
(In reply to Philippe Troin from comment #14)
> The itstool issue can be sidelined by using python2 instead of python3, as
> in:
>   make %{?_smp_mflags} ITSTOOL="python2 $(which itstool)"

Ahh, thanks!

Comment 17 Fabio Valentini 2018-12-06 19:56:58 UTC
This is awesome.
I couldn't get it to work even if my life depended on it.

Thanks, Kalev, for working on this!

Comment 18 Fedora Update System 2018-12-07 02:39:11 UTC
libgda-5.2.8-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 Red Hat Bugzilla 2023-09-12 01:14:03 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days