On Fri, Mar 31, 2023 at 4:07 AM Joakim Roubert <[email protected]> wrote:
>
> On 2023-03-29 19:18, Jose Quaresma wrote:
> >
> > The AUTOREV will break the reproducibility of this package.
>
> How should we do here? If I checkout the tag v3.99 in for the UPX repo
> and carry out the update submodules, I will end up with a different
> commit ID for the submodules every time. How can we pinpoint one that
> sticks and actually is the one that corresponds to the v3.99?

The submodules shouldn't be changing when you check out the same tag.

i.e. git submodule status

Should always return the same commit IDs when you check out the same
tag, since those hashes are recorded in the git repository.

It would obviously still be better if we could use the gitsm fetcher,
but the way the repository is layed out was causing problems, so we've
switched to this. It might be worth double checking if gitsm on master
can handle the layout now, or if there's a way to fix things up to
work.

But assuming that the hashes aren't changing, you can just capture the
hashes reported by git submodule status, put those in the recipe and
that will get us the same results as the gitsm fetches for that
upstream project tag.

Bruce

>
> https://github.com/upx/upx/blob/devel/.gitmodules#L9
>
> Or should we just go with the single commit (with the commit message
> "Automatically created from git devel branch 4cbdb055db52") in upx-vendor?
>
> I believe that is what we had with v3.96, but now those commits seem to
> have vanished from the git repos so 3.96 fails to download the sources.
>
> BR,
>
> /Joakim
> --
> Joakim Roubert
> Senior Engineer
>
> Axis Communications AB
> Emdalavägen 14, SE-223 69 Lund, Sweden
> Tel: +46 46 272 18 00, Tel (direct): +46 46 272 27 48
> Fax: +46 46 13 61 30, www.axis.com
>
>
> 
>


--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7975): 
https://lists.yoctoproject.org/g/meta-virtualization/message/7975
Mute This Topic: https://lists.yoctoproject.org/mt/97929374/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/meta-virtualization/leave/6693005/21656/1014668956/xyzzy
 [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to