Hello everyone!
I tried to upgrade Perl 5.40 to 5.42, and I got an error "redefinition of 'crypt_data'".
The full build log and my /etc/make.conf are attached.
I ran:
The error:
I tried to upgrade Perl 5.40 to 5.42, and I got an error "redefinition of 'crypt_data'".
The full build log and my /etc/make.conf are attached.
I ran:
portmaster -o lang/perl5.42 lang/perl5.40The error:
Code:
===> Building for perl5-5.42.0_1
--- op.o ---
--- universal.o ---
--- op.o ---
cc -c -DPERL_CORE -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DNO_POSIX_2008_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -O2 -pipe -march=core2 -fstack-protector-strong -fno-strict-aliasing -Wall -DPIC -fPIC op.c
cc -c -DPERL_CORE -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DNO_POSIX_2008_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -O2 -pipe -march=core2 -fstack-protector-strong -fno-strict-aliasing -Wall -DPIC -fPIC universal.c
--- universal.o ---
In file included from universal.c:31:
In file included from ./perl.h:4517:
In file included from ./op.h:709:
In file included from ./reentr.h:126:
/usr/local/include/crypt.h:73:8: error: redefinition of 'crypt_data'
73 | struct crypt_data
| ^
/usr/include/unistd.h:488:8: note: previous definition is here
488 | struct crypt_data {
| ^
--- op.o ---
In file included from op.c:163:
In file included from ./perl.h:4517:
In file included from ./op.h:709:
In file included from ./reentr.h:126:
/usr/local/include/crypt.h:73:8: error: redefinition of 'crypt_data'
73 | struct crypt_data
| ^
/usr/include/unistd.h:488:8: note: previous definition is here
488 | struct crypt_data {
| ^
--- universal.o ---
1 error generated.
*** [universal.o] Error code 1
make: stopped in /usr/ports/lang/perl5.42/work/perl-5.42.0
--- op.o ---
1 error generated.
*** [op.o] Error code 1
make: stopped in /usr/ports/lang/perl5.42/work/perl-5.42.0
2 errors
make: stopped in /usr/ports/lang/perl5.42/work/perl-5.42.0
===> 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.42
*** Error code 1
Stop.
make: stopped in /usr/ports/lang/perl5.42
===>>> make build failed for lang/perl5.42
===>>> Aborting update