[MacPorts] #38088: Build process for getopt 1.1.5 produces "bad magic number (not a Mach-O file)" output?
MacPorts
noreply at macports.org
Sat Feb 16 16:17:17 PST 2013
#38088: Build process for getopt 1.1.5 produces "bad magic number (not a Mach-O
file)" output?
-----------------------------+--------------------------------
Reporter: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: | Port: getopt
-----------------------------+--------------------------------
Hello!
The upgrade stops here:
{{{
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_getopt/getopt/work/getopt-1.1.5'
/usr/bin/gcc-4.0 -c -DLIBCGETOPT=0 -DWITHOUT_GETTEXT=0
-DLOCALEDIR=\"/opt/local/share/locale\" -DNOT_UTIL_LINUX
-Dprogram_invocation_short_name=\"getopt\" -Dprogram_version=\"1.1.5\"
-I/opt/local/include -I./gnu -Wall -W -Wshadow -Wpointer-arith -Wbad-
function-cast -Wcast-qual -Wcast-align -Wmissing-declarations -Wwrite-
strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline
-O3 -fno-strength-reduce -arch ppc getopt.c -o getopt.o
In file included from getopt.c:65:
./gnu/getopt.h:106: warning: function declaration isn’t a prototype
/usr/bin/gcc-4.0 -L/opt/local/lib -lintl -arch ppc -o getopt getopt.o
gnu/getopt.o gnu/getopt1.o
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: gnu/getopt.o bad magic
number (not a Mach-O file)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: gnu/getopt1.o bad magic
number (not a Mach-O file)
collect2: ld returned 1 exit status
make: *** [getopt] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_getopt/getopt/work/getopt-1.1.5'
}}}
On the command line I get a different report:
{{{
pete 274 /\ l
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_getopt/getopt/work/getopt-1.1.5/*.o
-rw-r--r-- 1 macports admin 15044 17 Feb 01:02
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_getopt/getopt/work/getopt-1.1.5/getopt.o
pete 275 /\ file
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_getopt/getopt/work/getopt-1.1.5/*.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_getopt/getopt/work/getopt-1.1.5/getopt.o:
Mach-O object ppc
}}}
--
Ticket URL: <https://trac.macports.org/ticket/38088>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list