Your message dated Wed, 3 Jan 2024 16:02:51 -0700
with message-id
<CABrvRiEEaAsfL5qG-amMj=ckuyf9grcp1jzpmdahy+mk93c...@mail.gmail.com>
and subject line Re: Bug#1044913: golang-github-evanw-esbuild: Fails to build
source after successful build
has caused the Debian Bug report #1044913,
regarding golang-github-evanw-esbuild: Fails to build source after successful
build
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 [email protected]
immediately.)
--
1044913: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1044913
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: golang-github-evanw-esbuild
Version: 0.17.19-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
Usertags: qa-doublebuild
Hi,
This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).
This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.
More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild
Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env
> -us -uc -rfakeroot -S
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> dpkg-buildpackage: info: source package golang-github-evanw-esbuild
> dpkg-buildpackage: info: source version 0.17.19-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Anthony Fok <[email protected]>
> dpkg-source --before-build .
> debian/rules clean
> dh clean --builddirectory=_build --buildsystem=golang
> dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
> dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
> dh_clean -O--builddirectory=_build -O--buildsystem=golang
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building golang-github-evanw-esbuild using existing
> ./golang-github-evanw-esbuild_0.17.19.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: executable mode 0755 of
> 'npm/@esbuild/android-arm/bin/esbuild' will not be represented in diff
> dpkg-source: error: cannot represent change to
> npm/@esbuild/android-arm/esbuild.wasm: binary file contents changed
> dpkg-source: error: add npm/@esbuild/android-arm/esbuild.wasm in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: warning: executable mode 0755 of
> 'npm/@esbuild/android-arm/esbuild.wasm' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of
> 'npm/@esbuild/android-x64/bin/esbuild' will not be represented in diff
> dpkg-source: error: cannot represent change to
> npm/@esbuild/android-x64/esbuild.wasm: binary file contents changed
> dpkg-source: error: add npm/@esbuild/android-x64/esbuild.wasm in
> debian/source/include-binaries if you want to store the modified binary in
> the debian tarball
> dpkg-source: warning: executable mode 0755 of
> 'npm/@esbuild/android-x64/esbuild.wasm' will not be represented in diff
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
>
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage
> --sanitize-env -us -uc -rfakeroot -S' failed to run.
The full build log is available from:
http://qa-logs.debian.net/2023/08/13/golang-github-evanw-esbuild_0.17.19-1_unstable.log
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: golang-github-evanw-esbuild
Source-Version: 0.19.8-1
I am happy to report that this bug was fixed by fellow Debian
Developer Xavier Guimard (Yadd) in
https://salsa.debian.org/go-team/packages/golang-github-evanw-esbuild/-/merge_requests/3/commits
back in July 2023, though I didn't notice his Merge Request until
early December 2023, and also missed the fact that his commit "Update
debian/clean" actually fixes this bug when I uploaded 0.19.8-1. Kudos
to Yadd!
golang-github-evanw-esbuild (0.19.8-1) unstable; urgency=medium
[ Yadd ]
* Update debian/clean
* Unfuzz debian/patches/0001-build-wasm-in-GOPATH-mode.patch
* Build node-esbuild on armel (Closes: #1042455)
[ Anthony Fok ]
* New upstream version 0.19.8
* Update esbuild(1) man page to 0.19.8
* Update debian/patches/0002-add-armel-arch.patch for 0.19.8
-- Anthony Fok <[email protected]> Sat, 09 Dec 2023 02:10:53 -0700
I tried running "dpkg-buildpackage -b ; dpkg-buildpackage -S" multiple
times with 0.19.8-3, and was no longer able to reproduce the FTBFS,
and finally realized Yadd’s must have had seen the same FTBFS after a
successful build, and added the appropriate entries to debian/clean.
Cheers,
Anthony Fok
On Sun, Aug 13, 2023 at 11:48 AM Lucas Nussbaum <[email protected]> wrote:
>
> Source: golang-github-evanw-esbuild
> Version: 0.17.19-1
> Severity: minor
> Tags: trixie sid ftbfs
> User: [email protected]
> Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
> User: [email protected]
> Usertags: qa-doublebuild
>
> Hi,
>
> This package fails to build a source package after a successful build
> (dpkg-buildpackage ; dpkg-buildpackage -S).
>
> This is probably a clear violation of Debian Policy section 4.9 (clean
> target),
> but this is filed as severity:minor for now, because a discussion on
> debian-devel showed that we might want to revisit the requirement of a working
> 'clean' target.
>
> More information about this class of issues, included common problems and
> solutions, is available at
> https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild
>
> Relevant part of the build log:
> > cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage
> > --sanitize-env -us -uc -rfakeroot -S
> > ---------------------------------------------------------------------------------------------------------------------------------------------------------------
> >
> > dpkg-buildpackage: info: source package golang-github-evanw-esbuild
> > dpkg-buildpackage: info: source version 0.17.19-1
> > dpkg-buildpackage: info: source distribution unstable
> > dpkg-buildpackage: info: source changed by Anthony Fok <[email protected]>
> > dpkg-source --before-build .
> > debian/rules clean
> > dh clean --builddirectory=_build --buildsystem=golang
> > dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
> > dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
> > dh_clean -O--builddirectory=_build -O--buildsystem=golang
> > dpkg-source -b .
> > dpkg-source: info: using source format '3.0 (quilt)'
> > dpkg-source: info: building golang-github-evanw-esbuild using existing
> > ./golang-github-evanw-esbuild_0.17.19.orig.tar.gz
> > dpkg-source: info: using patch list from debian/patches/series
> > dpkg-source: warning: executable mode 0755 of
> > 'npm/@esbuild/android-arm/bin/esbuild' will not be represented in diff
> > dpkg-source: error: cannot represent change to
> > npm/@esbuild/android-arm/esbuild.wasm: binary file contents changed
> > dpkg-source: error: add npm/@esbuild/android-arm/esbuild.wasm in
> > debian/source/include-binaries if you want to store the modified binary in
> > the debian tarball
> > dpkg-source: warning: executable mode 0755 of
> > 'npm/@esbuild/android-arm/esbuild.wasm' will not be represented in diff
> > dpkg-source: warning: executable mode 0755 of
> > 'npm/@esbuild/android-x64/bin/esbuild' will not be represented in diff
> > dpkg-source: error: cannot represent change to
> > npm/@esbuild/android-x64/esbuild.wasm: binary file contents changed
> > dpkg-source: error: add npm/@esbuild/android-x64/esbuild.wasm in
> > debian/source/include-binaries if you want to store the modified binary in
> > the debian tarball
> > dpkg-source: warning: executable mode 0755 of
> > 'npm/@esbuild/android-x64/esbuild.wasm' will not be represented in diff
> > dpkg-source: error: unrepresentable changes to source
> > dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> >
> > E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage
> > --sanitize-env -us -uc -rfakeroot -S' failed to run.
>
>
> The full build log is available from:
> http://qa-logs.debian.net/2023/08/13/golang-github-evanw-esbuild_0.17.19-1_unstable.log
>
> If you reassign this bug to another package, please mark it as 'affects'-ing
> this package. See https://www.debian.org/Bugs/server-control#affects
>
> If you fail to reproduce this, please provide a build log and diff it with
> mine
> so that we can identify if something relevant changed in the meantime.
>
--- End Message ---