Ah sorry, I thought you had already created a working Portfile, but this Portfile indeed errors out. Log output here: https://pastebin.com/QGTnFUTS
Does anyone know how to fix this? https://docs.gitlab.com/runner/development/ explains how to build GitLab Runner from source. I guess ‘depends_lib port:go’ could be ‘depends_build port:go’, as I don’t believe Go is a runtime dependency for the resulting binary. For now I guess I’ll just use my personal Portfile that installs the ready-to-go macOS binary. Nils. > Op 28 nov. 2018, om 16:15 heeft Marius Schamschula <li...@schamschula.com> > het volgende geschreven: > > Nils, > > I didn’t want to dig down several layers, so the Portfile is incomplete. > > I’ve put it in my personal repo: > > https://github.com/Schamschula/macports/blob/master/devel/gitlab-runner/Portfile > > >> On Nov 28, 2018, at 4:32 AM, Nils Breunese <n...@breun.nl> wrote: >> >> Thanks for looking into this. Where can your Portfile be found? >> >> Nils. >> >>> Op 27 nov. 2018, om 20:52 heeft Marius Schamschula <li...@schamschula.com> >>> het volgende geschreven: >>> >>> Nils, >>> >>> I tried to put together a quick Portfile for gitlab-runner. The included >>> Makefile still insists on downloading rebuild docker files >>> >>> Judging by the FreeBSD port[2], that seems to be unavoidable. >>> >>>> On Nov 27, 2018, at 1:19 PM, Nils Breunese <n...@breun.nl> wrote: >>>> >>>> Hello, >>>> >>>> I’d like to be able to install GitLab Runner [0] via MacPorts. I’ve >>>> already created a Portfile [1] that installs this single binary tool, but >>>> I’ve been informed this tool should be built from source by the Portfile. >>>> I’m not familiar enough with Go builds to create the initial Portfile and >>>> too tight on time to learn it soon. So, I’m looking for someone that could >>>> create the initial Portfile. I’d be willing to maintain this Portfile >>>> after the initial creation to keep it up to date. >>>> >>>> If anyone can help with this, please let me know. The source is hosted >>>> here: https://gitlab.com/gitlab-org/gitlab-runner >>>> >>>> Thanks, Nils. >>>> >>>> [0] https://docs.gitlab.com/runner/ >>>> [1] https://github.com/macports/macports-ports/pull/3081 >>> >>> [2] https://www.freshports.org/devel/gitlab-runner/ >>> >>> Marius >>> -- >>> Marius Schamschula >>> >>> >>> >> > > Marius > -- > Marius Schamschula > > >