pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47876: devel/doxygen won't build on Mac OS X because compiler doesn't understand "-Wno-invalid-source-encoding"



>Number:         47876
>Category:       pkg
>Synopsis:       devel/doxygen won't build on Mac OS X because compiler doesn't 
>understand "-Wno-invalid-source-encoding"
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 01 20:05:00 +0000 2013
>Originator:     Jan Danielsson
>Release:        N/A
>Organization:
La Cosa Nostra
>Environment:
Darwin farrah.local 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 
PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64
>Description:
Building fails with:

[---]
===> Building for doxygen-1.8.4nb1
echo "char versionString[]=\"1.8.4\";" > src/version.cpp
/usr/bin/gnumake -C qtools
env 
TMAKEPATH="/Users/jan/pkgsrc/devel/doxygen/work/doxygen-1.8.4/tmake/lib/macosx-c++"
 /Users/jan/pkg/bin/perl 
"/Users/jan/pkgsrc/devel/doxygen/work/doxygen-1.8.4/tmake/bin/tmake" qtools.pro 
>Makefile.qtools
/usr/bin/gnumake -f Makefile.qtools    all
c++ -c -pipe -D__FreeBSD__=6 -DYY_TYPEDEF_YY_SIZE_T -Dyy_size_t=int 
-DQT_LITE_UNICODE -Wall -W -Wno-deprecated-declarations 
-Wno-invalid-source-encoding -O2 -I. -o ../objects/qbuffer.o qbuffer.cpp
cc1plus: error: unrecognized command line option "-Wno-invalid-source-encoding"
gnumake[2]: *** [../objects/qbuffer.o] Error 1
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2
*** Error code 2


I assume the issue is that clang doesn't support -Wno-invalid-source-encoding.
>How-To-Repeat:
Build devel/doxygen on a Mac OS X-system.
>Fix:
Remove the option for clang builds may work. Have no idea how to accomplish 
that.




Home | Main Index | Thread Index | Old Index