Subject: pkg/26942: nbsed on solaris, bugs
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ove@elektro-eel.org>
List: pkgsrc-bugs
Date: 09/13/2004 23:30:04
>Number: 26942
>Category: pkg
>Synopsis: nbsed on solaris, bugs
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 13 23:31:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Ove Soerensen
>Release:
>Organization:
>Environment:
SunOS nimbus 5.9 Generic_117172-09 i86pc i386 i86pc
>Description:
i came across some oddities regarding nbsed on Solaris 9 which are
probably bugs.
1. pkgsrc/audio/libvorbis complains about a checksum-mismatch in file
patch-ag. I tracked down the problem to the invocation of nbsed, which
removes the RCS tag of the patchfiles. nbsed running on Solaris inserts an
extra NUL byte. here is the diff of the output of a native sed running on
NetBSD and nbsed running on Solaris:
Solaris:
00000520 74 2e 68 74 6d 6c 20 00 76 6f 72 62 69 73 5f 69 |t.html .vorbis_i|
00000530 6e 66 6f 2e 68 74 6d 6c 20 09 76 6f 72 62 69 73 |nfo.html .vorbis|
NetBSD:
00000520 74 2e 68 74 6d 6c 20 76 6f 72 62 69 73 5f 69 6e |t.html vorbis_in|
00000530 66 6f 2e 68 74 6d 6c 20 09 76 6f 72 62 69 73 66 |fo.html .vorbisf|
these are from the same nfs mount, so both seds really operate on the
same file.
2. pkgsrc/fonts/fontconfig fails at the end of the configure stage
on Solaris (but builds fine on NetBSD, again from the same NFS mount)
nbsed spits out some warnings during the config.status run:
33: ./confstat10070-21537/subs3-sed: bad flag in substitute command: '@'
causing configure to create empty Makefiles. I have double checked it is really nbsed getting called. After changing the pkgsrc wrapper-makfile to use gnu sed the package builds without errors.
my pkgsrc-tree is about three days old.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: