Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300305 - net-wireless/wpa_supplicant-9999:ebuild fails due to dbus_path_fix.patch
Summary: net-wireless/wpa_supplicant-9999:ebuild fails due to dbus_path_fix.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-09 17:32 UTC by Phillip Nixon
Modified: 2010-01-14 14:52 UTC (History)
2 users (show)

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


Attachments
New patch to be added to ebuild (9999-dbus_path_fix.patch,836 bytes, patch)
2010-01-11 21:55 UTC, Trevor Summers Smith
Details | Diff
Patch for ebuild to use files/9999-dbus_path_fix.patch (wpa_supplicant-9999.ebuild.patch,391 bytes, patch)
2010-01-11 21:56 UTC, Trevor Summers Smith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Phillip Nixon 2010-01-09 17:32:07 UTC
Portage is attempting to apply dbus_patch_fix.patch, which no longer works with the current development branch. The relevant D-Bus service file has been renamed in the tree. I am interested in creating and submitting a new patch and ebuild to fix this. However, I am unsure if Gentoo allows or has the resources to manage patches for live ebuilds. Please advise. 

Am using commit 8e5568f874f591db5e293e58cfe7ca7611977168 (checked out 01/09/10).

 * Failed Patch: dbus_path_fix.patch !
 *  ( /usr/portage/net-wireless/wpa_supplicant/files/dbus_path_fix.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-wireless/wpa_supplicant-9999/temp/dbus_path_fix.patch-14037.out
 * 
 * ERROR: net-wireless/wpa_supplicant-9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_prepare
 *             environment, line 3244:  Called epatch '/usr/portage/net-wireless/wpa_supplicant/files/dbus_path_fix.patch'
 *             environment, line 1428:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: dbus_path_fix.patch!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-wireless/wpa_supplicant-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-wireless/wpa_supplicant-9999/temp/environment'.


Reproducible: Always

Steps to Reproduce:
1. Unmask, and add '**' keyword for net-wireless/wpa_supplicant-9999
2. This ebuild currently uses the http transfer method for git, so ensure you have git installed with 'curl' use flag.
3. emerge -av wpa_supplicant-9999

Actual Results:  
Please see above.

Expected Results:  
wpa_supplicant-9999 ebuild builds correctly.
Comment 1 Trevor Summers Smith 2010-01-11 21:55:37 UTC
Created attachment 216125 [details, diff]
New patch to be added to ebuild

This fixes the path problem listed. There are now two service files, and this patch will modify both.
Comment 2 Trevor Summers Smith 2010-01-11 21:56:46 UTC
Created attachment 216127 [details, diff]
Patch for ebuild to use files/9999-dbus_path_fix.patch
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2010-01-14 14:52:00 UTC
Fixed, should be in the tree soon.