Summary: | media-video/mkvtoolnix-67.0.0 fails compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Smith <chris> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | benjamin.reveille, dschridde+gentoobugs, mail, tsjk |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 856748 | ||
Attachments: |
build log
modified upstream patch |
Description
Chris Smith
2022-07-06 15:29:54 UTC
Created attachment 790325 [details]
build log
This occurs with a keyworded dev-libs/libfmt, which installs v9.0.0. Having the stable version of dev-libs/libfmt (v8.1.1-r1) seems to allow for the compilation of the stable version of mkvtoolnix. (In reply to Tamas Jantvik from comment #2) > This occurs with a keyworded dev-libs/libfmt, which installs v9.0.0. Having > the stable version of dev-libs/libfmt (v8.1.1-r1) seems to allow for the > compilation of the stable version of mkvtoolnix. I am running ACCEPT_KEYWORDS="~amd64" but no other special keywording or unmasking regarding dev-libs/libfmt. But clearly a issue between dev-libs/libfmt-9.0.0 and media-video/mkvtoolnix-67.0.0. (In reply to Chris Smith from comment #3) > (In reply to Tamas Jantvik from comment #2) > > This occurs with a keyworded dev-libs/libfmt, which installs v9.0.0. Having > > the stable version of dev-libs/libfmt (v8.1.1-r1) seems to allow for the > > compilation of the stable version of mkvtoolnix. > > I am running ACCEPT_KEYWORDS="~amd64" but no other special keywording or > unmasking regarding dev-libs/libfmt. I suppose the maintainer runs a stable system. :) But, if you install the stable version of libfmt, mkvtoolnix ought work. The same with media-video/mkvtoolnix-68.0.0_pre::poly-c (overlay deleted!) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06e4f4abc7cd3d83f1eb2605cd23d5d281d6237 commit a06e4f4abc7cd3d83f1eb2605cd23d5d281d6237 Author: Nick H <gerkola@gmail.com> AuthorDate: 2022-07-06 18:37:54 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-06 19:29:58 +0000 media-video/mkvtoolnix: libfmt version limit Closes: https://bugs.gentoo.org/856700 Signed-off-by: Nick Herman <gerkola@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/26243 Signed-off-by: Sam James <sam@gentoo.org> media-video/mkvtoolnix/mkvtoolnix-60.0.0.ebuild | 1 + media-video/mkvtoolnix/mkvtoolnix-61.0.0.ebuild | 1 + media-video/mkvtoolnix/mkvtoolnix-64.0.0.ebuild | 1 + media-video/mkvtoolnix/mkvtoolnix-67.0.0.ebuild | 1 + 4 files changed, 4 insertions(+) (In reply to Larry the Git Cow from comment #7) > The bug has been closed via the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=a06e4f4abc7cd3d83f1eb2605cd23d5d281d6237 > > commit a06e4f4abc7cd3d83f1eb2605cd23d5d281d6237 > Author: Nick H <gerkola@gmail.com> > AuthorDate: 2022-07-06 18:37:54 +0000 > Commit: Sam James <sam@gentoo.org> > CommitDate: 2022-07-06 19:29:58 +0000 > > media-video/mkvtoolnix: libfmt version limit > > Closes: https://bugs.gentoo.org/856700 > Signed-off-by: Nick Herman <gerkola@gmail.com> > Closes: https://github.com/gentoo/gentoo/pull/26243 > Signed-off-by: Sam James <sam@gentoo.org> > > media-video/mkvtoolnix/mkvtoolnix-60.0.0.ebuild | 1 + > media-video/mkvtoolnix/mkvtoolnix-61.0.0.ebuild | 1 + > media-video/mkvtoolnix/mkvtoolnix-64.0.0.ebuild | 1 + > media-video/mkvtoolnix/mkvtoolnix-67.0.0.ebuild | 1 + > 4 files changed, 4 insertions(+) You can do the same thing to kodi-19.4-r1 which also does not like libfmt-9.0.0 *** Bug 856817 has been marked as a duplicate of this bug. *** upstream fix: https://gitlab.com/mbunkus/mkvtoolnix/-/commit/1e1076e43fe8f38e33246fff3ce8651a93c371d9 >>> Preparing source in /var/tmp/portage/media-video/mkvtoolnix-68.0.0_pre/work/mkvtoolnix-68.0.0 ... * Applying mkvtoolnix-58.0.0-qt5dbus.patch ... [ ok ] * Applying mkvtoolnix-67.0.0-no-uic-qtwidgets.patch ... [ ok ] * ============================================================================================================================================================================================================================= * Applying user patches from /etc/portage/patches ... * Applying mkvtoolnix_fmt-9.0.0.patch ... patching file NEWS.md Hunk #1 FAILED at 5. 1 out of 1 hunk FAILED -- saving rejects to file NEWS.md.rej patching file src/common/aac.h patching file src/common/bcp47.h patching file src/common/bluray/track_chapter_names.cpp patching file src/common/error.h patching file src/common/fourcc.h patching file src/common/kax_analyzer.h patching file src/common/math_fwd.h patching file src/common/mm_io_x.h patching file src/common/opus.h patching file src/common/path.h patching file src/common/qt.h patching file src/common/strings/formatting.h patching file src/common/translation.h patching file src/input/r_flac.cpp patching file src/input/r_flv.h patching file src/input/r_mpeg_ps.h patching file src/input/r_ogm_flac.cpp patching file src/input/r_qtmp4.h patching file src/merge/item_selector.h patching file src/propedit/attachment_target.cpp patching file src/propedit/attachment_target.h patching file src/propedit/tag_target.cpp patching file src/propedit/track_target.cpp [ !! ] * ERROR: media-video/mkvtoolnix-68.0.0_pre::poly-c failed (prepare phase): * patch -p1 failed with /etc/portage/patches/media-video/mkvtoolnix/mkvtoolnix_fmt-9.0.0.patch * * Call stack: * ebuild.sh, line 122: Called src_prepare * environment, line 2216: Called default * phase-functions.sh, line 858: Called default_src_prepare * phase-functions.sh, line 934: Called __eapi8_src_prepare * environment, line 400: Called eapply_user * environment, line 1090: Called eapply '/etc/portage/patches/media-video/mkvtoolnix/mkvtoolnix_fmt-9.0.0.patch' * environment, line 1053: Called _eapply_patch '/etc/portage/patches/media-video/mkvtoolnix/mkvtoolnix_fmt-9.0.0.patch' * environment, line 991: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/media-video/mkvtoolnix/mkvtoolnix_fmt-9.0.0.patch' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * After removing the failing hunk the patch applies cleanly. media-video/mkvtoolnix-68.0.0_pre merged. mkvtoolnix gui starts. (In reply to jospezial from comment #10) > upstream fix: > https://gitlab.com/mbunkus/mkvtoolnix/-/commit/ > 1e1076e43fe8f38e33246fff3ce8651a93c371d9 > Thanks for sharing. I'll add it in. Created attachment 790577 [details, diff]
modified upstream patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f540e45e45c69b1ea77737aaeae82338c7cae4b6 commit f540e45e45c69b1ea77737aaeae82338c7cae4b6 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-08 07:27:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-08 07:41:46 +0000 media-video/mkvtoolnix: fix build with newer fmt; add missing qtsvg dep Closes: https://bugs.gentoo.org/856700 Signed-off-by: Sam James <sam@gentoo.org> .../mkvtoolnix/files/mkvtoolnix-68.0.0-fmt-9.patch | 293 +++++++++++++++++++++ ...x-68.0.0.ebuild => mkvtoolnix-68.0.0-r1.ebuild} | 2 + 2 files changed, 295 insertions(+) |