Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] m4, texinfo build failure
@ 2020-04-20  0:41 fosslinux
  2020-04-20 11:41 ` rovenmacorp
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: fosslinux @ 2020-04-20  0:41 UTC (permalink / raw)
  To: ml

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

New issue by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/21163

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  *output of ``xuname`` (part of xtools)*
* package:  
  *affected package(s) including the version*

### Expected behavior

`m4` builds correctly.

### Actual behavior

`m4` fails with:

```
make[2]: Entering directory '/builddir/m4-1.4.18/doc'
  MAKEINFO m4.info
/builddir/m4-1.4.18/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:
         <http://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:
         <http://www.gnu.org/software/make/>
make[2]: *** [Makefile:1535: m4.info] Error 127
make[2]: Leaving directory '/builddir/m4-1.4.18/doc'
make[1]: *** [Makefile:1572: install-recursive] Error 1
make[1]: Leaving directory '/builddir/m4-1.4.18'
make: *** [Makefile:1867: install] Error 2
```

Adding texinfo to hostmakedepends results in:

```
Making install in doc
make[2]: Entering directory '/builddir/m4-1.4.18/doc'
  MAKEINFO m4.info
utf8 "\xAB" does not map to Unicode at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line 4254.
utf8 "\xAB" does not map to Unicode at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line 4255.
Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3531.
```

### Steps to reproduce the behavior

clone void-packages.

`./xbps-src -N pkg m4` or revbump texinfo and m4 and `./xbps-src pkg m4`.

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

* Re: m4, texinfo build failure
  2020-04-20  0:41 [ISSUE] m4, texinfo build failure fosslinux
@ 2020-04-20 11:41 ` rovenmacorp
  2020-04-20 12:05 ` rovenmacorp
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rovenmacorp @ 2020-04-20 11:41 UTC (permalink / raw)
  To: ml

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

New comment by rovenmacorp on void-packages repository

https://github.com/void-linux/void-packages/issues/21163#issuecomment-616497700

Comment:
This error exists because `texinfo` is not added to the package definition as a build dependency. You will also get a second error when you add it. And this is because `texinfo`'s input encoding now UTF-8 by default and `m4.texi`'s not. You can solve this problem add `pre_build` section like this.

`pre_build() {
     sed -i '1 i @documentencoding ISO-8859-1' doc/m4.texi
}`

See at: [https://github.com/dankelley/gri/issues/15#issuecomment-544980426](url)

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

* Re: m4, texinfo build failure
  2020-04-20  0:41 [ISSUE] m4, texinfo build failure fosslinux
  2020-04-20 11:41 ` rovenmacorp
@ 2020-04-20 12:05 ` rovenmacorp
  2020-04-21  0:26 ` fosslinux
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rovenmacorp @ 2020-04-20 12:05 UTC (permalink / raw)
  To: ml

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

New comment by rovenmacorp on void-packages repository

https://github.com/void-linux/void-packages/issues/21163#issuecomment-616497700

Comment:
This error exists because `texinfo` is not added to the package definition as a build dependency. You will also get a second error when you add it. And this is because `texinfo`'s input encoding now UTF-8 by default and `m4.texi`'s not. You can solve this problem add `pre_build` section like this.

`pre_build() {
     sed -i '1 i @documentencoding ISO-8859-1' doc/m4.texi
}`

See at: https://github.com/dankelley/gri/issues/15#issuecomment-544980426

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

* Re: m4, texinfo build failure
  2020-04-20  0:41 [ISSUE] m4, texinfo build failure fosslinux
  2020-04-20 11:41 ` rovenmacorp
  2020-04-20 12:05 ` rovenmacorp
@ 2020-04-21  0:26 ` fosslinux
  2020-04-22  0:33 ` [ISSUE] [CLOSED] " fosslinux
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fosslinux @ 2020-04-21  0:26 UTC (permalink / raw)
  To: ml

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

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/21163#issuecomment-616878922

Comment:
Well, the texinfo thing - since m4 is a bootstrap package, texinfo is meant to be on the host system. I guess that was just a problem with my setup.

That seems like it will work - I'll add that to the template and  PR. Thanks! I'll close this issue when the PR is merged.

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

* Re: [ISSUE] [CLOSED] m4, texinfo build failure
  2020-04-20  0:41 [ISSUE] m4, texinfo build failure fosslinux
                   ` (2 preceding siblings ...)
  2020-04-21  0:26 ` fosslinux
@ 2020-04-22  0:33 ` fosslinux
  2020-04-25  2:40 ` fosslinux
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fosslinux @ 2020-04-22  0:33 UTC (permalink / raw)
  To: ml

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

Closed issue by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/21163

Description:

### System

* xuname:  Void 5.6.3_1 x86_64 GenuineIntel uptodate rrFFF

* package:  
m4-1.4.18, texinfo-6.7

### Expected behavior

`m4` builds correctly.

### Actual behavior

`m4` fails with:

```
make[2]: Entering directory '/builddir/m4-1.4.18/doc'
  MAKEINFO m4.info
/builddir/m4-1.4.18/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:
         <http://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:
         <http://www.gnu.org/software/make/>
make[2]: *** [Makefile:1535: m4.info] Error 127
make[2]: Leaving directory '/builddir/m4-1.4.18/doc'
make[1]: *** [Makefile:1572: install-recursive] Error 1
make[1]: Leaving directory '/builddir/m4-1.4.18'
make: *** [Makefile:1867: install] Error 2
```

Adding texinfo to hostmakedepends results in:

