unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#47964: webkitgtk-2.32.0 build fails
@ 2021-04-23  4:46 Bone Baboon via Bug reports for GNU Guix
  2021-04-23 18:41 ` Leo Famulari
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-04-23  4:46 UTC (permalink / raw)
  To: 47964

On an x86_64 computer when I run `sudo guix system --no-substitutes
reconfigure config.scm` webkitgtk-2.32.0 fails to build.  When I run
`guix build --no-substitutes --cores=1 --max-jobs=1 webkitgtk` I get
this error message:

```
make: *** [Makefile:155: all] Error 2
command "make" "-j" "1" failed with status 2
builder for `/gnu/store/b1vs7n6dvmsrk9510q8hqjnq6m9mvrm3-webkitgtk-2.32.0.drv' failed with exit code 1
build of /gnu/store/b1vs7n6dvmsrk9510q8hqjnq6m9mvrm3-webkitgtk-2.32.0.drv failed
View build log at '/var/log/guix/drvs/b1/vs7n6dvmsrk9510q8hqjnq6m9mvrm3-webkitgtk-2.32.0.drv.bz2'.
guix build: error: build of `/gnu/store/b1vs7n6dvmsrk9510q8hqjnq6m9mvrm3-webkitgtk-2.32.0.drv' failed
```

`guix describe` outputs:

```
Generation 7    Apr 21 2021 15:56:57    (current)
  guix ae5128e
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: ae5128e21eb7afa66bd7cfd7fd1bc5764d00663e
```

End of the build log is below.  The entire build log was too large to
send by email.

```
[ 98%] Built target gtkdoc
make -f Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/build.make Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/depend
make[2]: Entering directory '/tmp/guix-build-webkitgtk-2.32.0.drv-0/build'
cd /tmp/guix-build-webkitgtk-2.32.0.drv-0/build && /gnu/store/3dsl2jalrcyldkrsqab1hc6sv8pyag9z-cmake-minimal-3.16.5/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/guix-build-webkitgtk-2.32.0.drv-0/webkitgtk-2.32.0 /tmp/guix-build-webkitgtk-2.32.0.drv-0/webkitgtk-2.32.0/Source/WebKit /tmp/guix-build-webkitgtk-2.32.0.drv-0/build /tmp/guix-build-webkitgtk-2.32.0.drv-0/build/Source/WebKit /tmp/guix-build-webkitgtk-2.32.0.drv-0/build/Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/DependInfo.cmake --color=
Scanning dependencies of target WebKit2WebExtension-4-gir
make[2]: Leaving directory '/tmp/guix-build-webkitgtk-2.32.0.drv-0/build'
make -f Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/build.make Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/build
make[2]: Entering directory '/tmp/guix-build-webkitgtk-2.32.0.drv-0/build'
make[2]: *** No rule to make target 'JavaScriptCore-4.0.gir', needed by 'WebKit2-4.0.gir'.  Stop.
make[2]: Leaving directory '/tmp/guix-build-webkitgtk-2.32.0.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:1628: Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-webkitgtk-2.32.0.drv-0/build'
make: *** [Makefile:155: all] Error 2
command "make" "-j" "1" failed with status 2
```




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

* bug#47964: webkitgtk-2.32.0 build fails
  2021-04-23  4:46 bug#47964: webkitgtk-2.32.0 build fails Bone Baboon via Bug reports for GNU Guix
@ 2021-04-23 18:41 ` Leo Famulari
  2021-04-23 20:11   ` Bone Baboon via Bug reports for GNU Guix
  2021-04-23 21:37 ` Bone Baboon via Bug reports for GNU Guix
  2021-04-26 14:52 ` bug#47964: Closing bug#47964 Bone Baboon via Bug reports for GNU Guix
  2 siblings, 1 reply; 13+ messages in thread
From: Leo Famulari @ 2021-04-23 18:41 UTC (permalink / raw)
  To: 47964

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

On Fri, Apr 23, 2021 at 12:46:02AM -0400, Bone Baboon via Bug reports for GNU Guix wrote:
> builder for `/gnu/store/b1vs7n6dvmsrk9510q8hqjnq6m9mvrm3-webkitgtk-2.32.0.drv' failed with exit code 1

Our build farm (ci.guix.gnu.org) doesn't know about this derivation. I
logged in and tried to build it:

