Opened 15 years ago

Closed 15 years ago

#22042 closed defect (duplicate)

odcctools doesn't build on Snow Leopard

Reported by: mike@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: odcctools

Description

I'm trying to build g95 on my Mac Pro running Snow Leopard using the latest ports revision (59318). I svn checked out the trunk of the ports repository and I'm using that for my build platform. Below is a text log what happens during a "port -v install g95". The error doesn't actually occur in the g95 build, but on the odcctools port upon which g95 depends.

Thanks!

[Beast:/opt/mports/trunk] mike% sudo port -v install g95
Warning: No default port source specified in /opt/local/etc/macports/sources.conf, using last source as default
--->  Computing dependencies for g95..
--->  Fetching odcctools
A    odcctools
A    odcctools/ChangeLog.odcctools
A    odcctools/cctools-622.3.tar.bz2
A    odcctools/files
A    odcctools/files/ld
A    odcctools/files/ld/Makefile.in
A    odcctools/files/Makefile.in
A    odcctools/files/ar
A    odcctools/files/ar/Makefile.in
A    odcctools/files/as
A    odcctools/files/as/Makefile.in
A    odcctools/files/as/ppc
A    odcctools/files/as/ppc/Makefile.in
A    odcctools/files/as/i386
A    odcctools/files/as/i386/Makefile.in
A    odcctools/files/as/ppc64
A    odcctools/files/as/ppc64/Makefile.in
A    odcctools/files/as/Makefile.arch.in
A    odcctools/files/as/x86_64
A    odcctools/files/as/x86_64/Makefile.in
A    odcctools/files/configure.ac
A    odcctools/files/include
A    odcctools/files/include/config.h.in
A    odcctools/files/include/Makefile.in
A    odcctools/files/include/mach-o
A    odcctools/files/include/mach-o/arch-install.h
A    odcctools/files/include/foreign
A    odcctools/files/include/foreign/libc.h
A    odcctools/files/include/foreign/architecture
A    odcctools/files/include/foreign/architecture/byte_order.h
A    odcctools/files/include/foreign/architecture/i386
A    odcctools/files/include/foreign/architecture/i386/fpu.h
A    odcctools/files/include/foreign/architecture/i386/frame.h
A    odcctools/files/include/foreign/architecture/i386/sel.h
A    odcctools/files/include/foreign/AvailabilityMacros.h
A    odcctools/files/include/foreign/libkern
A    odcctools/files/include/foreign/libkern/machine
A    odcctools/files/include/foreign/libkern/machine/OSByteOrder.h
A    odcctools/files/include/foreign/libkern/OSByteOrder.h
A    odcctools/files/include/foreign/ar.h
A    odcctools/files/include/foreign/mach
A    odcctools/files/include/foreign/mach/error.h
A    odcctools/files/include/foreign/mach/mach_init.h
A    odcctools/files/include/foreign/mach/mach_types.h
A    odcctools/files/include/foreign/mach/ppc
A    odcctools/files/include/foreign/mach/ppc/thread_status.h
A    odcctools/files/include/foreign/mach/kern_return.h
A    odcctools/files/include/foreign/mach/i386
A    odcctools/files/include/foreign/mach/i386/thread_status.h
A    odcctools/files/include/foreign/mach/mach_host.h
A    odcctools/files/include/foreign/mach/mach.h
A    odcctools/files/include/foreign/mach/machine
A    odcctools/files/include/foreign/mach/machine/thread_status.h
A    odcctools/files/include/foreign/mach/machine/boolean.h
A    odcctools/files/include/foreign/mach/machine/vm_types.h
A    odcctools/files/include/foreign/mach/boolean.h
A    odcctools/files/include/foreign/mach/vm_map.h
A    odcctools/files/include/foreign/mach/mach_error.h
A    odcctools/files/include/foreign/mach/mach_traps.h
A    odcctools/files/include/foreign/mach/port.h
A    odcctools/files/include/foreign/mach/vm_prot.h
A    odcctools/files/include/foreign/mach/host_info.h
A    odcctools/files/include/foreign/sys
A    odcctools/files/include/foreign/sys/attr.h
A    odcctools/files/include/extern.h
A    odcctools/files/ld64
A    odcctools/files/ld64/Makefile.in
A    odcctools/files/config.guess
A    odcctools/files/man
A    odcctools/files/man/Makefile.in
A    odcctools/files/misc
A    odcctools/files/misc/Makefile.in
A    odcctools/files/otool
A    odcctools/files/otool/Makefile.in
A    odcctools/files/config.sub
A    odcctools/files/install-sh
A    odcctools/files/libmacho
A    odcctools/files/libmacho/Makefile.in
A    odcctools/files/libstuff
A    odcctools/files/libstuff/emulated.c
A    odcctools/files/libstuff/Makefile.in
A    odcctools/files/libstuff/apple_version.c
A    odcctools/extract.sh
A    odcctools/ld64-59.2.tar.bz2
A    odcctools/patches
A    odcctools/patches/ld
A    odcctools/patches/ld/ld-pb.diff
A    odcctools/patches/ld/relocate-ld64.diff
A    odcctools/patches/ld/uuid-nonsmodule.diff
A    odcctools/patches/ar
A    odcctools/patches/ar/contents.diff
A    odcctools/patches/ar/ar-printf.diff
A    odcctools/patches/ar/ar-ranlibpath.diff
A    odcctools/patches/ar/errno.diff
A    odcctools/patches/as
A    odcctools/patches/as/input-scrub.diff
A    odcctools/patches/as/relax.diff
A    odcctools/patches/as/bignum.diff
A    odcctools/patches/as/driver.c
A    odcctools/patches/as/getc_unlocked.diff
A    odcctools/patches/as/messages.diff
A    odcctools/patches/include
A    odcctools/patches/include/architecture
A    odcctools/patches/include/architecture/i386
A    odcctools/patches/include/stuff
A    odcctools/patches/include/stuff/bytesex-floatstate.diff
A    odcctools/patches/include/mach
A    odcctools/patches/include/mach/machine.diff
A    odcctools/patches/ld-sysroot.diff
A    odcctools/patches/ld64
A    odcctools/patches/ld64/ld64-case-variables.diff
A    odcctools/patches/ld64/Options-ctype.diff
A    odcctools/patches/ld64/Options-stdarg.diff
A    odcctools/patches/ld64/Options-defcross.diff
A    odcctools/patches/ld64/FileAbstraction-inline.diff
A    odcctools/patches/ld64/MachOReaderRelocatable-ctz.diff
A    odcctools/patches/misc
A    odcctools/patches/misc/ranlibname.diff
A    odcctools/patches/misc/redo_prebinding.nogetattrlist.diff
A    odcctools/patches/misc/redo_prebinding.nomalloc.diff
A    odcctools/patches/misc/libtool-ldpath.diff
A    odcctools/patches/misc/libtool-pb.diff
A    odcctools/patches/misc/libtool-relocate-ld64.diff
A    odcctools/patches/otool
A    odcctools/patches/otool/noobjc.diff
A    odcctools/patches/otool/nolibmstub.diff
A    odcctools/patches/ld-Bstatic.diff
A    odcctools/patches/libstuff
A    odcctools/patches/libstuff/map_64bit_arches.diff
A    odcctools/patches/libstuff/default_arch.diff
A    odcctools/README
Exported revision 150.
--->  Verifying checksum(s) for odcctools
--->  Extracting odcctools
patching file extract.sh
Merging content from /Developer/SDKs/MacOSX10.4u.sdk
Removing #import
Removing __private_extern__
Applying patches
Applying patch ar/ar-printf.diff
patching file ./archive.c
patching file ./contents.c
Applying patch ar/ar-ranlibpath.diff
patching file ./ar.c
Applying patch ar/contents.diff
patching file ./contents.c
Applying patch ar/errno.diff
patching file ./archive.c
patching file ./misc.c
Applying patch as/bignum.diff
patching file ./bignum.h
Applying patch as/driver.c
patching file ./driver.c
Applying patch as/getc_unlocked.diff
patching file ./app.c
patching file ./input-file.c
patching file ./read.c
Hunk #1 succeeded at 60 with fuzz 2 (offset 3 lines).
Applying patch as/input-scrub.diff
patching file ./input-scrub.c
Applying patch as/messages.diff
patching file ./messages.c
Applying patch as/relax.diff
patching file ./relax.h
Applying patch include/mach/machine.diff
patching file ./machine.h
Applying patch include/stuff/bytesex-floatstate.diff
patching file bytesex.h
Applying patch ld/ld-pb.diff
patching file ./ld.c
Hunk #2 succeeded at 3271 (offset -9 lines).
Hunk #3 succeeded at 3295 (offset -9 lines).
Hunk #4 succeeded at 3307 (offset -9 lines).
Hunk #5 succeeded at 3315 (offset -9 lines).
Applying patch ld/relocate-ld64.diff
patching file ./ld.c
Applying patch ld/uuid-nonsmodule.diff
patching file uuid.c
Applying patch ld-Bstatic.diff
patching file ./ld/ld.c
Hunk #1 succeeded at 565 (offset -18 lines).
Hunk #2 succeeded at 2687 (offset -9 lines).
patching file ./ld/pass1.c
Hunk #1 succeeded at 128 with fuzz 2.
patching file ./ld/pass1.h
Hunk #1 succeeded at 63 with fuzz 2.
patching file ./man/ld.1
patching file ./man/libtool.1
patching file ./misc/libtool.c
Applying patch ld-sysroot.diff
patching file ./ld/ld.c
Hunk #2 succeeded at 1873 (offset -16 lines).
patching file ./misc/libtool.c
Hunk #1 succeeded at 55 with fuzz 1 (offset 2 lines).
Hunk #2 succeeded at 995 (offset 7 lines).
Applying patch ld64/FileAbstraction-inline.diff
patching file src/FileAbstraction.hpp
Applying patch ld64/ld64-case-variables.diff
patching file ./src/MachOReaderDylib.hpp
patching file ./src/MachOReaderRelocatable.hpp
Applying patch ld64/MachOReaderRelocatable-ctz.diff
patching file ./src/MachOReaderRelocatable.hpp
Applying patch ld64/Options-ctype.diff
patching file ./src/Options.cpp
Hunk #1 succeeded at 27 with fuzz 2.
Applying patch ld64/Options-defcross.diff
patching file ./src/Options.cpp
Hunk #1 succeeded at 29 with fuzz 2 (offset 1 line).
Hunk #2 succeeded at 1439 (offset 81 lines).
Applying patch ld64/Options-stdarg.diff
patching file ./src/Options.h
Applying patch libstuff/default_arch.diff
patching file get_arch_from_host.c
Applying patch libstuff/map_64bit_arches.diff
patching file get_arch_from_host.c
Applying patch misc/libtool-ldpath.diff
patching file ./libtool.c
Hunk #1 succeeded at 2389 (offset 12 lines).
Applying patch misc/libtool-pb.diff
patching file ./libtool.c
Hunk #1 succeeded at 47 with fuzz 1.
Hunk #2 succeeded at 2302 (offset 12 lines).
Hunk #3 succeeded at 2338 (offset 12 lines).
Applying patch misc/libtool-relocate-ld64.diff
patching file ./libtool.c
Hunk #1 succeeded at 2387 (offset 5 lines).
Applying patch misc/ranlibname.diff
patching file ./libtool.c
Applying patch misc/redo_prebinding.nogetattrlist.diff
patching file ./redo_prebinding.c
Hunk #2 succeeded at 9257 (offset -6 lines).
Hunk #3 succeeded at 9331 (offset -6 lines).
Applying patch misc/redo_prebinding.nomalloc.diff
patching file ./redo_prebinding.c
Applying patch otool/nolibmstub.diff
patching file ./main.c
Hunk #1 succeeded at 2112 (offset 13 lines).
Hunk #2 succeeded at 2145 (offset 13 lines).
Applying patch otool/noobjc.diff
patching file ./main.c
Hunk #2 succeeded at 1002 (offset 1 line).
Hunk #3 succeeded at 1115 (offset 6 lines).
patching file ./print_objc.c
Adding new files
x ./
x ./ar/
x ./as/
x ./config.guess
x ./config.sub
x ./configure.ac
x ./include/
x ./install-sh
x ./ld/
x ./ld64/
x ./libmacho/
x ./libstuff/
x ./Makefile.in
x ./man/
x ./misc/
x ./otool/
x ./otool/Makefile.in
x ./misc/Makefile.in
x ./man/Makefile.in
x ./libstuff/apple_version.c
x ./libstuff/emulated.c
x ./libstuff/Makefile.in
x ./libmacho/Makefile.in
x ./ld64/Makefile.in
x ./ld/Makefile.in
x ./include/config.h.in
x ./include/extern.h
x ./include/foreign/
x ./include/mach-o/
x ./include/Makefile.in
x ./include/mach-o/arch-install.h
x ./include/foreign/ar.h
x ./include/foreign/architecture/
x ./include/foreign/AvailabilityMacros.h
x ./include/foreign/libc.h
x ./include/foreign/libkern/
x ./include/foreign/mach/
x ./include/foreign/sys/
x ./include/foreign/sys/attr.h
x ./include/foreign/mach/boolean.h
x ./include/foreign/mach/error.h
x ./include/foreign/mach/host_info.h
x ./include/foreign/mach/i386/
x ./include/foreign/mach/kern_return.h
x ./include/foreign/mach/mach.h
x ./include/foreign/mach/mach_error.h
x ./include/foreign/mach/mach_host.h
x ./include/foreign/mach/mach_init.h
x ./include/foreign/mach/mach_traps.h
x ./include/foreign/mach/mach_types.h
x ./include/foreign/mach/machine/
x ./include/foreign/mach/port.h
x ./include/foreign/mach/ppc/
x ./include/foreign/mach/vm_map.h
x ./include/foreign/mach/vm_prot.h
x ./include/foreign/mach/ppc/thread_status.h
x ./include/foreign/mach/machine/boolean.h
x ./include/foreign/mach/machine/thread_status.h
x ./include/foreign/mach/machine/vm_types.h
x ./include/foreign/mach/i386/thread_status.h
x ./include/foreign/libkern/machine/
x ./include/foreign/libkern/OSByteOrder.h
x ./include/foreign/libkern/machine/OSByteOrder.h
x ./include/foreign/architecture/byte_order.h
x ./include/foreign/architecture/i386/
x ./include/foreign/architecture/i386/fpu.h
x ./include/foreign/architecture/i386/frame.h
x ./include/foreign/architecture/i386/sel.h
x ./as/i386/
x ./as/Makefile.arch.in
x ./as/Makefile.in
x ./as/ppc/
x ./as/ppc64/
x ./as/x86_64/
x ./as/x86_64/Makefile.in
x ./as/ppc64/Makefile.in
x ./as/ppc/Makefile.in
x ./as/i386/Makefile.in
x ./ar/Makefile.in
Deleting cruft
--->  Applying patches to odcctools
--->  Applying /opt/mports/trunk/dports/devel/odcctools/files/patch-extract.sh
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- extract.sh.orig	2009-09-13 11:24:01.000000000 -0700
|+++ extract.sh	2009-09-13 11:24:14.000000000 -0700
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_odcctools/work/odcctools/odcctools" && /usr/bin/patch -p0 < '/opt/mports/trunk/dports/devel/odcctools/files/patch-extract.sh'" returned error 1
Command output: can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- extract.sh.orig	2009-09-13 11:24:01.000000000 -0700
|+++ extract.sh	2009-09-13 11:24:14.000000000 -0700
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored

Warning: the following items did not execute (for odcctools): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: The following dependencies failed to build: odcctools
Error: Status 1 encountered during processing.
[Beast:/opt/mports/trunk] mike% 

Change History (1)

comment:1 Changed 15 years ago by blb@…

Resolution: duplicate
Status: newclosed

Dup of #21693.

Note: See TracTickets for help on using tickets.