[Slackbuilds-users] weechat build issues

Matteo Bernardini matteo.bernardini at gmail.com
Mon Jun 10 16:02:52 UTC 2019


Il giorno lun 10 giu 2019 alle ore 16:51 MDrights
<psychi2009 at gmail.com> ha scritto:
>
> Hi guys,
>
> I found weechat build failure for a couple of times recently on a couple
> of my Slackware 14.2 VMs (even a very fresh built vm).
>
> The failure happened after I upgraded gnutls in the official patch directory to 3.6.7. I think I should upgrade to this version (for security reasons, no?)
> Weechat should support this version of gnutls, I guess.
>
> This is the error log:
> ================================
>
> [ 92%Building C object
> src/gui/curses/normal/CMakeFiles/weechat_gui_curses_normal.dir/__/gui-curses-mouse.c.o
> [ 93%Building C object
> src/gui/curses/normal/CMakeFiles/weechat_gui_curses_normal.dir/__/gui-curses-term.c.o
> [ 93%Building C object
> src/gui/curses/normal/CMakeFiles/weechat_gui_curses_normal.dir/__/gui-curses-window.c.o
> [ 93%Linking C static library libweechat_gui_curses_normal.a
> [ 93%Built target weechat_gui_curses_normal
> Scanning dependencies of target weechat
> [ 93%Building C object
> src/gui/curses/normal/CMakeFiles/weechat.dir/main.c.o
> [ 94%Linking C executable weechat
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_get_secp_192r1 at HOGWEED_4'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_get_secp_256r1 at HOGWEED_4'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_rsa_pss_sha384_verify_digest at HOGWEED_4'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_rsa_pss_sha384_sign_digest_tr at HOGWEED_4'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_get_secp_384r1 at HOGWEED_4'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_get_secp_224r1 at HOGWEED_4'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_hkdf_expand at NETTLE_6'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_cfb_decrypt at NETTLE_6'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_get_secp_521r1 at HOGWEED_4'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_rsa_pss_sha512_sign_digest_tr at HOGWEED_4'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_rsa_pss_sha256_verify_digest at HOGWEED_4'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_rsa_pss_sha512_verify_digest at HOGWEED_4'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_rsa_pss_sha256_sign_digest_tr at HOGWEED_4'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_cfb_encrypt at NETTLE_6'
> /usr/lib64/libgnutls.so: undefined reference to
> `nettle_rsa_sec_decrypt at HOGWEED_4'
> collect2: error: ld returned 1 exit status
> src/gui/curses/normal/CMakeFiles/weechat.dir/build.make:104: recipe for
> target 'src/gui/curses/normal/weechat' failed
> make[2: *** [src/gui/curses/normal/weechatError 1
> CMakeFiles/Makefile2:2051: recipe for target 'src/gui/curses/normal/CMakeFiles/weechat.dir/all' failed
> make[1: *** [src/gui/curses/normal/CMakeFiles/weechat.dir/allError 2
> Makefile:149: recipe for target 'all' failed
> make: *** [allError 2
>
> ================================
>
> Any idea is appreciated!
> Many thanks
>
> MDrights

could it be you are applying just some of the updates in /patches? I'm
saying this because nettle has been updated too there...
you should apply *EVERY* update in patches if you don't want any trouble.

Matteo


More information about the SlackBuilds-users mailing list