Hello,

I want to eventually offer my covid project, ssc (an "opinionated static 
website nitpicker"), to the OpenBSD ports tree, but I'm having some problems. 
In particular, I get an error with "make package":

`/usr/ports/pobj/ssc-v0.1.2/fake-amd64/.fake_done' is up to date.
===>  Building package for ssc-v0.1.2
Create /usr/ports/packages/amd64/all/ssc-v0.1.2.tgz
Creating package ssc-v0.1.2
pkg_create: Can't call method "p" on an undefined value
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2147 
'/usr/ports/packages/amd64/all/ssc-v0.1.2.tgz': @trap "cd /usr/ports/package...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2628 
'_internal-package': @case X${_DEPENDS_CACHE} in  X) _DEPENDS_CACHE=$( mktem...)
*** Error 2 in /usr/ports/www/ssc 
(/usr/ports/infrastructure/mk/bsd.port.mk:2607 'package': @lock=ssc-v0.1.2;  
export _LOCKS_HELD=" ssc-v0.1…)

On this list, oliwier reported a similar problem in May, but unfortunately the 
solution Stuart Henderson suggested in reply doesn't work for me.

I’ve attached a small archive with the usual configuration files, should anyone 
be kind enough to take a look at this issue (and tell me my error!).

ssc is not yet ready to be formally submitted. Beyond this matter, other issues 
must be addressed:
- integrate the test utility into the port (it can be run by hand using ctest);
- replace my call to system() with direct calls to libcurl (?), and remove the 
date library that calls system() heavily;
- convert gen.txt into a format suitable for man and install it accordingly.

Although ssc is a cmake project, it only builds on amd64. I intend to port it 
to other architectures when time permits.

I’ve not incorporated the GitHub repo in Makefile, although if anyone prefers 
to use it, the field values would be:
GH_ACCOUNT = devongarde
GH_PROJECT = ssc
GH_TAGNAME = v0.1.2-alpha

This is the first port I've ever attempted to offer anywhere, so please forgive 
my mistakes (though do mention them!).

Thanks in advance,

Dylan Harris
https://dylanharris.org

Attachment: ssc.port.tgz
Description: Binary data



Reply via email to