Source: polymake
Version: 4.0-2
Severity: important
tags: patch

Hello, looks like with TERM=unknown the testsuite fails:

*** Failed tests ***

/<<PKGBUILDDIR>>/apps/common/rules/functions_help.rules:248: testcase 1
expected: regular return
     got: EXCEPTION: Can't find a valid termcap file at 
/<<PKGBUILDDIR>>/perllib/Polymake/Core/InteractiveCommands.pm line 32.


diff -Nru polymake-4.0/debian/changelog polymake-4.0/debian/changelog
--- polymake-4.0/debian/changelog       2020-02-06 23:46:45.000000000 +0000
+++ polymake-4.0/debian/changelog       2020-02-11 11:35:39.000000000 +0000
@@ -1,3 +1,9 @@
+polymake (4.0-2.1) unstable; urgency=medium
+
+  * Force term=linux (Closes: #-1)
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org>  Tue, 11 Feb 2020 
12:35:39 +0100
+
 polymake (4.0-2) unstable; urgency=medium
 
   [ Benjamin Lorenz ]
diff -Nru polymake-4.0/debian/rules polymake-4.0/debian/rules
--- polymake-4.0/debian/rules   2020-02-06 23:46:45.000000000 +0000
+++ polymake-4.0/debian/rules   2020-02-11 11:35:37.000000000 +0000
@@ -14,6 +14,8 @@
        MAX_CPUS=$(shell awk '/^MemTotal/ { print int($$2/(4096*1024)+0.5) }' 
/proc/meminfo)
 endif
 
+export TERM=linux
+
 ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 WEAK_ARCHES="mips mipsel armhf"
 ifneq (,$(findstring ${ARCH},${WEAK_ARCHES}))

I think exporting a valid TERM in rules file is something sane to do.

thanks

Gianfranco

Reply via email to