Bug#1027309: 回复: Bug#1027309: jetty9: dpkg-source died

min sun sunmin89 at outlook.com
Mon Jan 2 05:59:16 GMT 2023


Hi tony!

My host info are as follows:
uname -a
Linux Debian 5.10.102.1-microsoft-standard-WSL2+ #3 SMP Fri Apr 22 17:24:10 CST 2022 x86_64 GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux bookworm/sid
Release:        unstable
Codename:       sid

My sbuild env is created using this command:

sudo sbuild-createchroot --debootstrap=mmdebstrap --arch=amd64 \
        --include=debian-ports-archive-keyring,ca-certificates  \
        --make-sbuild-tarball=/srv/chroots/sid-amd64-sbuild.tgz \
        sid /tmp/chroots/sid-amd64-sbuild/ \
        http://ftp.ports.debian.org/debian-ports/

My build command is

#wsl2 need this
sudo update-binfmts –enable
sudo sbuild --source --arch=amd64 -c sid-amd64-sbuild

>1.  Pulling the source package and building in a clean sbuild chroot:
>$ apt-get source jetty9
>$ cd jetty9-9.4.50
> sbuild
Yes, it can build without any problem if the code is got from apt source.

apt source jetty9
cd jetty9-9.4.50
sudo sbuild --source --arch=amd64 -c sid-amd64-sbuild

I wonder why it fails if the code is cloned from salsa (using the same build command).

Here I attatched the full build log.



发件人: tony mancill<mailto:tmancill at debian.org>
发送时间: 2023年1月2日 6:19
收件人: sun min<mailto:sunmin89 at outlook.com>; 1027309 at bugs.debian.org<mailto:1027309 at bugs.debian.org>
主题: Re: Bug#1027309: jetty9: dpkg-source died

On Fri, Dec 30, 2022 at 02:47:07PM +0800, sun min wrote:
> Package: jetty9
> Version: 9.4.49-1.1
> Severity: normal
> Tags: ftbfs
>
> Dear Maintainer,
>
> I cloned the jetty9 repo from https://salsa.debian.org/java-team/jetty9.git.
>
> I did not change anything and tried to build the package from source,it complains:

Hi,

What command(s) are you using to attempt to build the package?

Both of these sequences work for me.

1.  Pulling the source package and building in a clean sbuild chroot:

$ apt-get source jetty9
$ cd jetty9-9.4.50
$ sbuild

2.  Cloning the repo and building with git-buildpackage:

$ git clone https://salsa.debian.org/java-team/jetty9.git
$ cd jetty9
$ gbp buildpackage

Thus, the package builds from source and shouldn't have a FTBFS bug filed
against it.  Please provide additional information about the build
failure you are seeing.

Thank you,
tony

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20230102/7396aa76/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jetty9_9.4.50-1_amd64-2022-12-30T02?22?39Z.build
Type: application/octet-stream
Size: 225434 bytes
Desc: jetty9_9.4.50-1_amd64-2022-12-30T02?22?39Z.build
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20230102/7396aa76/attachment-0001.obj>


More information about the pkg-java-maintainers mailing list