Debian bug report logs - #1685
dpkg-split --msdos not correct

Package: libc; Reported by: Erick Branderhorst <branderhorst@fgg.eur.nl>; 15 days old.
Bug reassigned from package `dpkg' to `libc'. Request was from Ian Jackson <ian@chiark.chu.cam.ac.uk> to debian-bugs-request@pixar.com. Full text available.

Message received at debian-bugs:


From chiark.chu.cam.ac.uk!ian Mon Oct 16 18:19:26 1995
Return-Path: <ian@chiark.chu.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t50gf-0006CNC; Mon, 16 Oct 95 18:19 PDT
Received: from artemis.chu.cam.ac.uk by pixar.com with SMTP id AA15909
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 16 Oct 1995 18:19:01 -0700
Received: from chiark.chu.cam.ac.uk by artemis.chu.cam.ac.uk with smtp
	(Smail3.1.29.1 #33) id m0t51il-0007uAC; Tue, 17 Oct 95 02:25 GMT
Received: by chiark.chu.cam.ac.uk
	id m0t50gO-0002aWC
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Tue, 17 Oct 95 02:19 BST
Message-Id: <m0t50gO-0002aWC@chiark.chu.cam.ac.uk>
Date: Tue, 17 Oct 95 02:19 BST
From: Ian Jackson <ian@chiark.chu.cam.ac.uk>
To: Erick Branderhorst <branderhorst@fgg.eur.nl>, debian-bugs@Pixar.com
Subject: Re: Bug#1685: dpkg-split --msdos not correct

Erick Branderhorst writes ("Bug#1685: dpkg-split --msdos not correct"):
> Command executed:
> # dpkg-split -s emacs-19.29-4.deb --msdos
>                                   ~~~~~~~

This is an error, of course.  Options have to precede non-option
arguments, so what you're asking dpkg-split to do is to split into
files starting `--msdos', eg `--msdos.1of3.deb' or whatever.

However ...

> Transcript:
> Splitting package emacs into 11 parts: 1 mv: unrecognized \
> option `--msdos.1of11.deb'
> Try `mv --help' for more information.

... dpkg-split should have been happy to do that.  The problem is that
there is a bug in the libc.  I first noticed this bug when trying to
use rsh - it would take the option arguments to the remote command and
try to interpret them locally.

`mv' is affected, too:

-chiark:~> mv spong bar
mv: spong: No such file or directory
-chiark:~> mv spong --bar
mv: unrecognized option `--bar'
Try `mv --help' for more information.
-chiark:~> 

This is a really stupid feature of the GNU implementation of getopt,
which we should disable.

I'm reassigning this bug to the libc package.

Ian.

Acknowledgement sent to Ian Jackson <ian@chiark.chu.cam.ac.uk>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1685; Package dpkg. Full text available.

Message received at debian-bugs:


From fgg.eur.nl!branderhorst Mon Oct 16 01:28:52 1995
Return-Path: <branderhorst@fgg.eur.nl>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t4kui-00063aC; Mon, 16 Oct 95 01:28 PDT
Received: from mailgate.eur.nl by pixar.com with SMTP id AA20178
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 16 Oct 1995 01:28:25 -0700
Received: from hp750.fgg.eur.nl by mailgate.eur.nl (4.1/SMI-4.1)
	id AA02501; Mon, 16 Oct 95 09:28:39 +0100
Message-Id: <9510160828.AA02501@mailgate.eur.nl>
Received: by hp750.fgg.eur.nl
	(1.38.193.4/16.2) id AA16516; Mon, 16 Oct 1995 09:32:45 +0100
From: Erick Branderhorst <branderhorst@fgg.eur.nl>
Subject: dpkg-split --msdos not correct
To: debian-bugs@pixar.com
Date: Mon, 16 Oct 95 9:32:45 MET
Mailer: Elm [revision: 70.85]


Package: dpkg
Version: 1.0.5-0

Command executed:
# dpkg-split -s emacs-19.29-4.deb --msdos
                                  ~~~~~~~
Transcript:
Splitting package emacs into 11 parts: 1 mv: unrecognized \
option `--msdos.1of11.deb'
Try `mv --help' for more information.

Command executed:
# dpkg-split --msdos -s emacs-19.29-4.deb
             ~~~~~~~
Transcript:
Splitting package emacs into 11 parts: 1 2 3 4 5 6 7 8 9 10 11 done

--
Erick Branderhorst@heel.fgg.eur.nl 00++10-46351542
Department of General Surgery (Intensive Care) University Hospital Rotterdam NL

Acknowledgement sent to Erick Branderhorst <branderhorst@fgg.eur.nl>:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1685; Package dpkg. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov