ANNOUNCE: nfs-utils-2.3.1 released.
Subsystems (3)
Hello,
nfs-utils-2.3.1 has just been released.
The main reason for this release is the SONAME is changing on libnfsidmap library. The API is being tidied up so internal functions and variable are no longer exposed.
This should only cause pain for a couple of packages which probably mean there will be some growing pains.
Down the road I would like to see no dependence on this library so it can become an static library internal to nfs-utils.
The tarballs can be found in
https://www.kernel.org/pub/linux/utils/nfs-utils/2.3.1/
or
http://sourceforge.net/projects/nfs/files/nfs-utils/2.3.1
The change log is in
https://www.kernel.org/pub/linux/utils/nfs-utils/2.3.1/2.3.1-Changelog
or
http://sourceforge.net/projects/nfs/files/nfs-utils/2.3.1/
The git tree is at:
git://linux-nfs.org/~steved/nfs-utils
Please send comments/bugs to [email protected]
steved.
This new version fails make check here now:
nsm_client.c:147:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
my_prog = atoi(optarg);
~~~~~~~~^~~~~~~~~~~~~~nsm_client.c:148:3: note: here
case 'v':
^~~~
make[4]: *** No rule to make target '../../support/nfs/libnfs.a', needed by 'nsm_client'. make[4]: Target 'nsm_client' not remade because of errors.
make[3]: *** [Makefile:565: check-am] Error 2
make[2]: *** [Makefile:567: check] Error 2statdb_dump.c: In function ‘dump_host’:
statdb_dump.c:38:17: warning: unused parameter ‘timestamp’ [-Wunused-parameter]
const time_t timestamp)
^~~~~~~~~statdb_dump.c: In function ‘main’:
statdb_dump.c:91:10: warning: unused parameter ‘argc’ [-Wunused-parameter]
main(int argc, char **argv)
^~~~
make[3]: *** No rule to make target '../support/nfs/libnfs.a', needed by 'statdb_dump'. make[3]: Target 'statdb_dump' not remade because of errors.
make[2]: *** [Makefile:1028: check-am] Error 2
make[1]: *** [Makefile:717: check-recursive] Error 1
make[1]: Target 'check' not remade because of errors.
Any idea?
Andy
Arch Linux
Quoted 8 lines · Andreas Radke
This new version fails make check here now:
nsm_client.c:147:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
my_prog = atoi(optarg); ~~~~~~~~^~~~~~~~~~~~~~ nsm_client.c:148:3: note: here case 'v': ^~~~
What do you think Jeff, you introduced this code 8 years ago and this switch statement has always been broken.
Does anyone use this code? Should we fix it, it just remove it?
Quoted 2 lines
make[4]: *** No rule to make target '../../support/nfs/libnfs.a', needed by '
nsm_client'.
This looks like a bug in automake??? ../../support/nfs/libnfs.a is listed as _LDADD
which should add it to the 'ld' command, but I don't see that it should be added as a dependency.
Quoted 7 lines
make[4]: Target '
nsm_client' not remade because of errors. make[3]: *** [Makefile:565: check-am] Error 2
make[2]: *** [Makefile:567: check] Error 2statdb_dump.c: In function ‘dump_host’:
statdb_dump.c:38:17: warning: unused parameter ‘timestamp’ [-Wunused-parameter]
consttime_ttimestamp)
^~~~~~~~~
This arg has to be there because it is part of an external API. As the function is passed as an arg to an extern function, gcc could deduce that the signature cannot be changed just because the arg isn't needed.
Quoted 4 lines
statdb_dump.c: In function ‘main’:
statdb_dump.c:91:10: warning: unused parameter ‘argc’ [-Wunused-parameter]
main(int argc, char **argv)^~~~
This arg doesn't need to be used (obviously) but cannot be removed. So this is a dumb warning too.
Maybe we should add __attribute__((unused)) ??
Quoted 6 lines
make[3]: *** No rule to make target '../support/nfs/libnfs.a', needed by '
statdb_dump'. make[3]: Target 'statdb_dump' not remade because of errors.
make[2]: *** [Makefile:1028: check-am] Error 2
make[1]: *** [Makefile:717: check-recursive] Error 1
make[1]: Target 'check' not remade because of errors.
I assume you get these errors by running "make check" without first running "make"??
If you run "make" first, the errors go away, and you are left with the warnings.
Maybe they are worth fixing .... let's see what Jeff thinks.
NeilBrown
Jeff Layton
maintainerQuoted 11 lines · NeilBrown
Quoted 8 lines · Andreas Radke
This new version fails make check here now:
nsm_client.c:147:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
my_prog = atoi(optarg); ~~~~~~~~^~~~~~~~~~~~~~ nsm_client.c:148:3: note: here case 'v': ^~~~
Quoted 2 lines
What do you think Jeff, you introduced this code 8 years ago and this switch statement has always been broken.
Ouch!
Quoted 46 lines
Does anyone use this code? Should we fix it, it just remove it?
Quoted 2 lines
make[4]: *** No rule to make target '../../support/nfs/libnfs.a', needed by '
nsm_client'.This looks like a bug in automake??? ../../support/nfs/libnfs.a is listed as
_LDADDwhich should add it to the 'ld' command, but I don't see that it should be added as a dependency.
Quoted 7 lines
make[4]: Target '
nsm_client' not remade because of errors. make[3]: *** [Makefile:565: check-am] Error 2
make[2]: *** [Makefile:567: check] Error 2statdb_dump.c: In function ‘dump_host’:
statdb_dump.c:38:17: warning: unused parameter ‘timestamp’ [-Wunused-parameter]
consttime_ttimestamp)
^~~~~~~~~This arg has to be there because it is part of an external API. As the function is passed as an arg to an extern function, gcc could deduce that the signature cannot be changed just because the arg isn't needed.
Quoted 4 lines
statdb_dump.c: In function ‘main’:
statdb_dump.c:91:10: warning: unused parameter ‘argc’ [-Wunused-parameter]
main(int argc, char **argv)^~~~This arg doesn't need to be used (obviously) but cannot be removed. So this is a dumb warning too.
Maybe we should add __attribute__((unused)) ??
Quoted 6 lines
make[3]: *** No rule to make target '../support/nfs/libnfs.a', needed by '
statdb_dump'. make[3]: Target 'statdb_dump' not remade because of errors.
make[2]: *** [Makefile:1028: check-am] Error 2
make[1]: *** [Makefile:717: check-recursive] Error 1
make[1]: Target 'check' not remade because of errors.
Quoted 8 lines
I assume you get these errors by running "make check" without first running "make"??
If you run "make" first, the errors go away, and you are left with the warnings.Maybe they are worth fixing .... let's see what Jeff thinks.
NeilBrown
I don't have any particular attachment to this code these days. statd is legacy code at this point. I'm fine with removing it.
If we do intend to keep it though, then we should definitely fix that switch statement.
Thanks,
Signature · 1 line
Jeff Layton <[email protected]>
Quoted 12 lines · Jeff Layton
Quoted 11 lines · NeilBrown
Quoted 8 lines · Andreas Radke
This new version fails make check here now:
nsm_client.c:147:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
my_prog = atoi(optarg); ~~~~~~~~^~~~~~~~~~~~~~ nsm_client.c:148:3: note: here case 'v': ^~~~
Quoted 4 lines
Quoted 2 lines
What do you think Jeff, you introduced this code 8 years ago and this switch statement has always been broken.
Ouch!
We don't hold it against you.. 8-)
Quoted 54 lines
Quoted 54 lines
Does anyone use this code? Should we fix it, it just remove it?
Quoted 2 lines
make[4]: *** No rule to make target '../../support/nfs/libnfs.a', needed by '
nsm_client'.This looks like a bug in automake??? ../../support/nfs/libnfs.a is listed as
_LDADDwhich should add it to the 'ld' command, but I don't see that it should be added as a dependency.
Quoted 7 lines
make[4]: Target '
nsm_client' not remade because of errors. make[3]: *** [Makefile:565: check-am] Error 2
make[2]: *** [Makefile:567: check] Error 2statdb_dump.c: In function ‘dump_host’:
statdb_dump.c:38:17: warning: unused parameter ‘timestamp’ [-Wunused-parameter]
consttime_ttimestamp)
^~~~~~~~~This arg has to be there because it is part of an external API. As the function is passed as an arg to an extern function, gcc could deduce that the signature cannot be changed just because the arg isn't needed.
Quoted 4 lines
statdb_dump.c: In function ‘main’:
statdb_dump.c:91:10: warning: unused parameter ‘argc’ [-Wunused-parameter]
main(int argc, char **argv)^~~~This arg doesn't need to be used (obviously) but cannot be removed. So this is a dumb warning too.
Maybe we should add __attribute__((unused)) ??
Quoted 6 lines
make[3]: *** No rule to make target '../support/nfs/libnfs.a', needed by '
statdb_dump'. make[3]: Target 'statdb_dump' not remade because of errors.
make[2]: *** [Makefile:1028: check-am] Error 2
make[1]: *** [Makefile:717: check-recursive] Error 1
make[1]: Target 'check' not remade because of errors.I assume you get these errors by running "make check" without first running "make"??
If you run "make" first, the errors go away, and you are left with the warnings.Maybe they are worth fixing .... let's see what Jeff thinks.
Quoted 7 lines
Quoted 1 line
NeilBrown
I don't have any particular attachment to this code these days. statd is legacy code at this point. I'm fine with removing it.
If we do intend to keep it though, then we should definitely fix that switch statement.
I really think the question is if this is dead code... lets to the appropriate thing... with all due respect... of course! :-)
steved.
Quoted 3 lines
Thanks,
Quoted 85 lines · Steve Dickson
Quoted 12 lines · Jeff Layton
Quoted 11 lines · NeilBrown
Quoted 8 lines · Andreas Radke
This new version fails make check here now:
nsm_client.c:147:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
my_prog = atoi(optarg); ~~~~~~~~^~~~~~~~~~~~~~ nsm_client.c:148:3: note: here case 'v': ^~~~Quoted 4 lines
Quoted 2 lines
What do you think Jeff, you introduced this code 8 years ago and this switch statement has always been broken.
Ouch!
We don't hold it against you.. 8-)
Quoted 54 lines
Quoted 54 lines
Does anyone use this code? Should we fix it, it just remove it?
Quoted 2 lines
make[4]: *** No rule to make target '../../support/nfs/libnfs.a', needed by '
nsm_client'.This looks like a bug in automake??? ../../support/nfs/libnfs.a is listed as
_LDADDwhich should add it to the 'ld' command, but I don't see that it should be added as a dependency.
Quoted 7 lines
make[4]: Target '
nsm_client' not remade because of errors. make[3]: *** [Makefile:565: check-am] Error 2
make[2]: *** [Makefile:567: check] Error 2statdb_dump.c: In function ‘dump_host’:
statdb_dump.c:38:17: warning: unused parameter ‘timestamp’ [-Wunused-parameter]
consttime_ttimestamp)
^~~~~~~~~This arg has to be there because it is part of an external API. As the function is passed as an arg to an extern function, gcc could deduce that the signature cannot be changed just because the arg isn't needed.
Quoted 4 lines
statdb_dump.c: In function ‘main’:
statdb_dump.c:91:10: warning: unused parameter ‘argc’ [-Wunused-parameter]
main(int argc, char **argv)^~~~This arg doesn't need to be used (obviously) but cannot be removed. So this is a dumb warning too.
Maybe we should add __attribute__((unused)) ??
Quoted 6 lines
make[3]: *** No rule to make target '../support/nfs/libnfs.a', needed by '
statdb_dump'. make[3]: Target 'statdb_dump' not remade because of errors.
make[2]: *** [Makefile:1028: check-am] Error 2
make[1]: *** [Makefile:717: check-recursive] Error 1
make[1]: Target 'check' not remade because of errors.I assume you get these errors by running "make check" without first running "make"??
If you run "make" first, the errors go away, and you are left with the warnings.Maybe they are worth fixing .... let's see what Jeff thinks.
Quoted 7 lines
Quoted 1 line
NeilBrown
I don't have any particular attachment to this code these days. statd is legacy code at this point. I'm fine with removing it.
If we do intend to keep it though, then we should definitely fix that switch statement.
I really think the question is if this is dead code... lets to the appropriate thing... with all due respect... of course! :-)
Signature · 1 line
Jeff Layton <[email protected]>
Quoted 11 lines · NeilBrown
Quoted 8 lines · Andreas Radke
This new version fails make check here now:
nsm_client.c:147:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
my_prog = atoi(optarg); ~~~~~~~~^~~~~~~~~~~~~~ nsm_client.c:148:3: note: here case 'v': ^~~~
Quoted 3 lines
What do you think Jeff, you introduced this code 8 years ago and this switch statement has always been broken.
Does anyone use this code? Should we fix it, it just remove it?
I had the same thought... I just didn't get around to asking it...
Does anybody used this v3 testing code???
If it disappeared would anybody miss it???
Neil, thanks for bring this up!
steved.
Quoted 54 lines
Quoted 5 lines
make[4]: *** No rule to make target '../../support/nfs/libnfs.a', needed by '
nsm_client'.This looks like a bug in automake??? ../../support/nfs/libnfs.a is listed as
_LDADDwhich should add it to the 'ld' command, but I don't see that it should be added as a dependency.
Quoted 7 lines
make[4]: Target '
nsm_client' not remade because of errors. make[3]: *** [Makefile:565: check-am] Error 2
make[2]: *** [Makefile:567: check] Error 2statdb_dump.c: In function ‘dump_host’:
statdb_dump.c:38:17: warning: unused parameter ‘timestamp’ [-Wunused-parameter]
consttime_ttimestamp)
^~~~~~~~~This arg has to be there because it is part of an external API. As the function is passed as an arg to an extern function, gcc could deduce that the signature cannot be changed just because the arg isn't needed.
Quoted 4 lines
statdb_dump.c: In function ‘main’:
statdb_dump.c:91:10: warning: unused parameter ‘argc’ [-Wunused-parameter]
main(int argc, char **argv)^~~~This arg doesn't need to be used (obviously) but cannot be removed. So this is a dumb warning too.
Maybe we should add __attribute__((unused)) ??
Quoted 6 lines
make[3]: *** No rule to make target '../support/nfs/libnfs.a', needed by '
statdb_dump'. make[3]: Target 'statdb_dump' not remade because of errors.
make[2]: *** [Makefile:1028: check-am] Error 2
make[1]: *** [Makefile:717: check-recursive] Error 1
make[1]: Target 'check' not remade because of errors.I assume you get these errors by running "make check" without first running "make"??
If you run "make" first, the errors go away, and you are left with the warnings.Maybe they are worth fixing .... let's see what Jeff thinks.
NeilBrown