[MacPorts] #22416: Error applying patches when installing mico-2.3.12

MacPorts noreply at macports.org
Sun Nov 8 05:28:48 PST 2009


#22416: Error applying patches when installing mico-2.3.12
---------------------------------+------------------------------------------
 Reporter:  theconquerer@…       |       Owner:  roederja@…              
     Type:  defect               |      Status:  new                     
 Priority:  Normal               |   Milestone:                          
Component:  ports                |     Version:  1.8.1                   
 Keywords:                       |        Port:  mico                    
---------------------------------+------------------------------------------

Comment(by theconquerer@…):

 As I see it the above error might be a follow-up from this error:


 {{{
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/mico
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/mico
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 9.8.0
 DEBUG: Mac OS X Version: 10.5
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: adding the default universal variant
 DEBUG: Requested variant darwin is not provided by port mico.
 DEBUG: Requested variant i386 is not provided by port mico.
 DEBUG: Requested variant macosx is not provided by port mico.
 DEBUG: Attempting ln -sf
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mico/work
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/mico/work
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
 DEBUG: epoch: in tree: 1 installed: 1
 DEBUG: openssl 0.9.8l_0 exists in the ports tree
 DEBUG: openssl 0.9.8l_0 +darwin is the latest installed
 DEBUG: openssl 0.9.8l_0 +darwin is active
 DEBUG: Merging existing variants darwin into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 9.8.0
 DEBUG: Mac OS X Version: 10.5
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: universal variant already exists, so not adding the default one
 DEBUG: Requested variant i386 is not provided by port openssl.
 DEBUG: Requested variant macosx is not provided by port openssl.
 DEBUG: Executing variant darwin provides darwin
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: zlib 1.2.3_3 exists in the ports tree
 DEBUG: zlib 1.2.3_3  is the latest installed
 DEBUG: zlib 1.2.3_3  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 9.8.0
 DEBUG: Mac OS X Version: 10.5
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: adding the default universal variant
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: Requested variant darwin is not provided by port zlib.
 DEBUG: Requested variant i386 is not provided by port zlib.
 DEBUG: Requested variant macosx is not provided by port zlib.
 DEBUG: No need to upgrade! zlib 1.2.3_3 >= zlib 1.2.3_3
 DEBUG: No need to upgrade! openssl 0.9.8l_0 >= openssl 0.9.8l_0
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: ncurses 5.7_0 exists in the ports tree
 DEBUG: ncurses 5.7_0  is the latest installed
 DEBUG: ncurses 5.7_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 9.8.0
 DEBUG: Mac OS X Version: 10.5
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: universal variant already exists, so not adding the default one
 DEBUG: Requested variant darwin is not provided by port ncurses.
 DEBUG: Requested variant i386 is not provided by port ncurses.
 DEBUG: Requested variant macosx is not provided by port ncurses.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: ncursesw 5.7_0 exists in the ports tree
 DEBUG: ncursesw 5.7_0  is the latest installed
 DEBUG: ncursesw 5.7_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 9.8.0
 DEBUG: Mac OS X Version: 10.5
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: universal variant already exists, so not adding the default one
 DEBUG: Requested variant darwin is not provided by port ncursesw.
 DEBUG: Requested variant i386 is not provided by port ncursesw.
 DEBUG: Requested variant macosx is not provided by port ncursesw.
 DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0
 DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0
 --->  Computing dependencies for mico
 DEBUG: Searching for dependency: openssl
 DEBUG: Found Dependency: receipt exists for openssl
 DEBUG: Searching for dependency: ncurses
 DEBUG: Found Dependency: receipt exists for ncurses
 DEBUG: Executing org.macports.main (mico)
 --->  Fetching mico
 DEBUG: Executing org.macports.fetch (mico)
 --->  Verifying checksum(s) for mico
 DEBUG: Executing org.macports.checksum (mico)
 --->  Checksumming mico-2.3.12-secfix1.diff
 DEBUG: Correct (md5) checksum for mico-2.3.12-secfix1.diff
 DEBUG: Correct (sha1) checksum for mico-2.3.12-secfix1.diff
 DEBUG: Correct (rmd160) checksum for mico-2.3.12-secfix1.diff
 --->  Checksumming mico-2.3.12.tar.gz
 DEBUG: Correct (md5) checksum for mico-2.3.12.tar.gz
 DEBUG: Correct (sha1) checksum for mico-2.3.12.tar.gz
 DEBUG: Correct (rmd160) checksum for mico-2.3.12.tar.gz
 --->  Extracting mico
 DEBUG: Executing org.macports.extract (mico)
 --->  Extracting mico-2.3.12.tar.gz
 DEBUG: setting option extract.args to
 /opt/local/var/macports/distfiles/mico/mico-2.3.12.tar.gz
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mico/work"
 && /usr/bin/gzip -dc
 /opt/local/var/macports/distfiles/mico/mico-2.3.12.tar.gz |
 /usr/bin/gnutar --no-same-owner -xf -'
 DEBUG: Executing org.macports.patch (mico)
 --->  Applying patches to mico
 --->  Applying
 /opt/local/var/macports/distfiles/mico/mico-2.3.12-secfix1.diff
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mico/work/mico"
 && /usr/bin/patch -p1'
 patching file orb/orb.cc
 --->  Applying
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/mico/files
 /patch-mico-shld.def.in.diff
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mico/work/mico"
 && /usr/bin/patch -p1'
 patching file admin/mico-shld.def.in
 --->  Applying
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/mico/files
 /patch-os-math.h.diff
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mico/work/mico"
 && /usr/bin/patch -p1'
 patching file include/mico/os-math.h
 --->  Applying
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/mico/files
 /patch-Makefile.diff
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mico/work/mico"
 && /usr/bin/patch -p1'
 patching file Makefile
 DEBUG: Executing proc-post-org.macports.patch-patch-0
 DEBUG: couldn't read file "admin/mico-shld.def.in": no such file or
 directory
     while executing
 "exec /usr/bin/sed s, at prefix@,/opt/local,g < admin/mico-shld.def.in >@
 file6"
     ("eval" body line 1)
     invoked from within
 "eval exec $cmdline"
 Error: reinplace: couldn't read file "admin/mico-shld.def.in": no such
 file or directory
 Error: Target org.macports.patch returned: reinplace sed(1) failed
 DEBUG: Backtrace: reinplace sed(1) failed
     while executing
 "$post $targetname"
 Warning: the following items did not execute (for mico):
 org.macports.activate org.macports.patch org.macports.configure
 org.macports.build org.macports.destroot org.macports.install
 Error: Status 1 encountered during processing.
 }}}

 I was able to fix this error with the attached patch applied to

 {{{
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/mico/Portfile
 }}}

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


More information about the macports-tickets mailing list