unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#47428: Problems building the up-to-date "devel" manual for the website
@ 2021-03-26 22:36 Leo Famulari
  2021-04-01 21:21 ` Leo Famulari
  0 siblings, 1 reply; 9+ messages in thread
From: Leo Famulari @ 2021-03-26 22:36 UTC (permalink / raw)
  To: 47428

I noticed that the "devel" version of the online manual, which is
supposed to stay up to date, has not been updated since March 16, 2021:

https://guix.gnu.org/manual/devel/en/

There were some problems related to the recent guile-lib update, which
broke the build scripts in 'doc/build.scm', but that should be fixed
now.

I tried building it with `guix build -f doc/build.scm`, and it crashed
with a segmentation fault while building guix-translated-texinfo.drv,
with this message:

"mmap(PROT_NONE) failed"

I tried again, with --max-jobs=1, and it succeeded. So, maybe we just
need to update and reconfigure ci.guix.gnu.org, and try again.

Here is what I am working with:

------
$ guix describe
Generation 10   Mar 26 2021 20:11:33    (current)
  guix e8337f1
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: e8337f1e45b57035c6e5d45133aa9412d4e5e882
------

And, I'm building 'doc/build.scm' from that same commit.




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

* bug#47428: Problems building the up-to-date "devel" manual for the website
  2021-03-26 22:36 bug#47428: Problems building the up-to-date "devel" manual for the website Leo Famulari
@ 2021-04-01 21:21 ` Leo Famulari
  2021-04-02  7:46   ` Mathieu Othacehe
  0 siblings, 1 reply; 9+ messages in thread
From: Leo Famulari @ 2021-04-01 21:21 UTC (permalink / raw)
  To: 47428

This problem is still there. It's breaking the building of the primary
manual, the devel manual, and the cookbook, both for HTML and PDF
outputs.

There are details in /var/log/mcron.log on the server.

Basically, guile-html-index-en builds are failing. For example,
/gnu/store/cydvkyxdkkg7k9n04miy238q8040c28q-guile-html-index-en.drv. The
build log contains this:

------
$ zcat /var/log/guix/drvs/cy/dvkyxdkkg7k9n04miy238q8040c28q-guile-html-index-en.drv.gz
Backtrace:
           4 (primitive-load "/gnu/store/g5xbrrd5llv5lpsgibqbwjymxjm?")
In ice-9/eval.scm:
    619:8  3 (_ #f)
   191:27  2 (_ #f)
   223:20  1 (proc #<directory (guile-user) 7fffefbabf00>)
In unknown file:
           0 (%resolve-variable (7 . %strict-tokenizer?) #<directory?>)

ERROR: In procedure %resolve-variable:
Unbound variable: %strict-tokenizer?
------




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

* bug#47428: Problems building the up-to-date "devel" manual for the website
  2021-04-01 21:21 ` Leo Famulari
@ 2021-04-02  7:46   ` Mathieu Othacehe
  2021-04-02  8:43     ` Mathieu Othacehe
  0 siblings, 1 reply; 9+ messages in thread
From: Mathieu Othacehe @ 2021-04-02  7:46 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 47428


Hello Leo,

> ERROR: In procedure %resolve-variable:
> Unbound variable: %strict-tokenizer?

This variable is provided by guile-lib@0.2.7 while this derivation uses
guile-lib@0.2.6.1 from guix-1.2.0-17.ec7fb66.

I have restarted mcron which now uses guix-1.2.0-18.6e7ba45 and
guile-lib@0.2.7.

However, guile-lib@0.2.7 fails to build:

--8<---------------cut here---------------start------------->8---
  MAKEINFO guile-library.info
/tmp/guix-build-guile-lib-0.2.7.drv-0/guile-lib-0.2.7/build-aux/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         <https://www.gnu.org/software/texinfo/>
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         <https://www.gnu.org/software/make/>
make[1]: *** [Makefile:415: guile-library.info] Error 127
make[1]: Leaving directory '/tmp/guix-build-guile-lib-0.2.7.drv-0/guile-lib-0.2.7/doc'
make: *** [Makefile:479: all-recursive] Error 1
command "make" "-j" "16" "GUILE_AUTO_COMPILE=0" failed with status 2
builder for `/gnu/store/prx66i4jvs445g82gkc5sv7p7hhf27ba-guile-lib-0.2.7.drv' failed with exit code 1
@ build-failed /gnu/store/prx66i4jvs445g82gkc5sv7p7hhf27ba-guile-lib-0.2.7.drv - 1 builder for `/gnu/store/prx66i4jvs445g82gkc5sv7p7hhf27ba-guile-lib-0.2.7.drv' failed with exit code 1
derivation '/gnu/store/prx66i4jvs445g82gkc5sv7p7hhf27ba-guile-lib-0.2.7.drv' offloaded to '141.80.167.1
--8<---------------cut here---------------end--------------->8---

