Opened 13 years ago

Closed 13 years ago

#32412 closed defect (worksforme)

Bzip2 will not install on Mac OSX 10.5.8 PPC

Reported by: jeffjet24@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: bzip2 PPC Leopard Cc:
Port: bzip2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am running an Apple Xserve Dual 1.33 GHz G4 CPUs. it is Running Mac OS X Server 10.5.8

This port has Brought frustration to me. Because it happens to be a very important port and most other ports that I need depend on Bzip2.

I had an issue before with the permissions of the files, but I have fixed that.

Now I am having another issue, and it isnt telling me much in the log. But it is running into something when it is applying patches to bzip2.

Heres to log:

version:1
:debug:main Executing org.macports.main (bzip2)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 505
:debug:main euid changed to: 503
:debug:main Skipping completed org.macports.archivefetch (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (bzip2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Mon Dec  5 12:38:44 CST 2011
:debug:patch Executing org.macports.patch (bzip2)
:notice:patch --->  Applying patches to bzip2
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/bzip2/files/patch-Makefile-man.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/bzip2/files/patch-Makefile-man.diff'
:info:patch patching file Makefile
:info:patch /usr/bin/patch: **** Can't rename file /tmp/po60AHcr to Makefile : Permission denied
:info:patch shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/work/bzip2-1.0.6" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/bzip2/files/patch-Makefile-man.diff'" returned error 2
:error:patch Target org.macports.patch returned: shell command failed (see log for details)
:debug:patch Backtrace: shell command failed (see log for details)
    while executing
"command_exec patch "" "< '$patch'""
    ("default" arm line 1)
    invoked from within
"switch -- [file extension $patch] {
            .Z -
            .gz {command_exec patch "$gzcat \"$patch\" | (" ")"}
            .bz2 {command_exec p..."
    (procedure "portpatch::patch_main" line 31)
    invoked from within
"$procedure $targetname"
:info:patch Warning: the following items did not execute (for bzip2): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:patch Log for bzip2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_bzip2/bzip2/main.log

Thank you For your help!

Attachments (2)

main.log (3.5 KB) - added by jeffjet24@… 13 years ago.
Main.log
install Log.rtf (3.5 KB) - added by jeffjet24@… 13 years ago.
Install Log in RTF formatting, to make it easier to read.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by jeffjet24@…

Attachment: main.log added

Main.log

Changed 13 years ago by jeffjet24@…

Attachment: install Log.rtf added

Install Log in RTF formatting, to make it easier to read.

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…

Please remember to use WikiFormatting and to Cc the maintainer of the affected port.

You said you had permission problems that you resolved, but the log still shows a permission problem. First step would be to clean and try again:

sudo port clean bzip2
sudo port install bzip2

If that still fails, perhaps you'd better go into more detail about the other permissions problems you experienced and how you fixed them.

comment:2 Changed 13 years ago by jeffjet24@…

Thank you! Sorry, I'm sort of new to using macports... That worked perfectly. Thanks!

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Ok, glad you got it working. If anything else doesn't work, first step should be to clean and try again, before reporting a problem. :)

Note: See TracTickets for help on using tickets.