[Bug 206987] [NEW PORT] security/akmos: Cryptographic library with low footprint

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 10 15:37:04 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206987

--- Comment #5 from Raphael Kubo da Costa <rakuco at FreeBSD.org> ---
Please run `portlint -AC' on your patches to uncover problems like these:

> WARN: pkg-plist: [4]: installing shared libraries, please define USE_LDCONFIG as appropriate
> WARN: pkg-plist: [5]: installing shared libraries, please define USE_LDCONFIG as appropriate
> WARN: pkg-plist: [8]: empty line found in plist.
> WARN: pkg-plist: seems to have unnecessary blank lines at the last part.

With that said, the port fails to build on 9.3:

[  2%] Building C object src/CMakeFiles/akmos_obj.dir/akmos.c.o
cd /wrkdirs/usr/ports/security/akmos/work/.build/src && /usr/bin/cc 
-DAKMOS_BUFSZ=8192 -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L -D_XOPEN_SOURCE=500
-I/wrkdirs/usr/ports/security/akmos/work/akmos-0.4/src -O2 -pipe
-fno-strict-aliasing -O2 -DNDEBUG   -fPIC -DPIC -ansi -Wall -Werror
-Wmissing-prototypes -o CMakeFiles/akmos_obj.dir/akmos.c.o   -c
/wrkdirs/usr/ports/security/akmos/work/akmos-0.4/src/akmos.c
cc1: warnings being treated as errors
In file included from
/wrkdirs/usr/ports/security/akmos/work/akmos-0.4/src/akmos.c:36:
/wrkdirs/usr/ports/security/akmos/work/akmos-0.4/src/cipher.h:90: warning:
declaration does not declare anything

The struct was removed in upstream commit 
43a8f262bad7883649acf98937304998b230e625. Since you seem to be the upstream
maintainer as well, there are a few things you can do:
- Import that commit as a patch to the port if it works fine without the others
before it.
- Make a new release that includes that commit if the code is stable.
- Add "CFLAGS+= -fms-extensions" for this version of the port.
- Require a newer compiler with USES=compiler:c11, but that may be overkill.

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


More information about the freebsd-ports-bugs mailing list