===> wdfs-fuse-1.4.2 depends on: glib2-* -> glib2-2.72.1
===> wdfs-fuse-1.4.2 depends on: neon-* -> neon-0.32.1p0
===> Verifying specs: c fuse glib-2.0 pthread neon
===> found c.96.1 fuse.2.0 glib-2.0.4201.8 pthread.26.1 neon.31.3
===> Checking files for wdfs-fuse-1.4.2
>> Fetch http://noedler.de/projekte/wdfs/wdfs-1.4.2.tar.gz
wdfs-1.4.2.tar.gz 0% | | 0 --:-- ETA
wdfs-1.4.2.tar.gz 100% |********************************| 106 KB 00:00
>> (SHA256) wdfs-1.4.2.tar.gz: OK
===> Extracting for wdfs-fuse-1.4.2
===> Patching for wdfs-fuse-1.4.2
===> Applying OpenBSD patch patch-src_wdfs-main_c
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Fix a bug which caused wdfs to freeze when unmounting if it wasn't called in
|"foreground" mode.
|
|Index: src/wdfs-main.c
|--- src/wdfs-main.c.orig
|+++ src/wdfs-main.c
--------------------------
Patching file src/wdfs-main.c using Plan A...
Hunk #1 succeeded at 1219 (offset -1 lines).
Hunk #2 succeeded at 1392 (offset -1 lines).
done
===> Applying OpenBSD patch patch-src_wdfs-main_h
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: src/wdfs-main.h
|--- src/wdfs-main.h.orig
|+++ src/wdfs-main.h
--------------------------
Patching file src/wdfs-main.h using Plan A...
Hunk #1 succeeded at 5.
done
===> Compiler link: clang -> /usr/bin/clang
===> Compiler link: clang++ -> /usr/bin/clang++
===> Compiler link: cc -> /usr/bin/cc
===> Compiler link: c++ -> /usr/bin/c++
===> Generating configure for wdfs-fuse-1.4.2
===> Configuring for wdfs-fuse-1.4.2
Using /usr/ports/pobj/wdfs-fuse-1.4.2/config.site (generated)
configure: loading site script /usr/ports/pobj/wdfs-fuse-1.4.2/config.site
checking for a BSD-compatible install... /usr/ports/pobj/wdfs-fuse-1.4.2/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) awk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for pthread.h... (cached) yes
checking for strndup... yes
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for WDFS... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
===> Building for wdfs-fuse-1.4.2
Making all in src
make all-am
if cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -I/usr/local/include/neon -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Wall -D_GNU_SOURCE -D_REENTRANT -MT cache.o -MD -MP -MF ".deps/cache.Tpo" -c -o cache.o cache.c; then mv -f ".deps/cache.Tpo" ".deps/cache.Po"; else rm -f ".deps/cache.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -I/usr/local/include/neon -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Wall -D_GNU_SOURCE -D_REENTRANT -MT svn.o -MD -MP -MF ".deps/svn.Tpo" -c -o svn.o svn.c; then mv -f ".deps/svn.Tpo" ".deps/svn.Po"; else rm -f ".deps/svn.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I. -O2 -pipe -I/usr/local/include/neon -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Wall -D_GNU_SOURCE -D_REENTRANT -MT wdfs-main.o -MD -MP -MF ".deps/wdfs-main.Tpo" -c -o wdfs-main.o wdfs-main.c; then mv -f ".deps/wdfs-main.Tpo" ".deps/wdfs-main.Po"; else rm -f ".deps/wdfs-main.Tpo"; exit 1; fi
wdfs-main.c:700:24: warning: address of 'fi' will always evaluate to 'true' [-Wpointer-bool-conversion]
assert(localpath && &fi);
~~ ^~
/usr/include/assert.h:56:23: note: expanded from macro 'assert'
# define assert(e) ((e) ? (void)0 : __assert2(__FILE__, __LINE__, __func__, #e))
^
wdfs-main.c:766:31: warning: address of 'fi' will always evaluate to 'true' [-Wpointer-bool-conversion]
assert(localpath && buf && &fi);
~~ ^~
/usr/include/assert.h:56:23: note: expanded from macro 'assert'
# define assert(e) ((e) ? (void)0 : __assert2(__FILE__, __LINE__, __func__, #e))
^
wdfs-main.c:768:47: error: use of undeclared identifier 'uintptr_t'
struct open_file *file = (struct open_file*)(uintptr_t)fi->fh;
^
wdfs-main.c:788:31: warning: address of 'fi' will always evaluate to 'true' [-Wpointer-bool-conversion]
assert(localpath && buf && &fi);
~~ ^~
/usr/include/assert.h:56:23: note: expanded from macro 'assert'
# define assert(e) ((e) ? (void)0 : __assert2(__FILE__, __LINE__, __func__, #e))
^
wdfs-main.c:794:47: error: use of undeclared identifier 'uintptr_t'
struct open_file *file = (struct open_file*)(uintptr_t)fi->fh;
^
wdfs-main.c:819:47: error: use of undeclared identifier 'uintptr_t'
struct open_file *file = (struct open_file*)(uintptr_t)fi->fh;
^
wdfs-main.c:964:24: warning: address of 'fi' will always evaluate to 'true' [-Wpointer-bool-conversion]
assert(localpath && &fi);
~~ ^~
/usr/include/assert.h:56:23: note: expanded from macro 'assert'
# define assert(e) ((e) ? (void)0 : __assert2(__FILE__, __LINE__, __func__, #e))
^
wdfs-main.c:974:47: error: use of undeclared identifier 'uintptr_t'
struct open_file *file = (struct open_file*)(uintptr_t)fi->fh;
^
4 warnings and 4 errors generated.
*** Error 1 in src (Makefile:240 'wdfs-main.o')
*** Error 2 in src (Makefile:150 'all')
*** Error 1 in /usr/ports/pobj/wdfs-fuse-1.4.2/wdfs-1.4.2 (Makefile:220 'all-recursive': @failcom='exit 1'; for f in x $MAKEFLAGS; do case...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2967 '/usr/ports/pobj/wdfs-fuse-1.4.2/.build_done': @cd /usr/ports/pobj/wdfs-fuse...)
*** Error 2 in /usr/ports/mystuff/sysutils/wdfs-fuse (/usr/ports/infrastructure/mk/bsd.port.mk:2607 'all': @lock=wdfs-fuse-1.4.2; export _L...)
Hello Rubén!
porting@use.startmail.com (Rubén Llorente), 2022.05.28 (Sat) 11:51 (CEST):
> This is the third time I try to send this iteration of wdfs in. I think
> a blackhole is eating my emails or something.
No, at least two persons are reading your mails :-)
Generally speaking, a WebDAV mount would be helpfull for me, some
nextcloud and SOGo servers around here.
But... compiling from /usr/ports/mystuff/sysutils/wdfs-fuse failed:
wdfs-main.c:768:47: error: use of undeclared identifier 'uintptr_t'
struct open_file *file = (struct open_file*)(uintptr_t)fi->fh;
I attached the full make output.
Thanks for your work!
Marcus
No comments:
Post a Comment