Mysterious uscan problem
uscan is doing something very strange with version numbers and I don't understand what's going on. Is it obvious to anyone else how to make this work? The package is mbedtls. Which is on github. The existing version was only looking for LTS v2.28.x but that's out of date, so I changed it to look for v?@ANY_VERSION@, following current pattern on https://wiki.debian.org/debian/watch#GitHub However, whilst it now finds the current v3.5.0 it insists that the version number is 3.5.0.3.5.0 So it downloads mbedtls-3.5.0.tar.gz but symlinks it as mbedtls_3.5.0.3.5.0.orig.tar.gz and then proceeds to put 3.5.0.3.5.0 for the version everywhere, which is clearly wrong. This is my watch file: version=4 opts="searchmode=plain, \ filenamemangle=s%v?@ANY_VERSION@%mbedtls-$1\.tar\.gz%, \ pgpmode=none" \ https://api.github.com/repos/Mbed-TLS/mbedtls/tags \ https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v(@ANY_VERSION@) debian uupdate which is based on https://wiki.debian.org/debian/watch#GitHub (but using tags) below is the uscan --debug log: but I think the important bit is: scan info: Requesting URL: https://api.github.com/repos/Mbed-TLS/mbedtls/tags uscan info: Found the following matching hrefs on the web page (newest first): https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v3.5.0 (3.5.0.3.5.0) index=3.5.0.3.5.0-0 That bit in brackets is where it all seems to go wrong. The correct url is pulled out of the page but somehow the version is ascribed incorrectly. What exactly _is_ that number in brackets and how is it derived? Anyone got any insight into this? I've been messing with uscan for many years and this is the first time I've not been able to work out what's going on. $ uscan --debug uscan info: uscan (version 2.23.4) See uscan(1) for help uscan info: Scan watch files in . uscan debug: Found ./mbedtls-3.1.0/debian uscan debug: Found ./mbedtls-2.16.9-patches/debian uscan debug: Found ./mbedtls-2.16.6/debian uscan debug: Found ./mbedtls-2.28.0.uploaded2/debian uscan debug: Found ./mbedtls-2.16.9/debian uscan debug: Found ./mbedtls-2.16.5/debian uscan debug: Found ./mbedtls-2.28.0.uploaded/debian uscan debug: Found ./mbedtls-2.28.0/debian uscan info: Check debian/watch and debian/changelog in ./mbedtls-3.1.0 uscan info: package="mbedtls" version="3.1.0-1" (as seen in debian/changelog) uscan info: package="mbedtls" version="3.1.0" (no epoch/revision) uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.16.9-patches uscan info: package="mbedtls" version="2.16.9-0.1" (as seen in debian/changelog) uscan info: package="mbedtls" version="2.16.9" (no epoch/revision) uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.16.6 uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.28.0.uploaded2 uscan info: package="mbedtls" version="2.28.0-1" (as seen in debian/changelog) uscan info: package="mbedtls" version="2.28.0" (no epoch/revision) uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.16.9 uscan info: package="mbedtls" version="2.16.9-0.1" (as seen in debian/changelog) uscan info: package="mbedtls" version="2.16.9" (no epoch/revision) uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.16.5 uscan info: package="mbedtls" version="2.16.5-1" (as seen in debian/changelog) uscan info: package="mbedtls" version="2.16.5" (no epoch/revision) uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.28.0.uploaded uscan info: package="mbedtls" version="2.28.0-0.2" (as seen in debian/changelog) uscan info: package="mbedtls" version="2.28.0" (no epoch/revision) uscan info: Check debian/watch and debian/changelog in ./mbedtls-2.28.0 uscan info: package="mbedtls" version="2.28.0-1" (as seen in debian/changelog) uscan info: package="mbedtls" version="2.28.0" (no epoch/revision) uscan info: ./mbedtls-3.1.0/debian/changelog sets package="mbedtls" version="3.1.0" uscan info: ./mbedtls-2.28.0.uploaded2/debian/changelog sets package="mbedtls" version="2.28.0" uscan info: ./mbedtls-2.28.0/debian/changelog sets package="mbedtls" version="2.28.0" uscan info: ./mbedtls-2.28.0.uploaded/debian/changelog sets package="mbedtls" version="2.28.0" uscan info: ./mbedtls-2.16.9-patches/debian/changelog sets package="mbedtls" version="2.16.9" uscan info: ./mbedtls-2.16.9/debian/changelog sets package="mbedtls" version="2.16.9" uscan info: ./mbedtls-2.16.5/debian/changelog sets package="mbedtls" version="2.16.5" uscan info: Process watch file at: debian/watch package = mbedtls version = 3.1.0 pkg_dir = ./mbedtls-3.1.0 uscan debug: parse line opts="searchmode=plain, filenamemangle=s%v?(?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))%mbedtls-$1\.tar\.gz%, pgpmode=none" https://api.github.com/repos/Mbed-TLS/mbedtls/tags https://api.github.com/repos/Mbed-TLS/mbedtls/tarball/refs/tags/v((?:[-_]?v?(\d[\-+\.:\~\da-zA-Z]*))) debian uupdate uscan info: opts: searchmode=plain,
Bug#1054320: RFS: onefetch/2.18.1-1 [ITP] -- Command-line Git information tool
Control: tags -1 moreinfo Hi Ossama, On Sat, Oct 21, 2023 at 05:40:26PM +, Ossama Hjaji wrote: > Package: sponsorship-requests > Severity: wishlist > > Dear mentors, > > I am looking for a sponsor for my package "onefetch": > > * Package name : onefetch >Version : 2.18.1-1 >Upstream contact : Ossama Hjaji > * URL : https://github.com/o2sh/onefetch > * License : MIT > * Vcs : https://salsa.debian.org/o2sh/onefetch >Section : utils > > The source builds the following binary packages: > > onefetch - Command-line Git information tool > > To access further information about this package, please visit the following > URL: > > https://mentors.debian.net/package/onefetch/ > > Alternatively, you can download the package with 'dget' using this command: > > dget -x > https://mentors.debian.net/debian/pool/main/o/onefetch/onefetch_2.18.1-1.dsc > > Changes for the initial release: > > onefetch (2.18.1-1) unstable; urgency=medium > . >* 2.18.1 release (Closes: #943720). > > Regards, > -- > Ossama Hjaji A small look at your package. Please note that I am not familiar with Rust, so I won't sponsor the upload. You might want to reach out to the Rust packaging team. (https://wiki.debian.org/Teams/RustPackaging). Check also their rust packaging policy, As you are upstream: https://wiki.debian.org/UpstreamGuide - it build-depends on CMake, but I don't see any CMakeLists.txt - you cannot vendor dependencies. (file: debian/vendor.tar.gz) all external dependencies must be pulled in by Debian packages. - d/onefetch-docs.docs mentions non-existing files. - d/changelog: the only entry for the initial upload should just read "Initial release (Closes: #ITP-bug)" (That it is the 2.18 release is redundant.) lintian: I spelling-error-in-binary Afe Safe [usr/bin/onefetch] extention extension [usr/bin/onefetch] P package-uses-old-debhelper-compat-version 11 P silent-on-rules-requiring-root [debian/control] P trailing-whitespace [debian/changelog:6] [debian/rules:16] P uses-debhelper-compat-file [debian/compat] -- tobi
Re: Re: Cannot create chroots with cowbuilder because of usr-is-merged
Hi Luca, Am Mon, Oct 30, 2023 at 05:50:19PM + schrieb Luca Boccassi: Try DEBOOTSTRAPOPTS="--merged-usr" in your ~/.pbuilderrc In trixie and sid, all chroots, including those to build packages, are already supposed to be usr-merged. Enabling proposed-updates on Debian 11 or 12, to get the new debootstrap, will also allow to create new unstable/testing chroots out of the box, without config changes.a Thanks a lot,that helped. Still on bookworm here. Best, Markus
Re: Cannot create chroots with cowbuilder because of usr-is-merged
El 30/10/23 a las 18:42, Andrey Rakhmatullin escribió: What's the recommended way to convert ones created earlier? Recreate? Install usrmerge? In this case I'd recommend recreating the chroots, if only because after this change in debootstrap the chroot will be cleaner: https://tracker.debian.org/news/1472578/accepted-debootstrap-10133-source-into-unstable/ Thanks.
Re: Re: Cannot create chroots with cowbuilder because of usr-is-merged
> Try > DEBOOTSTRAPOPTS="--merged-usr" > > in your ~/.pbuilderrc > > In trixie and sid, all chroots, including those to build packages, > are already supposed > to be usr-merged. Enabling proposed-updates on Debian 11 or 12, to get the new debootstrap, will also allow to create new unstable/testing chroots out of the box, without config changes. -- Kind regards, Luca Boccassi signature.asc Description: This is a digitally signed message part
Re: Cannot create chroots with cowbuilder because of usr-is-merged
On Mon, Oct 30, 2023 at 06:18:42PM +0100, Santiago Vila wrote: > > W: See /var/cache/pbuilder/base.cow/debootstrap/debootstrap.log for details > > (possibly the package /var/cache/apt/archives/usr-is-merged_38_all.deb is > > at fault) > > Try > DEBOOTSTRAPOPTS="--merged-usr" > > in your ~/.pbuilderrc > > In trixie and sid, all chroots, including those to build packages, are > already supposed > to be usr-merged. What's the recommended way to convert ones created earlier? Recreate? Install usrmerge?
Re: Cannot create chroots with cowbuilder because of usr-is-merged
El 30/10/23 a las 17:21, Markus Blatt escribió: W: See /var/cache/pbuilder/base.cow/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/usr-is-merged_38_all.deb is at fault) Try DEBOOTSTRAPOPTS="--merged-usr" in your ~/.pbuilderrc In trixie and sid, all chroots, including those to build packages, are already supposed to be usr-merged. Thanks.
Cannot create chroots with cowbuilder because of usr-is-merged
Hi, I cannot create or update chroots (for sid or unstable) with cowbuilder anymore, neither on Debian 12 nor 11. $ sudo cowbuilder create I: Invoking pbuilder I: forking: pbuilder create --buildplace /var/cache/pbuilder/base.cow --mirror http://ftp.de.debian.org/debian/ --distribution sid --no-targz --extrapackages cowdancer W: /root/.pbuilderrc does not exist I: Running in no-targz mode I: Distribution is sid. I: Current time: Mon Oct 30 17:13:56 CET 2023 I: pbuilder-time-stamp: 1698682436 I: Building the build environment I: running debootstrap /usr/sbin/debootstrap I: Target architecture can be executed I: Retrieving InRelease I: Checking Release signature I: Valid Release signature (key id 4CB50190207B4758A3F73A796ED0E7B82643E131) I: Retrieving Packages ... I: Unpacking usr-is-merged... I: Unpacking zlib1g:amd64... W: Failure while unpacking required packages. This will be attempted up to five times. W: See /var/cache/pbuilder/base.cow/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/usr-is-merged_38_all.deb is at fault) (this is tried another 4 times) ... I: Unpacking zlib1g:amd64... W: Failure while unpacking required packages. This will be attempted up to five times. W: See /var/cache/pbuilder/base.cow/debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/usr-is-merged_38_all.deb is at fault) E: debootstrap failed E: Tail of debootstrap.log: util-linux pre-depends on libmount1 (>= 2.39.1) libmount1:amd64 is unpacked, but has never been configured. dpkg: warning: ignoring pre-dependency problem! dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem: util-linux pre-depends on libpam0g (>= 0.99.7.1) libpam0g:amd64 is unpacked, but has never been configured. dpkg: warning: ignoring pre-dependency problem! dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem: util-linux pre-depends on libselinux1 (>= 3.1~) libselinux1:amd64 is unpacked, but has never been configured. dpkg: warning: ignoring pre-dependency problem! dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem: util-linux pre-depends on libsmartcols1 (>= 2.38) libsmartcols1:amd64 is unpacked, but has never been configured. dpkg: warning: ignoring pre-dependency problem! dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem: util-linux pre-depends on libsystemd0 libsystemd0:amd64 is unpacked, but has never been configured. dpkg: warning: ignoring pre-dependency problem! dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem: util-linux pre-depends on libtinfo6 (>= 6) libtinfo6:amd64 is unpacked, but has never been configured. dpkg: warning: ignoring pre-dependency problem! dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem: util-linux pre-depends on libudev1 (>= 183) libudev1:amd64 is unpacked, but has never been configured. dpkg: warning: ignoring pre-dependency problem! dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem: util-linux pre-depends on libuuid1 (>= 2.16) libuuid1:amd64 is unpacked, but has never been configured. dpkg: warning: ignoring pre-dependency problem! dpkg: regarding .../util-linux_2.39.2-4_amd64.deb containing util-linux, pre-dependency problem: util-linux pre-depends on zlib1g (>= 1:1.1.4) zlib1g:amd64 is unpacked, but has never been configured. dpkg: warning: ignoring pre-dependency problem! Preparing to unpack .../util-linux_2.39.2-4_amd64.deb ... Unpacking util-linux (2.39.2-4) over (2.39.2-4) ... Preparing to unpack .../zlib1g_1%3a1.2.13.dfsg-3_amd64.deb ... Unpacking zlib1g:amd64 (1:1.2.13.dfsg-3) over (1:1.2.13.dfsg-3) ... Errors were encountered while processing: /var/cache/apt/archives/usr-is-merged_38_all.deb E: End of debootstrap.log W: Aborting with an error E: pbuilder create failed I: forking: rm -rf /var/cache/pbuilder/base.cow Any ideas what I might be doing wrong? Thanks a lot for the help. Best, Markus
Re: Upload commands to debomatic-amd64
On 2023-10-30 Mathieu Malaterre wrote: > Dear all, > I am trying to follow documentation from: > * http://debomatic-amd64.debian.net/ > and: > * > https://deb-o-matic.readthedocs.io/en/stable/upload.html#prepare-command-files > Which does not seems to be working for me today; > % dcut -U debomatic jxl.commands > usage: dcut [-h] [-d] [-f] [-c FILE] [-m MAINTAINER] [-k KEYID] [-S] > [-O FILENAME] [-P] [-s] [-v] > [HOST] > {debomatic-binnmu,debomatic-builddep,debomatic-kill,debomatic-porter,debomatic-rebuild,debomatic-rm} > ... > dcut: error: argument [...] > % apt-cache policy dput-ng > dput-ng: [...] Looks like you are reading docs for dput but have dput-ng installed. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
Upload commands to debomatic-amd64
Dear all, I am trying to follow documentation from: * http://debomatic-amd64.debian.net/ and: * https://deb-o-matic.readthedocs.io/en/stable/upload.html#prepare-command-files Which does not seems to be working for me today; % dcut -U debomatic jxl.commands usage: dcut [-h] [-d] [-f] [-c FILE] [-m MAINTAINER] [-k KEYID] [-S] [-O FILENAME] [-P] [-s] [-v] [HOST] {debomatic-binnmu,debomatic-builddep,debomatic-kill,debomatic-porter,debomatic-rebuild,debomatic-rm} ... dcut: error: argument {debomatic-binnmu,debomatic-builddep,debomatic-kill,debomatic-porter,debomatic-rebuild,debomatic-rm}: invalid choice: 'jxl.commands' (choose from 'debomatic-binnmu', 'debomatic-builddep', 'debomatic-kill', 'debomatic-porter', 'debomatic-rebuild', 'debomatic-rm') Would anyone spot the issue ? Thanks For reference: % cat /etc/dput.d/profiles/debomatic.json { "allow_dcut": true, "meta": "debomatic", "fqdn": "debomatic-amd64.debian.net", "incoming": "/srv/debomatic-amd64", "login": "debomatic", "method": "sftp", "check-debs": { "skip": true } } % apt-cache policy dput-ng dput-ng: Installed: 1.35+deb12u1 Candidate: 1.35+deb12u1 Version table: *** 1.35+deb12u1 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages 500 http://deb.debian.org/debian bookworm/main i386 Packages 100 /var/lib/dpkg/status % cat jxl.commands rebuild ffmpeg_7:6.0-7 unstable experimental rebuild geeqie_1:2.1-1 unstable experimental rebuild gimp_2.10.34-1 unstable experimental rebuild graphicsmagick_1.4+really1.3.42-1 unstable experimental rebuild imlib2_1.12.1-1 unstable experimental rebuild kimageformats_5.107.0-3 unstable experimental rebuild krita_1:5.2.0+dfsg-1 unstable experimental rebuild swayimg_1.12-1 unstable experimental rebuild vips_8.14.5-1 unstable experimental rebuild webkit2gtk_2.42.1-2 unstable experimental rebuild wpewebkit_2.42.1-1 unstable experimental