Bug#933747: efl: please build with lua-old on riscv64

Aurelien Jarno aurel32 at debian.org
Sat Aug 3 21:19:57 BST 2019


On 2019-08-02 14:39, Ross Vandegrift wrote:
> On Fri, Aug 02, 2019 at 10:57:25PM +0200, John Paul Adrian Glaubitz wrote:
> > On 8/2/19 10:50 PM, Aurelien Jarno wrote:
> > > efl can't be built on riscv64 as it build-depends on libluajit-5.1-dev
> > > which has not been ported yet on this architecture. As efl is an
> > > important reverse dependency, would it be possible to adopt the same
> > > strategy as already done for arm64 and 390x, that is building with
> > > lua-old instead of luajit?
> 
> Yes, definitely - thanks for the patch!

Thanks for the positive answer. Here is an updated patch. In my previous
patch, I missed to change one place in the control file.


diff -Nru efl-1.21.1/debian/control efl-1.21.1/debian/control
--- efl-1.21.1/debian/control	2019-02-12 19:07:26.000000000 +0100
+++ efl-1.21.1/debian/control	2019-08-02 18:29:24.000000000 +0200
@@ -16,7 +16,7 @@
  libxcursor-dev, libxss-dev, libxrender-dev, libxinerama-dev,
  libxrandr-dev, libxext-dev, libxcomposite-dev, libxi-dev,
  libxdamage-dev, libxtst-dev, libglib2.0-dev,
- libluajit-5.1-dev [!arm64 !s390x], liblua5.2-dev [arm64 s390x], libdbus-1-dev,
+ libluajit-5.1-dev [!arm64 !riscv64 !s390x], liblua5.2-dev [arm64 riscv64 s390x], libdbus-1-dev,
  libsndfile-dev,
  libgnutls28-dev, libcurl4-gnutls-dev,
  libudev-dev [linux-any], libmount-dev [linux-any], libblkid-dev [linux-any],
@@ -613,7 +613,7 @@
          libelementary1 (= ${binary:Version}),
          libelocation1 (= ${binary:Version}),
          libelput1 (= ${binary:Version}),
-         libelua1 (= ${binary:Version}) [!arm64 !s390x],
+         libelua1 (= ${binary:Version}) [!arm64 !riscv64 !s390x],
          libembryo1 (= ${binary:Version}),
          libemile1 (= ${binary:Version}),
          libemotion1 (= ${binary:Version}),
@@ -633,7 +633,7 @@
          libharfbuzz-dev,
          libinput-dev,
          libjpeg-dev,
-         libluajit-5.1-dev [!arm64 !s390x], liblua5.2-dev [arm64 s390x],
+         libluajit-5.1-dev [!arm64 !riscv64 !s390x], liblua5.2-dev [arm64 riscv64 s390x],
          liblz4-dev,
          libmount-dev,
          libpulse-dev,
diff -Nru efl-1.21.1/debian/rules efl-1.21.1/debian/rules
--- efl-1.21.1/debian/rules	2019-02-12 19:07:26.000000000 +0100
+++ efl-1.21.1/debian/rules	2019-08-02 18:29:24.000000000 +0200
@@ -9,7 +9,7 @@
 ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf))
 	arch_flags += --with-opengl=es --enable-egl
 endif
-ifneq (,$(filter $(DEB_HOST_ARCH), arm64 s390x))
+ifneq (,$(filter $(DEB_HOST_ARCH), arm64 riscv64 s390x))
 	arch_flags += --enable-lua-old
 	dhinstallflags += --exclude=elua
 endif

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien at aurel32.net                 http://www.aurel32.net



More information about the Pkg-e-devel mailing list