Opened 10 years ago

Closed 10 years ago

Last modified 4 years ago

#45979 closed defect (invalid)

ar: cregistry.a: Inappropriate file type or format

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.99
Keywords: Cc:
Port:

Description

base trunk @128427 fails to build for me:

===> making all in src/cregistry
/usr/bin/cc -c -DUSE_TCL_STUBS -Os -arch i386 -arch x86_64 -std=c99 -Wextra -Wall -pedantic  -DHAVE_CONFIG_H -I/Users/rschmidt/macports/base/src -I/Users/rschmidt/macports/base/src -I. -I/Users/rschmidt/macports/base/vendor/vendor-destroot//opt/local/libexec/macports/include -D_XOPEN_SOURCE=600 -fno-common entry.c -o entry.o
/usr/bin/cc -c -DUSE_TCL_STUBS -Os -arch i386 -arch x86_64 -std=c99 -Wextra -Wall -pedantic  -DHAVE_CONFIG_H -I/Users/rschmidt/macports/base/src -I/Users/rschmidt/macports/base/src -I. -I/Users/rschmidt/macports/base/vendor/vendor-destroot//opt/local/libexec/macports/include -D_XOPEN_SOURCE=600 -fno-common sql.c -o sql.o
/usr/bin/cc -c -DUSE_TCL_STUBS -Os -arch i386 -arch x86_64 -std=c99 -Wextra -Wall -pedantic  -DHAVE_CONFIG_H -I/Users/rschmidt/macports/base/src -I/Users/rschmidt/macports/base/src -I. -I/Users/rschmidt/macports/base/vendor/vendor-destroot//opt/local/libexec/macports/include -D_XOPEN_SOURCE=600 -fno-common file.c -o file.o
ar cr cregistry.a registry.o entry.o sql.o vercomp.o util.o file.o portgroup.o
ar: cregistry.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
ar: cregistry.a: Inappropriate file type or format
make[2]: *** [cregistry.a] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1

Change History (1)

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

Resolution: invalid
Status: newclosed

And after a make distclean and try again, it works. make distclean had been in my base building script previously, but I had to remove it while testing the sqlite slowness issue because I needed to retain the MacPorts sqlite extension in the base directory.

Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)
Note: See TracTickets for help on using tickets.