#66383 closed submission (fixed)

WIP new port: snac2

Reported by: artkiver (グレェ) Owned by: artkiver (グレェ)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

I've been making some headway with creating a Portfile for snac2 (https://codeberg.org/grunfink/snac2/) a minimal ActivityPub/FediVerse/Mastodon implemented in C.

With much thanks to jmr and neverpanic for getting it this far.

It now builds and I see a binary under the work/snac2/ subdirectory when I run port -v install, but the install portion errors out.

Creating a ticket here to attach the Portfile as well as Makefile.patch and main.log for reference to the errors generated in hopes that some additional eyeballs may be able to assist.

Thanks!

Attachments (3)

main.log (49.6 KB) - added by artkiver (グレェ) 17 months ago.
main.log of port -v install from most recent version seems to be an issue with destroot? running make install manually from the working directory functions OK
Portfile (1.5 KB) - added by artkiver (グレェ) 17 months ago.
Portfile minorly changed, seems to function correctly mostly thanks to some additional changes to Makefile.patch
Makefile.patch (1.2 KB) - added by artkiver (グレェ) 17 months ago.
Added some $(DESTDIR) parameters as suggested by Eric Borisch @eborisch@… which seems to have done the trick to get install functioning!

Download all attachments as: .zip

Change History (5)

comment:1 Changed 17 months ago by artkiver (グレェ)

Owner: set to artkiver

Changed 17 months ago by artkiver (グレェ)

Attachment: main.log added

main.log of port -v install from most recent version seems to be an issue with destroot? running make install manually from the working directory functions OK

Changed 17 months ago by artkiver (グレェ)

Attachment: Portfile added

Portfile minorly changed, seems to function correctly mostly thanks to some additional changes to Makefile.patch

Changed 17 months ago by artkiver (グレェ)

Attachment: Makefile.patch added

Added some $(DESTDIR) parameters as suggested by Eric Borisch @eborisch@… which seems to have done the trick to get install functioning!

comment:2 Changed 17 months ago by artkiver (グレェ)

Resolution: fixed
Status: assignedclosed

In dd77cc1ae6d4fe757efc8f0710da5c433b988482/macports-ports (master):

snac: new Portfile for a minimalistic ActivityPub instance in C. (https://github.com/macports/macports-ports/pull/16871)

  • version 2.12

closes: #66383

Note: See TracTickets for help on using tickets.