pkgsrc-Bugs archive

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

pkg/52146: misc/raspberrypi-userland-20170109 FTBFS on NetBSD 7.1 evbarm-earmv6hf (Raspberry Pi Model B+)



>Number:         52146
>Category:       pkg
>Synopsis:       misc/raspberrypi-userland-20170109 FTBFS on NetBSD 7.1 evbarm-earmv6hf (Raspberry Pi Model B+)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 08 19:35:00 +0000 2017
>Originator:     Marek Benc
>Release:        pkgsrc-current, 20170408
>Organization:
>Environment:
NetBSD dooshki-raspi.homenetwork 7.1 NetBSD 7.1 (RPI.201703111743Z) evbarm
>Description:
# cd /usr/pkgsrc/misc/raspberrypi-userland/
# make
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Building for raspberrypi-userland-20170109
[  3%] Built target vcos
[  3%] Built target vcfiled_check
[  4%] Built target vchiq_arm

....

[ 97%] Built target debug_sym_static
[ 99%] Built target fdt
[ 99%] Built target dtovl
[100%] Building C object host_applications/linux/apps/dtoverlay/CMakeFiles/dtove
rlay.dir/dtoverlay_main.c.o
/usr/pkgsrc/misc/raspberrypi-userland/work/userland-734d76b0675685e9ec9148694f2c
c00f58e5ebc0/host_applications/linux/apps/dtoverlay/dtoverlay_main.c: In functio
n 'read_state':
/usr/pkgsrc/misc/raspberrypi-userland/work/userland-734d76b0675685e9ec9148694f2c
c00f58e5ebc0/host_applications/linux/apps/dtoverlay/dtoverlay_main.c:1028:2: err
or: passing argument 4 of 'scandir' from incompatible pointer type [-Werror]
  state->count = scandir(dir, &state->namelist, seq_filter, seq_compare);
  ^
In file included from /usr/pkgsrc/misc/raspberrypi-userland/work/userland-734d76
b0675685e9ec9148694f2cc00f58e5ebc0/host_applications/linux/apps/dtoverlay/dtover
lay_main.c:34:0:
/usr/include/dirent.h:111:5: note: expected 'int (*)(const void *, const void *)
' but argument is of type 'int (*)(const struct dirent **, const struct dirent *
*)'
 int scandir(const char *, struct dirent ***,
     ^
cc1: all warnings being treated as errors
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/misc/raspberrypi-userland/work/userland-734d76b0
675685e9ec9148694f2cc00f58e5ebc0
*** Error code 1
>How-To-Repeat:
Try to build the package on a raspberry pi b+

The contents of my /etc/mk.conf are:

CFLAGS+=   -O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard
CXXFLAGS+= -O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard

PKG_DEFAULT_OPTIONS= ssl -inet6 -debug -static -nls
IPV6_READY= NO
ALLOW_VULNERABLE_PACKAGES= YES
>Fix:


Home | Main Index | Thread Index | Old Index