pkgsrc-Bugs archive

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

pkg/54004: pkgsrc p5-* automatic PLIST isn't working on RHEL7.5



>Number:         54004
>Category:       pkg
>Synopsis:       pkgsrc p5-* automatic PLIST isn't working on RHEL7.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 22 21:20:00 +0000 2019
>Originator:     Nathan Ahlstrom
>Release:        pkgsrc-2018Q4
>Organization:
>Environment:
$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.5 (Maipo)
$ uname -a
Linux aml00202 3.10.0-862.9.1.el7.x86_64 #1 SMP Wed Jun 27 04:30:39 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

>Description:
Attempting to build pkgsrc/security/openssl on RHEL7.5 from pkgsrc-2018Q4 to get the latest 1.0.2q.

Openssl has dependency on p5-Module-Build, which is not respecting on Linux the --installdirs=vendor that pkgsrc adds via the lang/perl5/module.mk. So the build output looks like this:


# /usr/pkg/bin/bmake package
=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
=> Fetching Module-Build-0.4224.tar.gz
=> Total size: 304181 bytes
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:07 --:--:--     0curl: (7) Failed to connect to 2001:708:10:9::20:2: Network is unreachable
fetch: Unable to fetch expected file Module-Build-0.4224.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:07 --:--:--     0curl: (7) Failed connect to cpan.pair.com:21; Connection timed out
fetch: Unable to fetch expected file Module-Build-0.4224.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:08 --:--:--     0curl: (7) Failed to connect to 2001:718:801:230::cd: Network is unreachable
fetch: Unable to fetch expected file Module-Build-0.4224.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   185  100   185    0     0    279      0 --:--:-- --:--:-- --:--:--  2642
100   331  100   331    0     0    389      0 --:--:-- --:--:-- --:--:--   389
100  297k  100  297k    0     0   328k      0 --:--:-- --:--:-- --:--:--  328k
=> Checksum SHA1 OK for Module-Build-0.4224.tar.gz
=> Checksum RMD160 OK for Module-Build-0.4224.tar.gz
=> Checksum SHA512 OK for Module-Build-0.4224.tar.gz
===> Installing dependencies for p5-Module-Build-0.42240nb1
==========================================================================
The supported build options for p5-Module-Build are:

	p5-module-build-dist-authoring p5-module-build-license-creation

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-Module-Build (not defined)

==========================================================================
=> Tool dependency perl>=5.28.0: found perl-5.28.1
=> Build dependency p5-CPAN-Meta>=2.142060: found p5-CPAN-Meta-2.150010nb2
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency p5-inc-latest-[0-9]*: found p5-inc-latest-0.500nb3
=> Full dependency perl>=5.28.0<5.30.0: found perl-5.28.1
===> Overriding tools for p5-Module-Build-0.42240nb1
===> Extracting for p5-Module-Build-0.42240nb1
===> Patching for p5-Module-Build-0.42240nb1
===> Creating toolchain wrappers for p5-Module-Build-0.42240nb1
===> Configuring for p5-Module-Build-0.42240nb1
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Module-Build' version '0.4224'
===> Building for p5-Module-Build-0.42240nb1
cd /usr/pkgsrc/devel/p5-Module-Build/work/Module-Build-0.4224 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr LC_ALL=C PERL_MM_USE_DEFAULT=1 CXXCPP=cpp CC=cc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib/perl5/5.28.0/x86_64-linux-thread-multi/CORE\ -L/usr/lib64\ -Wl,-R/usr/lib64\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/devel/p5-Module-Build/work/.cwrapper/bin:/usr/pkgsrc/devel/p5-Module-Build/work/.buildlink/bin:/usr/pkgsrc/devel/p5-Module-Build/work/.tools/bin:/usr/pkgsrc/devel/p5-Module-Build/work/.gcc/bin:/usr/pkg/bin:/usr/lib64/qt-3.3/bin:/root/perl5
 /bin:/usr/local/sbin:/usr/sbin:/usr/bin:/bin:/opt/puppetlabs/bin:/opt/pkg/bin:/opt/pkg/sbin:/root/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/usr/pkgsrc/devel/p5-Module-Build/work/.home CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/devel/p5-Module-Build/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/bin/install\ -c\ -s\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_SCRIPT=/bin/install\ -c\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_LIB=/bin/install\ -c\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_DATA=/bin/install\ -c\ -o\ root\ -g\ root\ -m\ 644 BSD_INSTALL_MAN=/bin/install\ -c\ -o\ root\ -g\ root\ -m\ 644 BSD_INSTALL=/bin/install BSD_INSTALL_PROGRAM_DIR=/bin/install\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/bin/install\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_LIB_DIR=/bin/install\ -d\ -o\ root\ -g\ 
 root\ -m\ 755 BSD_INSTALL_DATA_DIR=/bin/install\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_MAN_DIR=/bin/install\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_GAME=/bin/install\ -c\ -s\ -o\ root\ -g\ root\ -m\ 2555 BSD_INSTALL_GAME_DATA=/bin/install\ -c\ -o\ root\ -g\ root\ -m\ 664 BSD_INSTALL_GAME_DIR=/bin/install\ -d\ -o\ root\ -g\ root\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/devel/p5-Module-Build/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/usr/pkgsrc/devel/p5-Module-Build/work/.buildlink/lib64/pkgconfig:/usr/pkgsrc/devel/p5-Module-Build/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/devel/p5-Module-Build/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/devel/p5-Module-Build/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/devel/p5-Module-Build/work/.cwrapper/config ./Build 
