Opened 13 years ago

Closed 13 years ago

#31927 closed defect (invalid)

makeicns @1.4.9 fails to build on 10.4.11

Reported by: McDutchie (Martijn Dekker) Owned by: mkae (Marko Käning)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: tiger Cc: pixilla (Bradley Giesbrecht), ryandesign (Ryan Carsten Schmidt)
Port: makeicns

Description

Complete log attached. Seems the relevant bit is:

 :info:build cc    -c -o makeicns.o makeicns.m
 :info:build Building makeicns 1.4.9 for Mac OS X TIGER system
 :info:build MACOS_MAJOR = 10
 :info:build MACOS_MINOR = 4
 :info:build DARWIN_MAJOR = 8
 :info:build SDK = /Developer/SDKs/MacOSX10.4u.sdk
 :info:build cc    -c -o IconFamily.o IconFamily.m
 :info:build makeicns.m: In function ‘usage’:
 :info:build makeicns.m:27: error: ‘VERSION’ undeclared (first use in this function)
 :info:build makeicns.m:27: error: (Each undeclared identifier is reported only once
 :info:build makeicns.m:27: error: for each function it appears in.)
 :info:build makeicns.m:28: error: ‘CHANGESET’ undeclared (first use in this function)
 :info:build make: *** [makeicns.o] Error 1

Attachments (1)

main.log (8.7 KB) - added by McDutchie (Martijn Dekker) 13 years ago.
makeicns build log (failure on tiger)

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by McDutchie (Martijn Dekker)

Attachment: main.log added

makeicns build log (failure on tiger)

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

Cc: pixilla@… added
Owner: changed from macports-tickets@… to mk@…

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

It builds fine for me on my Tiger system.

It's interesting that on your system neither the environment variables that are passed to make by the Portfile -- CC, CXX, CFLAGS, CXXFLAGS, LDFLAGS -- nor the variables defined in the Makefile -- VERSION, CHANGESET -- are getting used.

What version of Xcode is installed? I'm using Xcode 2.5, and you should too.

What version of make is /usr/bin/make? Mine is GNU Make 3.80.

comment:3 Changed 13 years ago by McDutchie (Martijn Dekker)

I am using XCode 2.5, too. My version of /usr/bin/make was GNU Make 3.82, symlink to /opt/local/bin/gmake. The latter turned out to be the cause of the problem - restoring the original GNU Make 3.80 fixed it. Weird but true. Thanks.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Ok, glad you figured it out.

Note: See TracTickets for help on using tickets.