Summary: | dev-db/m17n-db-1.8.0 : make[1]: *** No rule to make target 8859-2.map, needed by all-am. Stop. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cjk |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-db:m17n-db-1.8.0:20200319-094457.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 |
Description
Toralf Förster
![]() Created attachment 622558 [details]
emerge-info.txt
Created attachment 622560 [details]
dev-db:m17n-db-1.8.0:20200319-094457.log
Created attachment 622562 [details]
emerge-history.txt
Created attachment 622564 [details]
environment
Created attachment 622566 [details]
etc.portage.tbz2
Created attachment 622568 [details]
logs.tbz2
Created attachment 622570 [details]
temp.tbz2
The problem is that by default, m17n-db tries to find charmaps from /usr/share/i18n/charmaps, which only exists for systems with glibc installed. To build it on systems with musl libc, the configure flag --with-charmaps=/path/to/localedata/charmaps has to be specified to point it to a directory containing charmaps. Void-packages' solution is to point it to the charmaps from the source (not the build output) of glibc, thus they avoid building glibc on musl systems. I fixed this problem on my fork of Nixpkgs for musl this way, but I'm not familiar enough with Gentoo. Maybe someone can take my comment and fix it ;) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3345a7412e25a871621c4abe77ae7d21552a1273 commit 3345a7412e25a871621c4abe77ae7d21552a1273 Author: Akinori Hattori <hattya@gentoo.org> AuthorDate: 2024-06-22 09:29:37 +0000 Commit: Akinori Hattori <hattya@gentoo.org> CommitDate: 2024-06-22 10:02:17 +0000 dev-db/m17n-db: fix build on musl Closes: https://bugs.gentoo.org/713438 Signed-off-by: Akinori Hattori <hattya@gentoo.org> dev-db/m17n-db/Manifest | 1 + dev-db/m17n-db/m17n-db-1.8.0.ebuild | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) |