unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: 03/08: build: Add dependency on guix script for help2man targets.
       [not found] ` <20230825162837.3C5C1C1D37B@vcs2.savannah.gnu.org>
@ 2023-08-29 18:19   ` Maxim Cournoyer
  2023-09-01  7:51     ` Josselin Poiret
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2023-08-29 18:19 UTC (permalink / raw)
  To: guix-devel; +Cc: Josselin Poiret, Ludovic Courtès

Hello,

guix-commits@gnu.org writes:

> jpoiret pushed a commit to branch master
> in repository guix.
>
> commit ca8acad38264dd29a808904d3ce8e7249194d95f
> Author: Josselin Poiret <dev@jpoiret.xyz>
> AuthorDate: Fri May 12 10:00:00 2023 +0200
>
>     build: Add dependency on guix script for help2man targets.
>     
>     * doc/local.mk: Add dependency on guix script for help2man targets.
>     
>     Signed-off-by: Ludovic Courtès <ludo@gnu.org>

This changes appears to break building my tree, like this:

--8<---------------cut here---------------start------------->8---
help2man: can't get `--help' info from guix home
Try `--no-discard-stderr' if option outputs to stderr
make[2]: [Makefile:7131 : doc/guix-home.1] Erreur 1 (ignorée)
--8<---------------cut here---------------end--------------->8---

It doesn't happen with 'make as-derivation' though, so it seems to have
to do with some shenanigan in my checkout.  Any idea how I could fix my
checkout without running 'git clean -xfdd' ?

-- 
Thanks,
Maxim


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 03/08: build: Add dependency on guix script for help2man targets.
  2023-08-29 18:19   ` 03/08: build: Add dependency on guix script for help2man targets Maxim Cournoyer
@ 2023-09-01  7:51     ` Josselin Poiret
  2023-09-01 11:59       ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: Josselin Poiret @ 2023-09-01  7:51 UTC (permalink / raw)
  To: Maxim Cournoyer, guix-devel; +Cc: Ludovic Courtès

[-- Attachment #1: Type: text/plain, Size: 1053 bytes --]

Hi Maxim,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> This changes appears to break building my tree, like this:
>
> --8<---------------cut here---------------start------------->8---
> help2man: can't get `--help' info from guix home
> Try `--no-discard-stderr' if option outputs to stderr
> make[2]: [Makefile:7131 : doc/guix-home.1] Erreur 1 (ignorée)
> --8<---------------cut here---------------end--------------->8---
>
> It doesn't happen with 'make as-derivation' though, so it seems to have
> to do with some shenanigan in my checkout.  Any idea how I could fix my
> checkout without running 'git clean -xfdd' ?

I had the same issue in my local checkout, but it was because of another
change I committed that was then reverted: it changed the <user-account>
ABI, and so a lot more files had to get recompiled.  You can try to
manually run `guix home --help` and see what the error is, if it's an
ABI error I usually run `grep -Rl "<user-account>" --include '*.go' . |
xargs rm`.

Best,
-- 
Josselin Poiret

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 03/08: build: Add dependency on guix script for help2man targets.
  2023-09-01  7:51     ` Josselin Poiret
@ 2023-09-01 11:59       ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2023-09-01 11:59 UTC (permalink / raw)
  To: Josselin Poiret; +Cc: guix-devel, Ludovic Courtès

Hi Josselin,

Josselin Poiret <dev@jpoiret.xyz> writes:

> Hi Maxim,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> This changes appears to break building my tree, like this:
>>
>> --8<---------------cut here---------------start------------->8---
>> help2man: can't get `--help' info from guix home
>> Try `--no-discard-stderr' if option outputs to stderr
>> make[2]: [Makefile:7131 : doc/guix-home.1] Erreur 1 (ignorée)
>> --8<---------------cut here---------------end--------------->8---
>>
>> It doesn't happen with 'make as-derivation' though, so it seems to have
>> to do with some shenanigan in my checkout.  Any idea how I could fix my
>> checkout without running 'git clean -xfdd' ?
>
> I had the same issue in my local checkout, but it was because of another
> change I committed that was then reverted: it changed the <user-account>
> ABI, and so a lot more files had to get recompiled.  You can try to
> manually run `guix home --help` and see what the error is, if it's an
> ABI error I usually run `grep -Rl "<user-account>" --include '*.go' . |
> xargs rm`.

Thank you for the answer; I had forgotten asking here and eventually
found out the problem by manually running the command as you did :-).

Thanks,

-- 
Maxim


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-01 12:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <169298091613.3657.8519768348473231009@vcs2.savannah.gnu.org>
     [not found] ` <20230825162837.3C5C1C1D37B@vcs2.savannah.gnu.org>
2023-08-29 18:19   ` 03/08: build: Add dependency on guix script for help2man targets Maxim Cournoyer
2023-09-01  7:51     ` Josselin Poiret
2023-09-01 11:59       ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).