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

Bug#992188: marked as done (alien: Fails to create packages that place files in /usr/local)



Your message dated Sun, 22 Aug 2021 05:48:32 +0000
with message-id <E1mHgLQ-000Buk-0p@fasolo.debian.org>
and subject line Bug#992188: fixed in alien 8.95.5
has caused the Debian Bug report #992188,
regarding alien: Fails to create packages that place files in /usr/local
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.)


-- 
992188: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992188
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: alien
Version: 8.95.4
Severity: normal
X-Debbugs-Cc: robn@despairlabs.com

Dear Maintainer,

Severity: normal

Dear Maintainer,

We build a number of local packages installing to /usr/local in a
chroot, creating a tarball, then running alien to produce a .deb file.

Since bullseye, packages fail to build, eg:

  # debian/rules binary
  dh binary
     dh_testroot
     dh_prep
     debian/rules override_dh_auto_install
  make[1]: Entering directory '/usr/src/nginx-build/nginx-fastmail-9:1fmbullseye75159-1.20.1-fastmail'
  mkdir -p debian/nginx-fastmail
  # Copy the packages's files.
  find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
  >-sed -e s#'./'##g | \
  >-xargs -0 -r -i cp -a ./{} debian/nginx-fastmail/{}
  make[1]: Leaving directory '/usr/src/nginx-build/nginx-fastmail-9:1fmbullseye75159-1.20.1-fastmail'
     dh_installdocs
     dh_installchangelogs
     dh_perl
     dh_usrlocal
  dh_usrlocal: error: debian/nginx-fastmail/usr/local/nginx/conf/fastcgi.conf is not a directory
  make: *** [debian/rules:7: binary] Error 255

The easiest workaround seems to be to add:

  override_dh_usrlocal:

to the generated debian/rules.

I understand that files in /usr/local is against Debian policy, but
these aren't packages for Debian proper, and there's no telling what
might be included inside the source package.

Cheers,
Rob N.

-- System Information:
Debian Release: 11.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-10-cloud-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

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

alien recommends no packages.

Versions of packages alien suggests:
ii  bzip2            1.0.8-4
ii  lintian          2.104.0
ii  patch            2.7.6-7
ii  xz-utils [lzma]  5.2.5-2

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_CTYPE = "C.UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

--- End Message ---
--- Begin Message ---
Source: alien
Source-Version: 8.95.5
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 992188@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: Sun, 22 Aug 2021 01:14:58 -0400
Source: alien
Architecture: source
Version: 8.95.5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 992188
Changes:
 alien (8.95.5) unstable; urgency=medium
 .
   * QA upload.
   * Alien/Package/Deb.pm: Do not fail when dh_usrlocal returns
     with nonzero value. A warning (shown in --veryverbose)
     is generated instead. (Closes: #992188)
Checksums-Sha1:
 e9d3c5aa6cabec09cc0552809b9edd3d146c60f2 1542 alien_8.95.5.dsc
 a8aac202790e97eeed60637fac665d2e3f484602 58024 alien_8.95.5.tar.xz
 b6cab0606114f95dffda5d9021120475e47bc07b 5604 alien_8.95.5_amd64.buildinfo
Checksums-Sha256:
 3e980dede470da8e5bf800dea8fd77797f09136ca07f97962bc6613c82300afd 1542 alien_8.95.5.dsc
 57b261d38fdaf31448de444006a2372be4664a58ff2e3b51c5c0e72509d08bbc 58024 alien_8.95.5.tar.xz
 0c6838523815e02c61febc197dcfc0d1da9b7fcfb082b594521c068d415b02f0 5604 alien_8.95.5_amd64.buildinfo
Files:
 12a2ef213137e104270351af9ee2d616 1542 admin optional alien_8.95.5.dsc
 3916e7bd76046a743682723a31ef18c2 58024 admin optional alien_8.95.5.tar.xz
 90c8bf4bdf2681ef87b6a7c49db22829 5604 admin optional alien_8.95.5_amd64.buildinfo

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

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmEh4OcACgkQwpPntGGC
Ws5fiRAArwpj2o3WeJfcuNVjL4M2wACtUxocNsayxHfpMjOfbZbogDQpraZig4fw
2YQIKJPL3b8cBqoLTdEjmMg+3ZspgNbiEn/v65gSNrNq+hPpkr1jA0DJtNPyqpAp
LB3UqhbFjl3eWnVhU/y9tQwziSw3wP9g6OekZEF3xaKDI226c4Gf7YsFZv/YJKcZ
rmEQIZwRkDC8uedQooOvUSrdPM9VenMzOJQtckPTz/1WGX95Ein5IRpSrLQhhUmw
ilwXYL6dnXUT7a5IxVnXqkZ+/bcWNALiXjWxjQo5EQurvoskfJmeGFeiFMpK6a1s
cDpaXxQnykEV/cfGYXGFyiOCE6y0exN0EnYARUKEssIG8EhUJngX4dJICEFb796i
62uHThDXQd1xBnV9baJ8Q5gVuYCZFjiP+D6IFImoeMjzcV4BV65uALT9/0gpYqXD
C17MLhfVx1vEgxmx1Zt7UEcdTvSkJBYB9BjV6BZAjt3rPDuiyFaq+uqDYKT5r9n2
/V8kYn5izGhTZXmHcyiosNZHqC61Fum2se91hfDlhIJMKPcStq4SsdxZoumLcP5p
E+JxJ+ZKB0L75mtpBMNAl4ay3ej/KWVIvKC5nhKAbX9FnEpRWRais1pJHWntlhM6
4LwEP+M5AVZqYPrtIM7gp4lwQise9q5DrwEk20QLMe99LM8QhCU=
=78tm
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: