Package Details: notbit-git r342.faf0930-1

Git Clone URL: https://aur.archlinux.org/notbit-git.git (read-only, click to copy)
Package Base: notbit-git
Description: A minimal Bitmessage client
Upstream URL: https://github.com/bpeel/notbit
Licenses: MIT
Provides: notbit
Submitter: alphazo
Maintainer: None
Last Packager: alphazo
Votes: 6
Popularity: 0.000000
First Submitted: 2013-12-11 20:21 (UTC)
Last Updated: 2015-06-10 14:54 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

Tio commented on 2020-04-11 15:36 (UTC)

Yes it fails in 2020:

ntb-base58.c: In function ‘ntb_base58_encode’:
ntb-base58.c:53:16: error: storage size of ‘val’ isn’t known
   53 |         BIGNUM val;
      |                ^~~
ntb-base58.c:57:9: warning: implicit declaration of function ‘BN_init’ [-Wimplicit-function-declaration]
   57 |         BN_init(&val);
      |         ^~~~~~~
ntb-base58.c:53:16: warning: unused variable ‘val’ [-Wunused-variable]
   53 |         BIGNUM val;
      |                ^~~
ntb-base58.c: In function ‘ntb_base58_decode’:
ntb-base58.c:105:16: error: storage size of ‘val’ isn’t known
  105 |         BIGNUM val;
      |                ^~~
ntb-base58.c:105:16: warning: unused variable ‘val’ [-Wunused-variable]
  CC       ntb-dns-bootstrap.o
make[2]: *** [Makefile:593: ntb-base58.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/pamac-build-tio/notbit-git/src/notbit/src'
make[1]: *** [Makefile:377: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-tio/notbit-git/src/notbit'
make: *** [Makefile:318: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

deathsbreed commented on 2018-12-16 11:29 (UTC) (edited on 2018-12-16 11:30 (UTC) by deathsbreed)

The reason it fails is because although the code base is programmed for openssl v1.0, it was most likely developed in an environment where openssl v1.1 wasn't available yet[0]. Firstly, change the openssl dependency to openssl-1.0, secondly add the CFLAGS=-I/usr/include/openssl-1.0 flag to the ./configure command. With this you shouldn't get compiler errors, but you still get a linker error, and I'm not familiar enough with the GNU autotools to fix this. The ideal would be to get autotools to compile with /usr/lib/libcrypto.so.1.0.0 and /usr/lib/libssl.so.1.0.0.

[0] https://github.com/bpeel/notbit/issues/14

dreieck commented on 2018-05-02 09:52 (UTC)

Fails to build for me:

[...]
make  all-recursive
make[1]: Entering directory '/var/tmp/yaourt-tmp-felics/aur-notbit-git/src/notbit'
Making all in doc
make[2]: Entering directory '/var/tmp/yaourt-tmp-felics/aur-notbit-git/src/notbit/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/var/tmp/yaourt-tmp-felics/aur-notbit-git/src/notbit/doc'
Making all in src
make[2]: Entering directory '/var/tmp/yaourt-tmp-felics/aur-notbit-git/src/notbit/src'
  CC       ntb-address.o
  CC       ntb-base58.o
ntb-base58.c: In function ‘ntb_base58_encode’:
ntb-base58.c:53:16: error: storage size of ‘val’ isn’t known
         BIGNUM val;
                ^~~
ntb-base58.c:57:9: warning: implicit declaration of function ‘BN_init’; did you mean ‘BN_print’? [-Wimplicit-function-declaration]
         BN_init(&val);
         ^~~~~~~
         BN_print
ntb-base58.c:53:16: warning: unused variable ‘val’ [-Wunused-variable]
         BIGNUM val;
                ^~~
ntb-base58.c: In function ‘ntb_base58_decode’:
ntb-base58.c:105:16: error: storage size of ‘val’ isn’t known
         BIGNUM val;
                ^~~
ntb-base58.c:105:16: warning: unused variable ‘val’ [-Wunused-variable]
make[2]: *** [Makefile:562: ntb-base58.o] Error 1
make[2]: Leaving directory '/var/tmp/yaourt-tmp-felics/aur-notbit-git/src/notbit/src'
make[1]: *** [Makefile:377: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/yaourt-tmp-felics/aur-notbit-git/src/notbit'
make: *** [Makefile:318: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

alphazo commented on 2014-05-27 12:40 (UTC)

Thanks @npouillard. PKGBUILD has been updated.

npouillard commented on 2014-04-18 12:34 (UTC)

A few comments summarized in this gist https://gist.github.com/np/11041763: url="https://github.com/bpeel/notbit" source=("git+https://github.com/bpeel/notbit.git") license=('MIT')

bobberb commented on 2014-03-24 19:15 (UTC)

This pkgbuild should work http://ix.io/bfJ