Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2019 19:04:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241232] math/libtommath - port must set dependency on libtommath to be usable
Message-ID:  <bug-241232-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241232

            Bug ID: 241232
           Summary: math/libtommath - port must set dependency on
                    libtommath to be usable
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gahr@FreeBSD.org
          Reporter: samm@os2.kiev.ua
          Assignee: gahr@FreeBSD.org
             Flags: maintainer-feedback?(gahr@FreeBSD.org)

I found a build error on security/stoken port. When i was looking for the r=
oot
cause - i found that usability check of the libtomcrypt failed due to
unsatisfied dependency:

configure:13576: checking if libtomcrypt is usable
configure:13592: cc -o conftest -O2 -pipe  -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -DLTM_DESC -isystem /usr/local/inc=
lude
-fstack-protector-strong  conftest.c -L/usr/local/lib -L/usr/local/lib
-ltomcrypt  >&5
/usr/bin/ld: warning: libtommath.so.1, needed by /usr/local/lib/libtomcrypt=
.so,
not found (try using -rpath or -rpath-link)
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_prime_is_prime'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_mulmod'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_mul_d'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_div_2'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_sqrmod'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_copy'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_cnt_lsb'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_sqr'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_to_unsigned_bin'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_invmod'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_exptmod'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_mul'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_add_d'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_montgomery_reduce'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_submod'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_mod_d'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_sub'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_gcd'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_div'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_clear'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_get_int'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_montgomery_setup'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_cmp'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_read_radix'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_count_bits'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_add'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_addmod'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_lcm'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_rand'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_unsigned_bin_size'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_read_unsigned_bin'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_toradix'
/usr/local/lib/libtomcrypt.so: undefined reference to `mp_set_int'


I think that libtomcrypt port should set dependency on libtommath to avoid =
such
errors

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241232-7788>