couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Cottlehuber" <...@skunkwerks.at>
Subject Re: [VOTE] Release Apache CouchDB 3.0.0 (-rc1)
Date Fri, 14 Feb 2020 20:13:02 GMT
On Mon, 10 Feb 2020, at 16:33, Joan Touzet wrote:
> Dear community,
> 
> I would like to propose that we release Apache CouchDB 3.0.0.
> 
> Candidate release notes:
> 
>      https://docs.couchdb.org/en/latest/whatsnew/3.0.html
> 
> We encourage the whole community to download and test these release 
> artefacts so that any critical issues can be resolved before the release 
> is made. Everyone is free to vote on this release, so dig right in! 
> (Only PMC members have binding votes, but they depend on community 
> feedback to gauge if an official release is ready to be made.)
> 
> The release artefacts we are voting on are available here:
> 
>      https://dist.apache.org/repos/dist/dev/couchdb/source/3.0.0/rc.1
> 
> There, you will find a tarball, a GPG signature, and SHA256/SHA512 
> checksums.
> 
> Please follow the test procedure here:
> 
>  
> https://cwiki.apache.org/confluence/display/COUCHDB/Testing+a+Source+Release
> 
> Please remember that "RC1" is an annotation. If the vote passes, these 
> artefacts will be released as Apache CouchDB 3.0.0.
> 
> Please cast your votes now.

+1

- FreeBSD 13.0-CURRENT amd64
- SM185 & SM60 
- OTP 22.2.6


Also huge shout-out to Joan in recognition of the significant amount of time 
which you've put in here not just for this release but also the huge CI
refactoring over the last months. It's incredibly incredible!

I do get a build failure on FreeBSD 13.0-CURRENT aarch64 (armv8) for couchjs. Only SM60 is
available on arm-flavoured FreeBSD so I had high hopes :-( https://freshports.org/lang/spidermonkey60
and there's a commit which I don't yet have which *might* help

12 Jan 2020 22:34:38
Original commit files touched by this commit  60.9.0_1
Revision:522842

Add simple patch to fix undefined symbol problems when trying to build
gjs with this spidermonkey version.

taken from  https://bugzilla.mozilla.org/show_bug.cgi?id=1426865

Given that I would be the only user for this release on this combo, let's not block it. But
if somebody has suggestions on what to do, I'm all ears, and I'll try with these patches over
the weekend.

ld: error: undefined symbol: void js::UnsafeTraceManuallyBarrieredEdge<JS::Value>(JSTracer*,
JS::Value*, char const*)
...


In file included from priv/couch_js/60/main.cpp:27:
In file included from /usr/local/include/mozjs-60/js/Wrapper.h:12:
/usr/local/include/mozjs-60/js/Proxy.h:206:43: warning: offset of on non-standard-layout type
'js::BaseProxyHandler' [-Winvalid-offsetof]
  static size_t offsetOfFamily() { return offsetof(BaseProxyHandler, mFamily); }
                                          ^                          ~~~~~~~
/usr/include/stddef.h:75:31: note: expanded from macro 'offsetof'
#define offsetof(type, field)   __offsetof(type, field)
                                ^                ~~~~~
/usr/include/sys/cdefs.h:476:34: note: expanded from macro '__offsetof'
#define __offsetof(type, field)  __builtin_offsetof(type, field)
                                 ^                        ~~~~~
1 warning generated.
Compiling priv/couch_js/60/utf8.cpp
In file included from priv/couch_js/60/utf8.cpp:16:
In file included from /usr/local/include/mozjs-60/js/Wrapper.h:12:
/usr/local/include/mozjs-60/js/Proxy.h:206:43: warning: offset of on non-standard-layout type
'js::BaseProxyHandler' [-Winvalid-offsetof]
  static size_t offsetOfFamily() { return offsetof(BaseProxyHandler, mFamily); }
                                          ^                          ~~~~~~~
/usr/include/stddef.h:75:31: note: expanded from macro 'offsetof'
#define offsetof(type, field)   __offsetof(type, field)
                                ^                ~~~~~
/usr/include/sys/cdefs.h:476:34: note: expanded from macro '__offsetof'
#define __offsetof(type, field)  __builtin_offsetof(type, field)
                                 ^                        ~~~~~
1 warning generated.
Compiling priv/couch_js/60/util.cpp
Compiling priv/icu_driver/couch_icu_driver.c
Compiling priv/couch_ejson_compare/couch_ejson_compare.c
ld: error: undefined symbol: void js::UnsafeTraceManuallyBarrieredEdge<JS::Value>(JSTracer*,
JS::Value*, char const*)
>>> referenced by Value.h:1230 (/usr/local/include/mozjs-60/js/Value.h:1230)
>>>               priv/couch_js/60/util.o:(JS::GCPolicy<JS::Value>::trace(JSTracer*,
JS::Value*, char const*))
c++: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: sh(c++ priv/couch_js/60/http.o priv/couch_js/60/main.o priv/couch_js/60/utf8.o priv/couch_js/60/util.o
-L/usr/local/lib -std=c++14 -lmozjs-60 -lm -DHAVE_CURL -lcurl  -L"/usr/local/lib/erlang/lib/erl_interface-3.11.3/lib"
-lerl_interface -lei -o priv/couchjs)
failed with return code 1 and the following output:
ld: error: undefined symbol: void js::UnsafeTraceManuallyBarrieredEdge<JS::Value>(JSTracer*,
JS::Value*, char const*)
>>> referenced by Value.h:1230 (/usr/local/include/mozjs-60/js/Value.h:1230)
>>>               priv/couch_js/60/util.o:(JS::GCPolicy<JS::Value>::trace(JSTracer*,
JS::Value*, char const*))
c++: error: linker command failed with exit code 1 (use -v to see invocation)

ERROR: compile failed while processing /tmp/apache-couchdb-3.0.0/src/couch: rebar_abort
gmake: *** [Makefile:125: couch] Error 1


A+
Dave
--
  sent from my Couch

Mime
View raw message