| Summary: | devel/rapidyaml: New port: Library to parse and emit YAML | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Gasol Wu <gasol.wu> | ||||||||
| Component: | Individual Port(s) | Assignee: | Fernando Apesteguía <fernape> | ||||||||
| Status: | Closed FIXED | ||||||||||
| Severity: | Affects Only Me | CC: | fernape, timp87 | ||||||||
| Priority: | --- | Keywords: | needs-qa | ||||||||
| Version: | Latest | ||||||||||
| Hardware: | Any | ||||||||||
| OS: | Any | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 260998 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Gasol Wu
2022-01-07 06:48:54 UTC
bug #260996 for the dependency The LIB_DEPENDS line is ill formed. The minimum version goes before the ':', not after. On the other hand, unless it is necessay, it is better not to add minimum versions. In this case it is superfluous because we just added c4core and we know we are not going to add a version less than 0.1.8. Apart from that, the port fails to build: /bin/mkdir -p /wrkdirs/usr/ports/devel/rapidyaml/work/.build -- The CXX compiler identification is Clang 11.0.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- ryml: using C++ standard: C++11 -- ryml: setting C++ standard: 11 -- ryml: setting C++ standard required: ON -- ryml: packing the project: CMake Error at ext/c4core/cmake/c4Project.cmake:1039 (find_program): Could not find GIT using the following names: git Call Stack (most recent call first): ext/c4core/cmake/c4Project.cmake:881 (c4_proj_get_version) ext/c4core/cmake/c4Project.cmake:822 (c4_set_default_pack_properties) CMakeLists.txt:70 (c4_pack_project) -- Configuring incomplete, errors occurred! See also "/wrkdirs/usr/ports/devel/rapidyaml/work/.build/CMakeFiles/CMakeOutput.log". *** Error code 1 Stop. make: stopped in /usr/ports/devel/rapidyaml It misses git@lite as a BUILD_DEPENDS. Please, test your submissions with poudriere and or portclippy, portlint. Created attachment 230805 [details]
Patch updated
Fix build
Created attachment 230807 [details]
testport
pass portlint and poudriere
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bab56f380df0090c0d3c592d21b5796d89e3ffd5 commit bab56f380df0090c0d3c592d21b5796d89e3ffd5 Author: Gasol Wu <gasol.wu@gmail.com> AuthorDate: 2022-01-08 13:04:43 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-01-08 13:21:23 +0000 devel/rapidyaml: New port: Library to parse and emit YAML Needed for the upcoming version of devel/jsonnet PR: 260997 Reported by: gasol.wu@gmail.com (maintainer) devel/Makefile | 1 + devel/rapidyaml/Makefile (new) | 27 +++++++++++++++++++++ devel/rapidyaml/distinfo (new) | 5 ++++ devel/rapidyaml/files/patch-CMakeLists.txt (new) | 31 ++++++++++++++++++++++++ devel/rapidyaml/pkg-descr (new) | 13 ++++++++++ devel/rapidyaml/pkg-plist (new) | 26 ++++++++++++++++++++ 6 files changed, 103 insertions(+) Committed, Thanks! |