Your message dated Mon, 03 Jun 2019 22:03:33 +0000
with message-id <[email protected]>
and subject line Bug#929727: fixed in dpkg 1.19.7
has caused the Debian Bug report #929727,
regarding dpkg: "newline not allowed in pathname" despite --nocheck
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
929727: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929727
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg
Version: 1.19.6
Severity: minor

I tried to build a package with \n in filenames, but to no avail:

  dpkg-deb --nocheck --build debian/newline ../newline_1_all.deb
  dpkg-deb: warning: not checking contents of control area
  dpkg-deb: building an unknown package in '../newline_1_all.deb'.
  dpkg-deb: error: newline not allowed in pathname './usr/share/newline/
  '

The man page promises that with the --nocheck option, "you can build any archive you want, no matter how broken", so I expected this to work.

The source package that I used for testing is here:
https://github.com/jwilk/newline.deb

-- System Information:
Architecture: i386

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-9
ii  libc6        2.28-10
ii  liblzma5     5.2.4-1
ii  libselinux1  2.8-1+b1
ii  zlib1g       1:1.2.11.dfsg-1
ii  tar          1.30+dfsg-6

--
Jakub Wilk

--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.19.7

We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive.

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.
Guillem Jover <[email protected]> (supplier of updated dpkg 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: SHA512

Format: 1.8
Date: Mon, 03 Jun 2019 23:22:35 +0200
Source: dpkg
Architecture: source
Version: 1.19.7
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers <[email protected]>
Changed-By: Guillem Jover <[email protected]>
Closes: 924886 926665 928429 928671 929019 929601 929664 929727
Changes:
 dpkg (1.19.7) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * dpkg: Fix off-by-one error in dpkg --abort-error. Closes: #924886
     Thanks to Tom Goulet <[email protected]>.
   * dpkg: Set the force defaults before loading the config file, otherwise we
     incorrectly override them. Regression introduced in dpkg 1.19.5.
     Closes: #928671
   * dpkg: Split the trigger dependtry into two, the second of which will be
     the one checking trigger cycles when deferring trigger processing due to
     unsatisfiable dependencies. Closes: #928429
   * dpkg-deb: Validate ar member magic before normalizing any of its fields.
   * dpkg-deb: Honor --nocheck when building packages with newlines in
     filenames. Regression introduced in dpkg 1.18.1. Closes: #929727
   * Documentation:
     - rootless-builds.txt: Expand what the builder means. Mention the
       dpkg-deb option to use to set the owner and group to root. And reword
       the prototyping section to be less confusing with what is currently
       implemented. Closes: #929019
     - README: Clarify when autopoint is needed. Closes: #929601
     - Fix typos in docs and output strings. Warned by codespell.
 .
   [ Updated programs translations ]
   * Catalan (Guillem Jover).
 .
   [ Updated dselect translations ]
   * Catalan (Guillem Jover).
 .
   [ Updated scripts translations ]
   * Catalan (Guillem Jover).
 .
   [ Updated man pages translations ]
   * Dutch (Frans Spiesschaert). Closes: #926665
   * French (Jean-Pierre Giraud). Closes: #929664
Checksums-Sha1:
 1f53441e37d08992125a622048268bff6df4ba69 2103 dpkg_1.19.7.dsc
 186e350a50fed923f6a784a6d0a7183d7869ec1c 4716724 dpkg_1.19.7.tar.xz
 b2f63842295f5ea6af0eb3c1559bef2fd2b0c6c9 7134 dpkg_1.19.7_amd64.buildinfo
Checksums-Sha256:
 098b285d5fc7add8972e5b2b3678027bba3f3fe01962e5176db2fbff33bbd8e3 2103 
dpkg_1.19.7.dsc
 4c27fededf620c0aa522fff1a48577ba08144445341257502e7730f2b1a296e8 4716724 
dpkg_1.19.7.tar.xz
 828c16d1a1eedc92bbb5d247a5b03fa4297c79d561a41400d59015a3ba7d34c0 7134 
dpkg_1.19.7_amd64.buildinfo
Files:
 ccf88c94789772b9a757afff3c58e156 2103 admin required dpkg_1.19.7.dsc
 60f57c5494e6dfa177504d47bfa0e383 4716724 admin required dpkg_1.19.7.tar.xz
 c6d2c7514ab70960ee9ef1ffd11d5b11 7134 admin required 
dpkg_1.19.7_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETz509DYFDBD1aWV0uXK/PqSuV6MFAlz1k5AACgkQuXK/PqSu
V6ONhA//SNrkEZ/oFHtfUuIOfprUdxaebHS9nCIF7ncLKqevtqH9CxK6TyROOvZB
v2LRE/nnjRT9RIPkJjzX67TA1D/XiZvEqoQJ/2hcgfR+9Y4W7m8juWkRnSNwqsgQ
Aj4V7ImC13w98FEKFhbucDK/7uIdBaaaARhT9SgumPjkWFdXb4APzccZs5ufabVl
nEoodQUykdOfDrb8D4cvI6HY2Fg7Fnn2r274iKm/hWFncQAGWg7KGTDVJ1QX4kVv
zVi9Zrp81KrpxbgerCfgbL8vMQL+qE3HvuYk71HroYyBddpZuc8/+xForGpP6GZk
aAeQ0dRFArak571TL6kCnDfeDHLmpi1rOns+PeHusw8+tg9HTyR6bq28Wkbd+FFF
iGSPQucADHswXmbLV0QZKTQerpJFFlBvJaAyaz8yXcjYgzJgN2m6gggKEcgMfXtF
wDosvxBBnoiNFRmBM+a/2qoIEm4U6X0mMURbnT/wkYrdXIxUNOv7/9A5KMDm3uwS
xIn5cP7ZhkVIC0P8TLAL0F5kvhvzn8mapO2pbmbEwb097BvqQZsrJ5folJ1qxeZE
WQxiGu6VM5d/d3y03NFe/G5Nxy0r+m+FN51LtD2GDFQOSeBkn50sTenar7YwldGw
iRMv/HgXP2mxK+97wgqw4TLl2EkNu3BZbGNjX/dTwb6DLEpIIJ0=
=2ukO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to