Your message dated Mon, 13 Jun 2005 11:17:35 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#306146: fixed in freebsd5-buildutils 5.3+2-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 24 Apr 2005 14:26:06 +0000
>From [EMAIL PROTECTED] Sun Apr 24 07:26:06 2005
Return-path: <[EMAIL PROTECTED]>
Received: from victor.m3.ntu.edu.tw (victor.m3.csie.ntu.edu.tw) 
[140.112.244.208] (postfix)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DPi3i-0008Fu-00; Sun, 24 Apr 2005 07:26:06 -0700
Received: by victor.m3.csie.ntu.edu.tw (Postfix, from userid 1000)
        id CA9742DA354D; Sun, 24 Apr 2005 22:26:03 +0800 (CST)
Content-Type: multipart/mixed; boundary="===============0387304469=="
MIME-Version: 1.0
From: Victor Hsieh <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: incompatibility in bsd.port.mk
X-Mailer: reportbug 3.9
Date: Sun, 24 Apr 2005 22:26:03 +0800
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.4 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        UPPERCASE_25_50 autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============0387304469==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: freebsd5-buildutils
Version: 5.3+2-2
Severity: important
Tags: patch

Hi,

I'm trying to build FreeBSD's ports in my Debian/Linux box.  When I
tried to make chinese/irssi, something wrong happened in
/usr/share/freebsd5-buildutils/ports/Mk/bsd.port.mk .

First, my sed(1) doesn't take "-E" (in FreeBSD, it does.).  But without
"-E", it seems to work just right in Linux.  One possible solution is to
provide a /usr/bin/freebsd-sed , or remove those "-E" in the file.
I've encountered some other problem of sed.  For example, when I do
"make generate-plist", my sed doesn't accept the givne expression.
IMO, freebsd-sed will be a better solution.

Second, " CKSUM=`${MD5} < $$file`; " should be changed to
" CKSUM=`${MD5} < $$file | awk '{print $$1}'`; " because of different
output format.

Third, Linux's patch(1) doesn't take an additional argument of "-b".
Modify "PATCH_ARGS+=   -b .orig" into "PATCH_ARGS+=   -b" will fix this
problem (how the name be decided is mentioned in the man page.).

I've put my patch here as well as the attachment:
http://victor.csie.org/patch/bsd.port.mk_5.3+2-2.diff

I hope it helps, thanks. :)

Best,
Victor


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-rc4
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)

Versions of packages freebsd5-buildutils depends on:
ii  dash                        0.5.2-4      The Debian Almquist Shell
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an

-- no debconf information

--===============0387304469==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="bsd.port.mk_5.3+2-2.diff"

--- bsd.port.mk.orig    2005-02-04 08:40:35.000000000 +0800
+++ bsd.port.mk 2005-04-24 21:16:26.205492960 +0800
@@ -1726,7 +1726,7 @@
 .endif
 
 .if ${PATCH} == "patch"
-PATCH_ARGS+=   -b .orig
+PATCH_ARGS+=   -b# .orig
 PATCH_DIST_ARGS+=      -b .orig
 .endif
 
@@ -2815,7 +2815,7 @@
 .if !defined(DISABLE_VULNERABILITIES) && !defined(PACKAGE_BUILDING)
        @if [ -f "${AUDITFILE}" ]; then \
                audit_created=`${_EXTRACT_AUDITFILE} | \
-                       ${SED} -nEe "1s/^#CREATED: 
*([0-9]{4})-?([0-9]{2})-?([0-9]{2}).*$$/\1\2\3/p"`; \
+                       ${SED} -ne "1s/^#CREATED: 
*([0-9]{4})-?([0-9]{2})-?([0-9]{2}).*$$/\1\2\3/p"`; \
                audit_expiry=`date -u -v-14d "+%Y%m%d"`; \
                if [ "$$audit_created" -lt "$$audit_expiry" ]; then \
                        ${ECHO_MSG} "===>  WARNING: Vulnerability database out 
of date, checking anyway"; \
@@ -2847,7 +2847,7 @@
        @(cd ${_DISTDIR}; \
         ${_MASTER_SITES_ENV} ; \
         for _file in ${DISTFILES}; do \
-               file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^:]+$$//'` ; \
+               file=`${ECHO_CMD} $$_file | ${SED} -e 's/:[^:]+$$//'` ; \
                select=`${ECHO_CMD} $${_file#$${file}} | ${SED} -e 's/^://' -e 
's/,/ /g'` ; \
                force_fetch=false; \
                filebasename=`${BASENAME} $$file`; \
