NetBSD-Bugs archive

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

Re: misc/53153: Fix rump build in DragonFlyBSD

#   compile  libshmif/shmif_user.pico
/build/tuxillo/s/ -o shmif_user.pico -fPIC -DPIC -O2 -g -Wno-format-zero-length -Wno-pointer-sign -Werror -Wall -Wextra -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -I/build/tuxillo/s/ -c /build/tuxillo/s/
--- dependall-/build/tuxillo/s/ ---
--- dependall ---
--- dependall-/build/tuxillo/s/ ---
/build/tuxillo/s/ In function 'rumpcomp_shmif_mmap': /build/tuxillo/s/ error: implicit declaration of function 'ftruncate' [-Werror=implicit-function-declaration]
  if (ftruncate(fd, len) == -1) {
cc1: all warnings being treated as errors
--- dependall-libnpf ---
--- npf_worker.o ---
--- dependall-libshmif ---
*** [shmif_user.pico] Error code 1

nbmake[4]: stopped in /build/tuxillo/s/
1 error

nbmake[4]: stopped in /build/tuxillo/s/
*** [dependall] Error code 2

nbmake[3]: stopped in /build/tuxillo/s/
1 error

nbmake[3]: stopped in /build/tuxillo/s/
*** [dependall-libshmif] Error code 2

nbmake[2]: stopped in /build/tuxillo/s/

Martin Husemann <> escribió:

The following reply was made to PR misc/53153; it has been noted by GNATS.

From: Martin Husemann <>
Subject: Re: misc/53153: Fix rump build in DragonFlyBSD
Date: Wed, 4 Apr 2018 09:28:37 +0200

 On Tue, Apr 03, 2018 at 11:35:00PM +0000, wrote:
 > DragonFly defaults to -Werror so a missing include causes rump to
 > fail to build (via buildrump)

 Can you please provide the full error message?



Home | Main Index | Thread Index | Old Index