[15094] in athena10
Bug#873966: marked as done (config-package-dev: transform
daemon@ATHENA.MIT.EDU (Debian Bug Tracking System)
Fri Sep 1 18:24:24 2017
MIME-Version: 1.0
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Geoffrey Thomas <geofft@mit.edu>
Message-ID: <handler.873966.D873966.15043044884943.ackdone@bugs.debian.org>
Reply-To: 873966@bugs.debian.org
Date: Fri, 01 Sep 2017 22:24:10 +0000
Content-Type: multipart/mixed; boundary="----------=_1504304650-5412-0"
This is a multi-part message in MIME format...
------------=_1504304650-5412-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
Your message dated Fri, 01 Sep 2017 22:21:26 +0000
with message-id <E1dnuJa-0009m7-Sw@fasolo.debian.org>
and subject line Bug#873966: fixed in config-package-dev 5.3
has caused the Debian Bug report #873966,
regarding config-package-dev: transform operation error
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.)
--=20
873966: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D873966
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1504304650-5412-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 1 Sep 2017 17:23:09 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1-bugs.debian.org_2005_01_02
(2015-04-28) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-5.3 required=4.0 tests=DIGITS_LETTERS,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,FOURLA,FREEMAIL_FROM,HAS_PACKAGE,HTML_MESSAGE,
MD5_SHA1_SUM,MURPHY_DRUGS_REL8,RCVD_IN_DNSWL_LOW,SPF_PASS
autolearn=unavailable autolearn_force=no
version=3.4.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.5 spammytokens: hammytokens:
Return-path: <bruno.maitre@gmail.com>
Received: from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c])
by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.89)
(envelope-from <bruno.maitre@gmail.com>)
id 1dnpev-0005k3-48
for submit@bugs.debian.org; Fri, 01 Sep 2017 17:23:09 +0000
Received: by mail-io0-x22c.google.com with SMTP id b2so5500545iof.0
for <submit@bugs.debian.org>; Fri, 01 Sep 2017 10:23:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=mime-version:from:date:message-id:subject:to;
bh=0sudZJR5hcj83NYNAVa6n/v2EAtqbcsj8k+TzSwPJXc=;
b=bwIBz1UNB4aThZvufbdW3KrSXPJkJLs+SDY6LUyOhm4pTRDbZT2RU8c2G2yo9Q8KXc
EYQvB40gh8sEy+DnWBq9sKnC5NvXDPH3tUdD5lhJ1565mYFAfcMC44L/HRn509Q24USv
IHF/eWAF4wOb7u6+b0zcsktMLz5VAdtdlz6WhzfsV6bZaROOB2ILx2roOSYgUdQjHvlS
od/Z9MgmjH9+UpKY5Z+gbbv493x78UfgXrYqsbK8W0xA4VRBHw7Gs/dv/HEr23oH1pj+
Q92AOmfLwTgJ22tZ79xLpAR1AqCQ9b7rotEeQqPYMB5BkULNMGyXcXBrBTKZK2aHvZye
sEkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=0sudZJR5hcj83NYNAVa6n/v2EAtqbcsj8k+TzSwPJXc=;
b=fImKyzIGyTdIB3cOCtePQhfUFvFTzqvaXekyry4NX4bOtuoKt2jfrWaHhiILSkytEB
H9EkY4bzSozRDzilUqBqIdZFgp/FQAwHiTapnx2oWVEWvtTtPsVK4K7wTz2AkdGYjw8s
cUPGXmWwMb+KHfwxaFo4I1/jAIduur99NlEiNLG5aVRgULXVU8i44h1q84z+2z2qPPjk
OpvFNQ9/usBpaABCo6gqSxlWyWqVmvRMubs4NskIV9LRs6ZE539RnkvYi1zsgp3NR/M+
XgPPdzq5/xbOJxA5CCIgPhKyWBLaNldtZcMW0wsnLSM+4/oZZXh1OVKDjnXLhaYBQvWD
6FIQ==
X-Gm-Message-State: AHPjjUjLY0gltA2cPlMBi4l2mmL/bf3BlgdawN3JrfDACFHMRgUYUR+/
SGYjQ/2y1PpTzLF+Wi0XX0oZXIlN76GcSXw=
X-Google-Smtp-Source: ADKCNb7KjIyATjN+oLXSoXa+SDy8B9A07B87xKyqg5fO7aWDrwkDpTVbmjEIONbkPt/AXDk4owhsRLvLv0G1KYQP3eI=
X-Received: by 10.36.165.69 with SMTP id w5mr93663iti.40.1504286586930; Fri,
01 Sep 2017 10:23:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.129.210 with HTTP; Fri, 1 Sep 2017 10:22:26 -0700 (PDT)
From: Bruno Maitre <bruno.maitre@gmail.com>
Date: Fri, 1 Sep 2017 19:22:26 +0200
Message-ID: <CAAjYQmMptfowp0q_KQoGkZkLeKpHdEud18Ne2tQqe7T4EWXP3Q@mail.gmail.com>
Subject: config-package-dev: transform operation error
To: submit@bugs.debian.org
Content-Type: multipart/mixed; boundary="f403045fb750a7d9c9055824032b"
Delivered-To: submit@bugs.debian.org
--f403045fb750a7d9c9055824032b
Content-Type: multipart/alternative; boundary="f403045fb750a7d9c50558240329"
--f403045fb750a7d9c50558240329
Content-Type: text/plain; charset="UTF-8"
Package: config-package-dev
Version: 5.2
Severity: normal
Tags: patch
Dear Maintainer,
When using the transform operation dh_configpackage will output that kind
of error:
Can't use string ("/ARRAY(0x55f37e2c3080)") as an ARRAY ref while
"strict refs" in use at /usr/bin/dh_configpackage line 394.
This error has been introduced by the correction of:
#803962 : config-package-dev: Requires leading slashes un debian/*.displace
For this correction we iterrate through the differents operation arrays to
add a leading slash if needed.
The problem is that @transformfiles is an array of array since it's created
with filedoublearray function and not the filearray function like the others
operation arrays (which are simples arrays).
This lead to an add of a slash in front of the reference array ARRAY(0xXXX...)
as can be seen in the error message.
Subsequent processing of transformfiles results in an error.
I've attached a patch with a way to fix this issue by removing transformfiles
from the leading slashes verification loop and by checking leading slashes in
the treatment of transformfiles itself as it was done before.
Note that I've triggered the error in a Debian testing environment and
the stable version is not affected.
Best regards,
Bruno
-- System Information:
Debian Release: 9.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--f403045fb750a7d9c50558240329
Content-Type: text/html; charset="UTF-8"
<div dir="ltr"><pre class="gmail-aLF-aPX-K0-aPE">Package: config-package-dev
Version: 5.2
Severity: normal
Tags: patch
Dear Maintainer,
When using the transform operation dh_configpackage will output that kind
of error:
Can't use string ("/ARRAY(0x55f37e2c3080)") as an ARRAY ref while "strict refs" in use at /usr/bin/dh_configpackage line 394.
This error has been introduced by the correction of:
#803962 : config-package-dev: Requires leading slashes un debian/*.displace
For this correction we iterrate through the differents operation arrays to
add a leading slash if needed.
The problem is that @transformfiles is an array of array since it's created
with filedoublearray function and not the filearray function like the others
operation arrays (which are simples arrays).
This lead to an add of a slash in front of the reference array ARRAY(0xXXX...)
as can be seen in the error message.
Subsequent processing of transformfiles results in an error.
I've attached a patch with a way to fix this issue by removing transformfiles
from the leading slashes verification loop and by checking leading slashes in
the treatment of transformfiles itself as it was done before.
Note that I've triggered the error in a Debian testing environment and
the stable version is not affected.
Best regards,<br>Bruno<br>
-- System Information:
Debian Release: 9.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)</pre></div>
--f403045fb750a7d9c50558240329--
--f403045fb750a7d9c9055824032b
Content-Type: text/x-diff; charset="US-ASCII";
name="0001-dh_configpackage-Fix-leading-slashes-check-for-the-t.patch"
Content-Disposition: attachment;
filename="0001-dh_configpackage-Fix-leading-slashes-check-for-the-t.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_j7257e1b0
RnJvbSA0MWJkNDExYjQxMDQ5ODJmMDVkNjNiN2UxNzM4NTkxYmEzNTdhYjdhIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBCcnVubyBNYWl0cmUgPGJydW5vLm1haXRyZUBnbWFpbC5jb20+
CkRhdGU6IEZyaSwgMSBTZXAgMjAxNyAxNzoyNTowOSArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIGRo
X2NvbmZpZ3BhY2thZ2U6IEZpeCBsZWFkaW5nIHNsYXNoZXMgY2hlY2sgZm9yIHRoZSB0cmFuc2Zv
cm0KIG9wZXJhdGlvbgoKLS0tCiBkaF9jb25maWdwYWNrYWdlIHwgMyArKy0KIDEgZmlsZSBjaGFu
Z2VkLCAyIGluc2VydGlvbnMoKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9kaF9jb25m
aWdwYWNrYWdlIGIvZGhfY29uZmlncGFja2FnZQppbmRleCBiYTFiMDYwLi5hYjZmMDY3IDEwMDc1
NQotLS0gYS9kaF9jb25maWdwYWNrYWdlCisrKyBiL2RoX2NvbmZpZ3BhY2thZ2UKQEAgLTM3Niw3
ICszNzYsNyBAQCBmb3JlYWNoIG15ICRwYWNrYWdlIChAeyRkaHtET1BBQ0tBR0VTfX0pIHsKICAg
ICAgICAgQHRyYW5zZm9ybWZpbGVzID0gZmlsZWRvdWJsZWFycmF5KCR0cmFuc2Zvcm1maWxlKSBp
ZiAkdHJhbnNmb3JtZmlsZTsKICAgICB9CiAKLSAgICBmb3JlYWNoIG15ICRsaXN0cmVmIChcQGRp
c3BsYWNlZmlsZXMsIFxAaGlkZWZpbGVzLCBcQHVuZGlzcGxhY2VmaWxlcywgXEB1bmhpZGVmaWxl
cywgXEB0cmFuc2Zvcm1maWxlcykgeworICAgIGZvcmVhY2ggbXkgJGxpc3RyZWYgKFxAZGlzcGxh
Y2VmaWxlcywgXEBoaWRlZmlsZXMsIFxAdW5kaXNwbGFjZWZpbGVzLCBcQHVuaGlkZWZpbGVzKSB7
CiAgICAgICAgIGZvcmVhY2ggbXkgJGZpbGUgKEAkbGlzdHJlZikgewogICAgICAgICAgICAgJGZp
bGUgPX4gc3xeLz98L3w7CiAgICAgICAgIH0KQEAgLTM5Miw2ICszOTIsNyBAQCBmb3JlYWNoIG15
ICRwYWNrYWdlIChAeyRkaHtET1BBQ0tBR0VTfX0pIHsKIAogICAgIGZvcmVhY2ggbXkgJGxpbmUg
KEB0cmFuc2Zvcm1maWxlcykgewogICAgICAgICBteSAkZmlsZSA9IHNoaWZ0IEAkbGluZTsKKyAg
ICAgICAgJGZpbGUgPX4gc3xeLz98L3w7CiAgICAgICAgIG15ICRzb3VyY2U7CiAgICAgICAgIG15
ICRzb3VyY2VfaXNfbG9jYWwgPSAwOwogICAgICAgICBpZiAoQCRsaW5lWzBdID1+IC9ePC8pIHsK
LS0gCjIuMTEuMAoK
--f403045fb750a7d9c9055824032b--
------------=_1504304650-5412-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 873966-close) by bugs.debian.org; 1 Sep 2017 22:21:28 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1-bugs.debian.org_2005_01_02
(2015-04-28) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-7.9 required=4.0 tests=DIGITS_LETTERS,FOURLA,
FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,HEADER_FROM_DIFFERENT_DOMAINS,MD5_SHA1_SUM,
MURPHY_DRUGS_REL8,PGPSIGNATURE,RP_MATCHES_RCVD autolearn=unavailable
autolearn_force=no version=3.4.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.5 spammytokens: hammytokens:
Return-path: <envelope@ftp-master.debian.org>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33])
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=muffat.debian.org,EMAIL=hostmaster@muffat.debian.org (verified)
by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.89)
(envelope-from <envelope@ftp-master.debian.org>)
id 1dnuJc-0001HY-Qg
for 873966-close@bugs.debian.org; Fri, 01 Sep 2017 22:21:28 +0000
Received: from [138.16.160.17] (helo=fasolo.debian.org)
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
by muffat.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.89)
(envelope-from <envelope@ftp-master.debian.org>)
id 1dnuJc-0001Xm-96; Fri, 01 Sep 2017 22:21:28 +0000
Received: from dak by fasolo.debian.org with local (Exim 4.84_2)
(envelope-from <envelope@ftp-master.debian.org>)
id 1dnuJa-0009m7-Sw; Fri, 01 Sep 2017 22:21:26 +0000
From: Geoffrey Thomas <geofft@mit.edu>
To: 873966-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: config-package-dev
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Subject: Bug#873966: fixed in config-package-dev 5.3
Message-Id: <E1dnuJa-0009m7-Sw@fasolo.debian.org>
Date: Fri, 01 Sep 2017 22:21:26 +0000
Source: config-package-dev
Source-Version: 5.3
We believe that the bug you reported is fixed in the latest version of
config-package-dev, 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 873966@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Geoffrey Thomas <geofft@mit.edu> (supplier of updated config-package-dev 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: SHA256
Format: 1.8
Date: Fri, 01 Sep 2017 14:39:35 -0400
Source: config-package-dev
Binary: config-package-dev
Architecture: source
Version: 5.3
Distribution: unstable
Urgency: high
Maintainer: Debathena Project <debathena@mit.edu>
Changed-By: Geoffrey Thomas <geofft@mit.edu>
Description:
config-package-dev - Debhelper (and CDBS) modules for building configuration packages
Closes: 873966
Changes:
config-package-dev (5.3) unstable; urgency=high
.
* Fix a regression in the change that permitted omission of leading
slashes, which completely broke transforms (Closes: #873966). Thanks
to Bruno Maitre for the report and the patch.
* Fix the paths in the two transform examples to work with the current
version of lynx.
* Update Standards-Version to 4.1.0 by changing priority from "extra"
to "optional".
Checksums-Sha1:
139c4c0590aa53b3370bde516772c0b4beeac5f8 1726 config-package-dev_5.3.dsc
bc404117691ac1907f0902aff75fada0ad9be2cf 21540 config-package-dev_5.3.tar.xz
Checksums-Sha256:
bf79416ae9e70c9de3539ec56f265196fc58b6e08b4796ae3b43d0ddfa5f128b 1726 config-package-dev_5.3.dsc
0be8fa7415d925144abbbcc85b64179d41834545abecde7adba1628d57424661 21540 config-package-dev_5.3.tar.xz
Files:
9aa7dd1f0dab422e958c179c35883c21 1726 devel optional config-package-dev_5.3.dsc
34064495d3c8b68d46d0a5c73763f44f 21540 devel optional config-package-dev_5.3.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJZqdd8AAoJEFxSRSZcQTUgi6wP/R9SsmKxtuM6926vjyg1ai5V
8pnlWi5S94/QnSp035Te/ioiMN2nYc7958epB8GLVAFhqSqArk3o8ZjY8OILU6/V
so3w5SGYiM58+FX/Ctjx1nN1tjtdOV6LByi+PB6yIVvbdeInzv3MJgnW8P2NfwkU
ybJMCx7d6UVdVOExhFO7Ilvi8nXVjhkEAeoGFSJAdDEgZLjbQaQ8lbzV5dnoEu/4
DAjo7e0Vwcd0asDdpru2DuaSdrxFSnAWnXku/UwCRe5NCu72ownlTFKk13HKYu1A
TYplDfeXHOtL8TppN9YKbMsUS/IXpUF5GAert5Pm5y/tVGoD2AopTUZPD//KnC23
tL6JTU0GCqVKUBZH1vjUQm+nxsBCE+0moWtqCrtOUUW32eWow+s8u6C6QSYloiA3
sY10dv2481nTZS7h/AV21OZeWy0KNHZ0TUKeBzcjbeWAMpov6J29wTVoWjFjslL4
+50QUH++P08Xk0tY4istE+AiGfnX+e3LNahKW8M0hqtFNyT673erx0FTvFjzWW0e
LICiX/vsGR06yNzcaVFqslEt4WrJ97ZyiK5iU84uZDa6tiJsgDyBeQpY2beHQuOS
vc5046DdRkEBeSB3PHddEtJa2evT/xIe9FC7A/YQydjAxOxvsbVNIHwxH6fNWsED
65/Gow5EUlpU6l4E2ReC
=n750
-----END PGP SIGNATURE-----
------------=_1504304650-5412-0--