Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 796731 - media-plugins/vdr-extrecmenu-1.2.4-r2 fails to compile
Summary: media-plugins/vdr-extrecmenu-1.2.4-r2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Martin Dummer
URL:
Whiteboard:
Keywords: PullRequest
: 798033 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-06-19 09:33 UTC by Agostino Sarubbo
Modified: 2024-07-03 05:30 UTC (History)
7 users (show)

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


Attachments
build.log (build.log,37.45 KB, text/plain)
2021-06-19 09:33 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-06-19 09:33:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-plugins/vdr-extrecmenu-1.2.4-r2 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-06-19 09:33:40 UTC
CC'ing also the author of the commit (71c086aa8af8388c12611de8857b0929f7a041f1)
Comment 2 Agostino Sarubbo gentoo-dev 2021-06-19 09:33:41 UTC
Created attachment 716847 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2021-11-01 20:34:57 UTC
*** Bug 798033 has been marked as a duplicate of this bug. ***
Comment 4 maxalt 2022-04-20 16:05:01 UTC
Problem still exist, maybe someone can fix it

Calculating dependencies... done!
[ebuild   R    ] media-plugins/vdr-extrecmenu-1.2.4-r2::gentoo  0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-plugins/vdr-extrecmenu-1.2.4-r2::gentoo
 * vdr-extrecmenu-1.2.4-r2.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                 [ ok ]
 * dvdarchive-2.3-beta.sh.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                      [ ok ]
 * Compiling against
 *      vdr-2.4.7 [API version 2.4.7]
>>> Unpacking source...
>>> Unpacking vdr-extrecmenu-1.2.4-r2.tar.gz to /var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/work
>>> Unpacking dvdarchive-2.3-beta.sh.gz to /var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/work
>>> Source unpacked in /var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/work
>>> Preparing source in /var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/work/vdr-plugin-extrecmenu-77d10faec3c7b0abe25ba3b161dc3b4e2cad042b ...
 * Applying vdr-extrecmenu-1.2.4_c++11.patch ...                                                                                                                                              [ ok ]
 * Applying dvdarchive-2.3-beta-configfile.patch ...
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/dvdarchive-2.3-beta.sh
|+++ b/dvdarchive-2.3-beta.sh
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored                                                                                                                                                                       [ !! ]
 * ERROR: media-plugins/vdr-extrecmenu-1.2.4-r2::gentoo failed (prepare phase):
 *   patch -p1 -p0 failed with /var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/files/dvdarchive-2.3-beta-configfile.patch
 *
 * Call stack:
 *               ebuild.sh, line  127:  Called src_prepare
 *             environment, line 1764:  Called eapply '-p0' '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/files/dvdarchive-2.3-beta-configfile.patch'
 *             environment, line  783:  Called _eapply_patch '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/files/dvdarchive-2.3-beta-configfile.patch'
 *             environment, line  721:  Called __helpers_die 'patch -p1 -p0 failed with /var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/files/dvdarchive-2.3-beta-configfile.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=media-plugins/vdr-extrecmenu-1.2.4-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-plugins/vdr-extrecmenu-1.2.4-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/work'
 * S: '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/work/vdr-plugin-extrecmenu-77d10faec3c7b0abe25ba3b161dc3b4e2cad042b'

>>> Failed to emerge media-plugins/vdr-extrecmenu-1.2.4-r2, Log file:

>>>  '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/temp/build.log'

 * Messages for package media-plugins/vdr-extrecmenu-1.2.4-r2:

 * ERROR: media-plugins/vdr-extrecmenu-1.2.4-r2::gentoo failed (prepare phase):
 *   patch -p1 -p0 failed with /var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/files/dvdarchive-2.3-beta-configfile.patch
 *
 * Call stack:
 *               ebuild.sh, line  127:  Called src_prepare
 *             environment, line 1764:  Called eapply '-p0' '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/files/dvdarchive-2.3-beta-configfile.patch'
 *             environment, line  783:  Called _eapply_patch '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/files/dvdarchive-2.3-beta-configfile.patch'
 *             environment, line  721:  Called __helpers_die 'patch -p1 -p0 failed with /var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/files/dvdarchive-2.3-beta-configfile.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=media-plugins/vdr-extrecmenu-1.2.4-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-plugins/vdr-extrecmenu-1.2.4-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/work'
 * S: '/var/tmp/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/work/vdr-plugin-extrecmenu-77d10faec3c7b0abe25ba3b161dc3b4e2cad042b'
Comment 5 Matthias Schwarzott gentoo-dev 2024-01-22 12:08:17 UTC
The original issue has been fixed with https://bugs.gentoo.org/914388
Still the ebuild fails when installing
>>> Install media-plugins/vdr-extrecmenu-1.2.4-r2 into /var/tmp/notmpfs/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/image
 * QA Notice: Plugin use still the old Makefile handling
 * Installing locales
cp: cannot stat 'en*': No such file or directory
 * ERROR: media-plugins/vdr-extrecmenu-1.2.4-r2::gentoo failed (install phase):
 *   could not copy linguas files
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_install
 *   environment, line 1855:  Called vdr-plugin-2_src_install
 *   environment, line 3256:  Called die
 * The specific snippet of code:
 *               cp -r --parents ${linguas}* "${D%/}"/${LOCDIR} || die "could not copy linguas files";
 * 
 * If you need support, post the output of `emerge --info '=media-plugins/vdr-extrecmenu-1.2.4-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-plugins/vdr-extrecmenu-1.2.4-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/notmpfs/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/notmpfs/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/temp/environment'.
 * Working directory: '/var/tmp/notmpfs/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/temp/tmp-locale'
 * S: '/var/tmp/notmpfs/portage/media-plugins/vdr-extrecmenu-1.2.4-r2/work/vdr-plugin-extrecmenu-77d10faec3c7b0abe25ba3b161dc3b4e2cad042b'
Comment 6 Larry the Git Cow gentoo-dev 2024-07-03 05:30:25 UTC
The bug has been closed via the following commit(s):

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

commit 5760b894bd1e9638a56186330c3c0365dfec84f7
Author:     Martin Dummer <martin.dummer@gmx.net>
AuthorDate: 2024-06-23 06:13:43 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-07-03 05:30:17 +0000

    vdr-plugin-2.eclass: fix behaviour with LINGUAS="en"
    
    when LINGUAS="en" is defined, vdr-plugin-2_src_install() stops erroneously
    
    Closes: https://bugs.gentoo.org/796731
    Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
    Closes: https://github.com/gentoo/gentoo/pull/37250
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 eclass/vdr-plugin-2.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)