[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#828040: marked as done (gnss-sdr: FTBFS for mips, mipsel, ppc*, s390x: Cannot find gflags)



Your message dated Wed, 6 Jul 2016 15:32:17 +0200
with message-id <c3392b34-89ad-af62-b549-bf7c2e1c8c19@cttc.es>
and subject line bug fixed
has caused the Debian Bug report #828040,
regarding gnss-sdr: FTBFS for mips, mipsel, ppc*, s390x: Cannot find gflags
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
828040: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828040
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gnss-sdr
Version: 0.0.7-1
Severity: important
Tags: sid, patch
Justification: FTBFS
User: debian-mips@lists.debian.org
Usertags: mips-patch


Package gnss-sdr FTBFS for mips and mipsel on configure with the following error:

> -- Cannot find gflags
> --  gflags library has not been found.
> --  gflags will be downloaded and built automatically 
> --  when doing 'make'. 
> CMake Error at /usr/share/cmake-3.5/Modules/ExternalProject.cmake:1757 (message):
>   error: could not find git for clone of gflags-2.1.2
> Call Stack (most recent call first):
>   /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
diff -uNr gnss-sdr-0.0.7.orig/cmake/Modules/FindGFlags.cmake gnss-sdr-0.0.7/cmake/Modules/FindGFlags.cmake
--- gnss-sdr-0.0.7.orig/cmake/Modules/FindGFlags.cmake	2016-05-15 12:27:51.000000000 +0000
+++ gnss-sdr-0.0.7/cmake/Modules/FindGFlags.cmake	2016-06-24 06:32:14.000000000 +0000
@@ -36,6 +36,9 @@
      /usr/lib/arm-linux-gnueabihf
      /usr/lib/arm-linux-gnueabi
      /usr/lib/aarch64-linux-gnu
+     /usr/lib/mipsel-linux-gnu
+     /usr/lib/mips-linux-gnu
+     /usr/lib/mips64el-linux-gnuabi64
      /usr/lib64
      /usr/lib
      )

--- End Message ---
--- Begin Message ---
Version: 0.0.8-1

Dear all,

Bug  #828040 has been fixed in gnss-sdr 0.0.8-1.

Best regards,
Carles

--- End Message ---

Reply to: