4pkのLinuxメモ

Linux(主にGentoo Linux)に関するメモを書き残すブログです。

mate-terminal-1.22.0のエラー対処

mate-terminalのemergeで下記のエラーが出た場合の対処法

 

libtool: link: x86_64-pc-linux-gnu-gcc -pthread -I/usr/include/vte-2.91 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/libdrm -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/dconf -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -march=native -O2 -pipe -Wl,-O1 -o mate-terminal mate_terminal-eggshell.o mate_terminal-profile-editor.o mate_terminal-terminal.o mate_terminal-terminal-accels.o mate_terminal-terminal-app.o mate_terminal-terminal-close-button.o mate_terminal-terminal-debug.o mate_terminal-terminal-encoding.o mate_terminal-terminal-info-bar.o mate_terminal-terminal-options.o mate_terminal-terminal-profile.o mate_terminal-terminal-screen.o mate_terminal-terminal-screen-container.o mate_terminal-terminal-search-dialog.o mate_terminal-terminal-tab-label.o mate_terminal-terminal-tabs-menu.o mate_terminal-terminal-util.o mate_terminal-terminal-window.o mate_terminal-skey-popup.o mate_terminal-eggdesktopfile.o mate_terminal-eggsmclient.o mate_terminal-eggsmclient-xsmp.o mate_terminal-terminal-marshal.o mate_terminal-terminal-type-builtins.o -pthread -lICE -Wl,--as-needed skey/.libs/libskey.a -lvte-2.91 -lz -lpcre2-8 -lgnutls -lgthread-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -ldconf -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lX11 -lSM -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libgnutls.so: undefined reference to `_idn2_punycode_decode@IDN2_0.0.0'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:674: mate-terminal] Error 1
make[4]: Leaving directory '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/work/mate-terminal-1.22.0/src'
make[3]: *** [Makefile:1146: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/work/mate-terminal-1.22.0/src'
make[2]: *** [Makefile:585: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/work/mate-terminal-1.22.0/src'
make[1]: *** [Makefile:653: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/work/mate-terminal-1.22.0'
make: *** [Makefile:463: all] Error 2
* ERROR: x11-terms/mate-terminal-1.22.0::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=x11-terms/mate-terminal-1.22.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-terms/mate-terminal-1.22.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/temp/environment'.
* Working directory: '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/work/mate-terminal-1.22.0'
* S: '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/work/mate-terminal-1.22.0'

>>> Failed to emerge x11-terms/mate-terminal-1.22.0, Log file:

>>> '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/temp/build.log'

* Messages for package x11-terms/mate-terminal-1.22.0:

* ERROR: x11-terms/mate-terminal-1.22.0::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=x11-terms/mate-terminal-1.22.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-terms/mate-terminal-1.22.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/temp/environment'.
* Working directory: '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/work/mate-terminal-1.22.0'
* S: '/var/tmp/portage/x11-terms/mate-terminal-1.22.0/work/mate-terminal-1.22.0'

 

 

gnutlsを更新する。

emerge guntls

 

参考

https://forums.gentoo.org/viewtopic-t-1094572-start-0.html