@@ -2914,7 +2914,7 @@
        @(cd ${_DISTDIR}; \
         ${_PATCH_SITES_ENV} ; \
         for _file in ${PATCHFILES}; do \
-               file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^:]+$$//'` ; \
+               file=`${ECHO_CMD} $$_file | ${SED} -e 's/:[^:]+$$//'` ; \
                select=`${ECHO_CMD} $${_file#$${file}} | ${SED} -e 's/^://' -e 
's/,/ /g'` ; \
                force_fetch=false; \
                filebasename=`${BASENAME} $$file`; \
@@ -3816,7 +3816,7 @@
        @(cd ${_DISTDIR}; \
         ${_MASTER_SITES_ENV} ; \
         for _file in ${DISTFILES}; do \
-               file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^:]+$$//'` ; \
+               file=`${ECHO_CMD} $$_file | ${SED} -e 's/:[^:]+$$//'` ; \
                select=`${ECHO_CMD} $${_file#$${file}} | ${SED} -e 's/^://' -e 
's/,/ /g'` ; \
                if [ ! -f $$file -a ! -f `${BASENAME} $$file` ]; then \
                        if [ ! -z "$$select" ] ; then \
@@ -3848,7 +3848,7 @@
        @(cd ${_DISTDIR}; \
         ${_PATCH_SITES_ENV} ; \
         for _file in ${PATCHFILES}; do \
-               file=`${ECHO_CMD} $$_file | ${SED} -E -e 's/:[^:]+$$//'` ; \
+               file=`${ECHO_CMD} $$_file | ${SED} -e 's/:[^:]+$$//'` ; \
                select=`${ECHO_CMD} $${_file#$${file}} | ${SED} -e 's/^://' -e 
's/,/ /g'` ; \
                if [ ! -f $$file -a ! -f `${BASENAME} $$file` ]; then \
                        if [ ! -z "$$select" ] ; then \
@@ -3918,7 +3918,7 @@
                (cd ${DISTDIR}; OK=""; \
                  for file in ${_CKSUMFILES}; do \
                        pattern="`${ECHO_CMD} $$file | ${SED} -e 
's/\./\\\\./g'`"; \
-                       CKSUM=`${MD5} < $$file`; \
+                       CKSUM=`${MD5} < $$file | awk '{print $$1}'`; \
                        CKSUM2=`${GREP} "^MD5 ($$pattern)" ${MD5_FILE} | ${AWK} 
'{print $$4}'`; \
                        if [ -z "$$CKSUM2" ]; then \
                                ${ECHO_MSG} ">> No checksum recorded for 
$$file."; \
@@ -4552,7 +4552,7 @@
        done
        @${ECHO_CMD} '@cwd ${PREFIX}' >> ${TMPPLIST}
 .endif
-       @for i in $$(${ECHO_CMD} ${__MANPAGES} 
${_TMLINKS:M${_PREFIX}*:S|^${_PREFIX}/||} ' ' | ${SED} -E -e 
's|man([1-9ln])/([^/ ]+) |cat\1/\2 |g'); do \
+       @for i in $$(${ECHO_CMD} ${__MANPAGES} 
${_TMLINKS:M${_PREFIX}*:S|^${_PREFIX}/||} ' ' | ${SED} -e 's|man([1-9ln])/([^/ 
]+) |cat\1/\2 |g'); do \
                ${ECHO_CMD} "@unexec rm -f %D/$${i%.gz} %D/$${i%.gz}.gz" >> 
${TMPPLIST}; \
        done
 .if ${XFREE86_HTML_MAN:L} == "yes"
@@ -4601,7 +4601,7 @@
 add-plist-docs:
 .if defined(PORTDOCS)
        @if ${EGREP} -qe '[EMAIL PROTECTED]' ${TMPPLIST} && \
-               [ "`${SED} -En -e '/[EMAIL PROTECTED]   ]*/s,,,p' ${TMPPLIST} | 
${TAIL} -n 1`" != "${PREFIX}" ]; then \
+               [ "`${SED} -n -e '/[EMAIL PROTECTED]    ]*/s,,,p' ${TMPPLIST} | 
${TAIL} -n 1`" != "${PREFIX}" ]; then \
                ${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}; \
        fi
        @${FIND} -P ${PORTDOCS:S/^/${DOCSDIR}\//} ! -type d 2>/dev/null | \

--===============0387304469==--

---------------------------------------
Received: (at 306146-close) by bugs.debian.org; 13 Jun 2005 15:21:57 +0000
>From [EMAIL PROTECTED] Mon Jun 13 08:21:57 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DhqlB-0003BP-00; Mon, 13 Jun 2005 08:21:57 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1Dhqgx-0003xx-00; Mon, 13 Jun 2005 11:17:35 -0400
From: Aurelien Jarno <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#306146: fixed in freebsd5-buildutils 5.3+2-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 13 Jun 2005 11:17:35 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
        HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: freebsd5-buildutils
Source-Version: 5.3+2-3

We believe that the bug you reported is fixed in the latest version of
freebsd5-buildutils, which is due to be installed in the Debian FTP archive:

freebsd5-buildutils_5.3+2-3.diff.gz
  to pool/main/f/freebsd5-buildutils/freebsd5-buildutils_5.3+2-3.diff.gz
freebsd5-buildutils_5.3+2-3.dsc
  to pool/main/f/freebsd5-buildutils/freebsd5-buildutils_5.3+2-3.dsc
freebsd5-buildutils_5.3+2-3_hppa.deb
  to pool/main/f/freebsd5-buildutils/freebsd5-buildutils_5.3+2-3_hppa.deb
freebsd5-buildutils_5.3+2-3_i386.deb
  to pool/main/f/freebsd5-buildutils/freebsd5-buildutils_5.3+2-3_i386.deb
freebsd5-buildutils_5.3+2-3_mips.deb
  to pool/main/f/freebsd5-buildutils/freebsd5-buildutils_5.3+2-3_mips.deb
freebsd5-buildutils_5.3+2-3_powerpc.deb
  to pool/main/f/freebsd5-buildutils/freebsd5-buildutils_5.3+2-3_powerpc.deb
freebsd5-buildutils_5.3+2-3_sparc.deb
  to pool/main/f/freebsd5-buildutils/freebsd5-buildutils_5.3+2-3_sparc.deb
freebsd5-buildutils_5.3+2.orig.tar.gz
  to pool/main/f/freebsd5-buildutils/freebsd5-buildutils_5.3+2.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <[EMAIL PROTECTED]> (supplier of updated freebsd5-buildutils 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu,  9 Jun 2005 01:02:28 +0200
Source: freebsd5-buildutils
Binary: freebsd5-buildutils
Architecture: hppa i386 mips powerpc source sparc 
Version: 5.3+2-3
Distribution: unstable
Urgency: low
Maintainer: GNU/kFreeBSD Maintainers <[email protected]>
Changed-By: Aurelien Jarno <[EMAIL PROTECTED]>
Description: 
 freebsd5-buildutils - Utilities for building FreeBSD 5.x sources
Closes: 306146
Changes: 
 freebsd5-buildutils (5.3+2-3) unstable; urgency=low
 .
   * Package adopted by the GNU/kFreeBSD Maintainers. Thanks to Robert
     Millan for all the work done on this package.
   * Added patch from Victor Hsieh to fix incompatibilities with linux
     utilities (closes: bug#306146).
Files: 
 2097df6538e2423cb3c91b8256c98dd4 41462 devel extra 
freebsd5-buildutils_5.3+2-3.diff.gz
 2d8d12c52215d4de379434567e82b859 712689 devel extra 
freebsd5-buildutils_5.3+2.orig.tar.gz
 6e3f9cd8777e3e8499b5c267dbd25dda 340926 devel extra 
freebsd5-buildutils_5.3+2-3_i386.deb
 8b8ec523245a5c1df78922d54e185a6d 350362 devel extra 
freebsd5-buildutils_5.3+2-3_sparc.deb
 ac300f1656758ce3a7b606e37be1ce19 362496 devel extra 
freebsd5-buildutils_5.3+2-3_powerpc.deb
 d2031e9dc16cc444c935dcaf57f11ec4 758 devel extra 
freebsd5-buildutils_5.3+2-3.dsc
 ea8bbf4ae41a8b5bdaf23298fbc040cb 384380 devel extra 
freebsd5-buildutils_5.3+2-3_hppa.deb
 edb2b40dc68ac2f2bb08ef65a074bf97 386708 devel extra 
freebsd5-buildutils_5.3+2-3_mips.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCrZ9ow3ao2vG823MRAsWGAJ9JvC0R/65DT9OdvvIJH0yGRO4UFwCfeMRs
pUuEGgTUIVixwda1svpmhAc=
=YuIH
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to