I run poudriere - what do I need to do once ports switch over to git?

Rainer Duffner rainer at ultra-secure.de
Wed Apr 7 14:51:37 UTC 2021



> Am 07.04.2021 um 16:45 schrieb Michael Grimm <trashcan at ellael.org>:
> 
> Rainer Duffner <rainer at ultra-secure.de> wrote:
>> 
>>> Am 07.04.2021 um 15:03 schrieb Mathieu Arnold <mat at freebsd.org>:
> 
>>> poudriere ports -cvv -B 2021Q2 -m git -p 2021Q2
> 
>> root at bsd1-build-prod:~ # poudriere ports -cvv -B 2021Q2 -m git -p 2021Q2
>> =>> Debug: Reading /usr/local/etc/poudriere.conf
>> [00:00:00] Creating 2021Q2 fs at /usr/local/poudriere/ports/2021Q2... done
>> [00:00:00] Cloning the ports tree...Cloning into '/usr/local/poudriere/ports/2021Q2'...
>> warning: Could not find remote branch 2021Q2 to clone.
>> fatal: Remote branch 2021Q2 not found in upstream origin
>> [00:00:00] Error:  fail
>> [00:00:00] Error while creating ports tree, cleaning up.
> 
> I didn't follow this thread completetly, thus the following might have been mentioned before.
> 
> 2021Q2 has been build very recently, thus older git repositories don't include it.
> 
> Thus, what does your poudriere.conf show for FREEBSD_HOST?
> 
> Mine is: FREEBSD_HOST=https://cgit.freebsd.org/ports.git
> I had had to change this to the current repo yesterday.
> 


It was:

FREEBSD_HOST=http://ftp5.de.freebsd.org

Changing it to you setting does not change the outcome, unfortunately.

root at bsd1-build-prod:~ # poudriere ports -cvvv -B 2021Q2 -m git -p 2021Q2
=>> Debug: Reading /usr/local/etc/poudriere.conf
[00:00:00] Creating 2021Q2 fs at /usr/local/poudriere/ports/2021Q2... done
[00:00:00] Dev: cache_invalidate: Invalidating _zfs_getfs(/usr/local/poudriere/ports/2021Q2)
[00:00:00] Cloning the ports tree...Cloning into '/usr/local/poudriere/ports/2021Q2'...
warning: Could not find remote branch 2021Q2 to clone.
fatal: Remote branch 2021Q2 not found in upstream origin
[00:00:00] Error:  fail
[00:00:00] Error while creating ports tree, cleaning up.
[00:00:00] Dev: cache_call: Fetching _zfs_getfs(/usr/local/poudriere/ports/2021Q2)
[00:00:01] Dev: cache_invalidate: Invalidating _zfs_getfs(/usr/local/poudriere/ports/2021Q2)



Is there a way to see what it actually wants to do with git?




Rainer



More information about the freebsd-pkg mailing list