Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #952522

Bug#926161: sbuild fails to build packages for wheezy ELTS

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#926161: sbuild fails to build packages for wheezy ELTS
Date Mon, 01 Apr 2019 12:30:04 +0200
Message-ID <xI2mw-O2-13@gated-at.bofh.it> (permalink)
X-Original-To submit@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Mon Apr 1 10:27:10 2019
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.199
Reply-To Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 926161@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc sbuild maintainers <sbuild@packages.debian.org>
X-Debian-Pr-Message report 926161
X-Debian-Pr-Package sbuild
X-Debian-Pr-Source sbuild
X-Spam-Bayes score:0.0000 Tokens: new, 24; hammy, 150; neutral, 171; spammy, 0. spammytokens: hammytokens:0.000-+--H*ct:application, 0.000-+--H*ct:protocol, 0.000-+--H*ct:micalg, 0.000-+--H*ct:signed, 0.000-+--H*ct:pgp-signature
User-Agent Horde Application Framework 5
Accept-Language de,en
Organization DAS-NETZWERKTEAM
X-Originating-IP 90.187.115.117
X-Remote-Browser Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Content-Type multipart/signed; boundary="=_enlXzsl6nQIl2iowzWYU4k6"; protocol="application/pgp-signature"; micalg=pgp-sha256
MIME-Version 1.0
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1530410
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 127
Sender robomod@news.nic.it
X-Original-Date Mon, 01 Apr 2019 10:22:42 +0000
X-Original-Message-ID <20190401102242.Horde.cjkhASB4yBHSKT8l0BnfBzF@mail.das-netzwerkteam.de>
Xref csiph.com linux.debian.bugs.dist:952522

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: sbuild
Version: 0.78.1-1
Severity: important

Hi,

the members of the Freexian Extended LTS team need to be able to build  
packages for wheezy.

I have recently upgraded my notebook to Debian 10 (pre) and from then  
on it failed building packages for wheezy-lts via sbuild.

```
+------------------------------------------------------------------------------+
| Install package build dependencies                                    
         |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper (>= 9), libpam0g-dev, libselinux1-dev,  
libaudit-dev, build-essential, fakeroot
Filtered Build-Depends: debhelper (>= 9), libpam0g-dev,  
libselinux1-dev, libaudit-dev, build-essential, fakeroot
dpkg-deb: building package `sbuild-build-depends-main-dummy' in  
`/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'.
gzip: unrecognized option '--keep'
Try `gzip --help' for more information.
gzip failed: 256
E: cannot create dummy archive
Failed to run apt-ftparchive.
E: Setting up apt archive failed
```

I currently run a slightly patched version of sbuild (.debdiff is  
attached). With the below patch, I can build packages for wheezy again:

```
diff -Nru sbuild-0.78.1/debian/patches/support-gzip-in-wheezy.patch  
sbuild-0.78.1/debian/patches/support-gzip-in-wheezy.patch
---  
sbuild-0.78.1/debian/patches/support-gzip-in-wheezy.patch	1970-01-01  
01:00:00.000000000 +0100
+++  
sbuild-0.78.1/debian/patches/support-gzip-in-wheezy.patch	2019-04-01  
11:33:06.000000000 +0200
@@ -0,0 +1,16 @@
+Description: gzip in wheezy lacks --keep option, so avoid using it.
+Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+
+--- a/lib/Sbuild/ResolverBase.pm
++++ b/lib/Sbuild/ResolverBase.pm
+@@ -1445,8 +1445,8 @@
+     closedir($dh);
+ }
+
+-system('gzip', '--keep', '--force', 'Packages') == 0 or die "gzip  
failed: $?\n";
+-system('gzip', '--keep', '--force', 'Sources') == 0 or die "gzip  
failed: $?\n";
++system('gzip -c --force Packages > Packages.gz') == 0 or die "gzip  
failed: $?\n";
++system('gzip -c --force Sources  > Sources.gz' ) == 0 or die "gzip  
failed: $?\n";
+
+ my $packages_md5 = hash_file('Packages', 'md5sum');
+ my $sources_md5 = hash_file('Sources', 'md5sum');
```

Thanks+Greets,
Mike
-- 

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#926161: sbuild fails to build packages for wheezy ELTS Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - 2019-04-01 12:30 +0200
  Bug#926161: here comes the .debdiff Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - 2019-04-01 12:50 +0200
  Bug#926161: sbuild fails to build packages for wheezy ELTS Johannes Schauer <josch@debian.org> - 2019-04-01 13:00 +0200
    Bug#926161: sbuild fails to build packages for wheezy ELTS Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - 2019-04-01 13:10 +0200
      Bug#926161: sbuild fails to build packages for wheezy ELTS Johannes Schauer <josch@debian.org> - 2019-04-01 13:30 +0200
  Bug#926161: sbuild fails to build packages for wheezy ELTS Mike Gabriel <mike.gabriel@das-netzwerkteam.de> - 2019-04-02 11:00 +0200
    Bug#923484: Bug#926161: sbuild fails to build packages for wheezy ELTS Johannes Schauer <josch@debian.org> - 2019-04-03 17:00 +0200

csiph-web