Opened 10 years ago

Closed 10 years ago

#41215 closed defect (worksforme)

Port upgrade fails after OS upgrade to Mavericks

Reported by: christopherbalz@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc:
Port: gnome-settings-daemon

Description (last modified by larryv (Lawrence Velázquez))

Either:

$ sudo port upgrade outdated

or

$ sudo port -nR upgrade --force gnome-settings-daemon

produces:

Error: org.macports.build for port gnome-settings-daemon returned: command execution failed

Checking the log:

$ tail -n 20 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnome-settings-daemon/gnome-settings-daemon/main.log
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnome-settings-daemon/gnome-settings-daemon/work/gnome-settings-daemon-2.32.1'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnome-settings-daemon/gnome-settings-daemon/work/gnome-settings-daemon-2.32.1" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port gnome-settings-daemon returned: command execution failed
:debug:build Error code: CHILDSTATUS 78409 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for gnome-settings-daemon: org.macports.destroot org.macports.build
:notice:build Please see the log file for port gnome-settings-daemon for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnome-settings-daemon/gnome-settings-daemon/main.log

Uninstalling gnome-settings-daemon and gstreamer-010-gst-plugins-ugly and then doing: sudo port install gstreamer010-gst-plugins-ugly and then installing gnome-settings-daemon again went without error. But then the error was reproduced again when doing sudo port upgrade outdated.

Instead, users should be able to do sudo port upgrade outdated without error.

w$ port -v
MacPorts 2.2.1

Attachments (2)

main.log (87.3 KB) - added by christopherbalz@… 10 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnome-settings-daemon/gnome-settings-daemon/main.log Error: Unable to up
main.2.log (11.3 KB) - added by christopherbalz@… 10 years ago.
Error log after re-installing MacPorts.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Keywords: upgrade removed
Owner: changed from macports-tickets@… to devans@…

The snippet of log you pasted does not show the actual error. As per the Guide, please run the following and attach the full main.log:

sudo port clean gnome-settings-daemon
sudo port selfupdate
sudo port upgrade outdated

Changed 10 years ago by christopherbalz@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnome-settings-daemon/gnome-settings-daemon/main.log Error: Unable to up

comment:2 Changed 10 years ago by christopherbalz@…

The log I just attached was generated by:

$ sudo port clean gnome-settings-daemon Password: ---> Cleaning gnome-settings-daemon $ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.2.1 installed, MacPorts base version 2.2.1 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run

port upgrade outdated

$ sudo port upgrade outdated ---> Fetching archive for gnome-settings-daemon ---> Attempting to fetch gnome-settings-daemon-2.32.1_1.darwin_13.x86_64.tbz2 from http://packages.macports.org/gnome-settings-daemon ---> Attempting to fetch gnome-settings-daemon-2.32.1_1.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gnome-settings-daemon ---> Attempting to fetch gnome-settings-daemon-2.32.1_1.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnome-settings-daemon ---> Computing dependencies for gnome-settings-daemon ---> Fetching distfiles for gnome-settings-daemon ---> Verifying checksums for gnome-settings-daemon ---> Extracting gnome-settings-daemon ---> Configuring gnome-settings-daemon ---> Building gnome-settings-daemon Error: org.macports.build for port gnome-settings-daemon returned: command execution failed Please see the log file for port gnome-settings-daemon for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnome-settings-daemon/gnome-settings-daemon/main.log

Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

$

comment:3 Changed 10 years ago by dbevans (David B. Evans)

Keywords: mavericks added

gnome-settings-daemon installs correctly for me on Mavericks (and for you too) and without understanding the details of your MacPorts environment, its hard to understand why you are having this error when trying to do an upgrade.

Have you just upgraded your system to Mavericks? If so, did you follow the instructions in Migration? Maybe a few comments about how you got to this point might make things more understandable.

comment:4 Changed 10 years ago by christopherbalz@…

I had not known that MacPorts needed manual intervention on o/s upgrade, so as per your instruction I followed the instructions in "Migration" with a good result:

Congratulations, you have successfully installed the MacPorts system. To get the Portfiles and update the system, add /opt/local/bin to your PATH and run:

sudo port -v selfupdate

. . .

Total number of ports parsed: 17 Ports successfully parsed: 17 Ports failed: 0 Up-to-date ports skipped: 17802

---> MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run

port upgrade outdated

Then I did sudo port upgrade outdated which gave the same failure as above:

---> Computing dependencies for gnome-settings-daemon ---> Building gnome-settings-daemon Error: org.macports.build for port gnome-settings-daemon returned: command execution failed Please see the log file for port gnome-settings-daemon for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnome-settings-daemon/gnome-settings-daemon/main.log

Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

I've attached the new 'main.log'.

Separately, as a feature suggestion, MacPorts ideally would know if the o/s had been upgraded since MacPorts had been last installed, and warn the user of the possibly-required "Migration" step in the event of an error.

Changed 10 years ago by christopherbalz@…

Attachment: main.2.log added

Error log after re-installing MacPorts.

comment:5 Changed 10 years ago by christopherbalz@…

Sorry, I didn't see the full uninstall steps - doing that now.

comment:6 Changed 10 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: newclosed
Summary: Port upgrade outdated results in gnome-settings-daemon returned: command execution failedPort upgrade fails after OS upgrade to Mavericks

Assuming that this is strictly a migration issue. If, after reinstalling your ports according to the migration instructions, problems remain, suggest asking for help on the macports-users email list before filing another ticket. Thanks.

Note: See TracTickets for help on using tickets.