Bug 205315 - security/p5-Crypt-OpenSSL-Random fails to compile ../5/.../Random.so actually at ../5.20/.../Random.so
Summary: security/p5-Crypt-OpenSSL-Random fails to compile ../5/.../Random.so actually...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-perl (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-14 12:24 UTC by gessel
Modified: 2016-02-08 15:40 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (perl)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gessel 2015-12-14 12:24:56 UTC
# portmaster -Rd p5-Crypt-OpenSSL-Random-0.10 fails with:

===>  Staging for p5-Crypt-OpenSSL-Random-0.11
===>   Generating temporary packing list
Running Mkbootstrap for Crypt::OpenSSL::Random ()
chmod 644 Random.bs
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /var/ports/usr/ports/security/p5-Crypt-OpenSSL-Random/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/Crypt/OpenSSL/Random/Random.so
Installing /var/ports/usr/ports/security/p5-Crypt-OpenSSL-Random/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/Crypt/OpenSSL/Random.pm
Installing /var/ports/usr/ports/security/p5-Crypt-OpenSSL-Random/work/stage/usr/local/lib/perl5/site_perl/man/man3/Crypt::OpenSSL::Random.3
/usr/bin/strip /var/ports/usr/ports/security/p5-Crypt-OpenSSL-Random/work/stage/usr/local/lib/perl5/site_perl/mach/5/auto/Crypt/OpenSSL/Random/Random.so
/usr/bin/strip: '/var/ports/usr/ports/security/p5-Crypt-OpenSSL-Random/work/stage/usr/local/lib/perl5/site_perl/mach/5/auto/Crypt/OpenSSL/Random/Random.so': No such file
*** Error code 1

Stop.
make: stopped in /usr/ports/security/p5-Crypt-OpenSSL-Random

===>>> make stage failed for security/p5-Crypt-OpenSSL-Random
===>>> Aborting update


It is expecting to find Random.so at 
'/var/ports/usr/ports/security/p5-Crypt-OpenSSL-Random/work/stage/usr/local/lib/perl5/site_perl/mach/5/auto/Crypt/OpenSSL/Random/Random.so'

But it is not there, it is at 
'/var/ports/usr/ports/security/p5-Crypt-OpenSSL-Random/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/Crypt/OpenSSL/Random/Random.so'

FreeBSD 10.1-RELEASE (AMD10.1) #0 r292130: Sat Dec 12 22:37:08 PST 2015
perl5-5.20.3_8

UPDATING 20141127 isn't relevant, though I tried # portsnap extract just in case, and to no avail.
Comment 1 gessel 2015-12-14 12:39:29 UTC
The same problem is blocking make of p5-Locale-gettext-1.06

===>   Registering installation for p5-Locale-gettext-1.06 as automatic
pkg-static: Unable to access file /var/ports/usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/mach/5/auto/Locale/gettext/gettext.so: No such file or directory
pkg-static: Unable to access file /var/ports/usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/mach/5/Locale/gettext.pm: No such file or directory
*** Error code 74

gettext.so is actually at

'/var/ports/usr/ports/devel/p5-Locale-gettext/work/stage/usr/local/lib/perl5/site_perl/mach/5.20/auto/Locale/gettext/gettext.so'
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2015-12-14 13:04:41 UTC
Yes, same problem, you have some local patch, or configuration, that makes SITE_ARCH_REL contain the wrong thing.

It should be:

# make -V SITE_ARCH_REL
lib/perl5/site_perl/mach/5.20

but yours contains lib/perl5/site_perl/mach/5

You must have some PERL_VER or PERL_VERSION definition that is wrong.
Comment 3 gessel 2015-12-15 09:15:11 UTC
Good call. That was the problem: make.conf version defition, which has worked as expected until quite recently.  As the current version is now 5.20 anyway, the version definition is redundant and removing the definition resolves the issue.
Comment 4 Philippe Audeoud freebsd_committer freebsd_triage 2016-02-08 15:40:12 UTC
Like saying last comment, issue is resolved. Thanks!