Solved Perl5 failed to upgrade.

Today, I attempted to update my installed ports in my jail (ezjail). I read /usr/ports/UPDATING which indicated for perl5.* to run the following command:

portmaster `find /usr/local/lib/perl5/site_perl/mach/5.18 -name '*.so'|xargs pkg which -qo|sort -u`

I ran this command and perl5 failed to build and exited on an Error Code 1.

Enclosed is the last bit of output of the build and error message for easier reading. I have included the entire text of the build and error messages in the attached file. Any assistance will be greatly appreciated since I'm at a lost to correct this issue.

Regards,

Scott

Code:
Colon-separated list of additional directories for perl to search?

[/usr/local/lib/perl5/site_perl/5.18:/usr/local/lib/perl5/site_perl/5.18/mach] 

Checking out function prototypes...

Support DTrace if available? [n] 

Install any extra modules (y or n)? [n] 

Directory for the main Perl5 html pages? (~name ok) [none] 

Directory for the Perl5 module html pages? (~name ok) [none] 

Do you want to install perl as /usr/bin/perl? [n] 

Checking for GNU C Library...

Shall I use /usr/bin/nm to extract C symbols from the libraries? [y] 

Where is your C library? [/usr/lib/libc.so] 

Extracting names from the following files for later perusal:

        /usr/lib/libc.so

        /usr/lib/libcrypt.so

        /usr/lib/libm.so

        /usr/lib/libutil.so

        /usr/local/lib/libgdbm.so.4.0.0

This may take a while................../usr/bin/nm didn't seem to work right. Trying /usr/bin/ar instead...

ar: fatal: Unrecognized archive format

/usr/bin/ar didn't seem to work right.

Maybe this is a Cray...trying bld instead...

./Configure: bld: not found

That didn't work either.  Giving up.

===>  Script "Configure" failed unexpectedly.

Please report the problem to perl@FreeBSD.org [maintainer] and attach the

"/var/ports/basejail/usr/ports/lang/perl5.18/work/perl-5.18.4/config.log"

including the output of the failure of your make command. Also, it might be

a good idea to provide an overview of all packages installed on your system

(e.g. a /usr/local/sbin/pkg-static info -g -Ea).

*** Error code 1



Stop.

make[1]: stopped in /basejail/usr/ports/lang/perl5.18

*** Error code 1



Stop.

make: stopped in /basejail/usr/ports/lang/perl5.18



===>>> make build failed for lang/perl5.18

===>>> Aborting update



===>>> Update for perl5-5.18.4_10 failed

===>>> Aborting update





===>>> You can restart from the point of failure with this command line:

      portmaster <flags> devel/p5-Locale-gettext lang/perl5.18
 

Attachments

  • error1code.txt
    38.2 KB · Views: 225
I forgot to include the failed perl5 update is on a FreeBSD 10.1 system. Enclosed is the uname -a for the host and ezjail.

Host
Code:
FreeBSD host 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

Ezjail
Code:
FreeBSD ezjail 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
 
Solved!

After reviewing other posts which seem to indicate similar problems with perl with regards to jails, I decided to reinstall the basejail with the following command:

ezjail-admin install -p

After installing the new basejail, the perl update worked fine on all jails. I suspect an update/upgrade of my jails in the past may have contributed to the issue.

Regards,

Scott
 
Back
Top