pkgsrc-Users archive

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

Re: Delete some p5- packages



On 16/09/2012, at 3:46 AM, David Holland wrote:

> On Fri, Sep 14, 2012 at 09:30:17PM +1000, Ian McWilliam wrote:
>> textproc/p5-PDF-API2-Simple - broken upstream since years and not
>>  actively maintained
>> 
>> Commercial projects I work on use this, though I do have my own
>> port of it somewhere as I used it before it was officially imported
>> into pkgsrc, so in a pinch I could resurrect that again if it goes
>> away.
> 
> Part of the motivation to remove it is that the package stopped
> building after the last round of infrastructure cleanup.
> 
> => Checking for portability problems in extracted files
> Can't locate inc/Module/Install.pm in @INC (@INC contains: 
> /home/pkgbulk/b/pkg/lib/perl5/site_perl/5.14.0/x86_64-netbsd-thread-multi 
> /home/pkgbulk/b/pkg/lib/perl5/site_perl/5.14.0 
> /home/pkgbulk/b/pkg/lib/perl5/vendor_perl/5.14.0/x86_64-netbsd-thread-multi 
> /home/pkgbulk/b/pkg/lib/perl5/vendor_perl/5.14.0 
> /home/pkgbulk/b/pkg/lib/perl5/5.14.0/x86_64-netbsd-thread-multi 
> /home/pkgbulk/b/pkg/lib/perl5/5.14.0 .) at Makefile.PL line 1.
> BEGIN failed--compilation aborted at Makefile.PL line 1.
> 
> If you can fix this, there's no pressing reason to remove it. (And if
> you can't, it won't do you much good anyway.)
> 
> I don't know what it entails (I don't do perl) but I have the
> impression it basically amounts to "routine maintenance neglected
> upstream".
> 
> -- 
> David A. Holland
> dholland%netbsd.org@localhost
> 
> 


Interesting. I'm not seeing that on MacOS X.

[kristamari-w1:pkgsrc/textproc/p5-PDF-API2-Simple] ianm% bmake
=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg 
fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for PDF-API2-Simple-1.1.4u.tar.gz
=> Checksum RMD160 OK for PDF-API2-Simple-1.1.4u.tar.gz
===> Installing dependencies for p5-PDF-API2-Simple-1.1.4unb2
=> Build dependency checkperms>=1.1: found checkperms-1.11
=> Full dependency p5-PDF-API2>=2.019: found p5-PDF-API2-2.019nb1
=> Full dependency perl<5.16.0: found perl-5.14.2nb5
=> Full dependency perl>=5.14.0: found perl-5.14.2nb5
===> Overriding tools for p5-PDF-API2-Simple-1.1.4unb2
===> Extracting for p5-PDF-API2-Simple-1.1.4unb2
===> Patching for p5-PDF-API2-Simple-1.1.4unb2
===> Creating toolchain wrappers for p5-PDF-API2-Simple-1.1.4unb2
===> Configuring for p5-PDF-API2-Simple-1.1.4unb2
=> Checking for portability problems in extracted files
include 
/Users/ianm/ports/pkgsrc/textproc/p5-PDF-API2-Simple/work/PDF-API2-Simple-1.1.4/inc/Module/Install.pm
include inc/Module/Install/Metadata.pm
include inc/Module/Install/Base.pm
include inc/Module/Install/Makefile.pm
Cannot determine perl version info from lib/PDF/API2/Simple.pm
Cannot determine author info from lib/PDF/API2/Simple.pm
Cannot determine license info from lib/PDF/API2/Simple.pm
include inc/Module/Install/AutoInstall.pm
include inc/Module/Install/Include.pm
include inc/Module/AutoInstall.pm
*** Module::AutoInstall version 1.06
*** Checking for Perl dependencies...
[Core Features]
- Carp      ...loaded. (1.20)
- PDF::API2 ...loaded. (2.019)
*** Module::AutoInstall configuration finished.
include inc/Module/Install/WriteAll.pm
include inc/Module/Install/Win32.pm
include inc/Module/Install/Can.pm
include inc/Module/Install/Fetch.pm
Checking if your kit is complete...
Looks good
Writing Makefile for PDF::API2::Simple
Writing MYMETA.yml and MYMETA.json
Writing META.yml
===> Building for p5-PDF-API2-Simple-1.1.4unb2
cp lib/PDF/API2/Simple.pm blib/lib/PDF/API2/Simple.pm
Manifying blib/man3/PDF::API2::Simple.3
=> Unwrapping files-to-be-installed.
[kristamari-w1:pkgsrc/textproc/p5-PDF-API2-Simple] ianm% bmake test
=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg 
fetch-pkg-vulnerabilities'.
===> Testing for p5-PDF-API2-Simple-1.1.4unb2
PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/01.t t/02_open.t t/pod.t
t/01.t ....... ok   
t/02_open.t .. ok   
t/pod.t ...... ok   
All tests successful.
Files=3, Tests=11,  4 wallclock secs ( 0.04 usr  0.01 sys +  0.72 cusr  0.07 
csys =  0.84 CPU)
Result: PASS

