[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
build failure of glob module on NetBSD: request for member ‘dd_fd’...
From: |
Benno Schulenberg |
Subject: |
build failure of glob module on NetBSD: request for member ‘dd_fd’... |
Date: |
Thu, 21 Apr 2022 09:41:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 |
Trying to build nano from git on a NetBSD 9.2 virtual machine, I get this:
[...]
gcc -DHAVE_CONFIG_H -I. -I.. -D_NETBSD_SOURCE -D_XOPEN_SOURCE=600
-I/usr/pkg/include/ncursesw -I/usr/pkg/include -I/usr/pkg/include
-Wno-cast-qual
-Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unsuffixed-float-constants -g -O2 -Wall -MT libgnu_a-glob.o -MD -MP -MF
.deps/libgnu_a-glob.Tpo -c -o libgnu_a-glob.o `test -f 'glob.c' || echo
'./'`glob.c
In file included from ./dirent.h:27:0,
from glob.c:49:
glob.c: In function ‘glob_in_dir’:
glob.c:1361:21: error: request for member ‘dd_fd’ in something not a structure
or
union
int dfd = dirfd (stream);
^
*** Error code 1
The offending commit is 98f034a0c2 (glob: fix symlink and // issues...).
Nano builds fine on FreeBSD and OpenBSD.
Benno
OpenPGP_signature
Description: OpenPGP digital signature
- build failure of glob module on NetBSD: request for member ‘dd_fd’...,
Benno Schulenberg <=