unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41282: doc: dot graphs display square glyphs instead of letters
@ 2020-05-15 10:23 Pierre Neidhardt
  2020-05-15 10:50 ` Marius Bakke
  2020-05-16 14:03 ` bug#41282: share/info/images/*.png broken zimoun
  0 siblings, 2 replies; 11+ messages in thread
From: Pierre Neidhardt @ 2020-05-15 10:23 UTC (permalink / raw)
  To: 41282

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

See for instance "12.1 The Reduced Binary Seed Bootstrap".
Commit 7bba5425473b5d193946e537de77c631ae6c3667.

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

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

* bug#41282: doc: dot graphs display square glyphs instead of letters
  2020-05-15 10:23 bug#41282: doc: dot graphs display square glyphs instead of letters Pierre Neidhardt
@ 2020-05-15 10:50 ` Marius Bakke
  2020-05-15 11:48   ` Pierre Neidhardt
  2020-05-16 14:03 ` bug#41282: share/info/images/*.png broken zimoun
  1 sibling, 1 reply; 11+ messages in thread
From: Marius Bakke @ 2020-05-15 10:50 UTC (permalink / raw)
  To: Pierre Neidhardt, 41282

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

Pierre Neidhardt <mail@ambrevar.xyz> writes:

> See for instance "12.1 The Reduced Binary Seed Bootstrap".
> Commit 7bba5425473b5d193946e537de77c631ae6c3667.

I can not reproduce this.  What is the exact command you are running?

Do you have any fonts installed?

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

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

* bug#41282: doc: dot graphs display square glyphs instead of letters
  2020-05-15 10:50 ` Marius Bakke
@ 2020-05-15 11:48   ` Pierre Neidhardt
  2020-05-15 13:53     ` zimoun
  0 siblings, 1 reply; 11+ messages in thread
From: Pierre Neidhardt @ 2020-05-15 11:48 UTC (permalink / raw)
  To: Marius Bakke, 41282

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

Recipe in Emacs:

- C-h i
- m Guix RET
- i bootstrap RET
- m Reduced Binary Seed Bootstrap

> Do you have any fonts installed?

I have font-dejavu, that's it.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

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

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

* bug#41282: doc: dot graphs display square glyphs instead of letters
  2020-05-15 11:48   ` Pierre Neidhardt
@ 2020-05-15 13:53     ` zimoun
  2020-05-15 14:13       ` Pierre Neidhardt
  0 siblings, 1 reply; 11+ messages in thread
From: zimoun @ 2020-05-15 13:53 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 41282

Hi Pierre,

I do not see an issue a Marius.  "I have font-dejavu, that's it", too.
But I am not sure to understand which manual built with which commit
you are talking about.

Cheers,
simon




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

* bug#41282: doc: dot graphs display square glyphs instead of letters
  2020-05-15 13:53     ` zimoun
@ 2020-05-15 14:13       ` Pierre Neidhardt
  2020-05-15 14:45         ` Pierre Neidhardt
  0 siblings, 1 reply; 11+ messages in thread
From: Pierre Neidhardt @ 2020-05-15 14:13 UTC (permalink / raw)
  To: zimoun; +Cc: 41282

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

The Guix manual from commit 7bba5425473b5d193946e537de77c631ae6c3667.

I can reproduce the issue with

--8<---------------cut here---------------start------------->8---
env INFOPATH=$HOME/.config/guix/current/share/info emacs
--8<---------------cut here---------------end--------------->8---

The dot figures are generated during the Guix build I guess.  Something
odd is happening.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

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

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

* bug#41282: doc: dot graphs display square glyphs instead of letters
  2020-05-15 14:13       ` Pierre Neidhardt
@ 2020-05-15 14:45         ` Pierre Neidhardt
  2020-05-15 15:02           ` zimoun
  0 siblings, 1 reply; 11+ messages in thread
From: Pierre Neidhardt @ 2020-05-15 14:45 UTC (permalink / raw)
  To: zimoun; +Cc: 41282

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

Sorry, I wrong commit.  Guix commit is
afc46f22672eb3218fbd1e567f85fc6367286461.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

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

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

* bug#41282: doc: dot graphs display square glyphs instead of letters
  2020-05-15 14:45         ` Pierre Neidhardt
@ 2020-05-15 15:02           ` zimoun
  2020-05-15 15:32             ` Pierre Neidhardt
  0 siblings, 1 reply; 11+ messages in thread
From: zimoun @ 2020-05-15 15:02 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 41282

On Fri, 15 May 2020 at 16:45, Pierre Neidhardt <mail@ambrevar.xyz> wrote:

> Sorry, I wrong commit.  Guix commit is
> afc46f22672eb3218fbd1e567f85fc6367286461.

Now I see it! :-)

 guix pull --commit=afc46f2 -p /tmp/pierre
 emacs -q
 C-u C-h i /tmp/pierre/share/info/guix.info.gz RET
 i bootstrap RET
 m Reduced Binary Seed Bootstrap RET

With font-dejavu.


Cheers,
simon




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

* bug#41282: doc: dot graphs display square glyphs instead of letters
  2020-05-15 15:02           ` zimoun
@ 2020-05-15 15:32             ` Pierre Neidhardt
  2020-05-15 15:36               ` zimoun
  0 siblings, 1 reply; 11+ messages in thread
From: Pierre Neidhardt @ 2020-05-15 15:32 UTC (permalink / raw)
  To: zimoun; +Cc: 41282

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

Are you saying you can reproduce the issue?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

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

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

* bug#41282: doc: dot graphs display square glyphs instead of letters
  2020-05-15 15:32             ` Pierre Neidhardt