------
$ guix build /gnu/store/b1vs7n6dvmsrk9510q8hqjnq6m9mvrm3-webkitgtk-2.32.0.drv
cannot build missing derivation ‘/gnu/store/b1vs7n6dvmsrk9510q8hqjnq6m9mvrm3-webkitgtk-2.32.0.drv’
guix build: error: build of `/gnu/store/b1vs7n6dvmsrk9510q8hqjnq6m9mvrm3-webkitgtk-2.32.0.drv' failed
------

> Generation 7    Apr 21 2021 15:56:57    (current)
>   guix ae5128e
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: ae5128e21eb7afa66bd7cfd7fd1bc5764d00663e

I tried to produce that derivation with the time machine:

------
$ guix time-machine --commit=ae5128e21eb7afa66bd7cfd7fd1bc5764d00663e -- build webkitgtk --derivations
/gnu/store/z39pp5idq8ikhbf0a80li4ilb121kxfz-webkitgtk-2.32.0.drv
$ guix time-machine --commit=ae5128e21eb7afa66bd7cfd7fd1bc5764d00663e -- build webkitgtk --derivations --no-grafts
/gnu/store/0r5f5k5qckqzq21kfb1cd2m2niw6wsvy-webkitgtk-2.32.0.drv
------

We do have substitutes for those derivations.

This means that something is changing your "view" of Guix. You aren't
building the same things that the rest of us are building.

Are you using any channels? Or maybe custom packages via
GUIX_PACKAGE_PATH? Or anything else we should know about?

Can you send the file
'/gnu/store/b1vs7n6dvmsrk9510q8hqjnq6m9mvrm3-webkitgtk-2.32.0.drv'
as an attachment?

In the meantime I am testing the build with a single core.

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

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

* bug#47964: webkitgtk-2.32.0 build fails
  2021-04-23 18:41 ` Leo Famulari
@ 2021-04-23 20:11   ` Bone Baboon via Bug reports for GNU Guix
  2021-04-23 20:25     ` Leo Famulari
  0 siblings, 1 reply; 13+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-04-23 20:11 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 47964

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

Since I submitted this bug I have done a `guix pull --no-substitutes`
and tried do reconfigure the system and the build of webkitgtk fails.

Leo Famulari writes:
> Are you using any channels?

There is no `~/.config/guix/channels.scm` file.

There are no extra channel showing in the output of `guix pull
--list-generations`. The output for the current generation is:

```
Generation 8    Apr 22 2021 18:20:30    (current)
  guix c22204c
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: c22204cf7bf12056c43e5da2fd99c95866143ddc
  5 new packages: cl-pathname-utils, daemonize,
    ecl-pathname-utils, kraken2, sbcl-pathname-utils
  25 packages upgraded: cpupower@5.11.16,
    exfatprogs@1.1.1, freefall@5.11.16,
    guix-build-coordinator@0-25.c49b1c8, icedove-wayland@78.10.0,
    icedove@78.10.0, libretro-lowresnx@1.2, libupnp@1.14.6,
    libxlsxwriter@1.0.3, linux-libre-bpf@5.11.16,
    linux-libre-headers@5.11.16, linux-libre@5.11.16,
    openconnect-sso@0.7.3, openvpn@2.5.2, perf@5.11.16, retroarch@1.9.1,
    tmon@5.11.16, turbostat@5.11.16, waybar@0.9.7,
    wine-staging-patchset-data@6.6, wine-staging@6.6,
    wine64-staging@6.6, wireshark@3.4.5, wxmaxima@21.04.0,
    x86-energy-perf-policy@5.11.16
```

> Or maybe custom packages via GUIX_PACKAGE_PATH?

`echo $GUIX_PACKAGE_PATH` outputs an empty line.

> Or anything else we should know about?

What else should I look into?

> Can you send the file
> '/gnu/store/b1vs7n6dvmsrk9510q8hqjnq6m9mvrm3-webkitgtk-2.32.0.drv'
> as an attachment?

The derivation is attached.


