Bug#802528: [Reproducible-builds] Bug#802528: valac: make the generated C files reproducible

Jeremy Bícha jbicha at debian.org
Tue Jan 6 22:45:38 GMT 2026


Version: 0.38.7-1

On Mon, Jan 6, 2020 at 10:12 AM James Clarke <jrtc27 at debian.org> wrote:
>
> On Tue, Oct 20, 2015 at 11:28:21PM +0300, Niko Tyni wrote:
> > Control: tag -1 - patch
> >
> > On Tue, Oct 20, 2015 at 04:09:16PM -0400, Daniel Kahn Gillmor wrote:
> >
> > > But doesn't the change from HashSet to List end up changing the behavior
> > > with regard to multiple children of the same class?
> > >
> > > That is, if it's a List, then the same class can appear multiple times,
> > > whereas if it's a set, i think it just gets added once.
> >
> > Yes, I think you're right. Thanks for catching that! I suspect it doesn't
> > really matter here, but I'm not quite sure, and it certainly isn't safe
> > as a general fix.
> >
> > > The usual approach would be to sort the output where it's produced from
> > > the HashedSet, and not to change the data structure itself to allow
> > > duplicates.
> >
> > Sure, this just seemed such a nice solution :)
> >
> > Anyway, removing the 'patch' tag for now.
>
> The type you want to use is a TreeSet, which implements SortedSet. I
> also notice this patch was committed to the repository 2 years ago[1],
> ignoring the discussion here about the behaviour being potentially
> incorrect, and not actually closing this bug in the upload.
>
> James
>
> [1] https://salsa.debian.org/gnome-team/vala/commit/0056ea4e8d0e25dba13a856fc0aa18646217e4c6

Yes, the change was committed upstream and it would have required the
person doing the Debian upload to have noticed and closed this bug
manually. That change is now 8 years old so I guess things are ok. I'm
closing the Debian bug now.

Thank you,
Jeremy Bícha



More information about the Reproducible-builds mailing list