Bug 231662 - net/nfs-ganesha: fix build
Summary: net/nfs-ganesha: fix build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-24 13:16 UTC by Mathieu Arnold
Modified: 2018-10-09 04:15 UTC (History)
1 user (show)

See Also:
fatih: maintainer-feedback+


Attachments
v1 (659 bytes, patch)
2018-09-24 13:16 UTC, Mathieu Arnold
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Arnold freebsd_committer freebsd_triage 2018-09-24 13:16:09 UTC
Created attachment 197432 [details]
v1

FAILED: libntirpc/tests/rpcping 
: && /usr/bin/cc -O2 -pipe  -Wno-error -fno-strict-aliasing -O2 -ggdb -fno-omit-frame-pointer -fno-optimize-sibling-calls -O2 -pipe  -Wno-error -fno-strict-aliasing  -Wl,--export-dynamic libntirpc/tests/CMakeFiles/rpcping.dir/rpcping.c.o  -o libntirpc/tests/rpcping -L/usr/local/lib -Wl,-rpath,/usr/local/lib:/wrkdirs/usr/ports/net/nfs-ganesha/work/nfs-ganesha-2.7.0/libntirpc/src libntirpc/src/libntirpc.so.1.7.0 -pthread -ldl -lexecinfo -ldbus-1 -lrt && :
/usr/bin/ld: cannot find -ldl
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2018-09-24 13:18:33 UTC
for the record, this is for freebsd 10.4 and 11.1. FreeBSD 11.2 and 12 does not need this patch anymore.
Comment 2 fatih 2018-09-24 14:29:37 UTC
Thanks for the patch, as bapt@ pointed out libdl is now available on latest releases.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-10-08 13:14:08 UTC
A commit references this bug:

Author: mat
Date: Mon Oct  8 13:13:21 UTC 2018
New revision: 481540
URL: https://svnweb.freebsd.org/changeset/ports/481540

Log:
  Fix build.

  PR:		231662
  Submitted by:	mat
  Approved by:	maintainer

Changes:
  head/net/nfs-ganesha/files/patch-src_libntirpc_tests_CMakeLists.txt