pkgsrc-Bugs archive

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

pkg/56139: www/webkit-gtk fails to compile on NetBSD/m68k



>Number:         56139
>Category:       pkg
>Synopsis:       www/webkit-gtk fails to compile on NetBSD/m68k
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 01 09:30:00 +0000 2021
>Originator:     John Klos
>Release:        NetBSD 9.99.81
>Organization:
	
>Environment:
	
	
System: NetBSD bbk.zia.io 9.99.81 NetBSD 9.99.81 (BBK) #0: Thu Apr 15 17:01:59 UTC 2021 john%frigg.zia.io@localhost:/usr/current/obj-mac68k/sys/arch/mac68k/compile/BBK mac68k
Architecture: m68k
Machine: mac68k
>Description:
	
Trying to build www/webkit-gtk in a NetBSD 9 chroot on an m68k Mac fails with:

/tmp/pkgbuild/www/webkit-gtk/work.m68k/webkitgtk-2.30.6/DerivedSources/ForwardingHeaders/wtf/JSONValues.h:385:39:   required from here
/tmp/pkgbuild/www/webkit-gtk/work.m68k/webkitgtk-2.30.6/DerivedSources/ForwardingHeaders/wtf/StdLibExtras.h:109:30: warning: cast from 'char*' to 'WTF::HashTable<WTF::String, WTF::KeyValuePair<WTF::String, WTF::RefPtr<WTF::JSONImpl::Value> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WTF::String, WTF::RefPtr<WTF::JSONImpl::Value> > >, WTF::DefaultHash<WTF::String>, WTF::HashMap<WTF::String, WTF::RefPtr<WTF::JSONImpl::Value> >::KeyValuePairTraits, WTF::HashTraits<WTF::String> >::ValueType* {aka WTF::KeyValuePair<WTF::String, WTF::RefPtr<WTF::JSONImpl::Value> >*}' increases required alignment of target type [-Wcast-align]
 #define reinterpret_cast_ptr reinterpret_cast
/tmp/pkgbuild/www/webkit-gtk/work.m68k/webkitgtk-2.30.6/DerivedSources/ForwardingHeaders/wtf/HashTable.h:1210:20: note: in expansion of macro 'reinterpret_cast_ptr'
             return reinterpret_cast_ptr<ValueType*>(static_cast<char*>(HashTableMalloc::zeroedMalloc(metadataSize + size * sizeof(ValueType))) + metadataSize);
                    ^~~~~~~~~~~~~~~~~~~~
/tmp/pkgbuild/www/webkit-gtk/work.m68k/webkitgtk-2.30.6/DerivedSources/ForwardingHeaders/wtf/StdLibExtras.h:109:30: warning: cast from 'char*' to 'WTF::HashTable<WTF::String, WTF::KeyValuePair<WTF::String, WTF::RefPtr<WTF::JSONImpl::Value> >, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WTF::String, WTF::RefPtr<WTF::JSONImpl::Value> > >, WTF::DefaultHash<WTF::String>, WTF::HashMap<WTF::String, WTF::RefPtr<WTF::JSONImpl::Value> >::KeyValuePairTraits, WTF::HashTraits<WTF::String> >::ValueType* {aka WTF::KeyValuePair<WTF::String, WTF::RefPtr<WTF::JSONImpl::Value> >*}' increases required alignment of target type [-Wcast-align]
 #define reinterpret_cast_ptr reinterpret_cast
/tmp/pkgbuild/www/webkit-gtk/work.m68k/webkitgtk-2.30.6/DerivedSources/ForwardingHeaders/wtf/HashTable.h:1212:29: note: in expansion of macro 'reinterpret_cast_ptr'
         ValueType* result = reinterpret_cast_ptr<ValueType*>(static_cast<char*>(HashTableMalloc::malloc(metadataSize + size * sizeof(ValueType))) + metadataSize);
                             ^~~~~~~~~~~~~~~~~~~~
distcc[25705] ERROR: compile /tmp/pkgbuild/www/webkit-gtk/work.m68k/webkitgtk-2.30.6/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp on localhost failed
gmake[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/build.make:8267: Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/x11/PlatformDisplayX11.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:1214: Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
gmake: *** [Makefile:171: all] Error 2
*** Error code 2

Stop.
make[4]: stopped in /usr/pkgsrc/www/webkit-gtk

>How-To-Repeat:
	
>Fix:
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index