Mathieu




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

* bug#47428: Problems building the up-to-date "devel" manual for the website
  2021-04-02  7:46   ` Mathieu Othacehe
@ 2021-04-02  8:43     ` Mathieu Othacehe
  2021-04-02  9:21       ` Mathieu Othacehe
  0 siblings, 1 reply; 9+ messages in thread
From: Mathieu Othacehe @ 2021-04-02  8:43 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 47428


>   MAKEINFO guile-library.info
> /tmp/guix-build-guile-lib-0.2.7.drv-0/guile-lib-0.2.7/build-aux/missing: line 81: makeinfo: command not found

Looks like the devel manual generation is fixed. The guile-lib@0.2.7
build failure above only happens when generating the stable manual.

In that case, doc/build.scm uses guile-lib/htmlprag-fixed instead of the
plain guile-lib like on master (since
25db3b2f8bb4a18e9405d2cd32aa899e0007f236).

This causes the build failure. However, we do not have this makeinfo
error on the master guile-lib. That's because the docs are not compiled
for a reason I don't understand.

When running manually "make all" from the build directory, I experience
the same error:

--8<---------------cut here---------------start------------->8---
  MAKEINFO guile-library.info
/tmp/guix-build-guile-lib-0.2.7.drv-0/guile-lib-0.2.7/build-aux/missing: line 81: makeinfo: command not found
--8<---------------cut here---------------end--------------->8---

that is solved by adding "texinfo" to the native-inputs. 

Mathieu




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

* bug#47428: Problems building the up-to-date "devel" manual for the website
  2021-04-02  8:43     ` Mathieu Othacehe
@ 2021-04-02  9:21       ` Mathieu Othacehe
  2021-04-02  9:33         ` Mathieu Othacehe
  2021-04-02 19:00         ` Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: Mathieu Othacehe @ 2021-04-02  9:21 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 47428


> This causes the build failure. However, we do not have this makeinfo
> error on the master guile-lib. That's because the docs are not compiled
> for a reason I don't understand.

Ok so I finally understand sorry for the spamming. Guile-lib contains
a pre-compiled docs/guile-library.info. This means that the "doc" target
is not run.

However, when the 1.2.0 guile-lib/htmlprag-fixed inherits from the
recent guile-lib@0.2.7, it modifies the sources, causing a doc rebuild,
failing because texinfo is missing.

I have cherry-picked 25db3b2f8bb4a18e9405d2cd32aa899e0007f236 on the
1.2.0 branch to fix it.

There's another error though:

--8<---------------cut here---------------start------------->8---
). Please consider running po4a-updatepo to refresh it.
Your input po file ./guix-manual.de.po seems outdated (The amount of entries differ between files: 10012 is not 325
). Please consider running po4a-updatepo to refresh it.
mmap(PROT_NONE) failed
builder for `/gnu/store/86gnwxxw7lfkifaal6fhflmkn3fczyhf-guix-translated-texinfo.drv' failed due to signal 11 (Segmentation fault)
--8<---------------cut here---------------end--------------->8---

Thanks,

Mathieu




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

* bug#47428: Problems building the up-to-date "devel" manual for the website
  2021-04-02  9:21       ` Mathieu Othacehe
@ 2021-04-02  9:33         ` Mathieu Othacehe
  2021-04-02 21:08           ` Leo Famulari
  2021-04-21 15:56           ` Leo Famulari
  2021-04-02 19:00         ` Ludovic Courtès
  1 sibling, 2 replies; 9+ messages in thread
From: Mathieu Othacehe @ 2021-04-02  9:33 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 47428-done


> ). Please consider running po4a-updatepo to refresh it.
> Your input po file ./guix-manual.de.po seems outdated (The amount of entries differ between files: 10012 is not 325
> ). Please consider running po4a-updatepo to refresh it.
> mmap(PROT_NONE) failed
> builder for `/gnu/store/86gnwxxw7lfkifaal6fhflmkn3fczyhf-guix-translated-texinfo.drv' failed due to signal 11 (Segmentation fault)

