Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903656 - dev-libs/hyphen-2.8.8-r1 - Build failure with mawk
Summary: dev-libs/hyphen-2.8.8-r1 - Build failure with mawk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-04-01 03:35 UTC by orbea
Modified: 2023-04-14 00:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,14.74 KB, text/x-log)
2023-04-01 03:35 UTC, orbea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description orbea 2023-04-01 03:35:35 UTC
Created attachment 859363 [details]
Build log

The build fails with mawk.

cat hyphen.us hyphen.us2 | mawk -f ./lig.awk >hyphen.us3
mawk: ./lig.awk: line 44: function gensub never defined
mawk: ./lig.awk: line 44: function gensub never defined
mawk: ./lig.awk: line 44: function gensub never defined
mawk: ./lig.awk: line 44: function gensub never defined
mawk: ./lig.awk: line 44: function gensub never defined
make[1]: *** [Makefile:971: hyphen.us3] Error 2
make[1]: *** Waiting for unfinished jobs....

This was fixed upstream in November 2016, but no upstream release has been made since.

https://github.com/hunspell/hyphen/pull/12
https://github.com/hunspell/hyphen/commit/3d05509b7ce8c350f4476830b00241025eeae329
Comment 1 Larry the Git Cow gentoo-dev 2023-04-14 00:31:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3910765cb67fe9cc3ce9237337862058a868eae

commit e3910765cb67fe9cc3ce9237337862058a868eae
Author:     orbea <orbea@riseup.net>
AuthorDate: 2023-03-27 21:19:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-14 00:28:59 +0000

    dev-libs/hyphen: Fix the build with mawk
    
    mawk: ./lig.awk: line 44: function gensub never defined
    
    Closes: https://bugs.gentoo.org/903656
    Upstream-Commit: https://github.com/hunspell/hyphen/commit/3d05509b7ce8c350f4476830b00241025eeae329
    Upstream-PR: https://github.com/hunspell/hyphen/pull/12
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/30374
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/hyphen/files/hyphen-2.8.8-mawk.patch | 47 +++++++++++++++++++++++++++
 dev-libs/hyphen/hyphen-2.8.8-r1.ebuild        |  8 +++--
 2 files changed, 53 insertions(+), 2 deletions(-)