unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30599: gnucash fails to build
@ 2018-02-24 23:29 Chris Marusich
  2018-06-17  1:44 ` Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Marusich @ 2018-02-24 23:29 UTC (permalink / raw)
  To: 30599

[-- Attachment #1: Type: text/plain, Size: 4115 bytes --]

Hi,

Somewhere between these two Hydra evaluations, gnucash began failing to
build:

First failed job: https://hydra.gnu.org/build/2507218#tabs-details

Last successful job: https://hydra.gnu.org/build/2460526#tabs-details

Job history (master):
https://hydra.gnu.org/job/gnu/master/gnucash-2.6.19.x86_64-linux

Job history (core-updates):
https://hydra.gnu.org/job/gnu/core-updates/gnucash-2.6.19.x86_64-linux/all

Earliest failure on core-updates was on 2018-01-12:
https://hydra.gnu.org/build/2437575/nixlog/1/tail-reload

I am able to reproduce the failure on x86_64-linux GuixSD.  The error
is:

https://hydra.gnu.org/build/2507218/nixlog/1/tail-reload
--8<---------------cut here---------------start------------->8---
...

  CXX      Source/JavaScriptCore/API/libjavascriptcoregtk_1_0_la-JSObjectRef.lo
  CXX      Source/JavaScriptCore/API/libjavascriptcoregtk_1_0_la-JSScriptRef.lo
  CXX      Source/JavaScriptCore/API/libjavascriptcoregtk_1_0_la-JSStringRef.lo
Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘OpaqueJSString* JSStringCreateWithCharacters(const JSChar*, size_t)’:
Source/JavaScriptCore/API/JSStringRef.cpp:40:50: error: invalid conversion from ‘const JSChar* {aka const short unsigned int*}’ to ‘const UChar* {aka const char16_t*}’ [-fpermissive]
     return OpaqueJSString::create(chars, numChars).leakRef();
                                                  ^
In file included from Source/JavaScriptCore/API/JSStringRef.cpp:31:0:
Source/JavaScriptCore/API/OpaqueJSString.h:49:39: note:   initializing argument 1 of ‘static WTF::PassRefPtr<OpaqueJSString> OpaqueJSString::create(const UChar*, unsigned int)’
     static PassRefPtr<OpaqueJSString> create(const UChar* characters, unsigned length)
                                       ^
Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘OpaqueJSString* JSStringCreateWithCharactersNoCopy(const JSChar*, size_t)’:
Source/JavaScriptCore/API/JSStringRef.cpp:65:83: error: invalid conversion from ‘const JSChar* {aka const short unsigned int*}’ to ‘const UChar* {aka const char16_t*}’ [-fpermissive]
     return OpaqueJSString::create(StringImpl::createWithoutCopying(chars, numChars)).leakRef();
                                                                                   ^
In file included from ./Source/WTF/wtf/text/WTFString.h:29:0,
                 from Source/JavaScriptCore/API/OpaqueJSString.h:31,
                 from Source/JavaScriptCore/API/JSStringRef.cpp:31:
./Source/WTF/wtf/text/StringImpl.h:393:54: note:   initializing argument 1 of ‘static WTF::PassRef<WTF::StringImpl> WTF::StringImpl::createWithoutCopying(const UChar*, unsigned int)’
     WTF_EXPORT_STRING_API static PassRef<StringImpl> createWithoutCopying(const UChar* characters, unsigned length);
                                                      ^
Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘const JSChar* JSStringGetCharactersPtr(JSStringRef)’:
Source/JavaScriptCore/API/JSStringRef.cpp:86:30: error: invalid conversion from ‘const UChar* {aka const char16_t*}’ to ‘const JSChar* {aka const short unsigned int*}’ [-fpermissive]
     return string->characters();
                              ^
make[1]: *** [GNUmakefile:70161: Source/JavaScriptCore/API/libjavascriptcoregtk_1_0_la-JSStringRef.lo] Error 1
make[1]: Leaving directory '/tmp/guix-build-webkitgtk-gtk2-2.4.11.drv-0/webkitgtk-2.4.11'
make: *** [GNUmakefile:25837: all] Error 2
phase `build' failed after 238.0 seconds
builder for `/gnu/store/dsr4wdnmnyacyl662gigfwv7v5qa7zk9-webkitgtk-gtk2-2.4.11.drv' failed with exit code 1
@ build-failed /gnu/store/dsr4wdnmnyacyl662gigfwv7v5qa7zk9-webkitgtk-gtk2-2.4.11.drv - 1 builder for `/gnu/store/dsr4wdnmnyacyl662gigfwv7v5qa7zk9-webkitgtk-gtk2-2.4.11.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---

I'm guessing that maybe it broke on core-updates some time before
2018-01-12.  I'll see if I can "git bisect" to find the commit that
introduced the failure.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#30599: gnucash fails to build
  2018-02-24 23:29 bug#30599: gnucash fails to build Chris Marusich
@ 2018-06-17  1:44 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2018-06-17  1:44 UTC (permalink / raw)
  To: Chris Marusich; +Cc: 30599-done

I'm closing this bug since it was reported against 2.6.19, and we now have
GnuCash 3.0 in master (and it builds, albeit with some tests failing on
my machine. I will open a new bug for tracking this new issue).

Thank you,

Maxim

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-17  1:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-24 23:29 bug#30599: gnucash fails to build Chris Marusich
2018-06-17  1:44 ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).