[-- Attachment #2: b1vs7n6dvmsrk9510q8hqjnq6m9mvrm3-webkitgtk-2.32.0.drv --]
[-- Type: text/plain, Size: 9777 bytes --]

Derive([("doc","/gnu/store/6b3570j8wnakfm031cvcmyvafvsmaqax-webkitgtk-2.32.0-doc","",""),("out","/gnu/store/a6prslai3033zyppbr3ksj5d51pbchs3-webkitgtk-2.32.0","","")],[("/gnu/store/043sb97az1zp0lg7ly4ildh5nhr9x9sx-xorgproto-2019.2.drv",["out"]),("/gnu/store/0i8idwa65ap40kn7cnbcl5nh5xxzlb8c-libxfixes-5.0.3.drv",["out"]),("/gnu/store/0khkqdc4bcr9nbyg7h45hxspy6j14909-coreutils-8.32.drv",["out"]),("/gnu/store/1h3wdhz68kzjmm5lvdv3qp8w59czzqx6-wayland-protocols-1.20.drv",["out"]),("/gnu/store/1wld08ibgbxciq2wqlfrfs7i87p1lcbq-binutils-2.34.drv",["out"]),("/gnu/store/22jawp0h21zi7xjys4j52fgnwnq6rqdw-atk-2.34.1.drv",["out"]),("/gnu/store/2lkspdlphmhqv848hjd0s4nqm1sgzrmk-hyphen-2.8.8.drv",["out"]),("/gnu/store/2qc604y4d4ghim551mh8vvrz1jr9gy5r-dbus-1.12.16.drv",["out"]),("/gnu/store/34h76h0sz1w1q56nakrxn45bcxq5y8yg-gtk+-3.24.24.drv",["out"]),("/gnu/store/37j4fr5cbar00z9k4n73mlzhzqd0vb5r-libffi-3.3.drv",["out"]),("/gnu/store/3gjjkdq3ll76lffa2563xx62h4w9cxks-linux-libre-headers-5.4.20.drv",["out"]),("/gnu/store/3i80lz68mpxk7q4m4m0wjjdh072xvary-libx11-1.6.10.drv",["out"]),("/gnu/store/3jwiqbgrhrgalvks0hjkhbmf6vz2q3qs-file-5.38.drv",["out"]),("/gnu/store/3lb8xb6cv7mw1vx55ylz2skkb7z6p19d-glib-2.62.6.drv",["bin","out"]),("/gnu/store/3ms1a19zyac5wj8y468syc4w860y4f35-libxrender-0.9.10.drv",["out"]),("/gnu/store/582c469659992lrw2rijjrj6943rpivm-libxshmfence-1.3.drv",["out"]),("/gnu/store/58g1k4pmq3mwm8f6j7xph2w9qm36x3mn-orc-0.4.32.drv",["out"]),("/gnu/store/5c13qlv7mqpsmsqwmsplcjklkxia3w54-enchant-2.2.15.drv",["out"]),("/gnu/store/5rhjhwdbxhrrqbf2wwsxl5pdbr0cl2n0-util-linux-2.35.1.drv",["lib"]),("/gnu/store/62qsc9lfp13j427dn7r43dg11r52pqii-libepoxy-1.5.4.drv",["out"]),("/gnu/store/6nqc2f1jvr6f6y1c9pqsm6ddx8jrgfnf-bash-minimal-5.0.16.drv",["out"]),("/gnu/store/6nvm10nv6wlkpyzdw0ja8llnn0c3afpb-sed-4.8.drv",["out"]),("/gnu/store/6psa963y1qr7ski12g25y23xsz6jahjf-libxft-2.3.3.drv",["out"]),("/gnu/store/6r26n2fdcv8plprg00r7y5gd27p34zz5-wayland-1.18.0.drv",["out"]),("/gnu/store/6sxv71jwh61hgp0arq82hs81kgkm1hj6-libxxf86vm-1.1.4.drv",["out"]),("/gnu/store/7251zsw752ydysp5ggk7gfvp1dnd3f4v-pkg-config-0.29.2.drv",["out"]),("/gnu/store/73r9b7zv3f1hl35v781mmfm7cq1rgfi0-libsepol-3.0.drv",["out"]),("/gnu/store/7hj8kbsqkm3qcpd8dyayx1c53r59ma2v-guile-3.0.2.drv",["out"]),("/gnu/store/7jyjjxc2fsdr79mjn6izsyzjrd3rckdp-libxdamage-1.1.5.drv",["out"]),("/gnu/store/7mq9wpw33xml3c8w540ljwffa4aqc1m9-cairo-1.16.0.drv",["out"]),("/gnu/store/7sq6prc86a56a8pfrjaagdqjcakzfx1r-graphite2-1.3.13.drv",["out"]),("/gnu/store/8d8jqjsm67hjak1zn4zkrgk8hjyc4y43-ruby-2.6.5.drv",["out"]),("/gnu/store/8pn2qknsphy20fxwqa5y5wkxzliw7k4m-icu4c-66.1.drv",["out"]),("/gnu/store/8s7q16r9qyvli3dvm2h7ccm6q5pnf018-pango-1.44.7.drv",["out"]),("/gnu/store/98196cxlrwanm3lmlxkqygwn3h37nh5r-libpthread-stubs-0.4.drv",["out"]),("/gnu/store/9cdwvkm2r7nf9864qk32fa9g7bj0565x-gzip-1.10.drv",["out"]),("/gnu/store/9lkkr509vzladnly8zayf54brrn8694c-xdg-dbus-proxy-0.1.2.drv",["out"]),("/gnu/store/9ncd75ac8adspkbasw8f0x8cjj9ppkp4-gtk+-2.24.32.drv",["out"]),("/gnu/store/9z04i2yfif9wx69g88254xylfi2xrlnp-bzip2-1.0.8.drv",["out"]),("/gnu/store/a257xh6665yg8klss11wahbhw7hdc0vz-bison-3.5.3.drv",["out"]),("/gnu/store/ajb7id4hpgxxsm8lpihpf3ljhngynw7z-gcc-7.5.0.drv",["out"]),("/gnu/store/ajyqw29rv7hrdipdzynbzrpddyh72gdp-openjpeg-2.3.1.drv",["out"]),("/gnu/store/aw07bnj5rx5g5b8pyw8ybfh0sfxkw228-geoclue-2.5.7.drv",["out"]),("/gnu/store/b3w1qi9pjwjzwk27n5337cxngp8b59al-gobject-introspection-1.62.0.drv",["out"]),("/gnu/store/bp5027bbs92qsmi9q15jn3pfbjlpklwi-at-spi2-core-2.34.0.drv",["out"]),("/gnu/store/c018j1z7nf8rhsghvrqcxzdlhyzwckzk-gst-plugins-base-1.18.2.drv",["out"]),("/gnu/store/c498kf0i4n4cwzavb40pylyqz7g6ki3x-google-brotli-1.0.9.drv",["out"]),("/gnu/store/c5risfnmnqm45a29vi7n1f4wggjv3zsp-tar-1.32.drv",["out"]),("/gnu/store/cnjfjrcgas89vn76zjavc95hsdaz8wda-libjpeg-turbo-2.0.5.drv",["out"]),("/gnu/store/dnvdlaqn7iv2j06np95m07h3i77y8l9j-sqlite-3.31.1.drv",["out"]),("/gnu/store/dpkfxwz3c07rnrkndhd69gks0kdjdyi6-bubblewrap-0.4.1.drv",["out"]),("/gnu/store/f8yhpbqjk2b6s63jrycgiq64slpvzyph-libxslt-1.1.34.drv",["out"]),("/gnu/store/faqmswb2022lxy2hs1c23byb0x8pldd6-libxrandr-1.5.2.drv",["out"]),("/gnu/store/fdxc2zvglmyxq287dv4wjlvavvl8mhxz-util-macros-1.19.2.drv",["out"]),("/gnu/store/fgn6d4mhn5bbzd0b17i0l592jqkav14i-make-4.3.drv",["out"]),("/gnu/store/fjbxnldllgi00nn8fwxiws5k7dvyhrkl-libxi-1.7.10.drv",["out"]),("/gnu/store/fkyhb4bgs2snjrbawgz5m7vhpqcl55y2-python-wrapper-3.8.2.drv",["out"]),("/gnu/store/fyazyla09myashz9dv10w21y77b8nlqz-gawk-5.0.1.drv",["out"]),("/gnu/store/g79mqyr8n773idslldgj6r91w0lgkqqb-gettext-minimal-0.20.1.drv",["out"]),("/gnu/store/gb91yqixlm04kcm3v930b7sjxzdgac6r-patch-2.7.6.drv",["out"]),("/gnu/store/gj8v5b1pgyymdm6m7mjlcg64v2yskjfr-libxtst-1.2.3.drv",["out"]),("/gnu/store/grvfbrv3lgr50asa1a4qcbv1brdsyg1b-woff2-1.0.2.drv",["out"]),("/gnu/store/gynvgzmim4bnzjwwni5m4q7wi99kadfp-libwpe-1.6.0.drv",["out"]),("/gnu/store/hmvp4rcpkd466q280f5nkysgiwlh856j-perl-5.30.2.drv",["out"]),("/gnu/store/i5grcb7yfaa4cw7xfll918mpf9khjarc-zlib-1.2.11.drv",["out"]),("/gnu/store/i7j3fkqnnvp4yfx6i16g6yg6fm8hs8a2-pcre-8.44.drv",["out"]),("/gnu/store/ia21dq32agicyy823xqr73v6s3lhbl1f-libsm-1.2.3.drv",["out"]),("/gnu/store/ilz7wfwbvzxsvzscqfhafq3r1d5bqgbl-libxcomposite-0.4.5.drv",["out"]),("/gnu/store/iywpa6c6dwnvbmysq0rbfkwjzc0bsk8g-libselinux-3.0.drv",["out"]),("/gnu/store/k5acaailgkwcbp8b5cl7dk0niah58lcg-gstreamer-1.18.2.drv",["out"]),("/gnu/store/ksvv5rh8vndkcsiyk3yhz78xv8cbpfii-webkitgtk-2.32.0.tar.xz.drv",["out"]),("/gnu/store/kwq0snpqq0i5qwswfn05kz5c7d6hlcdr-expat-2.2.9.drv",["out"]),("/gnu/store/l6lyn24ri4izszdkxykgnlcbjb8zn24n-ld-wrapper-0.drv",["out"]),("/gnu/store/m0bxj3im6gwcb7vz2z0792g312kr2ckv-libpsl-0.21.1.drv",["out"]),("/gnu/store/m81dqif31h99qfpfbdacxq5xaajxknjs-fribidi-1.0.9.drv",["out"]),("/gnu/store/m86n8w634kh3p9glghklx03rd630jvsa-libxml2-2.9.10.drv",["out"]),("/gnu/store/m9yqd2aspkhabvhdl3sc42f8vh1ls1ps-diffutils-3.7.drv",["out"]),("/gnu/store/n9v10jglipnw5i9gs6l647y7vj1vmlfw-harfbuzz-2.6.4.drv",["out"]),("/gnu/store/ndk7v9wclr72zdcrs2r6afxj3r3bapgm-glibc-utf8-locales-2.31.drv",["out"]),("/gnu/store/ngihsgn8zhk54ca1606hbbmv7kn7xnyr-libvdpau-1.4.drv",["out"]),("/gnu/store/nn2i0zcjxsvm2hlbqvyl8y6dv8dpa74w-at-spi2-atk-2.34.1.drv",["out"]),("/gnu/store/nwllis8b0mpdp1a8zr038bjlj34c9z8p-module-import-compiled.drv",["out"]),("/gnu/store/p2p2f59n6cddd3z9q2xw62rir28mja14-libxcb-1.14.drv",["out"]),("/gnu/store/pg6aal32sbqjx12lj7w9047nr6l3kqs1-gdk-pixbuf-2.40.0.drv",["out"]),("/gnu/store/pvgfdah90i579yvy4bh91h7nkbdw4s62-pixman-0.38.4.drv",["out"]),("/gnu/store/q2748h9bnb1g2037mxv5xddr0va2lv6d-m4-1.4.18.drv",["out"]),("/gnu/store/q4d9h3im2dk8qybsiql66sk9kq8k97nf-libxext-1.3.4.drv",["out"]),("/gnu/store/qcwwbr5r2gpcfrq379sla7lqkdijz0v1-docbook-xml-4.5.drv",["out"]),("/gnu/store/qgllb86mw1dxbdnvbq04jqvprn7bv168-python-3.8.2.drv",["out"]),("/gnu/store/qj020mhsq630ajq4h145kckmkz9gnjmi-libxau-1.0.9.drv",["out"]),("/gnu/store/qy02scyc5xcpwk04islwdfdr0lx0jvcq-libgcrypt-1.8.5.drv",["out"]),("/gnu/store/r6c0f82capb5dfl7rf50kpbh0qjd3mh9-libseccomp-2.5.1.drv",["out"]),("/gnu/store/rafw2dipijlvlxzagdrynnzs939yx3np-wpebackend-fdo-1.6.1.drv",["out"]),("/gnu/store/rgvxh2wn48ycynh4x6d28rnjw0zfcsrx-libxcursor-1.2.0.drv",["out"]),("/gnu/store/rk9inw2kf9mrqly2xprkxardpxcmhbjv-grep-3.4.drv",["out"]),("/gnu/store/rkbjigda3mpbb8gcxrgjdnmm1wnfq48y-findutils-4.7.0.drv",["out"]),("/gnu/store/rnf569r3mxkfx71grxj7av7mxd3mnszq-libnotify-0.7.9.drv",["out"]),("/gnu/store/rqydp625kp6yblxxdvkvhck764vpjqy0-gtk-doc-1.28.drv",["out"]),("/gnu/store/saxz25b1blihsnrgvd5vlczrgl9yphif-fontconfig-2.13.1.drv",["out"]),("/gnu/store/shcbnnx0nf5d8x7hxh77wlbrq9nj5zqy-libxdmcp-1.1.3.drv",["out"]),("/gnu/store/szjp1fkk8m5n2jzvkfnjvmi429c1b56b-xz-5.2.4.drv",["out"]),("/gnu/store/szrk3i56cwshfn531n64i7643kx8q987-glibc-2.31.drv",["out","static"]),("/gnu/store/vjpb646ag2j5dmlnj8rwxphzdn84bza8-gperf-3.1.drv",["out"]),("/gnu/store/w0k2y0r8fsgcw993c7jkhra61nqw0kjk-cmake-minimal-3.16.5.drv",["out"]),("/gnu/store/wbpndhlqp5qn2rjap27hr3a80f68g54f-libxkbcommon-1.0.3.drv",["out"]),("/gnu/store/wqhavvz2y39vag8379bzq7zkxn8s3ahf-libpng-1.6.37.drv",["out"]),("/gnu/store/x2bpqblgsp8zbirm6yy1h1zsdlpbjyjl-libsecret-0.20.4.drv",["out"]),("/gnu/store/x2r6wmk9vz2xk8njl9d0mq0qan7mpy7j-libice-1.0.10.drv",["out"]),("/gnu/store/xdqkvqqfw3p9h24qpgkisxnlr5iq7fa9-libtasn1-4.16.0.drv",["out"]),("/gnu/store/xjrys66qpkq8hrn23wf91aq05blnzayr-libxinerama-1.1.4.drv",["out"]),("/gnu/store/xmwr5gacmf6y2mbi1mxbgy2pysk0svnp-shared-mime-info-1.15.drv",["out"]),("/gnu/store/xn7bpcqs71aahqww27lwigxc2h60gi3w-libgpg-error-1.37.drv",["out"]),("/gnu/store/y1dj6a27b6xsvr946c9qlhfjgknv7f5i-gdk-pixbuf+svg-2.40.0.drv",["out"]),("/gnu/store/y34z8xm881qki6pd8gdzn850lwgl97zj-mesa-20.2.4.drv",["out"]),("/gnu/store/y5dhrmq42j0q8sgnkx4dl453900b4ayb-libsoup-2.72.0.drv",["out"]),("/gnu/store/y6dw5w36anmlk7yfaxgqqfr20jhlyqsa-freetype-2.10.4.drv",["out"]),("/gnu/store/z39jwmwnnb91sibj744q8f72n53zbn4d-libwebp-1.1.0.drv",["out"]),("/gnu/store/zh7cl8cpw19bg04x80a0ihlk37cjxw65-libdrm-2.4.103.drv",["out"]),("/gnu/store/zl09639zczpcwy5b8030whlavfp2nqbx-libxt-1.2.0.drv",["out"])],["/gnu/store/fgdfy8g6klfycyqdgbrj7z3zfa0dy12i-webkitgtk-2.32.0-guile-builder","/gnu/store/si30i1z85ql5c2911v12h580mibsxjf1-module-import"],"x86_64-linux","/gnu/store/0m0vd873jp61lcm4xa3ljdgx381qa782-guile-3.0.2/bin/guile",["--no-auto-compile","-L","/gnu/store/si30i1z85ql5c2911v12h580mibsxjf1-module-import","/gnu/store/fgdfy8g6klfycyqdgbrj7z3zfa0dy12i-webkitgtk-2.32.0-guile-builder"],[("GUILE_LOAD_COMPILED_PATH","/gnu/store/llb7vjc1jqql89pm1g4kqk54x1bfnb1y-module-import-compiled"),("doc","/gnu/store/6b3570j8wnakfm031cvcmyvafvsmaqax-webkitgtk-2.32.0-doc"),("out","/gnu/store/a6prslai3033zyppbr3ksj5d51pbchs3-webkitgtk-2.32.0")])

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

* bug#47964: webkitgtk-2.32.0 build fails
  2021-04-23 20:11   ` Bone Baboon via Bug reports for GNU Guix
@ 2021-04-23 20:25     ` Leo Famulari
  2021-04-23 22:04       ` Leo Famulari
  0 siblings, 1 reply; 13+ messages in thread
From: Leo Famulari @ 2021-04-23 20:25 UTC (permalink / raw)
  To: Bone Baboon; +Cc: 47964

On Fri, Apr 23, 2021 at 04:11:02PM -0400, Bone Baboon wrote:
> The derivation is attached.

Thanks.

I'm comparing your derivation to the canonical derivation for webkitgtk
from Guix Git commit ae5128e21eb7 on x86_64-linux, /gnu/store/0r5f5k5qckqzq21kfb1cd2m2niw6wsvy-webkitgtk-2.32.0.drv

I don't have very good tools for this, but vbindiff is better than
nothing:

$ vbindiff /gnu/store/0r5f5k5qckqzq21kfb1cd2m2niw6wsvy-webkitgtk-2.32.0.drv bone-baboon-webkitgtk.drv

And I see that many dependency's derivations are also different, and
things are also listed in a different order.

To be continued...




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

* bug#47964: webkitgtk-2.32.0 build fails
  2021-04-23  4:46 bug#47964: webkitgtk-2.32.0 build fails Bone Baboon via Bug reports for GNU Guix
  2021-04-23 18:41 ` Leo Famulari
@ 2021-04-23 21:37 ` Bone Baboon via Bug reports for GNU Guix
  2021-04-26 14:52 ` bug#47964: Closing bug#47964 Bone Baboon via Bug reports for GNU Guix
  2 siblings, 0 replies; 13+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-04-23 21:37 UTC (permalink / raw)
  To: Bone Baboon; +Cc: 47964

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

Bone Baboon via Bug reports for GNU Guix writes:
> End of the build log is below.  The entire build log was too large to
> send by email.

Here is the entire build log compressed and attached.


[-- Attachment #2: webkitgtk-full-build-log.txt.lz --]
[-- Type: application/octet-stream, Size: 615360 bytes --]

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

* bug#47964: webkitgtk-2.32.0 build fails
  2021-04-23 20:25     ` Leo Famulari
@ 2021-04-23 22:04       ` Leo Famulari
  2021-04-26 13:58         ` Bone Baboon via Bug reports for GNU Guix
  0 siblings, 1 reply; 13+ messages in thread
From: Leo Famulari @ 2021-04-23 22:04 UTC (permalink / raw)
  To: Bone Baboon; +Cc: 47964

On Fri, Apr 23, 2021 at 04:25:07PM -0400, Leo Famulari wrote:
> To be continued...

Well, I think that all that was a red herring.

I googled your error message:

"No rule to make target 'JavaScriptCore-4.0.gir', needed by 'WebKit2-4.0.gir'.  Stop."

And there are very many results, from many distros, and the answer in
all cases seems to be "Don't build this package with -j1".

I have to agree with that :) It's weird that a build fails with -j1, but
this build takes a long time even with many cores.

The upstream bug report:

https://bugs.webkit.org/show_bug.cgi?id=195251




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

* bug#47964: webkitgtk-2.32.0 build fails
  2021-04-23 22:04       ` Leo Famulari
@ 2021-04-26 13:58         ` Bone Baboon via Bug reports for GNU Guix
  2021-04-26 16:08           ` Leo Famulari
  0 siblings, 1 reply; 13+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-04-26 13:58 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 47964

Leo Famulari writes:
> I googled your error message:
>
> "No rule to make target 'JavaScriptCore-4.0.gir', needed by 'WebKit2-4.0.gir'.  Stop."
>
> And there are very many results, from many distros, and the answer in
> all cases seems to be "Don't build this package with -j1".
>
> I have to agree with that :) It's weird that a build fails with -j1, but
> this build takes a long time even with many cores.
>
> The upstream bug report:
>
> https://bugs.webkit.org/show_bug.cgi?id=195251

Thank you for sharing that.

`guix build --no-substitutes --cores=1 --max-jobs=1 webkitgtk`
`sudo guix system --no-substitutes --cores=1 --max-jobs=1 reconfigure configuration.scm`
These two commands fail to build webkitgtk with the error message
reported previously.  The problem being what you have identified (using
one core).

`sudo guix system --no-substitutes reconfigure configuration.scm`
Fails to build webkitgtk because of what looks like an out of memory
issue.  With "oom_reaper" showing up in /var/log/messages.

`sudo guix system --no-substitutes --cores=2 --max-jobs=1 reconfigure configuration.scm`
This command was successfully able to build webkitgtk.




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

* bug#47964: Closing bug#47964
  2021-04-23  4:46 bug#47964: webkitgtk-2.32.0 build fails Bone Baboon via Bug reports for GNU Guix
  2021-04-23 18:41 ` Leo Famulari
  2021-04-23 21:37 ` Bone Baboon via Bug reports for GNU Guix
@ 2021-04-26 14:52 ` Bone Baboon via Bug reports for GNU Guix
  2 siblings, 0 replies; 13+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-04-26 14:52 UTC (permalink / raw)
  To: 47964-done

Closing bug#47964 because webkitgtk can successfully be built using the
command `sudo guix system --no-substitutes --cores=2 --max-jobs=1
reconfigure configuration.scm`.  The build of webkitgtk is sensitive to
the number of cores used.




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

* bug#47964: webkitgtk-2.32.0 build fails
  2021-04-26 13:58         ` Bone Baboon via Bug reports for GNU Guix
@ 2021-04-26 16:08           ` Leo Famulari
  2021-04-26 16:44             ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2021-04-26 18:25             ` Bone Baboon via Bug reports for GNU Guix
  0 siblings, 2 replies; 13+ messages in thread
From: Leo Famulari @ 2021-04-26 16:08 UTC (permalink / raw)
  To: Bone Baboon; +Cc: 47964

On Mon, Apr 26, 2021 at 09:58:36AM -0400, Bone Baboon wrote:
> `guix build --no-substitutes --cores=1 --max-jobs=1 webkitgtk`
> `sudo guix system --no-substitutes --cores=1 --max-jobs=1 reconfigure configuration.scm`
> These two commands fail to build webkitgtk with the error message
> reported previously.  The problem being what you have identified (using
> one core).
> 
> `sudo guix system --no-substitutes reconfigure configuration.scm`
> Fails to build webkitgtk because of what looks like an out of memory
> issue.  With "oom_reaper" showing up in /var/log/messages.
> 
> `sudo guix system --no-substitutes --cores=2 --max-jobs=1 reconfigure configuration.scm`
> This command was successfully able to build webkitgtk.

Thanks for taking the time to perform all these builds; I'm sure they
took a long time.

I'm guessing that "--cores=2 --max-jobs=1" used fewer threads than the
guix-daemon would normally choose by default on your computer? Like,
maybe you have 4 cores / hyperthreads or something like that?

It's unusual that a program requires multithreaded compilation, but I
wonder if we can add a property to the package definition to require at
least 2 threads when building.




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

* bug#47964: webkitgtk-2.32.0 build fails
  2021-04-26 16:08           ` Leo Famulari
@ 2021-04-26 16:44             ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2021-04-26 17:19               ` Leo Famulari
  2021-04-26 18:25             ` Bone Baboon via Bug reports for GNU Guix
  1 sibling, 1 reply; 13+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2021-04-26 16:44 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 47964, bone.baboon


[-- Attachment #1.1: Type: text/plain, Size: 347 bytes --]

Leo,

Leo Famulari 写道:
> It's unusual that a program requires multithreaded compilation, 
> but I
> wonder if we can add a property to the package definition to 
> require at
> least 2 threads when building.

That's a great idea, although I'm not keen on .*using properties 
for it.

How about this?

Kind regards,

T G-R


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-webkitgtk-Always-use-at-least-2-make-jobs.patch --]
[-- Type: text/x-patch, Size: 1180 bytes --]

From a9ef0c78c6aa60ab49f6fcf4fc6b43afdb6f0183 Mon Sep 17 00:00:00 2001
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Mon, 26 Apr 2021 18:39:58 +0200
Subject: [PATCH] gnu: webkitgtk: Always use at least 2 make jobs.

Fixes <http://issues.guix.gnu.org/47964>.

* gnu/packages/webkit.scm (webkitgtk)[arguments]: Use at least -j2.
---
 gnu/packages/webkit.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index 083c8ccb08..74ffe92b84 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -260,6 +260,9 @@ acceleration in mind, leveraging common 3D graphics APIs for best performance.")
                           ;; now, we explicitly disable it to prevent an error
                           ;; at configuration time.
                           "-DUSE_GSTREAMER_GL=OFF")
+       #:make-flags
+       ;; Never build with unsupported -j1: https://issues.guix.gnu.org/47964#5
+       (list "-j" (number->string (max 2 (parallel-job-count))))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'configure-bubblewrap-store-directory
-- 
2.31.1


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

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

* bug#47964: webkitgtk-2.32.0 build fails
  2021-04-26 16:44             ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2021-04-26 17:19               ` Leo Famulari
  2021-04-27 12:48                 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 1 reply; 13+ messages in thread
From: Leo Famulari @ 2021-04-26 17:19 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: 47964

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

On Mon, Apr 26, 2021 at 06:44:10PM +0200, Tobias Geerinckx-Rice wrote:
> How about this?

> From a9ef0c78c6aa60ab49f6fcf4fc6b43afdb6f0183 Mon Sep 17 00:00:00 2001
> From: Tobias Geerinckx-Rice <me@tobias.gr>
> Date: Mon, 26 Apr 2021 18:39:58 +0200
> Subject: [PATCH] gnu: webkitgtk: Always use at least 2 make jobs.
> 
> Fixes <http://issues.guix.gnu.org/47964>.
> 
> * gnu/packages/webkit.scm (webkitgtk)[arguments]: Use at least -j2.
> ---
>  gnu/packages/webkit.scm | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
> index 083c8ccb08..74ffe92b84 100644
> --- a/gnu/packages/webkit.scm
> +++ b/gnu/packages/webkit.scm
> @@ -260,6 +260,9 @@ acceleration in mind, leveraging common 3D graphics APIs for best performance.")
>                            ;; now, we explicitly disable it to prevent an error
>                            ;; at configuration time.
>                            "-DUSE_GSTREAMER_GL=OFF")
> +       #:make-flags
> +       ;; Never build with unsupported -j1: https://issues.guix.gnu.org/47964#5
> +       (list "-j" (number->string (max 2 (parallel-job-count))))

