[Pkg-javascript-devel] Bug#1046906: node-postgres: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:21:02 BST 2023


Source: node-postgres
Version: 8.8.0+~cs35.9.20-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa at lists.debian.org
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 node-postgres
> dpkg-buildpackage: info: source version 8.8.0+~cs35.9.20-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Yadd <yadd at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean --buildsystem=nodejs
> ./lerna.json found
> 
> workspaces field found in package.json
> 
> 	rm -rf packages/pg/node_modules/.cache packages/pg/.nyc_output
> 	rm -rf buffer-writer/node_modules/.cache buffer-writer/.nyc_output
> 	rm -rf obuf/node_modules/.cache obuf/.nyc_output
> 	rm -rf packages/pg-connection-string/node_modules/.cache packages/pg-connection-string/.nyc_output
> 	rm -rf packages/pg-cursor/node_modules/.cache packages/pg-cursor/.nyc_output
> 	rm -rf packages/pg-pool/node_modules/.cache packages/pg-pool/.nyc_output
> 	rm -rf packages/pg-protocol/node_modules/.cache packages/pg-protocol/.nyc_output
> 	rm -rf packages/pg-query-stream/node_modules/.cache packages/pg-query-stream/.nyc_output
> 	rm -rf packet-reader/node_modules/.cache packet-reader/.nyc_output
> 	rm -rf pg-int8/node_modules/.cache pg-int8/.nyc_output
> 	rm -rf pg-native/node_modules/.cache pg-native/.nyc_output
> 	rm -rf pg-numeric/node_modules/.cache pg-numeric/.nyc_output
> 	rm -rf pg-types/node_modules/.cache pg-types/.nyc_output
> 	rm -rf pgpass/node_modules/.cache pgpass/.nyc_output
> 	rm -rf postgres-array/node_modules/.cache postgres-array/.nyc_output
> 	rm -rf postgres-bytea/node_modules/.cache postgres-bytea/.nyc_output
> 	rm -rf postgres-date/node_modules/.cache postgres-date/.nyc_output
> 	rm -rf postgres-interval/node_modules/.cache postgres-interval/.nyc_output
> 	rm -rf postgres-range/node_modules/.cache postgres-range/.nyc_output
> 	rm -rf types-pg/node_modules/.cache types-pg/.nyc_output
> rm packages/pg/node_modules/.cache
> rm buffer-writer/node_modules/.cache
> rm obuf/node_modules/.cache
> rm packages/pg-connection-string/node_modules/.cache
> rm packages/pg-cursor/node_modules/.cache
> rm packages/pg-pool/node_modules/.cache
> rm packages/pg-protocol/node_modules/.cache
> rm packages/pg-query-stream/node_modules/.cache
> rm packet-reader/node_modules/.cache
> rm pg-int8/node_modules/.cache
> rm pg-native/node_modules/.cache
> rm pg-numeric/node_modules/.cache
> rm pg-types/node_modules/.cache
> rm pgpass/node_modules/.cache
> rm postgres-array/node_modules/.cache
> rm postgres-bytea/node_modules/.cache
> rm postgres-date/node_modules/.cache
> rm postgres-interval/node_modules/.cache
> rm postgres-range/node_modules/.cache
> rm types-pg/node_modules/.cache
> unlink pg-pool/node_modules/
> unlink pg-types/node_modules/pg-int8
> unlink node_modules/buffer-writer
> unlink node_modules/obuf
> unlink node_modules/pg-connection-string
> unlink node_modules/pg-cursor
> unlink node_modules/pg-pool
> unlink node_modules/pg-protocol
> unlink node_modules/pg-query-stream
> unlink node_modules/packet-reader
> unlink node_modules/pg-int8
> unlink node_modules/pg-native
> unlink node_modules/pg-numeric
> unlink node_modules/pg-types
> unlink node_modules/pgpass
> unlink node_modules/postgres-array
> unlink node_modules/postgres-bytea
> unlink node_modules/postgres-date
> unlink node_modules/postgres-interval
> unlink node_modules/postgres-range
> unlink node_modules/@types/pg
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-buffer-writer.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-obuf.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-packet-reader.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-pg-int8.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-pg-native.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-pg-numeric.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-pg-types.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-pgpass.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-postgres-array.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-postgres-bytea.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-postgres-date.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-postgres-interval.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-postgres-range.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig-types-pg.tar.gz
> dpkg-source: info: building node-postgres using existing ./node-postgres_8.8.0+~cs35.9.20.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to packages/pg/pg:
> dpkg-source: error:   new version is symlink to ../packages/pg
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 255
> 
> 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/node-postgres_8.8.0+~cs35.9.20-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.



More information about the Pkg-javascript-devel mailing list