Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882883 - net-dialup/freeradius-3.2.0: patch -p1 failed with /var/tmp/portage/net-dialup/freeradius-3.2.0/files/freeradius-3.0.20-systemd-service.patch
Summary: net-dialup/freeradius-3.2.0: patch -p1 failed with /var/tmp/portage/net-dial...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-25 05:16 UTC by Rachid Achellal
Modified: 2022-11-25 05:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rachid Achellal 2022-11-25 05:16:08 UTC
The installer gets wrong patch file that is needed for 3.0.x versions and not for 3.2.x

* ERROR: net-dialup/freeradius-3.2.0::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/net-dialup/freeradius-3.2.0/files/freeradius-3.0.20-systemd-service.patch
 *
 * Call stack:
 *               ebuild.sh, line  122:  Called src_prepare
 *             environment, line 3318:  Called default
 *      phase-functions.sh, line  872:  Called default_src_prepare
 *      phase-functions.sh, line  948:  Called __eapi8_src_prepare
 *             environment, line  414:  Called eapply '--' '/var/tmp/portage/net-dialup/freeradius-3.2.0/files/freeradius-3.0.20-systemd-service.patch'
 *             environment, line 1649:  Called _eapply_patch '/var/tmp/portage/net-dialup/freeradius-3.2.0/files/freeradius-3.0.20-systemd-service.patch'
 *             environment, line 1587:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/net-dialup/freeradius-3.2.0/files/freeradius-3.0.20-systemd-service.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=net-dialup/freeradius-3.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-dialup/freeradius-3.2.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-dialup/freeradius-3.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dialup/freeradius-3.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-dialup/freeradius-3.2.0/work/freeradius-server-3.2.0'
 * S: '/var/tmp/portage/net-dialup/freeradius-3.2.0/work/freeradius-server-3.2.0'

Reproducible: Always

Steps to Reproduce:
1. Add the version in accepted keywords
2. Install the version with emerge

Actual Results:  
During emerge process i am receiving the error message

Expected Results:  
* ERROR: net-dialup/freeradius-3.2.0::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/net-dialup/freeradius-3.2.0/files/freeradius-3.0.20-systemd-service.patch
 *
 * Call stack:
 *               ebuild.sh, line  122:  Called src_prepare
 *             environment, line 3318:  Called default
 *      phase-functions.sh, line  872:  Called default_src_prepare
 *      phase-functions.sh, line  948:  Called __eapi8_src_prepare
 *             environment, line  414:  Called eapply '--' '/var/tmp/portage/net-dialup/freeradius-3.2.0/files/freeradius-3.0.20-systemd-service.patch'
 *             environment, line 1649:  Called _eapply_patch '/var/tmp/portage/net-dialup/freeradius-3.2.0/files/freeradius-3.0.20-systemd-service.patch'
 *             environment, line 1587:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/net-dialup/freeradius-3.2.0/files/freeradius-3.0.20-systemd-service.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=net-dialup/freeradius-3.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-dialup/freeradius-3.2.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-dialup/freeradius-3.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dialup/freeradius-3.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-dialup/freeradius-3.2.0/work/freeradius-server-3.2.0'
 * S: '/var/tmp/portage/net-dialup/freeradius-3.2.0/work/freeradius-server-3.2.0'
Comment 1 Larry the Git Cow gentoo-dev 2022-11-25 05:23:09 UTC
The bug has been closed via the following commit(s):

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

commit ebef88938ec94e9bf3159dbbe54faa2aeb83beb5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-25 05:22:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-25 05:22:07 +0000

    net-dialup/freeradius: restore patch
    
    Closes: https://bugs.gentoo.org/882883
    Fixes: 85dea602dd8491d8b2457b933a36508bced8cb74
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/freeradius-3.0.20-systemd-service.patch  | 57 ++++++++++++++++++++++
 1 file changed, 57 insertions(+)