[MacPorts] #27760: dbus 1.4.1 port update fails on mac os 10.6.5
#27760: dbus 1.4.1 port update fails on mac os 10.6.5 --------------------------------------------------------------+------------- Reporter: henning@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: Reversed (or previously applied) patch detected! | Port: dbus 1.4.1 --------------------------------------------------------------+------------- os x 10.6.5, x11 2.4.0 after following the "How to upgrade a port's version locally" instructions i failed to % sudo port -d install dbus (logfile attached). carrying out % port clean --all and % port clean openssl did not change it. trying to % port uninstall dbus and % port -nR upgrade --force dbus also failed (log attached). please help! thanks! -- Ticket URL: <https://trac.macports.org/ticket/27760> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27760: dbus 1.4.1 port update fails on mac os 10.6.5 ---------------------------------+------------------------------------------ Reporter: henning@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * cc: ryandesign@… (added) * keywords: Reversed (or previously applied) patch detected! => * port: dbus 1.4.1 => dbus * owner: macports-tickets@… => mcalhoun@… Old description:
os x 10.6.5, x11 2.4.0
after following the "How to upgrade a port's version locally" instructions i failed to
% sudo port -d install dbus (logfile attached).
carrying out
% port clean --all
and
% port clean openssl
did not change it.
trying to
% port uninstall dbus
and
% port -nR upgrade --force dbus
also failed (log attached).
please help! thanks!
New description: os x 10.6.5, x11 2.4.0 after following the "How to upgrade a port's version locally" instructions i failed to {{{ % sudo port -d install dbus (logfile attached). }}} carrying out {{{ % port clean --all }}} and {{{ % port clean openssl }}} did not change it. trying to {{{ % port uninstall dbus }}} and {{{ % port -nR upgrade --force dbus }}} also failed (log attached). please help! thanks! -- Comment: Both logs show the patch phase of dbus failing to apply a patch, probably because it was already applied the last time you tried to install dbus. Clean dbus ("`sudo port clean dbus`") and try again. -- Ticket URL: <https://trac.macports.org/ticket/27760#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27760: dbus 1.4.1 port update fails on mac os 10.6.5 ---------------------------------+------------------------------------------ Reporter: henning@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus ---------------------------------+------------------------------------------ Comment(by henning@…): Replying to [comment:1 ryandesign@…]:
Both logs show the patch phase of dbus failing to apply a patch, probably because it was already applied the last time you tried to install dbus. Clean dbus ("`sudo port clean dbus`") and try again.
thanks for the fast reply! i just tried it and did not succeed. failure output in the terminal: {{{ Error: Target org.macports.patch returned: shell command failed (see log for details) Log for dbus is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> Henning-Richters-MacBook-Pro:~ henningrichter$ }}} any further advice? should i reinstall all of macports? if yes- how? thanks -- Ticket URL: <https://trac.macports.org/ticket/27760#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27760: dbus 1.4.1 port update fails on mac os 10.6.5 ---------------------------------+------------------------------------------ Reporter: henning@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus ---------------------------------+------------------------------------------ Comment(by henning@…): ... or could dbus version 1.4.1 be the cause? the patches seem to have been written for version 1.4.0... -- Ticket URL: <https://trac.macports.org/ticket/27760#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27760: dbus 1.4.1 port update fails on mac os 10.6.5 ---------------------------------+------------------------------------------ Reporter: henning@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Please attach the new main.log file that you got. -- Ticket URL: <https://trac.macports.org/ticket/27760#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27760: dbus 1.4.1 port update fails on mac os 10.6.5 ---------------------------------+------------------------------------------ Reporter: henning@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus ---------------------------------+------------------------------------------ Comment(by henning@…): sure! here it comes... -- Ticket URL: <https://trac.macports.org/ticket/27760#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27760: dbus: update to 1.4.1 ---------------------------------+------------------------------------------ Reporter: henning@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Ok, so the real error is: {{{ :debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/work/dbus-1.4.1" && /usr/bin/patch -p1' :info:patch The next patch would create the file dbus/dbus-server- launchd.c, :info:patch which already exists! Assume -R? [n] :info:patch Apply anyway? [n] :info:patch Skipping patch. :info:patch 1 out of 1 hunk ignored -- saving rejects to file dbus/dbus- server-launchd.c.rej :info:patch The next patch would create the file dbus/dbus-server- launchd.h, :info:patch which already exists! Assume -R? [n] :info:patch Apply anyway? [n] :info:patch Skipping patch. :info:patch 1 out of 1 hunk ignored -- saving rejects to file dbus/dbus- server-launchd.h.rej :info:patch patching file dbus/dbus-sysdeps-unix.c :info:patch Hunk #1 succeeded at 3425 with fuzz 1 (offset 111 lines). :info:patch Hunk #2 FAILED at 3544. :info:patch 1 out of 2 hunks FAILED -- saving rejects to file dbus/dbus- sysdeps-unix.c.rej }}} So, the patchfiles in the port are designed for the current version of the port -- 1.2.24. You've presumably updated the portfile to version 1.4.1, but haven't updated the patches, or haven't updated them completely. Part of the task of updating a port is to deal with updating the patches, determining which ones need to be updated, which ones can be deleted, and what new patches might be needed. It sounds like we can boil this ticket down to the request to update dbus to 1.4.1, so let's just make it that, and let the maintainer of the port deal with doing that update. Unless you figure it out sooner, in which case, by all means attach a patch to this ticket. -- Ticket URL: <https://trac.macports.org/ticket/27760#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27760: dbus: update to 1.4.1 ---------------------------------+------------------------------------------ Reporter: henning@… | Owner: mcalhoun@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * type: defect => update -- Ticket URL: <https://trac.macports.org/ticket/27760#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27760: dbus: update to 1.4.1 ---------------------------------+------------------------------------------ Reporter: henning@… | Owner: mcalhoun@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus ---------------------------------+------------------------------------------ Comment(by henning@…): i see... now since i'm not a developer there's no way i could write any code for a patch - so i'll leave it to the maintainer. thanks anyway. -- Ticket URL: <https://trac.macports.org/ticket/27760#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27760: dbus: update to 1.4.1 ---------------------------------+------------------------------------------ Reporter: henning@… | Owner: mcalhoun@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus ---------------------------------+------------------------------------------ Changes (by dports@…): * cc: dports@… (added) Comment: dbus 1.4.1 appears to have launchd support integrated, so perhaps some or all of the patches aren't necessary anymore? -- Ticket URL: <https://trac.macports.org/ticket/27760#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27760: dbus: update to 1.4.1 ---------------------------------+------------------------------------------ Reporter: henning@… | Owner: mcalhoun@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: dbus ---------------------------------+------------------------------------------ Comment(by mta@…): I've attached a patch that updates the dbus port to version 1.4.8. Most of this patch simply deletes the first four patch files since they have been included upstream. The patch simply removes the contents of the four files, leaving empty files behind. Whomever applies this should delete the files entirely. -- Ticket URL: <https://trac.macports.org/ticket/27760#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27760: dbus: update to 1.4.1 ----------------------------------+----------------------------------------- Reporter: henning@… | Owner: mcalhoun@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: dbus | ----------------------------------+----------------------------------------- Changes (by pixilla@…): * status: new => closed * resolution: => fixed Comment: Updated r79191. -- Ticket URL: <https://trac.macports.org/ticket/27760#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts