Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2023 12:17:36 -0400
From:      Vlad Markov <dvoich@optonline.net>
To:        questions@freebsd.org
Subject:   Re: portmaster and CR
Message-ID:  <20230907121736.7b1f5448@happy.dwarf7.net>
In-Reply-To: <20230906121433.36725b91@happy.dwarf7.net>
References:  <20230901180918.137baaf3@happy.dwarf7.net> <3645ddcd-ede2-2116-3f68-5d3fcb53a643@pp.dyndns.biz> <20230906121433.36725b91@happy.dwarf7.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 6 Sep 2023 12:14:33 -0400
Vlad Markov <dvoich@optonline.net> wrote:

> On Mon, 4 Sep 2023 01:10:30 +0200
> Morgan Wesstr=C3=B6m <freebsd-database@pp.dyndns.biz> wrote:
>=20
> > On 2023-09-02 00:09, Vlad Markov wrote: =20
> > >=20
> > > I use portmaster to update my ports. Usually there are many ports nee=
ding updating. Recently, portmaster requires a carriage return after finish=
ing one update before it will resume.
> > >=20
> > > I find that annoying. Is there a way to get it to just keep going? I =
can see stopping on an error but not stopping on success.   =20
> >=20
> > This is what I use for that exact purpose:
> >=20
> > portmaster -aydbg
> >  =20
>=20
> Thanks, your post made me check my arguments to portmaster. The only time=
s it requires a carriage return is if I use "-P" or "--packages".
>=20
> The debug looks like this:
>=20
> + distfiles_checked=3D:
> + [ ! ' KhronosGroup-Vulkan-Loader-v1.3.262_GH0.tar.gz ' '=3D' ' KhronosG=
roup-Vulkan-Loader-v1.3.263_GH0.tar.gz ' ]
> + pm_wait_di_file_complete
> + [ -z '' ]
> + head -1
>=20
> I'll look more deeply at it.
> --=20

What goes on is that DI_FILES is the empty string so head is waiting for so=
me input which I give by entering a carriage return. I added a check for th=
e empty string. It works for me. I am not sure what I encountered is a bug =
or not.

 1226     if [ -z "$di_file_complete" ] && [ -n "$DI_FILES" ] && [ `head -1=
 $D
I_FILES` =3D '############' ]; then


--=20
I dream of a better tomorrow, where chickens can cross the road and not be =
questioned about their motives.=E2=80=9D
=E2=80=93 Ralph Waldo Emerson



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230907121736.7b1f5448>