Hi, On 2026-07-21 at 00:35-05:00, G. Branden Robinson wrote: > At 2026-07-21T14:07:10+0900, Nguyễn Gia Phong wrote: > > Alternatively, I'm trying to switch to building from Git (we are > > trying to avoid artefacts like generated configure where possible) and > > without the .git directory (which is not reproducible) configure is > > failing to find the version: > > Right. You now need to specify `--enable-maintainer-mode` to > "configure" when building from Git. > > In my next push, this will be clearer. Here's an exhibit from my > working copy. > > INSTALL.REPO: Document `--enable-maintainer-mode`.
Thanks, though looking at e2cd638955de ("doc/doc.am:
Employ `MAINTAINER_MODE`.") this only affects requiring
ImageMagick as a dependency. In the spirit of not relying
on pregenerated artifact, Guix does want this flag.
On 2026-07-21 at 00:35-05:00, G. Branden Robinson wrote:
> At 2026-07-21T14:07:10+0900, Nguyễn Gia Phong wrote:
> > checking that groff version string has valid format... invalid
> > configure: groff's version string must start with three decimal
> > integers separated by dots. "" does not match.
> >
> > How is this version string constructed?
>
> README:
> The version number is given in the file ".tarball-version"
> if you are building from a distribution archive; otherwise,
> building from its Git repository stores it in the file ".version".
>
> If you're doing an out-of-tree build, then the presence of ".version" in
> your Git working copy can confuse a human
I'm speaking for the automated build pipeline here. On Guix,
if a package is built from a Git checkout, a fresh clone
would be made, then the .git directory shall be removed,
hence the following won't work.
On 2026-07-21 at 00:35-05:00, G. Branden Robinson wrote:
> The rules for generating these files are as follows.
>
> $ nl -ba Makefile.am | sed -n 872,874p
> 872 # Version files - see script "build-aux/git-version-gen".
> 873 .version:
> 874 $(AM_V_GEN)echo $(VERSION) > $@-t && mv $@-t $@
On 2026-07-21 at 00:40-05:00, G. Branden Robinson wrote:
> Earlier in the file.
>
> $ nl -ba Makefile.am | sed -n 509,509p
> 509 # 'VERSION' is generated by gnulib script git-version-gen
I've resulted to writing to .tarball-version instead
and the build and tests succeeded. Please let me know
if this has any unintended effect.
On 2026-07-21 at 00:35-05:00, G. Branden Robinson wrote:
> At 2026-07-21T14:07:10+0900, Nguyễn Gia Phong wrote:
> > On 2026-07-19 at 10:08-05:00, G. Branden Robinson wrote:
> > > I've fixed both of these and pushed the fixes to Git.
> >
> > The build on Guix is facing the same issues, could the rc2 tarball
> > be published so the build status can be confirmed?
>
> There is no rc2 tarball; I haven't published one. If the issues Alexis
> found are the only ones that came up, my next distribution archive
> release will be 1.25.0 final.
Sorry for being unclear, I meant to ask for you to publish the rc2
so distros will know the 1.25.0 tarball (which will differ only
in the version string) will work. It does not matter now
for Guix at least because we can switch to building
from the Git checkout.
Cheers,
Phong
signature.asc
Description: PGP signature