Building Module-Build
===> Installing for p5-Module-Build-0.42240nb1
=> Generating pre-install file lists
cd /usr/pkgsrc/devel/p5-Module-Build/work/Module-Build-0.4224 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr LC_ALL=C PERL_MM_USE_DEFAULT=1 CXXCPP=cpp CC=cc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib/perl5/5.28.0/x86_64-linux-thread-multi/CORE\ -L/usr/lib64\ -Wl,-R/usr/lib64\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/devel/p5-Module-Build/work/.cwrapper/bin:/usr/pkgsrc/devel/p5-Module-Build/work/.buildlink/bin:/usr/pkgsrc/devel/p5-Module-Build/work/.tools/bin:/usr/pkgsrc/devel/p5-Module-Build/work/.gcc/bin:/usr/pkg/bin:/usr/lib64/qt-3.3/bin:/root/perl5
 /bin:/usr/local/sbin:/usr/sbin:/usr/bin:/bin:/opt/puppetlabs/bin:/opt/pkg/bin:/opt/pkg/sbin:/root/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/usr/pkgsrc/devel/p5-Module-Build/work/.home CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/devel/p5-Module-Build/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/bin/install\ -c\ -s\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_SCRIPT=/bin/install\ -c\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_LIB=/bin/install\ -c\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_DATA=/bin/install\ -c\ -o\ root\ -g\ root\ -m\ 644 BSD_INSTALL_MAN=/bin/install\ -c\ -o\ root\ -g\ root\ -m\ 644 BSD_INSTALL=/bin/install BSD_INSTALL_PROGRAM_DIR=/bin/install\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/bin/install\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_LIB_DIR=/bin/install\ -d\ -o\ root\ -g\ 
 root\ -m\ 755 BSD_INSTALL_DATA_DIR=/bin/install\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_MAN_DIR=/bin/install\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_GAME=/bin/install\ -c\ -s\ -o\ root\ -g\ root\ -m\ 2555 BSD_INSTALL_GAME_DATA=/bin/install\ -c\ -o\ root\ -g\ root\ -m\ 664 BSD_INSTALL_GAME_DIR=/bin/install\ -d\ -o\ root\ -g\ root\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/devel/p5-Module-Build/work/.tools/bin/makeinfo FLEX= BISON= PKG_CONFIG= PKG_CONFIG_LIBDIR=/usr/pkgsrc/devel/p5-Module-Build/work/.buildlink/lib64/pkgconfig:/usr/pkgsrc/devel/p5-Module-Build/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/devel/p5-Module-Build/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/devel/p5-Module-Build/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/devel/p5-Module-Build/work/.cwrapper/config ./Build install --destdir /usr/pkgsrc/devel/p5-Module-Build/work/.destdir 
Building Module-Build
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man1/config_data.1
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/PodParser.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Authoring.pod
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Cookbook.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Notes.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/ConfigData.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Config.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Dumper.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/API.pod
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Bundling.pod
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Compat.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/PPMMaker.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Base.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Platform/Unix.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Platform/VMS.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Platform/cygwin.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Platform/Default.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Platform/os2.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Platform/Windows.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Platform/VOS.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Platform/aix.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Platform/darwin.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/lib/perl5/Module/Build/Platform/MacOS.pm
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Base.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Cookbook.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Authoring.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Bundling.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Notes.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Platform::MacOS.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Platform::Windows.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Platform::os2.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Platform::Default.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Platform::aix.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Platform::VOS.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Platform::cygwin.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::PPMMaker.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Platform::Unix.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Platform::VMS.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Compat.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::Platform::darwin.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::ConfigData.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/man/man3/Module::Build::API.3
Installing /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/root/perl5/bin/config_data
Perl packlist /usr/pkgsrc/devel/p5-Module-Build/work/.destdir/usr/pkg/lib/perl5/vendor_perl/5.28.0/x86_64-linux-thread-multi/auto/Module/Build/.packlist is missing.
*** Error code 1

Stop.
bmake[1]: stopped in /usr/pkgsrc/devel/p5-Module-Build
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/p5-Module-Build

>How-To-Repeat:
Use pkgsrc on RHEL 7.5 attempt to build devel/p5-Module-Build
>Fix:
not sure how to remedy


Home | Main Index | Thread Index | Old Index