Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1019447
| From | Andreas Beckmann <anbe@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#966347: gnunet-fuse: FTBFS: error: 'GNUNET_GETOPT_set_string' undeclared |
| Date | 2020-07-27 11:40 +0200 |
| Message-ID | <Ax7LX-4nt-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Source: gnunet-fuse
Version: 0.10.0-2
Severity: serious
Tags: ftbfs bullseye sid experimental
Justification: fails to build from source (but built successfully in the past)
Control: found -1 0.11.0-1
make[5]: Entering directory '/build/gnunet-fuse-0.10.0/src/fuse'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../.. -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -Wall -g -O2 -fdebug-prefix-map=/build/gnunet-fuse-0.10.0=. -fstack-protector-strong -Wformat -Werror=format-security -c -o gnunet_fuse-gnunet-fuse.o `test -f 'gnunet-fuse.c' || echo './'`gnunet-fuse.c
gnunet-fuse.c: In function 'GNUNET_FUSE_load_directory':
gnunet-fuse.c:135:5: warning: implicit declaration of function 'UNLINK'; did you mean 'EMLINK'? [-Wimplicit-function-declaration]
135 | UNLINK (pi->tmpfile);
| ^~~~~~
| EMLINK
gnunet-fuse.c: In function 'run':
gnunet-fuse.c:459:7: warning: implicit declaration of function 'STRERROR'; did you mean 'SO_ERROR'? [-Wimplicit-function-declaration]
459 | STRERROR (eno));
| ^~~~~~~~
| SO_ERROR
In file included from /usr/include/gnunet/gettext.h:26,
from /usr/include/gnunet/platform.h:180,
from gnunet-fuse.h:28,
from gnunet-fuse.c:27:
gnunet-fuse.c:457:9: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=]
457 | _("Failed to mount `%s': %s\n"),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gnunet-fuse.c:457:33: note: format string is defined here
457 | _("Failed to mount `%s': %s\n"),
| ~^
| |
| char *
| %d
gnunet-fuse.c: In function 'main':
gnunet-fuse.c:502:7: error: 'GNUNET_GETOPT_set_string' undeclared (first use in this function); did you mean 'GNUNET_GETOPT_option_string'?
502 | &GNUNET_GETOPT_set_string, &source},
| ^~~~~~~~~~~~~~~~~~~~~~~~
| GNUNET_GETOPT_option_string
gnunet-fuse.c:502:7: note: each undeclared identifier is reported only once for each function it appears in
gnunet-fuse.c:502:33: warning: initialization of 'int' from 'char **' makes integer from pointer without a cast [-Wint-conversion]
502 | &GNUNET_GETOPT_set_string, &source},
| ^
gnunet-fuse.c:502:33: note: (near initialization for 'options[0].option_exclusive')
gnunet-fuse.c:502:33: error: initializer element is not computable at load time
gnunet-fuse.c:502:33: note: (near initialization for 'options[0].option_exclusive')
gnunet-fuse.c:505:33: warning: initialization of 'int' from 'char **' makes integer from pointer without a cast [-Wint-conversion]
505 | &GNUNET_GETOPT_set_string, &directory},
| ^
gnunet-fuse.c:505:33: note: (near initialization for 'options[1].option_exclusive')
gnunet-fuse.c:505:33: error: initializer element is not computable at load time
gnunet-fuse.c:505:33: note: (near initialization for 'options[1].option_exclusive')
gnunet-fuse.c:508:7: error: 'GNUNET_GETOPT_set_one' undeclared (first use in this function); did you mean 'GNUNET_GETOPT_run'?
508 | &GNUNET_GETOPT_set_one, &single_threaded},
| ^~~~~~~~~~~~~~~~~~~~~
| GNUNET_GETOPT_run
gnunet-fuse.c:508:30: warning: initialization of 'int' from 'int *' makes integer from pointer without a cast [-Wint-conversion]
508 | &GNUNET_GETOPT_set_one, &single_threaded},
| ^
gnunet-fuse.c:508:30: note: (near initialization for 'options[2].option_exclusive')
gnunet-fuse.c:508:30: error: initializer element is not computable at load time
gnunet-fuse.c:508:30: note: (near initialization for 'options[2].option_exclusive')
make[5]: *** [Makefile:498: gnunet_fuse-gnunet-fuse.o] Error 1
make[5]: Leaving directory '/build/gnunet-fuse-0.10.0/src/fuse'
Andreas
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#966347: gnunet-fuse: FTBFS: error: 'GNUNET_GETOPT_set_string' undeclared Andreas Beckmann <anbe@debian.org> - 2020-07-27 11:40 +0200
csiph-web