[FS#420] errror make transmission-openssl

LEDE Bugs lede-bugs at lists.infradead.org
Fri Feb 3 09:15:08 PST 2017


The following task has a new comment added:

FS#420 - errror make transmission-openssl
User who did this - Hannu Nyman (hnyman)

----------
Pure guess, but based on the discussions that are linked to that upstream bug, it is also possible that it is a parallel build problem, or actually a missing need for gettext package (or some derivative of it). Just like mkresin commented while I was writing this.

Something in your build builds that package & tools, so they are usable after the full firmware build, but when you include transmission in your build, it starts to build before the package building those tools, and fails.

We are actually trying to disable NLS and we are disabling the graphical user interface, so there should be no need for the po files in Transmission.

It looks to me that transmission's configure scripts and/or Makefiles are badly written as they try to config those features even when not needed. 

I tested in my own mips_24kc environment and failed.

But with this patch the compilation goes smoothly. I am not using transmission, so I have no idea if the package actually works after this change. But could you dissent1 test if it actually works. If it does, we might do a PR for Obsy.

The patch simply eliminates the two references to po/ in configure.ac and Makefile.am

https://gist.github.com/hnyman/f0fd1a0dffc43e3d20ff4a260d3a7b81#file-transmission-060-disable-po-directory-patch


$ cat net/transmission/patches/060-disable-po-directory.patch
--- a/configure.ac
+++ b/configure.ac
@@ -660,8 +660,7 @@
                  web/style/transmission/images/Makefile
                  web/style/transmission/images/buttons/Makefile
                  web/javascript/Makefile
-                 web/javascript/jquery/Makefile
-                 po/Makefile.in])
+                 web/javascript/jquery/Makefile])
 
 AC_OUTPUT
 
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,7 +44,6 @@
   gtk/CMakeLists.txt \
   libtransmission/CMakeLists.txt \
   libtransmission/version.h.in \
-  po/CMakeLists.txt \
   qt/CMakeLists.txt \
   utils/CMakeLists.txt
 


----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=420#comment1587



More information about the lede-bugs mailing list