pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/57028: p5-Authen-SASL pkgsrc doesn't correctly create a PLIST on RHEL 7



>Number:         57028
>Category:       pkg
>Synopsis:       p5-Authen-SASL pkgsrc doesn't correctly create a PLIST on RHEL 7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 27 20:00:00 +0000 2022
>Originator:     Nathan Ahlstrom
>Release:        pkgsrc-current
>Organization:
..
>Environment:
Linux server 3.10.0-1160.76.1.el7.x86_64 #1 SMP Tue Jul 26 14:15:37 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

>Description:
on RHEL 7:

# cd /opt/pkgsrc/security/p5-Authen-SASL
# /opt/pkg/bin/bmake all package

Here is a typescript output:

Script started on Tue 27 Sep 2022 02:43:20 PM CDT
# /opt/pkg/bin/bmake all
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for Authen-SASL-2.16.tar.gz
=> Checksum SHA512 OK for Authen-SASL-2.16.tar.gz
===> Installing dependencies for p5-Authen-SASL-2.16nb10
==========================================================================
The supported build options for p5-Authen-SASL are:

	gssapi

The currently selected options are:

	gssapi

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.p5-Authen-SASL (not defined)

==========================================================================
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Full dependency p5-Digest-HMAC-[0-9]*: found p5-Digest-HMAC-1.04nb12
=> Full dependency p5-GSSAPI-[0-9]*: found p5-GSSAPI-0.28nb14
=> Full dependency perl>=5.36.0<5.38.0: found perl-5.36.0
===> Skipping vulnerability checks.
WARNING: No /opt/pkg202209/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/opt/pkg202209/sbin/pkg_admin -K /opt/pkg202209/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for p5-Authen-SASL-2.16nb10
===> Extracting for p5-Authen-SASL-2.16nb10
===> Patching for p5-Authen-SASL-2.16nb10
=> Applying pkgsrc patches for p5-Authen-SASL-2.16nb10
===> Creating toolchain wrappers for p5-Authen-SASL-2.16nb10
===> Configuring for p5-Authen-SASL-2.16nb10
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Authen::SASL
Writing MYMETA.yml and MYMETA.json
===> Building for p5-Authen-SASL-2.16nb10
cp lib/Authen/SASL/EXTERNAL.pm blib/lib/Authen/SASL/EXTERNAL.pm
cp lib/Authen/SASL.pm blib/lib/Authen/SASL.pm
cp lib/Authen/SASL/CRAM_MD5.pm blib/lib/Authen/SASL/CRAM_MD5.pm
cp lib/Authen/SASL/Perl.pm blib/lib/Authen/SASL/Perl.pm
cp lib/Authen/SASL/Perl/CRAM_MD5.pm blib/lib/Authen/SASL/Perl/CRAM_MD5.pm
cp lib/Authen/SASL/Perl/GSSAPI.pm blib/lib/Authen/SASL/Perl/GSSAPI.pm
cp lib/Authen/SASL/Perl/DIGEST_MD5.pm blib/lib/Authen/SASL/Perl/DIGEST_MD5.pm
cp lib/Authen/SASL/Perl/EXTERNAL.pm blib/lib/Authen/SASL/Perl/EXTERNAL.pm
cp lib/Authen/SASL.pod blib/lib/Authen/SASL.pod
cp lib/Authen/SASL/Perl/ANONYMOUS.pm blib/lib/Authen/SASL/Perl/ANONYMOUS.pm
cp lib/Authen/SASL/Perl/PLAIN.pm blib/lib/Authen/SASL/Perl/PLAIN.pm
cp lib/Authen/SASL/Perl/LOGIN.pm blib/lib/Authen/SASL/Perl/LOGIN.pm
cp lib/Authen/SASL/Perl.pod blib/lib/Authen/SASL/Perl.pod
Manifying 9 pod documents
# /opt/pkg/bin/bmake all package
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /opt/pkg202209/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/opt/pkg202209/sbin/pkg_admin -K /opt/pkg202209/pkgdb fetch-pkg-vulnerabilities'.
===> Installing for p5-Authen-SASL-2.16nb10
=> Generating pre-install file lists
Manifying 9 pod documents
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL.pm
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL.pod
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL/CRAM_MD5.pm
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL/Perl.pod
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL/Perl.pm
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL/EXTERNAL.pm
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL/Perl/LOGIN.pm
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL/Perl/DIGEST_MD5.pm
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL/Perl/PLAIN.pm
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL/Perl/CRAM_MD5.pm
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL/Perl/ANONYMOUS.pm
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL/Perl/GSSAPI.pm
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/Authen/SASL/Perl/EXTERNAL.pm
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/man/man3/Authen::SASL.3
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/man/man3/Authen::SASL::Perl::DIGEST_MD5.3
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/man/man3/Authen::SASL::Perl::GSSAPI.3
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/man/man3/Authen::SASL::Perl::PLAIN.3
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/man/man3/Authen::SASL::Perl::LOGIN.3
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/man/man3/Authen::SASL::Perl::EXTERNAL.3
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/man/man3/Authen::SASL::Perl::CRAM_MD5.3
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/man/man3/Authen::SASL::Perl.3
Installing /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/man/man3/Authen::SASL::Perl::ANONYMOUS.3
Appending installation info to /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/root/perl5/lib/perl5/x86_64-linux-thread-multi/perllocal.pod
Perl packlist /export/home1/pkgsrc-202209/security/p5-Authen-SASL/work/.destdir/opt/pkg202209/lib/perl5/vendor_perl/5.36.0/x86_64-linux-thread-multi/auto/Authen/SASL/.packlist is missing.
*** Error code 1

Stop.
bmake[1]: stopped in /opt/pkgsrc/security/p5-Authen-SASL
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/security/p5-Authen-SASL
# exit

Script done on Tue 27 Sep 2022 02:43:45 PM CDT

>How-To-Repeat:
on RHEL 7:

# cd /opt/pkgsrc/security/p5-Authen-SASL
# /opt/pkg/bin/bmake all package

this will demo the issue.
>Fix:
this patch fixed the issue for me.

# git diff .
diff --git a/security/p5-Authen-SASL/Makefile b/security/p5-Authen-SASL/Makefile
index 170e11b09e2..545e27cadf8 100644
--- a/security/p5-Authen-SASL/Makefile
+++ b/security/p5-Authen-SASL/Makefile
@@ -13,7 +13,7 @@ COMMENT=      Perl module to handle SASL authentication
 LICENSE=       ${PERL5_LICENSE}
 
 PERL5_PACKLIST=                auto/Authen/SASL/.packlist
-PERL5_MODULE_TYPE=     Module::Install::Bundled
+#PERL5_MODULE_TYPE=    Module::Install::Bundled
 
 DEPENDS+=      p5-Digest-HMAC-[0-9]*:../../security/p5-Digest-HMAC
 #DEPENDS+=     {perl>=5.7.3,p5-Digest-MD5-[0-9]*}:../../security/p5-Digest-MD5


Home | Main Index | Thread Index | Old Index