[Fink-devel] build failure in qt5-mac-qtwebkit when fink's flex is present

2014-10-01 Thread Alexander Hansen
...

( test -e Makefile.ANGLE.DerivedSources || /sw/lib/qt5-mac/bin/qmake 
/sw/src/fink.build/qt5-mac-qtwebkit-5.3.2-1/qtwebkit-opensource-src-5.3.2/Source/ThirdParty/ANGLE/DerivedSources.pri
 
-o Makefile.ANGLE.DerivedSources )  
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f 
Makefile.ANGLE.DerivedSources
flex --noline --nounistd --outfile=generated/glslang_lex.cpp 
src/compiler/glslang.l
flex --noline --nounistd --outfile=generated/Tokenizer_lex.cpp 
src/compiler/preprocessor/Tokenizer.l
flex: unknown flag '-'.  For usage, try
flex --help
bison --no-lines --skeleton=yacc.c --defines=generated/glslang_tab.h 
--output=generated/glslang_tab.cpp src/compiler/glslang.y
flex: unknown flag '-'.  For usage, try
flex --help
make[2]: *** [generated/Tokenizer_lex.cpp] Error 1

...

Removing Fink's flex allows the build to proceed.

Unrelatedly, there appears to be a typo somewhere (possibly from 
upstream) which leads to numerous warnings:

clang: warning: argument unused during compilation: '-MMD'
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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


Re: [Fink-devel] build failure in qt5-mac-qtwebkit when fink's flex is present

2014-10-01 Thread Hanspeter Niederstrasser
On 10/1/2014 4:22 PM, Alexander Hansen wrote:
 ...

 ( test -e Makefile.ANGLE.DerivedSources || /sw/lib/qt5-mac/bin/qmake
 /sw/src/fink.build/qt5-mac-qtwebkit-5.3.2-1/qtwebkit-opensource-src-5.3.2/Source/ThirdParty/ANGLE/DerivedSources.pri
 -o Makefile.ANGLE.DerivedSources ) 
 /Applications/Xcode.app/Contents/Developer/usr/bin/make -f
 Makefile.ANGLE.DerivedSources
 flex --noline --nounistd --outfile=generated/glslang_lex.cpp
 src/compiler/glslang.l
 flex --noline --nounistd --outfile=generated/Tokenizer_lex.cpp
 src/compiler/preprocessor/Tokenizer.l
 flex: unknown flag '-'.  For usage, try
   flex --help
 bison --no-lines --skeleton=yacc.c --defines=generated/glslang_tab.h
 --output=generated/glslang_tab.cpp src/compiler/glslang.y
 flex: unknown flag '-'.  For usage, try
   flex --help
 make[2]: *** [generated/Tokenizer_lex.cpp] Error 1

 ...

 Removing Fink's flex allows the build to proceed.

Fixed.

 Unrelatedly, there appears to be a typo somewhere (possibly from
 upstream) which leads to numerous warnings:

 clang: warning: argument unused during compilation: '-MMD'

I haven't been able to trace where that comes from.  It may be from 
setting -MD and qmake somehow adds -M in front of that, but I'm not sure.

Hanspeter


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
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