www/rt42: Fail Install
Matthew Seaman
matthew at FreeBSD.org
Thu Dec 19 07:33:23 UTC 2013
On 18/12/2013 20:38, Albert Shih wrote:
> Le 09/12/2013 à 22:05:02-0600, Larry Rosenman a écrit
>
> Hi,
>
> I've a close (but different) problem :
>
> Everything is compiling but when I try to install I get this message :
>
> ===> Building package for rt42-4.2.1_2
> Creating package /usr/ports/www/rt42/work/rt42-4.2.1_2.tbz
> Registering depends: p5-Apache-DBI-1.12 p5-Log-Dispatch-2.41
>
> [snip]
> Registering conflicts: rt-3.8* rt40-4.0* brlcad-[0-9]*.
>
> Creating bzip'd tar ball in '/usr/ports/www/rt42/work/rt42-4.2.1_2.tbz'
>
> tar: lib/perl5/site_perl/5.14/RT.pm: Cannot stat: No such file or directory
> tar: lib/perl5/site_perl/5.14/RT/ACE.pm: Cannot stat: No such file or directory
> [snip]
>
> tar: lib/perl5/site_perl/5.14/RT/Util.pm: Cannot stat: No such file or directory
> tar: Error exit delayed from previous errors.
> pkg_create: make_dist: tar command failed with code 256
> *** [do-package] Error code 1
>
> Stop in /usr/ports/www/rt42.
>
> That's I would say is "normal" because during this installation the script :
>
> [ -d /usr/ports/www/rt42/work/stage/usr/local/lib/perl5/site_perl/5.16 ] || /usr/bin/install -c -o root -g wheel -m 0755 -d /usr/ports/www/rt42/work/stage/usr/local/lib/perl5/site_perl/5.16
> ( cd lib && find . -type d -print ) | while read dir ; do /usr/bin/install -c -o root -g wheel -m 0755 -d "/usr/ports/www/rt42/work/stage/usr/local/lib/perl5/site_perl/5.16/$dir" ; done
> ( cd lib && find . -type f -print ) | while read file ; do /usr/bin/install -c -o root -g wheel -m 0644 "lib/$file" "/usr/ports/www/rt42/work/stage/usr/local/lib/perl5/site_perl/5.16/$file" ; done
>
> try to install inside perl/5.16 but I running perl 5.14
>
> Regards.
>
> JAS
I don't understand how it is you are getting this result. I'm building
www/rt42 for perl-5.14 and perl-5.16 respectively in a pair of different
poudriere instances, plus I tested it building against perl-5.18 on
RedPorts, and no indication of any problems like this.
rt42 does use autoconf rather than the usual perl configuration
mechanisms, but that is no different to www/rt40 or www/rt38, and there
seems to be no problem there.
Can you show me what perl-version related settings you have in
/etc/make.conf; what the output of 'perl -v' is; and what the contents
of /usr/local/etc/perl5_version are?
As I understand it, you should only have:
DEFAULT_VERSIONS= perl5=5.16
as the way to select a perl version /etc/make.conf. This should agree
with what perl itself reports its version as, and what the ports thinks
has been installed according to the contents of perl5_version.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1036 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131219/b8383793/attachment.sig>
More information about the freebsd-ports
mailing list