Opened 12 years ago

Closed 12 years ago

#34579 closed defect (fixed)

gccmakedep: truncated or malformed fat file

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

Description

After installing gccmakedep:

$ /opt/local/bin/gccmakedep
-bash: /opt/local/bin/gccmakedep: cannot execute binary file
$ ls -l  /opt/local/bin/gccmakedep
-rwxr-xr-x  1 root  wheel  165260 May 22 15:29 /opt/local/bin/gccmakedep
$ file  /opt/local/bin/gccmakedep
/opt/local/bin/gccmakedep: Mach-O fat file with 3 architectures
$ lipo -info  /opt/local/bin/gccmakedep
lipo: truncated or malformed fat file (offset plus size of cputype (16777223) cpusubtype (3) extends past the end of the file) /opt/local/bin/gccmakedep

Note that gccmakedep does not have a universal variant and no -arch flags are passed during its build, so it should not be a fat file.

I'm attaching the full build log. An interesting line in the log is:

/usr/bin/gcc-4.2:77: error: invalid preprocessing directive #‰

Attachments (1)

main.log (23.4 KB) - added by ryandesign (Ryan Carsten Schmidt) 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

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

Resolution: fixed
Status: newclosed

It doesn't seem to like ccache. Fixed in r93442 by turning ccache off.

Note: See TracTickets for help on using tickets.