I worked around it by building this derivation on one core. Looks like
the cookbook, website, manual and devel manual are now building fine.

Closing this one,

Thanks,

Mathieu




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

* bug#47428: Problems building the up-to-date "devel" manual for the website
  2021-04-02  9:21       ` Mathieu Othacehe
  2021-04-02  9:33         ` Mathieu Othacehe
@ 2021-04-02 19:00         ` Ludovic Courtès
  1 sibling, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2021-04-02 19:00 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 47428

Hi Mathieu,

Thanks for fixing this!

Mathieu Othacehe <othacehe@gnu.org> skribis:

> There's another error though:
>
> ). Please consider running po4a-updatepo to refresh it.
> Your input po file ./guix-manual.de.po seems outdated (The amount of entries differ between files: 10012 is not 325
> ). Please consider running po4a-updatepo to refresh it.
> mmap(PROT_NONE) failed
> builder for `/gnu/store/86gnwxxw7lfkifaal6fhflmkn3fczyhf-guix-translated-texinfo.drv' failed due to signal 11 (Segmentation fault)

I worked around it in 98750a9d9967b84a077735a2e4e6d5526256a5fd by
limiting the number of threads, but that seems to be insufficient.

At any rate, all the manuals are now up-to-date on berlin, meaning that
this particular bug wasn’t hit there.

Ludo’.




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

* bug#47428: Problems building the up-to-date "devel" manual for the website
  2021-04-02  9:33         ` Mathieu Othacehe
@ 2021-04-02 21:08           ` Leo Famulari
  2021-04-21 15:56           ` Leo Famulari
  1 sibling, 0 replies; 9+ messages in thread
From: Leo Famulari @ 2021-04-02 21:08 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 47428-done

On Fri, Apr 02, 2021 at 11:33:57AM +0200, Mathieu Othacehe wrote:
> 
> > ). Please consider running po4a-updatepo to refresh it.
> > Your input po file ./guix-manual.de.po seems outdated (The amount of entries differ between files: 10012 is not 325
> > ). Please consider running po4a-updatepo to refresh it.
> > mmap(PROT_NONE) failed
> > builder for `/gnu/store/86gnwxxw7lfkifaal6fhflmkn3fczyhf-guix-translated-texinfo.drv' failed due to signal 11 (Segmentation fault)
> 
> I worked around it by building this derivation on one core. Looks like
> the cookbook, website, manual and devel manual are now building fine.
> 
> Closing this one,

Awesome, thanks for your work!




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

* bug#47428: Problems building the up-to-date "devel" manual for the website
  2021-04-02  9:33         ` Mathieu Othacehe
  2021-04-02 21:08           ` Leo Famulari
@ 2021-04-21 15:56           ` Leo Famulari
  1 sibling, 0 replies; 9+ messages in thread
From: Leo Famulari @ 2021-04-21 15:56 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 47428-done

On Fri, Apr 02, 2021 at 11:33:57AM +0200, Mathieu Othacehe wrote:
> 
> > ). Please consider running po4a-updatepo to refresh it.
> > Your input po file ./guix-manual.de.po seems outdated (The amount of entries differ between files: 10012 is not 325
> > ). Please consider running po4a-updatepo to refresh it.
> > mmap(PROT_NONE) failed
> > builder for `/gnu/store/86gnwxxw7lfkifaal6fhflmkn3fczyhf-guix-translated-texinfo.drv' failed due to signal 11 (Segmentation fault)
> 
> I worked around it by building this derivation on one core. Looks like
> the cookbook, website, manual and devel manual are now building fine.

The problem happened again.

How can we make sure this derivation is always single-threaded?




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

end of thread, other threads:[~2021-04-21 15:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26 22:36 bug#47428: Problems building the up-to-date "devel" manual for the website Leo Famulari
2021-04-01 21:21 ` Leo Famulari
2021-04-02  7:46   ` Mathieu Othacehe
2021-04-02  8:43     ` Mathieu Othacehe
2021-04-02  9:21       ` Mathieu Othacehe
2021-04-02  9:33         ` Mathieu Othacehe
2021-04-02 21:08           ` Leo Famulari
2021-04-21 15:56           ` Leo Famulari
2021-04-02 19:00         ` Ludovic Courtès

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git