Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713442 - media-sound/mpfc-1.3.8.1-r5 : make[2]: *** No rule to make target ../config.h, needed by bindtextdom.o. Stop.
Summary: media-sound/mpfc-1.3.8.1-r5 : make[2]: *** No rule to make target ../config.h...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-19 11:22 UTC by Toralf Förster
Modified: 2024-02-11 07:19 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.39 KB, text/plain)
2020-03-19 11:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,140.52 KB, text/plain)
2020-03-19 11:22 UTC, Toralf Förster
Details
environment (environment,59.47 KB, text/plain)
2020-03-19 11:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.15 KB, application/x-bzip)
2020-03-19 11:22 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.33 KB, application/x-bzip)
2020-03-19 11:22 UTC, Toralf Förster
Details
media-sound:mpfc-1.3.8.1-r2:20200319-095843.log (media-sound:mpfc-1.3.8.1-r2:20200319-095843.log,14.88 KB, text/plain)
2020-03-19 11:23 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.82 KB, application/x-bzip)
2020-03-19 11:23 UTC, Toralf Förster
Details
mpfc-1.3.8.1-r3.ebuild (mpfc-1.3.8.1-r2.ebuild,1.24 KB, text/plain)
2020-10-12 16:50 UTC, tonemgub
Details
mpfc-1.3.8.1-fix-gettext-musl.patch (mpfc-1.3.8.1-fix-gettext-musl.patch,721.08 KB, patch)
2020-10-12 16:51 UTC, tonemgub
Details | Diff
mpfc-1.3.8.1-remove-unused-header-musl.patch (mpfc-1.3.8.1-remove-unused-header-musl.patch,540 bytes, patch)
2020-10-12 16:51 UTC, tonemgub
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-19 11:22:44 UTC
Making all in intl
make[2]: Entering directory /var/tmp/portage/media-sound/mpfc-1.3.8.1-r2/work/mpfc-1.3.8.1/intl
make[2]: *** No rule to make target ../config.h, needed by bindtextdom.o.  Stop.
make[2]: Leaving directory /var/tmp/portage/media-sound/mpfc-1.3.8.1-r2/work/mpfc-1.3.8.1/intl
make[1]: *** [Makefile:554: all-recursive] Error 1
make[1]: Leaving directory /var/tmp/portage/media-sound/mpfc-1.3.8.1-r2/work/mpfc-1.3.8.1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO media-sound/mpfc
[ebuild  N    ] media-sound/mpfc-1.3.8.1-r2  USE="nls -alsa -cdda -flac -gpm -mad -oss -static-libs -vorbis -wav"
Comment 1 Toralf Förster gentoo-dev 2020-03-19 11:22:46 UTC
Created attachment 622586 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-19 11:22:49 UTC
Created attachment 622588 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-19 11:22:52 UTC
Created attachment 622590 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-19 11:22:55 UTC
Created attachment 622592 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-19 11:22:58 UTC
Created attachment 622594 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-19 11:23:01 UTC
Created attachment 622596 [details]
media-sound:mpfc-1.3.8.1-r2:20200319-095843.log
Comment 7 Toralf Förster gentoo-dev 2020-03-19 11:23:05 UTC
Created attachment 622598 [details]
temp.tbz2
Comment 8 tonemgub 2020-10-12 16:50:30 UTC
Created attachment 664891 [details]
mpfc-1.3.8.1-r3.ebuild

This error occurs because prior to gettext 0.19.8 it did not work with musl. The fix is to bump the gettext version via modifying configure.ac as follows:

-AM_GNU_GETTEXT
-AM_GNU_GETTEXT_VERSION(0.16.1)
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION([0.21])


Then regenerating everything with "gettextsize -f".

Another patch is also needed to avoid error.h. The header is unused in release builds and prevents the software from building in musl.

Modified ebuild attached, patches forthcoming.
Comment 9 tonemgub 2020-10-12 16:51:17 UTC
Created attachment 664894 [details, diff]
mpfc-1.3.8.1-fix-gettext-musl.patch
Comment 10 tonemgub 2020-10-12 16:51:42 UTC
Created attachment 664897 [details, diff]
mpfc-1.3.8.1-remove-unused-header-musl.patch
Comment 11 Agostino Sarubbo gentoo-dev 2022-09-16 09:42:47 UTC
tinderbox_musl has reproduced this issue with version 1.3.8.1-r4 - Updating summary.
Comment 12 Agostino Sarubbo gentoo-dev 2024-02-11 07:19:07 UTC
tinderbox_musl has reproduced this issue with version 1.3.8.1-r5 - Updating summary.