Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2015 12:45:32 -0500
From:      Jason Unovitch <jason.unovitch@gmail.com>
To:        Matthias Fechner <idefix@fechner.net>
Cc:        f-ports <freebsd-ports@freebsd.org>
Subject:   Re: Creating new port for gogs, put poudriere fail to clone github repo while build is running
Message-ID:  <CABW2x9oTm4Qi0vVWa7i1qg6nK1V=Pjq_61K%2Boz6AyD2Q%2B6xcqg@mail.gmail.com>
In-Reply-To: <566C2BB2.1090703@fechner.net>
References:  <566C2BB2.1090703@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 12, 2015 at 9:14 AM, Matthias Fechner <idefix@fechner.net> wrote:
> Dear all,
>
> I started a long time ago a new port for gogs and had now time to
> continue on the port.
> The current version can be found here:
> https://github.com/idefix6/gogs-freebsdport
>
> But I face the problem that during the build process git cannot make a
> clone.
> For logfile please see here:
>> http://pkg.fechner.net/data/102amd64-default/2015-12-12_14h52m18s/logs/errors/gogs-0.7.19.log
>
> I test the build using poudrier with the command:
> poudriere testport -j 102amd64 -s -i -o devel/gogs
>
> and then type in the interactive console the command:
>> git clone https://github.com/codegangsta/cli /wrkdirs/usr/ports/devel/gogs/work/src/github.com/codegangsta/cli
>
> Then clone is fine.
>
> Maybe someone would be so nice and help me a little bit how to solve the
> problem?

Build requisites must be retrieved during the fetch phase as there is
no network access during the build phase.  Else a package could end up
changing or having security flaws slipped in based solely on when it
was built rather than what distinfo was listed as being the valid
source of the package.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABW2x9oTm4Qi0vVWa7i1qg6nK1V=Pjq_61K%2Boz6AyD2Q%2B6xcqg>