@ 2020-05-15 15:36               ` zimoun
  2020-05-15 18:13                 ` zimoun
  0 siblings, 1 reply; 11+ messages in thread
From: zimoun @ 2020-05-15 15:36 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 41282

On Fri, 15 May 2020 at 17:32, Pierre Neidhardt <mail@ambrevar.xyz> wrote:
>
> Are you saying you can reproduce the issue?

Yes. It is between 2c8305d and afc46f2.




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

* bug#41282: doc: dot graphs display square glyphs instead of letters
  2020-05-15 15:36               ` zimoun
@ 2020-05-15 18:13                 ` zimoun
  0 siblings, 0 replies; 11+ messages in thread
From: zimoun @ 2020-05-15 18:13 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 41282

     guix pull --commit=afc46f2 -p /tmp/broken

then /tmp/broken/share/info/images/bootstrap-graph.png does not
contains the right font.


Reproduced with a local checkout even if the
/path/to/checkout/doc/images/*.png are right.  However, it is not when
it is pulled:

   ./pre-env-inst guix pull --branch=master --url=$PWD -p /tmp/test

then /tmp/test/share/info/images/bootstrap-graph.png does not have the
right font.

I do not know where it comes from and my machine is not enough
powerful to bisect.




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

* bug#41282: share/info/images/*.png broken
  2020-05-15 10:23 bug#41282: doc: dot graphs display square glyphs instead of letters Pierre Neidhardt
  2020-05-15 10:50 ` Marius Bakke
@ 2020-05-16 14:03 ` zimoun
  1 sibling, 0 replies; 11+ messages in thread
From: zimoun @ 2020-05-16 14:03 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 41282, Pierre Neidhardt

Dear Marius,

I do not know if it is a bug or if I misconfigured something but some
images under 'share/info/images' are "broken" for some commits, as if
the font is missing.  Because it is 'png' files, it is not related on
the presence or absence of such fonts on my machine, I guess.  Or do I
misunderstand something?  And if it is, why for some commits it
displays nicely and other not.


When I run:

  guix pull --commit=2c8305d -p /tmp/good

then 'display /tmp/good/share/info/images/bootstrap-graph.png'
displays nicely.  However, when I run:

  guix pull --commit=afc46f2 -p /tmp/bad

'display /tmp/bad/share/info/images/bootstrap-graph.png' is not nice,
as if the font is missing.


Well, I suspect it comes from something related to the recent
'core-updates'.  To underline my point, I run this script:

--8<---------------cut here---------------start------------->8---
SRC=/tmp/guix/

MERGE=/tmp/check/merge
LEFT=/tmp/check/left
RIGHT=/tmp/check/right

mkdir -p $MERGE
mkdir -p $LEFT
mkdir -p $RIGHT

for merge in $(git -C $SRC \
                log 2c8305d..afc46f2 \
                --ancestry-path --merges \
                --format="%h")
do
    left=$(git -C $SRC log $merge --format="%p" -n1 | cut -f1 -d' ')
    right=$(git -C $SRC log $merge --format="%p" -n1 | cut -f2 -d' ')

    echo $merge
    guix pull --commit=$merge -p${MERGE}/$merge

    echo $left
    guix pull --commit=$left -p${LEFT}/$left

    echo $right
    guix pull --commit=$right -p${RIGHT}/$right
done
--8<---------------cut here---------------end--------------->8---

which basically pull all the commits corresponding to merges between
the "working" commit and the "broken" commit.  And pull the two parent
commits too.

Based on that, all the merged commits are "broken".  The image
'share/info/images/bootstrap-graph.png' displays uglily for the
commits:

4bdf4182fe
50e6c1bf2e
87a40d7203
8bf8cd9b85
c263cfdcde
f589cbc4dc

Then the "left" are all broken too, except the commit c81457a588.
All the "right" are ok, except the commit 23a59b180b.

Note that these two corresponds to the last core-updates merge:

    git log 4bdf4182fe --format="%h %p %n %s" -n1

as if they were switched.


Last, I have checked the commits:

35c43fcdbb
4ba425060a
45c137e30f
7b07852ddb
2676579dc8

which are the ones just next after the core-updates merge ones and
they appear displaying ugly.


If I misunderstand or misconfigure something, please tell me and I
could correct why I am seeing good images and bad images.
Otherwise, I do not have an idea why it should come from.


Best regards,
simon




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

end of thread, other threads:[~2020-05-16 14:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15 10:23 bug#41282: doc: dot graphs display square glyphs instead of letters Pierre Neidhardt
2020-05-15 10:50 ` Marius Bakke
2020-05-15 11:48   ` Pierre Neidhardt
2020-05-15 13:53     ` zimoun
2020-05-15 14:13       ` Pierre Neidhardt
2020-05-15 14:45         ` Pierre Neidhardt
2020-05-15 15:02           ` zimoun
2020-05-15 15:32             ` Pierre Neidhardt
2020-05-15 15:36               ` zimoun
2020-05-15 18:13                 ` zimoun
2020-05-16 14:03 ` bug#41282: share/info/images/*.png broken zimoun

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).