Fail to upgrade perl5-5.16 to perl5-5.18

Roman Serbski mefystofel at gmail.com
Wed Dec 17 12:58:51 UTC 2014


Hello,

FreeBSD 10.1-STABLE (r274583), latest ports (374843).

I'm trying to upgrade perl5-5.16 to perl5-5.18 using portupgrade.  As
per /usr/ports/UPDATING, 'portupgrade -o lang/perl5.18 -f
lang/perl5.16' fails with the following error:

Writing Makefile for Cwd
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** [Makefile] Error code 1 (ignored)
Running Mkbootstrap for Cwd ()
chmod 644 Cwd.bs
cc -c    -DAPPLLIB_EXP="/usr/local/lib/perl5/5.18/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -O2 -pipe -fstack-protector
-fno-strict-aliasing    -DVERSION=\"3.40\"  -DXS_VERSION=\"3.40\"
-DPIC -fPIC "-I../.."   Cwd.c
cc: error: no such file or directory: 'Cwd.c'
cc: error: no input files
*** [Cwd.o] Error code 1

make[3]: stopped in /usr/ports/lang/perl5.18/work/perl-5.18.4/dist/Cwd
1 error

make[3]: stopped in /usr/ports/lang/perl5.18/work/perl-5.18.4/dist/Cwd
Unsuccessful make(dist/Cwd): code=512 at make_ext.pl line 490.
*** [lib/auto/Cwd/Cwd.so] Error code 45

make[2]: stopped in /usr/ports/lang/perl5.18/work/perl-5.18.4
1 error

make[2]: stopped in /usr/ports/lang/perl5.18/work/perl-5.18.4
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/perl5.18
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/perl5.18
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20141217-28321-1efakw env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=perl5-5.16.3_11 UPGRADE_PORT_VER=5.16.3_11 make
-DDISABLE_CONFLICTS
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! lang/perl5.18 (perl5-5.16.3_11)       (unknown build error)


Thanks.


More information about the freebsd-ports mailing list