Subject: vim-full fails to build
From: Alex <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Tue, 16 Feb 2021 23:49:33 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello all.

I encountered issue recently with upgrading and (later) clean install of vim-full.

How to reproduce:

$ guix install vim-full

The following package will be installed:
vim-full 8.2.2067

The following derivation will be built:
/gnu/store/nszargr9s510lfr0680mkg4m4lfimwcd-vim-full-8.2.2067.drv

building /gnu/store/nszargr9s510lfr0680mkg4m4lfimwcd-vim-full-8.2.2067.drv...
| 'build' phasebuilder for `/gnu/store/nszargr9s510lfr0680mkg4m4lfimwcd-vim-full-8.2.2067.drv' failed with exit code 1
build of /gnu/store/nszargr9s510lfr0680mkg4m4lfimwcd-vim-full-8.2.2067.drv failed
View build log at '/var/log/guix/drvs/ns/zargr9s510lfr0680mkg4m4lfimwcd-vim-full-8.2.2067.drv.bz2'.
guix install: error: build of `/gnu/store/nszargr9s510lfr0680mkg4m4lfimwcd-vim-full-8.2.2067.drv' failed

$ bzcat /var/log/guix/drvs/ns/zargr9s510lfr0680mkg4m4lfimwcd-vim-full-8.2.2067.drv.bz2

