On Fri, Dec 02, 2011 at 09:59:31PM +0100, Martin Costabel wrote: > On 28/11/11 15:54, Jack Howarth wrote: >> On Mon, Nov 28, 2011 at 09:42:44AM +0100, Martin Costabel wrote: > [] >>> I have been trying to build the scribus package on Lion, without success: >>> >>> - With clang, it runs into a clang bug that was detected a year ago >>> <http://lists.cs.uiuc.edu/pipermail/llvmbugs/2010-November/015821.html> >>> and has been fixed in the clang sources some time ago, but is still >>> present in current xcode-4.2.1. >> >> Martin, >> Considering that llvm/clang 3.0 will be released shortly a better option >> might be to BuildDepends on llvm30 once it is added to fink and use those >> clang compilers. > > I installed llvm30 from your new package on the submission tracker. No > problem installing. > > Unfortunately, the fatal bug is still there: Building scribus with the > new clang fails exactly as with /usr/bin/clang: > > In file included from > /sw/src/fink.build/scribus-x11-1.4.0-72.rc6/scribus-1.4.0.rc6/scribus/desaxe/digester.cpp:20: > /sw/src/fink.build/scribus-x11-1.4.0-72.rc6/scribus-1.4.0.rc6/scribus/desaxe/actions.h:160:45: > > error: 'body' is a private member of 'desaxe::Action' > return > static_cast<Generator_body<Type>*>(body)->eval(dig, tag, attr); > ^ > /sw/src/fink.build/scribus-x11-1.4.0-72.rc6/scribus-1.4.0.rc6/scribus/desaxe/actions.h:101:15: > > note: declared private here > Action_body* body; > ^ > From the llvm bug system, I got the impression that this was fixed by > now. In fact, svn r141515 was supposed to fix it. For scribus, it didn't. > > I find still no way to build scribus on Lion.
I would suggest opening a PR on http://llvm.org/bugs/ against clang and attach the preprocessed source obtained with --save-temps for the failing compilation. This may be a corner-case not covered by r141515. Jack > > -- > Martin ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel