On 1/31/13 8:26 AM, Hanspeter Niederstrasser wrote:
> On 1/31/2013 10:09 AM, Hanspeter Niederstrasser wrote:
>> On 1/31/2013 3:01 AM, Martin Costabel wrote:
>>> On 31/01/13 06:07, Alexander Hansen wrote:
>>>> On 1/30/13 7:20 PM, Eigil Krogh Sorensen wrote:
>>>>> Hi
>>>>>
>>>>> When I try to run
>>>>>
>>>>> fink install octave
>>>>> or
>>>>> fink install doxygen
>>>>>
>>>>> the installation stops and hangs after that this has been written
>>>>> on thnal:
>>>>> "
>>>>> c++ -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -I../libmd5
>>>>> -I/sw/include -o ../objects/dbusxmlscanner.o dbusxmlscanner.cpp
>>>>> 2 warnings generated.
>>>>> In file included from xmlgen.cpp:23:
>>>>> In file included from ./doxygen.h:27:
>>>>> ./filedef.h:300:9: warning: private field 'num' is not used
>>>>> [-Wunused-private-field]
>>>>>        int num;
>>>>>            ^
>>>>> 1 warning generated.
>>> []
>>>>> Failed: phase compiling: doxygen-1.7.4-1 failed
>>>>>
>>> []
>>>>> Xcode.app: 4.6
>>>>> Xcode command-line tools: 4.6.0.0.1.1358221012
>>> []
>>>>> OS: OS/X 10.8.2
>>>>> xcode: 4.6 (4H127)
>>> []
>>>> This appears to be a new issue introduced by Xcode 4.6, since I was
>>>> able
>>>> to build the package on 10.8 with Xcode 4.5.2.
>>>
>>> For me, it builds, but it "hangs" for a while, too. At that point, clang
>>> uses up to 125% of CPU and all available memory. This machine has 16GB
>>> of RAM and this is the first time I have seen it swapping massively.
>>>
>>> This sure looks like a bug in the new clang, but it is not necessarily
>>> fatal.
>>
>> Forcing -j1, the hang seems to be in this command that spits out over
>> 1000 warnings about invalid source encoding (I stopped it after 20
>> minutes).
>>
>> c++ -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -I../libmd5
>> -I/sw/include -o ../objects/language.o language.cpp
>> In file included from language.cpp:30:
>> ./translator_sv.h:105:19: warning: illegal character encoding in string
>> literal [-Winvalid-source-encoding]
>>       { return "Besl<E4>ktade funktioner"; }
>>
>> There is a much newer doxygen 1.8.3 and I'm trying it now...
> 
> 1.8.3 builds quickly on 10.7 (minor changes to patch).
> 
> Of note: doxygen now passes new flags to deal with invalid encodings:
> 
> c++ -c -pipe -D__FreeBSD__=6 -DYY_TYPEDEF_YY_SIZE_T -Dyy_size_t=int
> -Wall -W -Wno-deprecated-declarations -Wno-invalid-source-encoding -O2
> -I../qtools -I../libmd5 -I/sw/include -o ../objects/language.o language.cpp
> 
> gcc does not like no-invalid-source-encoding, so backporting to 10.5/6
> would need to patch that out, but then again, we don't use clang there,
> so removing the flag should be ok for that.
> 
> Test package is available at
> http://cvs.snaggledworks.com/viewvc.cgi/fink/3rdparty/main/finkinfo/devel/
> 
> doxygen-doc would also need to be updated, but I haven't touched it.
> 
> Hanspeter
> 

doxygen-1.8.3.1 and doxygen-doc-1.8.3.1 have been added to the 10.7
tree.  Some additional tweaks may be needed for 10.5 and 10.6 so we
didn't update blindly for those platforms.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
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

Reply via email to