Bug#662968: RFS: shc/3.8.7-1
tag 662968 moreinfo
thanks
Hi Vibhav,
Vibhav Pant wrote:
> I am looking for a sponsor for my package "shc"
>
> * Package name : shc
> Version : 3.8.7-1
> Upstream Author : Francisco Rosales <frosal@fi.upm.es>
> * URL : http://www.datsi.fi.upm.es/~frosal/sources/
> [there is no such homepage for this program]
> * License : GPL-2
> Section : devel
>
> It builds those binary packages:
>
> shc - Generic shell script compiler.
Building your package in a clean chroot fails during the test phase with
the following:
dpkg-buildpackage: source package shc
dpkg-buildpackage: source version 3.8.7-1
dpkg-buildpackage: source changed by Vibhav Pant <vibhavp@gmail.com>
dpkg-source --before-build shc-3.8.7
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
make[1]: Entering directory `/tmp/buildd/shc-3.8.7'
rm -f *.o *~ *.x.c
make[1]: Leaving directory `/tmp/buildd/shc-3.8.7'
dh_clean
dpkg-source -b shc-3.8.7
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building shc using existing ./shc_3.8.7.orig.tar.gz
dpkg-source: info: building shc in shc_3.8.7-1.debian.tar.gz
dpkg-source: info: building shc in shc_3.8.7-1.dsc
debian/rules build
dh build
dh_testdir
dh_auto_configure
dh_auto_build
make[1]: Entering directory `/tmp/buildd/shc-3.8.7'
cc -Wall -O6 shc.c -o shc
*** ¿Do you want to probe shc with a test script?
*** Please try... make test
make[1]: Leaving directory `/tmp/buildd/shc-3.8.7'
dh_auto_test
make[1]: Entering directory `/tmp/buildd/shc-3.8.7'
*** Compiling script "match"
CFLAGS="-Wall -O6 " ./shc -v -f match
shc: WARNING!!
Scripts of length near to (or higher than) the current System limit on
"maximum size of arguments to EXEC", could comprise its binary execution.
In the current System the call sysconf(_SC_ARG_MAX) returns -1 bytes
and your script "match" is 336 bytes length.
shc shll=sh
shc [-i]=-c
shc [-x]=exec '%s' "$@"
shc [-l]=
shc opts=
shc: cc -Wall -O6 match.x.c -o match.x
shc: strip match.x
shc: chmod go-r match.x
*** Running a compiled test script!
*** It must show files with substring "sh" in your PATH...
./match.x sh
/usr/sbin/add-shell
/usr/sbin/remove-shell
/usr/bin/bashbug
/usr/bin/chsh
/usr/bin/cow-shell
/usr/bin/debconf-show
/usr/bin/dh_makeshlibs
/usr/bin/dh_shlibdeps
/usr/bin/dpkg-shlibdeps
/usr/bin/gettext.sh
/usr/bin/instmodsh
/usr/bin/sha1sum
/usr/bin/sha224sum
/usr/bin/sha256sum
/usr/bin/sha384sum
/usr/bin/sha512sum
/usr/bin/shasum
/usr/bin/shred
/usr/bin/shuf
/usr/bin/unshare
/sbin/shadowconfig
/sbin/shutdown
/bin/bash
/bin/dash
/bin/rbash
/bin/sh
/bin/sh.distrib
[16419] PAUSED... Hit return!
make[1]: *** [make_the_test] Error 1
make[1]: Leaving directory `/tmp/buildd/shc-3.8.7'
dh_auto_test: make -j1 test returned exit code 2
make: *** [build] Error 29
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Additionally, you may want to look into the issues reported there:
http://mentors.debian.net/package/shc
(Run 'lintian -IE --pedantic *.changes' to check for these issues
locally.)
Reply to: