pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49997: pkgsrc/lang/perl 5.22.0 build failure on NetBSD/m68k 7.0_RC1
>Number: 49997
>Category: pkg
>Synopsis: pkgsrc/lang/perl 5.22.0 build failure on NetBSD/m68k 7.0_RC1
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 23 17:05:00 +0000 2015
>Originator: Izumi Tsutsui
>Release: NetBSD 7.0_RC1 + pkgsrc HEAD around 20150620
>Organization:
>Environment:
System: NetBSD lunachild 7.0_RC1 NetBSD 7.0_RC1 (GENERIC.201506190427Z) luna68k
Architecture: m68k
Machine: luna68k
>Description:
make package in pkgsrc/lang/perl fails:
---
rm -f ../../lib/auto/Opcode/Opcode.so
gcc -shared -L/usr/pkg/lib -fstack-protector Opcode.o -o ../../lib/auto/Opcode/Opcode.so
chmod 755 ../../lib/auto/Opcode/Opcode.so
/usr/obj.luna68k/pkgsrc/lang/perl5/work.m68k/perl-5.22.0/ext/Opcode/../../miniperl "-I../../lib" "-I../../lib" -MExtUtils::Command::MM -e 'cp_nonempty' -- Opcode.bs ../../lib/auto/Opcode/Opcode.bs 644
LD_LIBRARY_PATH=/usr/obj.luna68k/pkgsrc/lang/perl5/work.m68k/perl\-5.22.0 ./miniperl -Ilib make_ext.pl lib/auto/POSIX/POSIX.so MAKE="/usr/bin/make" LIBPERL_A=libperl.so LINKTYPE=dynamic
Processing hints file hints/netbsd.pl
Warning (mostly harmless): No library found for -lcposix
Generating a Unix-style Makefile
Writing Makefile for POSIX
Running Mkbootstrap for POSIX ()
chmod 644 "POSIX.bs"
"../../miniperl" "-I../../lib" "-I../../lib" "../../lib/ExtUtils/xsubpp" -noprototypes -typemap "../../lib/ExtUtils/typemap" -typemap "typemap" POSIX.xs > POSIX.xsc && mv POSIX.xsc POSIX.c
gcc -c -O2 -fno-reorder-blocks -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -DSTRUCT_TM_HASZONE -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -fno-reorder-blocks -pthread -I/usr/include -DVERSION=\"1.53\" -DXS_VERSION=\"1.53\" -DPIC -fPIC "-I../.." POSIX.c
In file included from POSIX.xs:38:0:
/usr/include/fenv.h:31:2: error: #error "fenv.h is currently not supported for this architecture"
#error "fenv.h is currently not supported for this architecture"
^
In file included from POSIX.xs:38:0:
/usr/include/fenv.h:38:26: fatal error: machine/fenv.h: No such file or directory
#include <machine/fenv.h>
^
compilation terminated.
*** Error code 1
Stop.
make[1]: stopped in /usr/obj.luna68k/pkgsrc/lang/perl5/work.m68k/perl-5.22.0/ext/POSIX
gcc -c -O2 -fno-reorder-blocks -pthread -I/usr/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -DSTRUCT_TM_HASZONE -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -fno-reorder-blocks -pthread -I/usr/include -DVERSION=\"1.53\" -DXS_VERSION=\"1.53\" -DPIC -fPIC "-I../.." POSIX.c
In file included from POSIX.xs:38:0:
/usr/include/fenv.h:31:2: error: #error "fenv.h is currently not supported for this architecture"
#error "fenv.h is currently not supported for this architecture"
^
In file included from POSIX.xs:38:0:
/usr/include/fenv.h:38:26: fatal error: machine/fenv.h: No such file or directory
#include <machine/fenv.h>
^
compilation terminated.
*** Error code 1
Stop.
make[1]: stopped in /usr/obj.luna68k/pkgsrc/lang/perl5/work.m68k/perl-5.22.0/ext/POSIX
Unsuccessful make(ext/POSIX): code=256 at make_ext.pl line 574.
*** Error code 25
Stop.
make: stopped in /usr/obj.luna68k/pkgsrc/lang/perl5/work.m68k/perl-5.22.0
*** Error code 1
Stop.
make[4]: stopped in /usr/pkgsrc/lang/perl5
*** Error code 1
Stop.
make[3]: stopped in /usr/pkgsrc/lang/perl5
*** Error code 1
Stop.
make[2]: stopped in /usr/pkgsrc/devel/bison
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/shells/bash
*** Error code 1
Stop.
---
/usr/include/fenv.h in NetBSD 7.0_RC1 has:
---
#if !defined(__aarch64__) && !defined(__arm__) && !defined(__i386__) \
&& !defined(__hppa__) \
&& !defined(__sparc__) && !defined(__x86_64__)
#error "fenv.h is currently not supported for this architecture"
#endif
---
so I guess alpha, mips, powerpc, sh3 and vax also fail to build perl,
i.e. pkgsrc is almost unusable.
>How-To-Repeat:
cd /usr/pkgsrc/lang/perl && make package
>Fix:
No idea, but "to implement <fenv.h> for all NetBSD MACHINE_ARCH" is
too late because 7.0_RC1 is already out.
---
Home |
Main Index |
Thread Index |
Old Index