[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#985835: marked as done (alien incorrectly replicates filepaths)



Your message dated Wed, 07 Apr 2021 20:18:48 +0000
with message-id <E1lUEdU-000DeF-Lp@fasolo.debian.org>
and subject line Bug#985835: fixed in alien 8.95.4
has caused the Debian Bug report #985835,
regarding alien incorrectly replicates filepaths
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 owner@bugs.debian.org
immediately.)


-- 
985835: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985835
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: alien
Version: 8.95.3
Severity: important
Tags: patch
X-Debbugs-Cc: rincebrain@gmail.com

Dear Maintainer,

alien incorrectly copies files when it's generating packages on my system, resulting in packages
where instead of, say, /usr/include/... and /usr/sbin/..., it puts things in /include/... and 
/sbin/...

I've created a patch, which I'm not entirely happy with, that fixes it for the test case I was
reproducing it on (generating deb packages from the upstream zfsonlinux source packages, which
use alien to turn their generated rpms into debs).

Thanks,
- Rich Ercolani

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.11.8 (SMP w/6 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages alien depends on:
ii  cpio       2.13+dfsg-4
ii  debhelper  13.3.4
ii  dpkg-dev   1.20.7.1
ii  make       4.3-4
ii  perl       5.32.1-3
ii  rpm        4.16.1.2+dfsg1-0.4
ii  rpm2cpio   4.16.1.2+dfsg1-0.4

alien recommends no packages.

Versions of packages alien suggests:
ii  bzip2            1.0.8-4
pn  lintian          <none>
ii  patch            2.7.6-7
ii  xz-utils [lzma]  5.2.5-1.0

-- no debconf information
--- Alien/Package/Deb.pm.aside	2021-03-24 12:46:48.445705086 -0400
+++ Alien/Package/Deb.pm	2021-03-24 12:46:54.829597635 -0400
@@ -482,9 +482,11 @@
 override_dh_auto_build:
 
 override_dh_auto_install:
+	mkdir -p debian/\$(PACKAGE)
 	# Copy the packages's files.
 	find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \\
-		xargs -0 -r -i cp -a {} debian/\$(PACKAGE)
+		sed -e s#'./'##g | \\
+		xargs -0 -r -i cp -a ./{} debian/\$(PACKAGE)/{}
 #
 # If you need to move files around in debian/\$(PACKAGE) or do some
 # binary patching, do it here

--- End Message ---
--- Begin Message ---
Source: alien
Source-Version: 8.95.4
Done: Boyuan Yang <byang@debian.org>

We believe that the bug you reported is fixed in the latest version of
alien, 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 985835@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated alien 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 07 Apr 2021 12:15:06 -0400
Source: alien
Architecture: source
Version: 8.95.4
Distribution: unstable
Urgency: high
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 983492 985808 985835
Changes:
 alien (8.95.4) unstable; urgency=high
 .
   * QA upload.
   * Alien/Package/Deb.pm: Fix incorrect debian/rules template by
     properly escaping special characters (dh \$\@ instead of dh $@).
     Closes: #983492.
   * Alien/Package/Deb.pm: Fix incorrect file installation path.
     This fixes the bug in manual override_dh_auto_install that files
     are placed under / instead of /usr/ (default prefix).
     Closes: #985835.
   * Alien/Package/Rpm.pm: Also map aarch64 in rpm to arm64 in deb.
     This fixes conversion of aarch64 rpm packages.
     Closes: #985808.
Checksums-Sha1:
 56b0e90f03556fbc247302b033e5d2bea1f85f9f 1542 alien_8.95.4.dsc
 abb15df6e5b5ae752d49a2918e9833a81906c589 57916 alien_8.95.4.tar.xz
 b091fdbd6508868ec3b6693ced52b89a843e20a7 5564 alien_8.95.4_amd64.buildinfo
Checksums-Sha256:
 758776520527aad0f67c888217f56114302f4fe0b85068dba1cc1acdfd204ecf 1542 alien_8.95.4.dsc
 90a8ff9aad81af3e43aa15dca31ce89625e76287a72ed92f2ca0b40941ccd1cc 57916 alien_8.95.4.tar.xz
 96d8caaa0d2adb478907ba45aac3dc15cffe4524111630b16f9bd0367f853c38 5564 alien_8.95.4_amd64.buildinfo
Files:
 075b779e7a848db14aec8059994e47a6 1542 admin optional alien_8.95.4.dsc
 d19d4b3c8bddcaec6b710e5bce9ce0bc 57916 admin optional alien_8.95.4.tar.xz
 ef7b062bb7b62f404c898fa5f349db42 5564 admin optional alien_8.95.4_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmBuDOoACgkQwpPntGGC
Ws707BAAg0uR41/oizchgxs+qGtWAZjEJl7JXX2A21fTlmg9nJ7Im9NZ92FuiMAX
ffFFFFzBcD7IVmTr4vsUvH2xLWHvsVJRAHXWOjK55SAabqux6qqDjA1wBRWIxVa3
HeZVggjLpRXZmA1tw5hV8RhBT5P4wdsN76XwwmECSpRksc6Wc7zFb3ppRGWpV72i
UTBWxDULjiP/Vg4PWLWxT40tGRqd/MGa5oD7olpD2xOdBWLWfDV3sSvBsiCZve5X
o8bXXOxcTrHP4yM7j+IVgqY2oi2F7dtC+TCyzW6NQRzzfhQlMw0u5Irg5aT3My+r
kDY3rzH2dM0F9tLTmEhZqzk4vp3H6sfw7uXwys6/jbhIvhqgjj7TWzyFCfTo/bjr
VuwI30/2Lidtsyt9VBt0mir7PacX1R8As10QCBhfziof6XkrEHQ+Wqpep179dL81
mttlnFLgAv+yaThnALRG89ov06FifP4+J1Hm9npkrMgr7z52rAwbM396tPYyUcL9
m2AIyDBPl4SBn59kmNUKMIMfJAag68XyHlWJgRFNPbr3C/5fvQb9qIOYzQP7t/vr
YqNjWB6VU2jIoKLy2P4uRcDO6Uo8K12VIsSWo9t3rxhBWBa5NxVRVwNTv3eCqPTd
v1RoebtFP5YBrJFi7nhPA9Jq0hzOQX1fv1dcz0wEexzJhO7n5Lg=
=fFms
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: