[MacPorts] #32412: Bzip2 will not install on Mac OSX 10.5.8 PPC

MacPorts noreply at macports.org
Mon Dec 5 12:47:50 PST 2011


#32412: Bzip2 will not install on Mac OSX 10.5.8 PPC
---------------------------------+------------------------------------------
 Reporter:  jeffjet24@…          |       Owner:  ryandesign@…           
     Type:  defect               |      Status:  new                    
 Priority:  Normal               |   Milestone:                         
Component:  ports                |     Version:  2.0.3                  
 Keywords:  bzip2 PPC Leopard    |        Port:  bzip2                  
---------------------------------+------------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => ryandesign@…


Old description:

> 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!

New description:

 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!

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/32412#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list