LGTM

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

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

* bug#47964: webkitgtk-2.32.0 build fails
  2021-04-26 16:08           ` Leo Famulari
  2021-04-26 16:44             ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2021-04-26 18:25             ` Bone Baboon via Bug reports for GNU Guix
  1 sibling, 0 replies; 13+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-04-26 18:25 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 47964

Leo Famulari writes:
> Thanks for taking the time to perform all these builds; I'm sure they
> took a long time.

Thank you for helping me figure out how to build this package.

> I'm guessing that "--cores=2 --max-jobs=1" used fewer threads than the
> guix-daemon would normally choose by default on your computer? Like,
> maybe you have 4 cores / hyperthreads or something like that?

Yes that is correct. On the computer that was having trouble building
webkitgtk there are 4 cores and 8 threads and 8GiB of installed memory.




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

* bug#47964: webkitgtk-2.32.0 build fails
  2021-04-26 17:19               ` Leo Famulari
@ 2021-04-27 12:48                 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 0 replies; 13+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2021-04-27 12:48 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 47964, bone.baboon

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

Leo Famulari 写道:
> LGTM

Thanks Leo!  Pushed as e5c65fb7372e10a2d6531d25f3b7d7c31679a21e.

Kind regards,

T G-R

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

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

end of thread, other threads:[~2021-04-27 12:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-23  4:46 bug#47964: webkitgtk-2.32.0 build fails Bone Baboon via Bug reports for GNU Guix
2021-04-23 18:41 ` Leo Famulari
2021-04-23 20:11   ` Bone Baboon via Bug reports for GNU Guix
2021-04-23 20:25     ` Leo Famulari
2021-04-23 22:04       ` Leo Famulari
2021-04-26 13:58         ` Bone Baboon via Bug reports for GNU Guix
2021-04-26 16:08           ` Leo Famulari
2021-04-26 16:44             ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-04-26 17:19               ` Leo Famulari
2021-04-27 12:48                 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-04-26 18:25             ` Bone Baboon via Bug reports for GNU Guix
2021-04-23 21:37 ` Bone Baboon via Bug reports for GNU Guix
2021-04-26 14:52 ` bug#47964: Closing bug#47964 Bone Baboon via Bug reports for GNU Guix

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git