pkgsrc-Users archive

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

Re: Failure to build webkit24-gtk with today's sources



One final note: the rebuild of webkit-gtk also fails, with pretty much the same errors. At least it fails much sooner than webkit24-gtk! :)
(Different build order?)



On Sun, 23 Apr 2017, Paul Goyette wrote:

OK, looks like this is where the problem occurs:

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();
                             ^
GNUmakefile:70161: recipe for target 'Source/JavaScriptCore/API/libjavascriptcoregtk_1_0_la-JSStringRef.lo' failed



A private response from wiz@ indicates that this is fallout from the recent update to textproc/icu



On Sun, 23 Apr 2017, Paul Goyette wrote:

My pkgsrc was updated via cvs just a few hours ago, and I proceeded to rebuild all of my out-of-date packages. I got as far as webkit24-gtk, and after more than two hours of building it failed. The log file has tons of errors and warnings, and it was building with jobs=8, so I really cannot figure out what the specific error was. But it is 100% repeatable. (Note: the two-hour time frame means it was pretty close to finishing - it usually takes about 2:15:00 to complete.)

The entire log file is available at

	http://www.netbsd.org/~pgoyette/webkit24-gtk.log

Hopefully someone with a clue will be able to fix...


+------------------+--------------------------+----------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com | | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index