/gnu/store/4vmhbc31cpbnlw3c96kcc094ihmaf7dv-glib-2.62.6/include/glib-2.0/glib/gtypes.h:551:8: note: declared here
struct _GTimeVal
^~~~~~~~~
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
NOTE: build date/time is fixed: Jan 01 1970 00:00:01
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
gcc -L/gnu/store/dkm59bch3zdnhsxdqv13gvx7sf9h0zp0-atk-2.34.1/lib -L/gnu/store/na0x00biq02fm5cyj5a8r67qwsnsskw8-cairo-1.16.0/lib -L/gnu/store/skxf0dmvgrw84pb2yzi1g1hwn0swv9kx-fontconfig-2.13.1/lib -L/gnu/store/j3f5hx6yvhlj3sapiipigkwg05b49nwn-freetype-2.10.4/lib -L/gnu/store/0676qmb2pdi3kh37sjgba3g826sqzfsk-gdk-pixbuf-2.40.0/lib -L/gnu/store/4vmhbc31cpbnlw3c96kcc094ihmaf7dv-glib-2.62.6/lib -L/gnu/store/k08vj9aph9989qv6pxfqp6ikvz54p3l3-gtk+-2.24.32/lib -L/gnu/store/rfdjzqvdawlz68ikd7zqn325h7xs716j-harfbuzz-2.6.4/lib -L/gnu/store/6afij9jsvy30gk0yswd1n5f3xg5wx9mj-pango-1.44.7/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2/lib/perl5/5.30.2/x86_64-linux-thread-multi/CORE -Wl,--as-needed -o vim objects/arabic.o objects/arglist.o objects/autocmd.o objects/beval.o objects/buffer.o objects/change.o objects/blob.o objects/blowfish.o objects/cindent.o objects/clientserver.o objects/clipboard.o objects/cmdexpand.o objects/cmdhist.o objects/crypt.o objects/crypt_zip.o objects/debugger.o objects/dict.o objects/diff.o objects/digraph.o objects/drawline.o objects/drawscreen.o objects/edit.o objects/eval.o objects/evalbuffer.o objects/evalfunc.o objects/evalvars.o objects/evalwindow.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/filepath.o objects/findfile.o objects/fold.o objects/getchar.o objects/gui_xim.o objects/hardcopy.o objects/hashtab.o objects/help.o objects/highlight.o objects/if_cscope.o objects/if_xcmdsrv.o objects/indent.o objects/insexpand.o objects/list.o objects/locale.o objects/map.o objects/mark.o objects/match.o objects/mbyte.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/mouse.o objects/move.o objects/normal.o objects/ops.o objects/option.o objects/optionstr.o objects/os_unix.o objects/pathdef.o objects/popupmenu.o objects/popupwin.o objects/profiler.o objects/pty.o objects/quickfix.o objects/regexp.o objects/register.o objects/screen.o objects/scriptfile.o objects/search.o objects/session.o objects/sha256.o objects/sign.o objects/sound.o objects/spell.o objects/spellfile.o objects/spellsuggest.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/testing.o objects/textformat.o objects/textobject.o objects/textprop.o objects/time.o objects/typval.o objects/ui.o objects/undo.o objects/usercmd.o objects/userfunc.o objects/version.o objects/vim9compile.o objects/vim9execute.o objects/vim9script.o objects/vim9type.o objects/viminfo.o objects/window.o objects/bufwrite.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/gui_gtk_f.o objects/gui_beval.o objects/vterm_encoding.o objects/vterm_keyboard.o objects/vterm_mouse.o objects/vterm_parser.o objects/vterm_pen.o objects/vterm_screen.o objects/vterm_state.o objects/vterm_unicode.o objects/vterm_vterm.o objects/if_lua.o objects/if_perl.o objects/if_perlsfio.o objects/if_python3.o objects/if_tcl.o objects/if_ruby.o objects/netbeans.o objects/job.o objects/channel.o objects/xdiffi.o objects/xemit.o objects/xprepare.o objects/xutils.o objects/xhistogram.o objects/xpatience.o objects/charset.o objects/json.o objects/main.o objects/memfile.o objects/message.o -L/gnu/store/dkm59bch3zdnhsxdqv13gvx7sf9h0zp0-atk-2.34.1/lib -L/gnu/store/na0x00biq02fm5cyj5a8r67qwsnsskw8-cairo-1.16.0/lib -L/gnu/store/skxf0dmvgrw84pb2yzi1g1hwn0swv9kx-fontconfig-2.13.1/lib -L/gnu/store/j3f5hx6yvhlj3sapiipigkwg05b49nwn-freetype-2.10.4/lib -L/gnu/store/0676qmb2pdi3kh37sjgba3g826sqzfsk-gdk-pixbuf-2.40.0/lib -L/gnu/store/4vmhbc31cpbnlw3c96kcc094ihmaf7dv-glib-2.62.6/lib -L/gnu/store/k08vj9aph9989qv6pxfqp6ikvz54p3l3-gtk+-2.24.32/lib -L/gnu/store/rfdjzqvdawlz68ikd7zqn325h7xs716j-harfbuzz-2.6.4/lib -L/gnu/store/6afij9jsvy30gk0yswd1n5f3xg5wx9mj-pango-1.44.7/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses -lacl -lattr -lgpm -ldl -L/gnu/store/xxjq7mdik77m01qxbrryg56s66ya0pb3-lua-5.3.5/lib -llua -Wl,-E -Wl,-rpath,/gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2/lib/perl5/5.30.2/x86_64-linux-thread-multi/CORE -fstack-protector-strong -L/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib -L/gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2/lib/perl5/5.30.2/x86_64-linux-thread-multi/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc -L/gnu/store/rz42ba0my9vrgbkjpkzr2drmnjk5ah50-python-3.8.2/lib/python3.8/config-3.8-x86_64-linux-gnu -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm -L/gnu/store/9jznxb2f5s46yr8fmppigiad0fyh4b4p-tcl-8.6.10/lib -ltcl8.6 -ldl -lpthread -lm -Wl,-rpath,/gnu/store/rn3jj8hvi4clw6pwkk83j5j962m1a9n1-ruby-2.6.5/lib -L/gnu/store/rn3jj8hvi4clw6pwkk83j5j962m1a9n1-ruby-2.6.5/lib -lruby -lm
ld: /gnu/store/rz42ba0my9vrgbkjpkzr2drmnjk5ah50-python-3.8.2/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): undefined reference to symbol 'XML_FreeContentModel'
ld: /gnu/store/imh5xxqw10dql4crlngbbjh4r24raf4j-expat-2.2.9/lib/libexpat.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
link.sh: Linking failed
make[1]: *** [Makefile:2134: vim] Error 1
make[1]: Leaving directory '/tmp/guix-build-vim-full-8.2.2067.drv-0/source/src'
make: *** [Makefile:29: first] Error 2
command "make" "-j" "4" "CFLAGS=-D_REENTRANT" failed with status 2
aco@gnoo ~$ bzcat /var/log/guix/drvs/ns/zargr9s510lfr0680mkg4m4lfimwcd-vim-full-8.2.2067.drv.bz2 | tail
link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
gcc -L/gnu/store/dkm59bch3zdnhsxdqv13gvx7sf9h0zp0-atk-2.34.1/lib -L/gnu/store/na0x00biq02fm5cyj5a8r67qwsnsskw8-cairo-1.16.0/lib -L/gnu/store/skxf0dmvgrw84pb2yzi1g1hwn0swv9kx-fontconfig-2.13.1/lib -L/gnu/store/j3f5hx6yvhlj3sapiipigkwg05b49nwn-freetype-2.10.4/lib -L/gnu/store/0676qmb2pdi3kh37sjgba3g826sqzfsk-gdk-pixbuf-2.40.0/lib -L/gnu/store/4vmhbc31cpbnlw3c96kcc094ihmaf7dv-glib-2.62.6/lib -L/gnu/store/k08vj9aph9989qv6pxfqp6ikvz54p3l3-gtk+-2.24.32/lib -L/gnu/store/rfdjzqvdawlz68ikd7zqn325h7xs716j-harfbuzz-2.6.4/lib -L/gnu/store/6afij9jsvy30gk0yswd1n5f3xg5wx9mj-pango-1.44.7/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2/lib/perl5/5.30.2/x86_64-linux-thread-multi/CORE -Wl,--as-needed -o vim objects/arabic.o objects/arglist.o objects/autocmd.o objects/beval.o objects/buffer.o objects/change.o objects/blob.o objects/blowfish.o objects/cindent.o objects/clientserver.o objects/clipboard.o objects/cmdexpand.o objects/cmdhist.o objects/crypt.o objects/crypt_zip.o objects/debugger.o objects/dict.o objects/diff.o objects/digraph.o objects/drawline.o objects/drawscreen.o objects/edit.o objects/eval.o objects/evalbuffer.o objects/evalfunc.o objects/evalvars.o objects/evalwindow.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/filepath.o objects/findfile.o objects/fold.o objects/getchar.o objects/gui_xim.o objects/hardcopy.o objects/hashtab.o objects/help.o objects/highlight.o objects/if_cscope.o objects/if_xcmdsrv.o objects/indent.o objects/insexpand.o objects/list.o objects/locale.o objects/map.o objects/mark.o objects/match.o objects/mbyte.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/mouse.o objects/move.o objects/normal.o objects/ops.o objects/option.o objects/optionstr.o objects/os_unix.o objects/pathdef.o objects/popupmenu.o objects/popupwin.o objects/profiler.o objects/pty.o objects/quickfix.o objects/regexp.o objects/register.o objects/screen.o objects/scriptfile.o objects/search.o objects/session.o objects/sha256.o objects/sign.o objects/sound.o objects/spell.o objects/spellfile.o objects/spellsuggest.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/testing.o objects/textformat.o objects/textobject.o objects/textprop.o objects/time.o objects/typval.o objects/ui.o objects/undo.o objects/usercmd.o objects/userfunc.o objects/version.o objects/vim9compile.o objects/vim9execute.o objects/vim9script.o objects/vim9type.o objects/viminfo.o objects/window.o objects/bufwrite.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/gui_gtk_f.o objects/gui_beval.o objects/vterm_encoding.o objects/vterm_keyboard.o objects/vterm_mouse.o objects/vterm_parser.o objects/vterm_pen.o objects/vterm_screen.o objects/vterm_state.o objects/vterm_unicode.o objects/vterm_vterm.o objects/if_lua.o objects/if_perl.o objects/if_perlsfio.o objects/if_python3.o objects/if_tcl.o objects/if_ruby.o objects/netbeans.o objects/job.o objects/channel.o objects/xdiffi.o objects/xemit.o objects/xprepare.o objects/xutils.o objects/xhistogram.o objects/xpatience.o objects/charset.o objects/json.o objects/main.o objects/memfile.o objects/message.o -L/gnu/store/dkm59bch3zdnhsxdqv13gvx7sf9h0zp0-atk-2.34.1/lib -L/gnu/store/na0x00biq02fm5cyj5a8r67qwsnsskw8-cairo-1.16.0/lib -L/gnu/store/skxf0dmvgrw84pb2yzi1g1hwn0swv9kx-fontconfig-2.13.1/lib -L/gnu/store/j3f5hx6yvhlj3sapiipigkwg05b49nwn-freetype-2.10.4/lib -L/gnu/store/0676qmb2pdi3kh37sjgba3g826sqzfsk-gdk-pixbuf-2.40.0/lib -L/gnu/store/4vmhbc31cpbnlw3c96kcc094ihmaf7dv-glib-2.62.6/lib -L/gnu/store/k08vj9aph9989qv6pxfqp6ikvz54p3l3-gtk+-2.24.32/lib -L/gnu/store/rfdjzqvdawlz68ikd7zqn325h7xs716j-harfbuzz-2.6.4/lib -L/gnu/store/6afij9jsvy30gk0yswd1n5f3xg5wx9mj-pango-1.44.7/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses -lacl -lattr -lgpm -ldl -L/gnu/store/xxjq7mdik77m01qxbrryg56s66ya0pb3-lua-5.3.5/lib -llua -Wl,-E -Wl,-rpath,/gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2/lib/perl5/5.30.2/x86_64-linux-thread-multi/CORE -fstack-protector-strong -L/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/lib -L/gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2/lib/perl5/5.30.2/x86_64-linux-thread-multi/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc -L/gnu/store/rz42ba0my9vrgbkjpkzr2drmnjk5ah50-python-3.8.2/lib/python3.8/config-3.8-x86_64-linux-gnu -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm -L/gnu/store/9jznxb2f5s46yr8fmppigiad0fyh4b4p-tcl-8.6.10/lib -ltcl8.6 -ldl -lpthread -lm -Wl,-rpath,/gnu/store/rn3jj8hvi4clw6pwkk83j5j962m1a9n1-ruby-2.6.5/lib -L/gnu/store/rn3jj8hvi4clw6pwkk83j5j962m1a9n1-ruby-2.6.5/lib -lruby -lm
ld: /gnu/store/rz42ba0my9vrgbkjpkzr2drmnjk5ah50-python-3.8.2/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(pyexpat.o): undefined reference to symbol 'XML_FreeContentModel'
ld: /gnu/store/imh5xxqw10dql4crlngbbjh4r24raf4j-expat-2.2.9/lib/libexpat.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
link.sh: Linking failed
make[1]: *** [Makefile:2134: vim] Error 1
make[1]: Leaving directory '/tmp/guix-build-vim-full-8.2.2067.drv-0/source/src'
make: *** [Makefile:29: first] Error 2
command "make" "-j" "4" "CFLAGS=-D_REENTRANT" failed with status 2

Thank you,

Alex