NetBSD Problem Report #56139
From john@bbk.zia.io Sat May 1 09:25:05 2021
Return-Path: <john@bbk.zia.io>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 58BF11A934D
for <gnats-bugs@gnats.NetBSD.org>; Sat, 1 May 2021 09:25:05 +0000 (UTC)
Message-Id: <20210501080817.A8BFD2591B8@bbk.zia.io>
Date: Sat, 1 May 2021 08:08:15 +0000 (UTC)
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: www/webkit-gtk fails to compile on NetBSD/m68k
X-Send-Pr-Version: 3.95
>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
>Last-Modified: Sun Jul 18 22:40:01 +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:/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:
>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
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 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
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.