#1 FTBFS fix
Merged 5 years ago by tdawson. Opened 5 years ago by merlinm.
Unknown source master  into  master

file modified
+6 -2
@@ -1,6 +1,6 @@

  Name:           opendbx

  Version:        1.4.6

- Release:        14%{?dist}

+ Release:        15%{?dist}

  Group:          Development/Libraries

  Summary:        Lightweight but extensible database access library written in C

  
@@ -113,7 +113,7 @@

  ln -s api lib/%{name}/api.dox

  

  %build

- %configure --with-backends="mysql pgsql sqlite sqlite3 firebird mssql sybase" CPPFLAGS="-I%{_includedir}/mysql" --disable-test --disable-static LDFLAGS="-L%{_libdir}/mysql"

+ %configure --with-backends="mysql pgsql sqlite sqlite3 firebird mssql sybase" CPPFLAGS="-I%{_includedir}/mysql -I%{_includedir}/firebird" --disable-test --disable-static LDFLAGS="-L%{_libdir}/mysql"

  sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool

  sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

  make %{?_smp_mflags}
@@ -174,6 +174,10 @@

  %{_mandir}/man1/odbx-sql.1.gz

  

  %changelog

+ * Thu Jan 25 2018 Merlin Mathesius <mmathesi@redhat.com> - 1.4.6-15

+ - Fix FBTFS by adding firebird header path to CPPFLAGS, since firebird-devel

+   package no longer includes top level symlinks (BZ#1424018)

+ 

  * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-14

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

  

opendbx currently fails to build from source in Rawhide, F27, and earlier releases. See BZ#1424018.

The cause appears to be that the firebird-devel package no longer includes a link to ibase.h directly in /usr/include.

This PR fixes the FBTFS issue by adding the firebird header path to CPPFLAGS.

A successful Rawhide scratch build of this update can be found at https://koji.fedoraproject.org/koji/taskinfo?taskID=24441221

LGTM
Thank for finding and fixing this. This hasn't built for over a year.

Pull-Request has been merged by tdawson

5 years ago
Metadata