pkgsrc-Bugs archive

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

pkg/45535: x11/qt4-libs: compile error under OpenIndiana



>Number:         45535
>Category:       pkg
>Synopsis:       x11/qt4-libs: compile error under OpenIndiana
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 28 11:10:00 +0000 2011
>Originator:     Andrey N. Oktyabrski
>Release:        OpenIndiana 151a
>Organization:
>Environment:
$ uname -a
SunOS thinkpot 5.11 oi_151a i86pc i386 i86pc Solaris
$ isainfo 
amd64 i386
$ which gcc
/usr/bin/gcc
$ /usr/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.1/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.6.1/configure --prefix=/usr/gcc/4.6 
--libdir=/usr/gcc/4.6/lib --libexecdir=/usr/gcc/4.6/lib 
--mandir=/usr/gcc/4.6/share/man --infodir=/usr/gcc/4.6/info 
--with-build-time-tools=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as 
--with-ld=/opt/dtbld/bin/ld-wrapper --without-gnu-ld 
--enable-languages=c,c++,fortran,objc --enable-shared --disable-static 
--enable-decimal-float --with-gmp=/usr/gnu --with-mpfr=/usr/gnu 
--with-mpc=/usr/gnu --with-libiconv-prefix=/usr/gnu -enable-nls
Thread model: posix
gcc version 4.6.1 (GCC)
>Description:
libtool --silent --mode=compile g++ -c -O -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -Wall -Wreturn-type 
-fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security 
-Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch 
-Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -O3 -D_REENTRANT -fPIC 
-DQT_SHARED -DBUILDING_QT__=1 -DWTF_USE_ACCELERATED_COMPOSITING -DNDEBUG 
-DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DQT_NO_CAST_TO_ASCII 
-DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT 
-DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_DEBUG 
-DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT 
-DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 
-DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE 
-I../../../../mkspecs/solaris-g++ -I. -I../../../../include/QtCore 
-I../../../../include -I. -I../.
 ./webkit -Iassembler -Ibytecode -Ibytecompiler -Idebugger -Iinterpreter -Ijit 
-Iparser -Ipcre -Iprofiler -Iruntime -Iwtf -Iwtf/symbian -Iwtf/unicode -Iyarr 
-IAPI -IForwardingHeaders -Igenerated -I/include/QtWebKit 
-I/tmp/pkgwrk/x11/qt4-libs/work/qt-everywhere-opensource-src-4.7.4/include/jscore
 -I.rcc/release-shared -Ipcre -I/JavaScriptCore/tmp -I.moc/release-shared 
-I/usr/pkg/include -o .obj/release-shared/DateConstructor.lo 
runtime/DateConstructor.cpp
runtime/DateConstructor.cpp: In function 'JSC::JSObject* 
JSC::constructDate(JSC::ExecState*, const JSC::ArgList&)':
runtime/DateConstructor.cpp:93:44: error: 'isnan' was not declared in this scope
runtime/DateConstructor.cpp:93:44: note: suggested alternative:
/usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.1/../../../../include/c++/4.6.1/cmath:768:18:
 note:   'std::isnan'
runtime/DateConstructor.cpp: In function 'JSC::JSValue 
JSC::dateUTC(JSC::ExecState*, JSC::JSObject*, JSC::JSValue, const 
JSC::ArgList&)':
runtime/DateConstructor.cpp:163:40: error: 'isnan' was not declared in this 
scope
runtime/DateConstructor.cpp:163:40: note: suggested alternative:
/usr/gcc/4.6/lib/gcc/i386-pc-solaris2.11/4.6.1/../../../../include/c++/4.6.1/cmath:768:18:
 note:   'std::isnan'
gmake[1]: *** [.obj/release-shared/DateConstructor.lo] Error 1
gmake[1]: Leaving directory 
`/tmp/pkgwrk/x11/qt4-libs/work/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/JavaScriptCore'
gmake: *** [sub-javascriptcore-sub_src_target_ordered] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/x11/qt4-libs
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/qt4-libs

>How-To-Repeat:
$ cd /usr/pkgsrc/x11/qt4-libs
$ bmake
... (some hours) ...

>Fix:



Home | Main Index | Thread Index | Old Index