[Pkg-postgresql-public] Bug#896121: pgbackrest: package files are not on @INC anymore with perl 5.26.2

Paul Gevers elbrus at debian.org
Thu Apr 19 20:09:24 BST 2018


Source: pgbackrest
Version: 2.01-1
Severity: serious
User: debian-ci at lists.debian.org
Usertags: needs-update

Your autopkgtest¹ of version 2.01-1 started to fail when perl 5.26.2 hit
the archive with the error copied below. It seems the package installs
files in /usr/lib/<arch-triplet>/perl/5.26.1/. That path is not on @INC
with perl 5.26.2, so either you need to put the files somewhere else, or
you need a hard Depends on perl 5.26.1.

I think the issue is much more severe than just the autopkgtest failing,
I think the package stopped working with the default perl and INC.
Please lower the severity if I am wrong.

Can you please investigate the situation, and fix it?

Paul

¹ https://ci.debian.net/packages/p/pgbackrest/

autopkgtest [12:44:54]: test suite: [-----------------------
Creating new PostgreSQL cluster 10/regress ...
/usr/lib/postgresql/10/bin/initdb -D
/tmp/pg_virtualenv.auY3uu/data/10/regress --username=debci
--pwfile=/tmp/pg_virtualenv.auY3uu/postgresql-common/pwfile --nosync -A
trust -k
The files belonging to this database system will be owned by user "debci".
This user must also own the server process.

The database cluster will be initialized with locale "C.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are enabled.

fixing permissions on existing directory
/tmp/pg_virtualenv.auY3uu/data/10/regress ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok

Sync to disk skipped.
The data directory might become corrupt if the operating system crashes.

Success. You can now start the database server using:

    /usr/lib/postgresql/10/bin/pg_ctl -D
/tmp/pg_virtualenv.auY3uu/data/10/regress -l logfile start

Warning: The parent /var/run/postgresql of the selected
stats_temp_directory is not writable for the cluster owner. Not adding this
setting in postgresql.conf.
Ver Cluster Port Status Owner Data directory
Log file
10  regress 5433 online debci /tmp/pg_virtualenv.auY3uu/data/10/regress
/tmp/pg_virtualenv.auY3uu/log/postgresql-10-regress.log

2018-04-19 12:44:57.741 P00   INFO: stanza-create command begin 2.01:
--config=/tmp/tmp.b6UCSvxeNs --lock-path=/tmp/tmp.xtGbWpBYWQ
--log-level-console=info --log-path=/tmp/tmp.YjvM5IHqOT
--pg1-path=/tmp/pg_virtualenv.auY3uu/data/10/regress --pg1-port=5433
--repo1-path=/tmp/tmp.5sk1LHA4Qy --stanza=demo
Can't locate pgBackRest/LibC.pm in @INC (you may need to install the
pgBackRest::LibC module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.26.2 /usr/local/share/perl/5.26.2
/usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26
/usr/local/lib/site_perl) at
/usr/share/perl5/pgBackRest/Config/Config.pm line 21.
BEGIN failed--compilation aborted at
/usr/share/perl5/pgBackRest/Config/Config.pm line 21.
Compilation failed in require at
/usr/share/perl5/pgBackRest/Common/Lock.pm line 19.
BEGIN failed--compilation aborted at
/usr/share/perl5/pgBackRest/Common/Lock.pm line 19.
Compilation failed in require at
/usr/share/perl5/pgBackRest/Common/Exit.pm line 16.
BEGIN failed--compilation aborted at
/usr/share/perl5/pgBackRest/Common/Exit.pm line 16.
Compilation failed in require at /usr/share/perl5/pgBackRest/Main.pm
line 20.
BEGIN failed--compilation aborted at /usr/share/perl5/pgBackRest/Main.pm
line 20.
Compilation failed in require.
BEGIN failed--compilation aborted.
Undefined subroutine &pgBackRest::Main::configSet called at (eval 47)
line 1.
Cleaning files...
*** /tmp/pg_virtualenv.auY3uu/log/postgresql-10-regress.log (last 100
lines) ***
LOG:  listening on IPv4 address "0.0.0.0", port 5433
LOG:  listening on IPv6 address "::", port 5433
LOG:  listening on Unix socket "/tmp/.s.PGSQL.5433"
LOG:  database system was shut down at 2018-04-19 12:44:55 UTC
LOG:  database system is ready to accept connections
LOG:  incomplete startup packet
LOG:  incomplete startup packet
Dropping cluster 10/regress ...
autopkgtest [12:44:58]: test suite: -----------------------]
autopkgtest [12:44:58]: test suite:  - - - - - - - - - - results - - - -
- - - - - -
suite                FAIL non-zero exit status 2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-postgresql-public/attachments/20180419/1439ecc8/attachment.sig>


More information about the pkg-postgresql-public mailing list