```
Making install in doc
make[2]: Entering directory '/builddir/m4-1.4.18/doc'
  MAKEINFO m4.info
utf8 "\xAB" does not map to Unicode at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line 4254.
utf8 "\xAB" does not map to Unicode at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line 4255.
Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3531.
```

### Steps to reproduce the behavior

clone void-packages.

`./xbps-src -N pkg m4` or revbump texinfo and m4 and `./xbps-src pkg m4`.

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

* Re: m4, texinfo build failure
  2020-04-20  0:41 [ISSUE] m4, texinfo build failure fosslinux
                   ` (3 preceding siblings ...)
  2020-04-22  0:33 ` [ISSUE] [CLOSED] " fosslinux
@ 2020-04-25  2:40 ` fosslinux
  2020-07-04 10:46 ` LostGhost1
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fosslinux @ 2020-04-25  2:40 UTC (permalink / raw)
  To: ml

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

New comment by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/21163#issuecomment-619308024

Comment:
Thought it was fixed, apparently not.... need to find a way to disable it for the bootstrap.

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

* Re: m4, texinfo build failure
  2020-04-20  0:41 [ISSUE] m4, texinfo build failure fosslinux
                   ` (4 preceding siblings ...)
  2020-04-25  2:40 ` fosslinux
@ 2020-07-04 10:46 ` LostGhost1
  2020-11-01 11:00 ` sgn
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: LostGhost1 @ 2020-07-04 10:46 UTC (permalink / raw)
  To: ml

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

New comment by LostGhost1 on void-packages repository

https://github.com/void-linux/void-packages/issues/21163#issuecomment-653750548

Comment:
One "fix" would be removing doc, tests and checks from the list of directories that Make recursively visits. To do so, they would need to be removed from the file Makefile.in at line 1509.

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

* Re: m4, texinfo build failure
  2020-04-20  0:41 [ISSUE] m4, texinfo build failure fosslinux
                   ` (5 preceding siblings ...)
  2020-07-04 10:46 ` LostGhost1
@ 2020-11-01 11:00 ` sgn
  2020-11-01 11:09 ` sgn
  2020-11-01 11:09 ` [ISSUE] [CLOSED] " sgn
  8 siblings, 0 replies; 10+ messages in thread
From: sgn @ 2020-11-01 11:00 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/21163#issuecomment-720070190

Comment:
Yeah, this is not fixed.

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

* Re: m4, texinfo build failure
  2020-04-20  0:41 [ISSUE] m4, texinfo build failure fosslinux
                   ` (6 preceding siblings ...)
  2020-11-01 11:00 ` sgn
@ 2020-11-01 11:09 ` sgn
  2020-11-01 11:09 ` [ISSUE] [CLOSED] " sgn
  8 siblings, 0 replies; 10+ messages in thread
From: sgn @ 2020-11-01 11:09 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/21163#issuecomment-720071105

Comment:
Fixed https://github.com/void-linux/void-packages/commit/66bf185310ef656f05f8b9c24fb58470e8f27a8f

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

* Re: [ISSUE] [CLOSED] m4, texinfo build failure
  2020-04-20  0:41 [ISSUE] m4, texinfo build failure fosslinux
                   ` (7 preceding siblings ...)
  2020-11-01 11:09 ` sgn
@ 2020-11-01 11:09 ` sgn
  8 siblings, 0 replies; 10+ messages in thread
From: sgn @ 2020-11-01 11:09 UTC (permalink / raw)
  To: ml

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

Closed issue by fosslinux on void-packages repository

https://github.com/void-linux/void-packages/issues/21163

Description:

### System

* xuname:  Void 5.6.3_1 x86_64 GenuineIntel uptodate rrFFF

* package:  
m4-1.4.18, texinfo-6.7

### Expected behavior

`m4` builds correctly.

### Actual behavior

`m4` fails with:

```
make[2]: Entering directory '/builddir/m4-1.4.18/doc'
  MAKEINFO m4.info
/builddir/m4-1.4.18/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:
         <http://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:
         <http://www.gnu.org/software/make/>
make[2]: *** [Makefile:1535: m4.info] Error 127
make[2]: Leaving directory '/builddir/m4-1.4.18/doc'
make[1]: *** [Makefile:1572: install-recursive] Error 1
make[1]: Leaving directory '/builddir/m4-1.4.18'
make: *** [Makefile:1867: install] Error 2
```

Adding texinfo to hostmakedepends results in:

```
Making install in doc
make[2]: Entering directory '/builddir/m4-1.4.18/doc'
  MAKEINFO m4.info
utf8 "\xAB" does not map to Unicode at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line 4254.
utf8 "\xAB" does not map to Unicode at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line 4255.
Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3531.
```

### Steps to reproduce the behavior

clone void-packages.

`./xbps-src -N pkg m4` or revbump texinfo and m4 and `./xbps-src pkg m4`.

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

end of thread, other threads:[~2020-11-01 11:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-20  0:41 [ISSUE] m4, texinfo build failure fosslinux
2020-04-20 11:41 ` rovenmacorp
2020-04-20 12:05 ` rovenmacorp
2020-04-21  0:26 ` fosslinux
2020-04-22  0:33 ` [ISSUE] [CLOSED] " fosslinux
2020-04-25  2:40 ` fosslinux
2020-07-04 10:46 ` LostGhost1
2020-11-01 11:00 ` sgn
2020-11-01 11:09 ` sgn
2020-11-01 11:09 ` [ISSUE] [CLOSED] " sgn

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 NNTP newsgroup(s).