[kristamari-w1:pkgsrc/textproc/p5-PDF-API2-Simple] ianm% uname -a
Darwin kristamari-w1 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 
PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64

[kristamari-w1:pkgsrc/textproc/p5-PDF-API2-Simple] ianm% perl -V
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
   
  Platform:
    osname=darwin, osvers=11.3.0, archname=darwin-thread-multi-2level
    uname='darwin kristamari-w1 11.3.0 darwin kernel version 11.3.0: thu jan 12 
18:47:41 pst 2012; root:xnu-1699.24.23~1release_x86_64 x86_64 '
    config_args='-sde -D ccflags=-pipe -O2  -D_REENTRANT -I/usr/include -D 
ldflags=   -L/usr/lib -L/usr/pkg/lib -Duseshrplib -Duseithreads -Uusemymalloc'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-pipe -O2 -D_REENTRANT -I/usr/include -fno-common 
-DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -fstack-protector 
-I/usr/local/include',
    optimize='-pipe -O2  -D_REENTRANT -I/usr/include',
    cppflags='-no-cpp-precomp -pipe -O2 -D_REENTRANT -I/usr/include -fno-common 
-DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -fstack-protector 
-I/usr/local/include'
    ccversion='', gccversion='4.2.1 (Based on Apple Inc. build 5658) (LLVM 
build 2336.1.00)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/lib 
-L/usr/pkg/lib -fstack-protector'
    libpth=/usr/lib /usr/local/lib
    libs=-lm -lc -lpthread
    perllibs=-lm -lc -lpthread
    libc=, so=dylib, useshrplib=true, libperl=libperl.dylib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='  -L/usr/lib -L/usr/pkg/lib -bundle -undefined 
dynamic_lookup -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
  Built under darwin
  Compiled at Mar  6 2012 22:03:02
  @INC:
    /usr/pkg/lib/perl5/site_perl/5.14.0/darwin-thread-multi-2level
    /usr/pkg/lib/perl5/site_perl/5.14.0
    /usr/pkg/lib/perl5/vendor_perl/5.14.0/darwin-thread-multi-2level
    /usr/pkg/lib/perl5/vendor_perl/5.14.0
    /usr/pkg/lib/perl5/5.14.0/darwin-thread-multi-2level
    /usr/pkg/lib/perl5/5.14.0
    .


For me Module::Install is installed as a package.

p5-Module-Install-1.06 Perl5 module for building and installing Perl modules

I can only assume at this point that the backend of pkgsrc that handles

PERL5_MODULE_TYPE=      Module::Install::Bundled

is broken somehow.  I'll do some digging.


Ian McWilliam





Home | Main Index | Thread Index | Old Index