Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2016 17:26:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        vbox@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 212691] emulators/virtualbox-ose 5.1.6 build error: PyIID.cpp:187:2: error: cannot initialize a member subobject of type 'hashfunc'
Message-ID:  <bug-212691-26505-n5YYfuN8vD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212691-26505@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212691-26505@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
vvd@unislabs.com has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s
request for maintainer-feedback to vbox@FreeBSD.org:
Bug 212691: emulators/virtualbox-ose 5.1.6 build error: PyIID.cpp:187:2: er=
ror:
cannot initialize a member subobject of type 'hashfunc'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212691



--- Description ---
Created attachment 174784
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174784&action=
=3Dedit
Full build log of emulators/virtualbox-ose 5.1.6.

$ uname -srm
FreeBSD 10.3-RELEASE-p5 i386
emulators/virtualbox-ose 5.1.6

Building end with error:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=E2=80=A6
kBuild: Compiling VBoxPython3_5m -
/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/libs/=
xpco
m18a4/python/src/PyIInputStream.cpp
/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/libs/=
xpco
m18a4/python/src/PyIID.cpp:187:2:
error: cannot
      initialize a member subobject of type 'hashfunc' (aka 'Py_hash_t
(*)(PyObject *)') with an lvalue of type
      'long (PyObject *)': different return type ('Py_hash_t' (aka 'int') vs
'long')
	PyTypeMethod_hash,				/* tp_hash */
	^~~~~~~~~~~~~~~~~
1 error generated.
kmk: ***
[/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/out/free=
bsd.
x86/release/obj/VBoxPython3_5m/src/PyIID.o]
Error 1
The failing command:
@c++ -c -O2 -g -pipe -ansi -Wall -Wno-unused -Wno-non-virtual-dtor
-Wno-invalid-offsetof -Wno-sign-compare -Wno-unused -Wno-ctor-dtor-privacy
-fvisibility-inlines-hidden -fvisibility=3Dhidden -DVBOX_HAVE_VISIBILITY_HI=
DDEN
-DRT_USE_VISIBILITY_DEFAULT -fdiagnostics-show-option
-Wno-delete-non-virtual-dtor -fPIC -Wno-write-strings  -O -pthread -m32
-I/usr/local/include/python3.5m
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/python/src
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/xpcom/build
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/xpcom/ds
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/xpcom/io
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/xpcom/base
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/xpcom/components
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/xpcom/threads
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/xpcom/proxy/src
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/xpcom/reflect/xptcall/src
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/ipc/ipcd/client/src
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/ipc/ipcd/shared/src
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/ipc/ipcd/extensions/lock/src
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/ipc/ipcd/extensions/transmngr/src
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/ipc/ipcd/extensions/dconnect/src
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/ipc/ipcd/extensions/transmngr/common
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/out/fre=
ebsd
.x86/release/bin/sdk/bindings/xpcom/include
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/out/fre=
ebsd
.x86/release/bin/sdk/bindings/xpcom/include/nsprpub
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/out/fre=
ebsd
.x86/release/bin/sdk/bindings/xpcom/include/string
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/out/fre=
ebsd
.x86/release/bin/sdk/bindings/xpcom/include/xpcom
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/out/fre=
ebsd
.x86/release/bin/sdk/bindings/xpcom/include/ipcd
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/lib=
s/xp
com18a4/python
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/out/fre=
ebsd
.x86/release/obj/VBoxPython3_5m/dtrace
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/include
-I/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/out/fre=
ebsd
.x86/release
-DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM
-DVBOX_WITH_RAW_MODE -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_X86 -D__X86__
-DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING
-DRTPATH_APP_PRIVATE=3D\"/usr/local/share/virtualbox-ose\"
-DRTPATH_APP_PRIVATE_ARCH=3D\"/usr/local/lib/virtualbox\"
-DRTPATH_SHARED_LIBS=3D\"/usr/local/lib/virtualbox\"
-DRTPATH_APP_DOCS=3D\"/usr/local/share/doc/virtualbox-ose\" -DMOZILLA_CLIEN=
T=3D1
-DNDEBUG=3D1 -D_IMPL_NS_COM -DXPCOM_DLL_BASE=3D\"VBoxXPCOM\"
-DMOZ_DLL_SUFFIX=3D\".so\" -DIN_RING3 -DVBOX_USE_IPRT_IN_XPCOM -DMOZ_PRESER=
VE_PIC
-D_IMPL_NS_COM -D_IMPL_NS_BASE -DEXPORT_XPTI_API -DEXPORT_XPT_API
-DVBOX_PYXPCOM -DVBOX_WITH_XPCOM -DVBOX_PYXPCOM_VERSIONED
-DOSTYPE=3D\"FreeBSD5+\" -DOSARCH=3D\"FreeBSD\" -DXP_UNIX=3D1 -DFREEBSD=3D1
-DHAVE_VISIBILITY_ATTRIBUTE=3D1 -Di386=3D1
-Wp,-MD,/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/o=
ut/f
reebsd.x86/release/obj/VBoxPython3_5m/src/PyIID.o.dep
-Wp,-MT,/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/o=
ut/f
reebsd.x86/release/obj/VBoxPython3_5m/src/PyIID.o
-Wp,-MP -o
/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/out/freeb=
sd.x
86/release/obj/VBoxPython3_5m/src/PyIID.o
/usr/obj/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.6/src/libs/=
xpco
m18a4/python/src/PyIID.cpp
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/emulators/virtualbox-ose
*** Error code 1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Build of version 5.1.4 work fine.
File src/libs/xpcom18a4/python/src/PyIID.cpp not changed from 5.1.4 to 5.1.=
6.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
$ cat /var/db/ports/emulators_virtualbox-ose/options=20
# This file is auto-generated by 'make config'.
# Options for virtualbox-ose-5.1.4
_OPTIONS_READ=3Dvirtualbox-ose-5.1.4
_FILE_COMPLETE_OPTIONS_LIST=3DALSA DBUS DEBUG GUESTADDITIONS MANUAL NLS
PULSEAUDIO PYTHON R0LOGGING UDPTUNNEL VDE VNC VPX WEBSERVICE X11 QT4 QT5
OPTIONS_FILE_SET+=3DALSA
OPTIONS_FILE_UNSET+=3DDBUS
OPTIONS_FILE_UNSET+=3DDEBUG
OPTIONS_FILE_SET+=3DGUESTADDITIONS
OPTIONS_FILE_UNSET+=3DMANUAL
OPTIONS_FILE_SET+=3DNLS
OPTIONS_FILE_UNSET+=3DPULSEAUDIO
OPTIONS_FILE_SET+=3DPYTHON
OPTIONS_FILE_UNSET+=3DR0LOGGING
OPTIONS_FILE_SET+=3DUDPTUNNEL
OPTIONS_FILE_SET+=3DVDE
OPTIONS_FILE_SET+=3DVNC
OPTIONS_FILE_SET+=3DVPX
OPTIONS_FILE_SET+=3DWEBSERVICE
OPTIONS_FILE_SET+=3DX11
OPTIONS_FILE_UNSET+=3DQT4
OPTIONS_FILE_SET+=3DQT5
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D

Full build log in attach.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212691-26505-n5YYfuN8vD>