Subject: Re: bug#24404: "calibre" package fails to build.

From: Efraim Flashner <[email-masked]>
Date: Wed, 1 Aug 2018 19:41:31 +0300

On Wed, Aug 01, 2018 at 10:46:56PM +1000, Brendan Tildesley wrote:
> 
> The new qtwebkit fails to build for me. This is the tail of the output:
> 
> 
> 
> /__/DerivedSources/WebCore/InternalSettingsGenerated.cpp.o -c
> /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/DerivedSources/WebCore/InternalSettingsGenerated.cpp
> [ 82%] Linking CXX static library ../../lib/libWebCoreTestSupport.a
> cd /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WebCore &&
> /gnu/store/g85ikfjxs2d7aydvg5w06jn2h9xrjmpc-cmake-3.11.0/bin/cmake -P
> CMakeFiles/WebCoreTestSupport.dir/cmake_clean_target.cmake
> cd /tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build/Source/WebCore &&
> /gnu/store/g85ikfjxs2d7aydvg5w06jn2h9xrjmpc-cmake-3.11.0/bin/cmake -E
> cmake_link_script CMakeFiles/WebCoreTestSupport.dir/link.txt --verbose=1
> /gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/bin/ar crT
> ../../lib/libWebCoreTestSupport.a 
> CMakeFiles/WebCoreTestSupport.dir/platform/mock/PlatformSpeechSynthesizerMock.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockBox.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockMediaPlayerMediaSource.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockMediaSourcePrivate.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockSourceBufferPrivate.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/platform/mock/mediasource/MockTracks.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/testing/InternalSettings.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/testing/Internals.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/testing/MockPageOverlay.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/testing/MockPageOverlayClient.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/testing/js/WebCoreTestSupport.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSInternalSettings.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSInternals.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSMallocStatistics.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSMemoryInfo.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSMockContentFilterSettings.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSMockPageOverlay.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSTypeConversions.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/JSInternalSettingsGenerated.cpp.o
> CMakeFiles/WebCoreTestSupport.dir/__/__/DerivedSources/WebCore/InternalSettingsGenerated.cpp.o
> /gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/bin/ranlib
> ../../lib/libWebCoreTestSupport.a
> make[2]: Leaving directory
> '/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build'
> [ 82%] Built target WebCoreTestSupport
> make[1]: Leaving directory
> '/tmp/guix-build-qtwebkit-5.212.0-alpha2.drv-0/build'
> make: *** [Makefile:166: all] Error 2
> Backtrace:
>            4 (primitive-load "/gnu/store/kfiy9kfa3gpgm6i4f2x142xz2qp…")
> In ice-9/eval.scm:
>    191:35  3 (_ _)
> In srfi/srfi-1.scm:
>     640:9  2 (for-each #<procedure 973d40 at /gnu/store/qzsljkcllc0…> …)
> In
> /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/gnu-build-system.scm:
>    799:31  1 (_ _)
> In
> /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/utils.scm:
>     616:6  0 (invoke _ . _)
> 
> /gnu/store/qzsljkcllc01dmdq9z0yrqri3ajam3vp-module-import/guix/build/utils.scm:616:6:
> In procedure invoke:
> Throw to key `srfi-34' with args `(#<condition &invoke-error [program:
> "make" arguments: ("-j" "16") exit-status: 2 term-signal: #f
> stop-signal: #f] 98bfc0>)'.
> builder for
> `/gnu/store/6xpbgvsravd365mb5nlxbcdns9n41spj-qtwebkit-5.212.0-alpha2.drv'
> failed with exit code 1
> @ build-failed
> /gnu/store/6xpbgvsravd365mb5nlxbcdns9n41spj-qtwebkit-5.212.0-alpha2.drv
> - 1 builder for
> `/gnu/store/6xpbgvsravd365mb5nlxbcdns9n41spj-qtwebkit-5.212.0-alpha2.drv'
> failed with exit code 1
> cannot build derivation
> `/gnu/store/06blrp079yfq07xs8nbsfgam1h1gfkj6-python2-pyqt-5.11.2.drv': 1
> dependencies couldn't be built
> cannot build derivation
> `/gnu/store/snn0rr40iljv635ddjw726jdnys38bz0-calibre-3.28.0.drv': 1
> dependencies couldn't be built
> guix build: error: build failed: build of
> `/gnu/store/snn0rr40iljv635ddjw726jdnys38bz0-calibre-3.28.0.drv' failed
> b@jiu ~/guix$
> 

Unfortunately it looks like the interesting bit got cut off, the first
error is an 'Error 2', typically 'Error 1' is what actually fails.

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted