pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51402: pkgsrc-2016Q2/lang/g95 does not build on NetBSD7.0.1/arm7hf (raspberrypi2)



>Number:         51402
>Category:       pkg
>Synopsis:       pkgsrc-2016Q2/lang/g95 does not build on NetBSD7.0.1/arm7hf (raspberrypi2)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 09 10:50:00 +0000 2016
>Originator:     Raphael Langerhorst
>Release:        NetBSD7.0.1/arm7hf, pkgsrc-2016Q2 (2016-08-09)
>Organization:
GRACETECH
>Environment:
NetBSD namuna 7.0.1 NetBSD 7.0.1 (RPI2.201605221355Z) evbarm
>Description:
this is on raspberrypi2, using NetBSD7.0.1 (arm7hf image) with pkgsrc-2016Q2. This is the same environment as with pkg/51401 (firefox does not build as well)

I tried to install misc/libreoffice, however the lang/g95 dependency fails to build with the following output, I once tried make clean and build again, but same error occurs.

If you need my assistance to check things on the machine, please contact me. I did not take a look into the problem as I am not familiar with this package.

Please see the following output:

MULTILIB_OSDIRNAMES='' \
ASM_HIDDEN_OP='' \
GCC_FOR_TARGET='/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/xgcc -B/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/ -B/usr/pkg/armv7--netbsdelf-eabihf/bin/ -B/usr/pkg/armv7--netbsdelf-eabihf/lib/ -isystem /usr/pkg/armv7--netbsdelf-eabihf/include -isystem /usr/pkg/armv7--netbsdelf-eabihf/sys-include' \
mkinstalldirs='/bin/sh ../../gcc/../mkinstalldirs' \
  /bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
/bin/sh ../../gcc/mkconfig.sh tconfig.h
tconfig.h is unchanged
/usr/pkg/bin/gmake \
  CFLAGS="-O2  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute  " \
  CONFIG_H="tconfig.h auto-host.h ../../gcc/../include/ansidecl.h" TM_H="tm.h      options.h ../../gcc/config/dbxelf.h ../../gcc/config/elfos.h ../../gcc/config/netbsd.h ../../gcc/config/netbsd-elf.h ../../gcc/config/arm/elf.h ../../gcc/config/arm/aout.h ../../gcc/config/arm/arm.h ../../gcc/config/arm/netbsd-elf.h ../../gcc/defaults.h insn-constants.h insn-flags.h options.h" \
  INCLUDES="-I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I./../intl -I../../gcc/../libcpp/include " \
  MAKEOVERRIDES= \
  -f libgcc.mk all
gmake[3]: Entering directory '/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/gcc'
/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/xgcc -B/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/ -B/usr/pkg/armv7--netbsdelf-eabihf/bin/ -B/usr/pkg/armv7--netbsdelf-eabihf/lib/ -isystem /usr/pkg/armv7--netbsdelf-eabihf/include -isystem /usr/pkg/armv7--netbsdelf-eabihf/sys-include -O2  -O2 -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fomit-frame-pointer -fpic -g0  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I./../intl -I../../gcc/../libcpp/include  -DL_muldi3 -fvisibility=hidden -DHIDE_EXPORTS -c ../../gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from /usr/include/machine/ansi.h:37,
                 from /usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/include/stddef.h:58,
                 from ../../gcc/tsystem.h:47,
                 from ../../gcc/libgcc2.c:33:
/usr/include/sys/cdefs.h: In function '__zeroll':
/usr/include/sys/cdefs.h:589: error: expected expression before '0'
/usr/include/sys/cdefs.h: In function '__zeroull':
/usr/include/sys/cdefs.h:590: error: expected expression before '0'
In file included from /usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/include/stdio.h:56,
                 from ../../gcc/tsystem.h:90,
                 from ../../gcc/libgcc2.c:33:
/usr/include/sys/ansi.h: At top level:
/usr/include/sys/ansi.h:62: error: expected expression before '[' token
/usr/include/sys/ansi.h:63: error: expected ';' before '__mbstate_t'
gmake[3]: *** [libgcc.mk:46: libgcc/./_muldi3.o] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/gcc'
gmake[2]: *** [Makefile:1403: libgcc.a] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/gcc'
gmake[1]: *** [Makefile:3903: all-gcc] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95'
gmake: *** [Makefile:614: all] Error 2
*** Error code 2

Stop.
make[4]: stopped in /usr/pkgsrc/lang/g95
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
*** Error code 1

Stop.
make[3]: stopped in /usr/pkgsrc/lang/g95
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/devel/libtool-fortran
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/math/coinmp
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/libreoffice
namuna#
>How-To-Repeat:
cd /usr/pkgsrc/lang/g95 && make package install clean
>Fix:


Home | Main Index | Thread Index | Old Index