Hi all As there seem to be no RPMs for version 5 in available repositories, I tried to build the RPMs myself but get stuck at 79% (note I’m not an experienced developer so this may be a simple question). [ 79%] Linking C shared library libganesha_nfsd.so ../os/CMakeFiles/gos.dir/linux/acl.c.o: In function `acl_get_fd_np': /root/git/nfs-ganesha/src/os/linux/acl.c:44: undefined reference to `acl_get_fd' /root/git/nfs-ganesha/src/os/linux/acl.c:57: undefined reference to `acl_get_file' ../os/CMakeFiles/gos.dir/linux/acl.c.o: In function `acl_set_fd_np': /root/git/nfs-ganesha/src/os/linux/acl.c:79: undefined reference to `acl_set_fd' /root/git/nfs-ganesha/src/os/linux/acl.c:92: undefined reference to `acl_set_file' collect2: error: ld returned 1 exit status make[2]: *** [MainNFSD/CMakeFiles/ganesha_nfsd.dir/build.make:754: MainNFSD/libganesha_nfsd.so.5.1] Error 1 make[1]: *** [CMakeFiles/Makefile2:1922: MainNFSD/CMakeFiles/ganesha_nfsd.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 Googling the problem essentially returns Q&As from 2007 with little to no useful info ...…. Any suggestions (or pointers to already built binaries) ?? Regards Torben ______________________ Dr. Torben Kling Petersen Distinguished Technologist +46-704 393 240 [image001.png]
On Thu, Apr 27, 2023 at 7:44 AM Kling Petersen, Torben < torben.klingpetersen@hpe.com> wrote:
Hi all
As there seem to be no RPMs for version 5 in available repositories,
There are packages in Fedora for Rawhide since Monday. I just tagged the CentOS builds for Stream8 and Stream9 for 'release' yesterday, and they should be on most of the mirrors by now I suspect. They are always tagged for 'testing' for a few days before they are tagged for release and you can get them from the testing repos at https://buildlogs.centos.org/centos/ Note that I haven't built the new centos-release-nfs-ganesha5 yum/dnf repo packages yet. And that will take a while until CentOS does their next compose. Packages for Ubuntu are available in the PPA at https://launchpad.net/~nfs-ganesha/+archive/ubuntu/nfs-ganesha-5 Packages for Debian are built and will be on download.nfs-ganesha.org soon. I'm not sure when I'll get to building packages for SUSE, but if someone needs them, let us know so we can prioritize. -- Kaleb
Thanks, appreciate the quick update …. Regards Torben ______________________ Dr. Torben Kling Petersen Distinguished Technologist +46-704 393 240 [image001.png] On 27 Apr 2023, at 14:55, Kaleb Keithley <kkeithle@redhat.com> wrote: On Thu, Apr 27, 2023 at 7:44 AM Kling Petersen, Torben <torben.klingpetersen@hpe.com<mailto:torben.klingpetersen@hpe.com>> wrote: Hi all As there seem to be no RPMs for version 5 in available repositories, There are packages in Fedora for Rawhide since Monday. I just tagged the CentOS builds for Stream8 and Stream9 for 'release' yesterday, and they should be on most of the mirrors by now I suspect. They are always tagged for 'testing' for a few days before they are tagged for release and you can get them from the testing repos at https://buildlogs.centos.org/centos/ Note that I haven't built the new centos-release-nfs-ganesha5 yum/dnf repo packages yet. And that will take a while until CentOS does their next compose. Packages for Ubuntu are available in the PPA at https://launchpad.net/~nfs-ganesha/+archive/ubuntu/nfs-ganesha-5 Packages for Debian are built and will be on download.nfs-ganesha.org<http://download.nfs-ganesha.org/> soon. I'm not sure when I'll get to building packages for SUSE, but if someone needs them, let us know so we can prioritize. -- Kaleb
For the build part, you appear to be missing libacl and it's -devel package. Daniel On 4/27/23 03:37, Kling Petersen, Torben wrote:
Hi all
As there seem to be no RPMs for version 5 in available repositories, I tried to build the RPMs myself but get stuck at 79% (note I’m not an experienced developer so this may be a simple question).
[ 79%] Linking C shared library libganesha_nfsd.so ../os/CMakeFiles/gos.dir/linux/acl.c.o: In function `acl_get_fd_np': /root/git/nfs-ganesha/src/os/linux/acl.c:44: undefined reference to `acl_get_fd' /root/git/nfs-ganesha/src/os/linux/acl.c:57: undefined reference to `acl_get_file' ../os/CMakeFiles/gos.dir/linux/acl.c.o: In function `acl_set_fd_np': /root/git/nfs-ganesha/src/os/linux/acl.c:79: undefined reference to `acl_set_fd' /root/git/nfs-ganesha/src/os/linux/acl.c:92: undefined reference to `acl_set_file' collect2: error: ld returned 1 exit status make[2]: *** [MainNFSD/CMakeFiles/ganesha_nfsd.dir/build.make:754: MainNFSD/libganesha_nfsd.so.5.1] Error 1 make[1]: *** [CMakeFiles/Makefile2:1922: MainNFSD/CMakeFiles/ganesha_nfsd.dir/all] Error 2 make: *** [Makefile:156: all] Error 2
Googling the problem essentially returns Q&As from 2007 with little to no useful info ...….
Any suggestions (or pointers to already built binaries) ??
Regards Torben ______________________ Dr. Torben Kling Petersen Distinguished Technologist +46-704 393 240
image001.png
_______________________________________________ Support mailing list -- support@lists.nfs-ganesha.org To unsubscribe send an email to support-leave@lists.nfs-ganesha.org
Hi Daniel No, they are actually installed (the build failed at 43% due to the lack of these) so that isn’t the problem. I was told by one of our benchmark people that he suspected that there’s something missing in the cmakelist.txt e.g., the clean fix is to add this lib to the CMakeLists.txt I have only examples from 'something' else - but it usually looks then like this: df_component_register(SRCS "asio/asio/src/asio.cpp" INCLUDE_DIRS "asio/asio/include" "port/include" REQUIRES lwip) ... "REQUIRES lacl" would be my bet. Tried to find a similar entry but no success ... Regards Torben ______________________ Dr. Torben Kling Petersen Distinguished Technologist +46-704 393 240 [image001.png] On 27 Apr 2023, at 15:58, Daniel Gryniewicz <dang@redhat.com> wrote: For the build part, you appear to be missing libacl and it's -devel package. Daniel On 4/27/23 03:37, Kling Petersen, Torben wrote: Hi all As there seem to be no RPMs for version 5 in available repositories, I tried to build the RPMs myself but get stuck at 79% (note I’m not an experienced developer so this may be a simple question). [ 79%] Linking C shared library libganesha_nfsd.so ../os/CMakeFiles/gos.dir/linux/acl.c.o: In function `acl_get_fd_np': /root/git/nfs-ganesha/src/os/linux/acl.c:44: undefined reference to `acl_get_fd' /root/git/nfs-ganesha/src/os/linux/acl.c:57: undefined reference to `acl_get_file' ../os/CMakeFiles/gos.dir/linux/acl.c.o: In function `acl_set_fd_np': /root/git/nfs-ganesha/src/os/linux/acl.c:79: undefined reference to `acl_set_fd' /root/git/nfs-ganesha/src/os/linux/acl.c:92: undefined reference to `acl_set_file' collect2: error: ld returned 1 exit status make[2]: *** [MainNFSD/CMakeFiles/ganesha_nfsd.dir/build.make:754: MainNFSD/libganesha_nfsd.so.5.1] Error 1 make[1]: *** [CMakeFiles/Makefile2:1922: MainNFSD/CMakeFiles/ganesha_nfsd.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 Googling the problem essentially returns Q&As from 2007 with little to no useful info ...…. Any suggestions (or pointers to already built binaries) ?? Regards Torben ______________________ Dr. Torben Kling Petersen Distinguished Technologist +46-704 393 240 image001.png _______________________________________________ Support mailing list -- support@lists.nfs-ganesha.org<mailto:support@lists.nfs-ganesha.org> To unsubscribe send an email to support-leave@lists.nfs-ganesha.org<mailto:support-leave@lists.nfs-ganesha.org> _______________________________________________ Support mailing list -- support@lists.nfs-ganesha.org<mailto:support@lists.nfs-ganesha.org> To unsubscribe send an email to support-leave@lists.nfs-ganesha.org<mailto:support-leave@lists.nfs-ganesha.org>
participants (3)
-
Daniel Gryniewicz -
Kaleb Keithley -
Kling Petersen, Torben