Discussion:
Bug#828040: gnss-sdr: FTBFS for mips, mipsel, ppc*, s390x: Cannot find gflags
(too old to reply)
Dejan Latinovic
2016-06-24 09:10:02 UTC
Permalink
Package: gnss-sdr
Version: 0.0.7-1
Severity: important
Tags: sid, patch
Justification: FTBFS
User: debian-***@lists.debian.org
Usertags: mips-patch
-- Cannot find gflags
-- gflags library has not been found.
-- gflags will be downloaded and built automatically
-- when doing 'make'.
error: could not find git for clone of gflags-2.1.2
/usr/share/cmake-3.5/Modules/ExternalProject.cmake:2459 (_ep_add_download_command)
CMakeLists.txt:480 (ExternalProject_Add)
-- Configuring incomplete, errors occurred!
The reason for this error is missing library path for mips architectures in FindGFlags.cmake.

The patch that adds library path for mips is attached.
After applying this patch build fails with issue reported issue:
https://bugs.debian.org/828034

The same issue with gflags appears on powerpc, ppc64, ppc64el and s390x.
I believe that similar fix could be created for mentioned architectures as well but unfortunately I am not able to test it.


Regards,
Dejan
Carles Fernandez
2016-06-26 19:20:01 UTC
Permalink
This has been applied in upstream at https://github.com/gnss-sdr/gnss-sdr/commit/642c37c09fb79fe36d0194285c969ea47b531269 <https://github.com/gnss-sdr/gnss-sdr/commit/642c37c09fb79fe36d0194285c969ea47b531269>

Can't’ test it, though.

Thanks for the report.

Regards,
Carles
Post by Dejan Latinovic
Package: gnss-sdr
Version: 0.0.7-1
Severity: important
Tags: sid, patch
Justification: FTBFS
Usertags: mips-patch
-- Cannot find gflags
-- gflags library has not been found.
-- gflags will be downloaded and built automatically
-- when doing 'make'.
error: could not find git for clone of gflags-2.1.2
/usr/share/cmake-3.5/Modules/ExternalProject.cmake:2459 (_ep_add_download_command)
CMakeLists.txt:480 (ExternalProject_Add)
-- Configuring incomplete, errors occurred!
The reason for this error is missing library path for mips architectures in FindGFlags.cmake.
The patch that adds library path for mips is attached.
https://bugs.debian.org/828034
The same issue with gflags appears on powerpc, ppc64, ppc64el and s390x.
I believe that similar fix could be created for mentioned architectures as well but unfortunately I am not able to test it.
Regards,
Dejan<add-lib-path-for-mips.diff>
--
------------------------------------------------------------
Dr. Carles Fernández Prades
Communication Systems Division
Senior Researcher

Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)
Address: Parc Mediterrani de la Tecnologia
Av. Carl Friedrich Gauss, 7
08860 Castelldefels, Barcelona, Spain.
Phone: +34 936452909 Fax: +34 936452901
http://www.cttc.es/people/cfernandez/ <http://www.cttc.cat/>
------------------------------------------------------------

Loading...