ports/126518: Unbroke archivers/lzo2 on i386
Matthias Andree
matthias.andree at gmx.de
Thu Aug 28 16:30:04 UTC 2008
The following reply was made to PR ports/126518; it has been noted by GNATS.
From: Matthias Andree <matthias.andree at gmx.de>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/126518: Unbroke archivers/lzo2 on i386
Date: Thu, 28 Aug 2008 18:22:30 +0200
This is a multi-part message in MIME format.
--------------020809080402040305070908
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
Please try this debugging patch, remove the BROKEN= tag, and give it a go.
Longer message was sent to portsmgr@, edwin, erwin and lippe, but not
presented here since it contains private end user mail not warranting a
request to publish it.
If the port fails again, I need SSH access to a machine where the self-test
gets stuck, so I can debug. No root privileges or user password required; I
will provide ssh2 keys.
HTH
Matthias
- lzo2 port maintainer -
--------------020809080402040305070908
Content-Type: text/plain;
name="patch-lzo2"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="patch-lzo2"
diff -ruN --exclude=CVS /usr/ports/archivers/lzo2/Makefile /usr/home/emma/ports/archivers/lzo2/Makefile
--- /usr/ports/archivers/lzo2/Makefile 2008-06-20 20:38:52.000000000 +0200
+++ /usr/home/emma/ports/archivers/lzo2/Makefile 2008-07-29 11:04:20.000000000 +0200
@@ -26,7 +26,7 @@
post-build:
@${ECHO_MSG} "===> Running self-tests for ${PKGNAME} (can take a few minutes, without output)"
- cd ${WRKSRC} && ${MAKE} test
+ cd ${WRKSRC} && ${MAKE} test SHELL="${SHELL} -x"
post-install:
.if !defined(NOPORTDOCS)
diff -ruN --exclude=CVS /usr/ports/archivers/lzo2/files/patch-util-check_sh /usr/home/emma/ports/archivers/lzo2/files/patch-util-check_sh
--- /usr/ports/archivers/lzo2/files/patch-util-check_sh 1970-01-01 01:00:00.000000000 +0100
+++ /usr/home/emma/ports/archivers/lzo2/files/patch-util-check_sh 2008-07-29 11:00:50.000000000 +0200
@@ -0,0 +1,11 @@
+--- ./util/check.sh~ 2008-04-30 14:51:49.000000000 +0200
++++ ./util/check.sh 2008-07-29 11:00:31.000000000 +0200
+@@ -19,7 +19,7 @@
+
+ TMPFILE="/tmp/lzo_$$.tmp"
+ rm -f $TMPFILE
+-(find $dir/ -type f -print > $TMPFILE) || true
++find $dir/ -type f -print | tee $TMPFILE
+
+ ## methods=`$LZOTEST -m | sed -n 's/^ *-m\([0-9]*\).*/\1/p'`
+ ## methods="9721 9722 9723 9724 9725 9726 9727 9728 9729"
--------------020809080402040305070908--
More information about the freebsd-ports-bugs
mailing list