pkgsrc-Bugs archive

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

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



The following reply was made to PR pkg/56139; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/56139: www/webkit-gtk fails to compile on NetBSD/m68k
Date: Sun, 18 Jul 2021 22:35:31 +0000

 On Sat, May 01, 2021 at 09:30:00AM +0000, john%ziaspace.com@localhost wrote:
  > Trying to build www/webkit-gtk in a NetBSD 9 chroot on an m68k Mac fails with:
 
 ... how long does that take? week? month? :-(
 
  > /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
 
 Unfortunately, those are both warnings and I think you pruned what the
 actual error was... hope you still have the full build log somewhere...
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index