pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49163: Pkgsrc bootstrap fails on Cygwin if user group has a space in it
>Number: 49163
>Category: pkg
>Synopsis: Pkgsrc bootstrap fails on Cygwin if user group has a space in
>it
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 29 18:40:00 +0000 2014
>Originator: Nick Clark
>Release: Pkgsrc 2014Q2
>Organization:
Karl Storz Imaging
>Environment:
CYGWIN_NT-6.1 GOLN-BWMMLX1 1.7.32(0.274/5/3) 2014-08-13 23:06 x86_64 Cygwin
>Description:
When attempting to install pkgsrc via bootstrap on Cygwin, the bootstrap
process fails with the log pasted below. The bootstrap failure only occurs if
there is a space in the user's group-name (Called "Domain Users") in this
example. It causes a 'sed' expression to terminate prematurely.
---------------------------------
Log:
===> Installing dependencies for bootstrap-mk-files-20140516
===> Overriding tools for bootstrap-mk-files-20140516
===> Extracting for bootstrap-mk-files-20140516
===> Patching for bootstrap-mk-files-20140516
===> Creating toolchain wrappers for bootstrap-mk-files-20140516
===> Configuring for bootstrap-mk-files-20140516
cd
/home/nrclark/pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20140516;
for file in bsd.* sys.mk; do test ! -f mods/Cygwin.$file
|| /bin/cp -f mods/Cygwin.$file
/home/nrclark/pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20140516/$file;
done
cd
/home/nrclark/pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20140516;
if test -f
mods/Cygwin.bsd.own.mk.in; then own_mk=mods/Cygwin.bsd.own.mk.in;
else
own_mk=mods/bsd.own.mk.in; fi;
/bin/sed -b -e 's|@ROOT_GROUP@|'Domain
Users'|g' -e 's|@ROOT_USER@|'nrclark'|g' -e
's|@SYSCONFDIR@|'/home/nrclark/pkg/etc'|g' $own_mk > bsd.own.mk
/bin/sed: -e expression #1, char 21: unterminated `s' command
*** Error code 1
Stop.
bmake: stopped in /home/nrclark/pkgsrc/pkgsrc/pkgtools/bootstrap-mk-files
*** Error code 1
>How-To-Repeat:
Perform a bootstrap under Cygwin (and possibly under other systems as well)
with a space in the user's group name.
>Fix:
Home |
Main Index |
Thread Index |
Old Index