New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20113 (closed defect: wontfix)

Opened 4 years ago

Last modified 3 years ago

shogun compile failure on Tiger

Reported by: ryandesign@… Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: shogun

Description

I can't compile shogun on Mac OS X 10.4.11 Intel with Xcode 2.5. It ultimately fails with

Makefile:46: *** unterminated call to function `shell': missing `)'.  Stop.

but there are a zillion errors before it; see attached log.

Attachments

shogun.txt.bz2 (14.5 KB) - added by ryandesign@… 4 years ago.

Change History

Changed 4 years ago by ryandesign@…

comment:1 Changed 4 years ago by jameskyle@…

The only changes I make to the default build process is changing sed to gsed on the configure and specifying absolute paths for the linkers install_name.

The errors look like they happen very early:

makedepend: warning:  ./base/init.cpp (reading lib/memory.h, line 15): cannot find include file "new"
	not in ./new
	not in ../new
	not in ./new
	not in ../new
	not in /mp/include/new
	not in /mp/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/new
	not in /mp/include/new
	not in ../libshogun/new
	not in ../new
	not in /usr/local/lib/gcc-include/new
	not in /usr/include/new
makedepend: warning:  ./base/init.cpp (reading /usr/include/stdarg.h, line 4): cannot find include file "stdarg.h"

The errors look like a solid upstream problem from here and a bit too much to debug without a tiger box available to me.

Soeren is very helpful and eager for shogun to run well on osx, perhaps forwarding this upstream would do more good?

comment:2 Changed 4 years ago by jameskyle@…

  • Status changed from new to closed
  • Resolution set to wontfix

As of this friday, tiger is no longer supported by macports.

comment:3 Changed 4 years ago by jameskyle@…

  • Status changed from closed to reopened
  • Resolution wontfix deleted

But there may still be hope!

comment:4 Changed 4 years ago by jameskyle@…

  • Status changed from reopened to closed
  • Resolution set to wontfix

Marking as won't fix, I'll be focusing efforts on leopard and snow leopard for these ports.

comment:5 Changed 4 years ago by ryandesign@…

  • Status changed from closed to reopened
  • Resolution wontfix deleted

Fine, but please make the port output a message in the pre-fetch phase stating it requires Leopard or later, so users don't waste their time downloading and partially compiling something that won't finish. See graphviz-gui for an example of how this can be done.

comment:6 Changed 4 years ago by jameskyle@…

  • Status changed from reopened to closed
  • Resolution set to fixed

Message added in r59623.

comment:7 Changed 3 years ago by ryandesign@…

  • Status changed from closed to reopened
  • Resolution fixed deleted

The change you made in r59623 doesn't do anything. (Hint: you're checking whether the string "os.version" contains a number between 2 and 8, when you probably meant to check the variable ${os.version}.) A better solution for displaying an error message would have been to look at ${os.platform} and ${os.major}, or use a "platform darwin 8" block. But the best solution of all is to fix the build on Tiger.

The only problem I see (so far) with shogun 0.9.1 on Tiger is:

Makefile:49: *** unterminated call to function `shell': missing `)'.  Stop.

The zillion other errors before that are gone. It seems like this should be fixable, but my knowledge of Makefiles may not be sufficient. This problem should probably be reported to the developers of shogun for them to deal with.

comment:8 Changed 3 years ago by jameskyle@…

  • Status changed from reopened to closed
  • Resolution set to wontfix

Corrected warning to properly throw error on systems of os.major 8 or below. r69301 (patches welcome :) )

Note: See TracTickets for help on using tickets.