Package: lua-torch-cwrap
Version: 0~20160222-gdbd0a62-4
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch autopkgtest

Dear maintainer,

The lua-torch-cwrap package works fine on most architectures, but it fails
on ppc64el and s390x in Ubuntu because these architectures don't have
luajit, only lua5.1; and by default, it's considered an error for an
autopkgtest to produce output on stderr:

autopkgtest [16:24:18]: test lua.require: [-----------------------
/tmp/autopkgtest.VpDUrM/build.isG/lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/lua.require:
 5: 
/tmp/autopkgtest.VpDUrM/build.isG/lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/lua.require:
 luajit: not found
/tmp/autopkgtest.VpDUrM/build.isG/lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/lua.require:
 test ok
autopkgtest [16:24:19]: test lua.require: -----------------------]
autopkgtest [16:24:19]: test lua.require:  - - - - - - - - - - results - - - - 
- - - - - -
lua.require          FAIL stderr: 
/tmp/autopkgtest.VpDUrM/build.isG/lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/lua.require:
 5: 
/tmp/autopkgtest.VpDUrM/build.isG/lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/lua.require:
 luajit: not found
autopkgtest [16:24:20]: test lua.require:  - - - - - - - - - - stderr - - - - - 
- - - - -
/tmp/autopkgtest.VpDUrM/build.isG/lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/lua.require:
 5: 
/tmp/autopkgtest.VpDUrM/build.isG/lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/lua.require:
 luajit: not found
autopkgtest [16:24:20]: @@@@@@@@@@@@@@@@@@@@ summary
lua.require          FAIL stderr: 
/tmp/autopkgtest.VpDUrM/build.isG/lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/lua.require:
 5: 
/tmp/autopkgtest.VpDUrM/build.isG/lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/lua.require:
 luajit: not found

  http://autopkgtest.ubuntu.com/packages/l/lua-torch-cwrap/artful/ppc64el

The attached simple patch lets the autopkgtest pass on all Ubuntu
architectures.

This is a low-priority bug for Debian, since Debian only runs autopkgtests
on two architectures, both of which have luajit available.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/control 
lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/control
--- lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/control    2017-07-26 
00:02:38.000000000 -0700
+++ lua-torch-cwrap-0~20160222-gdbd0a62/debian/tests/control    2017-08-30 
15:03:18.000000000 -0700
@@ -1 +1,2 @@
 Tests: lua.require
+Restrictions: allow-stderr
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to