pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/51562: textproc/p5-Test-YAML does not package when PKG_DEVELOPER=yes
The following reply was made to PR pkg/51562; it has been noted by GNATS.
From: Leonardo Taccari <leot%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/51562: textproc/p5-Test-YAML does not package when PKG_DEVELOPER=yes
Date: Wed, 19 Oct 2016 18:28:35 +0200
Hello eric,
eric%cirr.com@localhost writes:
> [...]
> >Description:
> When attempting to build/install textproc/p5-Test-YAML with
> PKG_DEVELOPER=3Dyes, the package will not be generated, as
> a path to the work directory version of bash is included
> in the final output scripts.
> =
> script(1) output from an attempt at packaging:
> =
> Script started on Wed Oct 19 10:45:02 2016
> woodstock-> make PKG_DEVELOPER=3Dyes package
> [...]
> =3D> Checking for missing run-time search paths in p5-Test-YAML-1.06=
nb1
> =3D> Checking for work-directory references in p5-Test-YAML-1.06nb1
> ERROR: /usr/pkg/lib/perl5/vendor_perl/bin/test-yaml: #!/scratch/pkg/=
obj/textproc/p5-Test-YAML/work/.tools/bin/bash
> ERROR: *** The above files still have references to the build direct=
ory.
> ERROR: This is possibly an error that should be fixed by unwrapp=
ing
> ERROR: the files or adding missing tools to the package makefile=
!
> *** Error code 1
> =
> Stop.
> make[1]: stopped in /usr/pkgsrc/textproc/p5-Test-YAML
> *** Error code 1
> =
> Stop.
> make: stopped in /usr/pkgsrc/textproc/p5-Test-YAML
> woodstock-> exit
> =
> Script done on Wed Oct 19 10:46:33 2016
> =
> >How-To-Repeat:
> cd /usr/pkgsrc/textproc/p5-Test-YAML;
> make PKG_DEVELOPER=3Dyes package
> >Fix:
> Unknown. The issue appears to be with the call to MM->fixit()
> that is executed as part of the installation process.
> =
Last time that I've looked at this problem (several months ago, so
sorry if my mind can be a bit foggy about that!) this happens
because REPLACE_BASH correctly change the shebang but then
ExtUtils::MakeMaker rechange it.
The following patch is a possible workaround but it's a bit dirty
IMHO:
http://netbsd.org/~leot/pkgsrc-patches/p5-test-yaml-bash-kludge
Home |
Main Index |
Thread Index |
Old Index