[Bug 274396] devel/sysrepo: add new port

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 18 Oct 2023 19:29:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274396

Robert Clausecker <fuz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Assignee|ports-bugs@FreeBSD.org      |fuz@FreeBSD.org
                 CC|                            |fuz@FreeBSD.org

--- Comment #1 from Robert Clausecker <fuz@FreeBSD.org> ---
Should the category be databases as this is a service that stores data? 
sysutils might also be appropriate.

GH_ACCOUNT can be omitted as it is identical to PORTNAME.

A test build fails on arm64:

CMake Error at
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230
(message):
  Could NOT find LibYANG: Found unsuitable version "1.10.32", but required is
  at least "2.38.10" (found /usr/local/lib/libyang.so)
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:598
(_FPHSA_FAILURE_MESSAGE)
  CMakeModules/FindLibYANG.cmake:86 (find_package_handle_standard_args)
  CMakeLists.txt:392 (find_package)

I had accidentally installed net/libyang instead of net/libyang2.  Please avoid
this problem by adding a version bound on the libyang.so dependency.

Fixing this, the build then fails because my libyang2 is still to old (oh no!).
 Building a new one, the build now succeeds.

Check if you can hook up the unit tests to "make test".  USES=cmake:testing may
just suffice for that.

Apart from these issues, the port seems to be ready to commit.  Please fix and
resubmit.

-- 
You are receiving this mail because:
You are the assignee for the bug.