Package Details: ta-lib 0.4.0-5

Git Clone URL: (read-only, click to copy)
Package Base: ta-lib
Description: A library providing common functions for the technical analysis of financial market data
Upstream URL:
Licenses: BSD
Submitter: None
Maintainer: xsmile (drbaiton)
Last Packager: drbaiton
Votes: 23
Popularity: 0.013670
First Submitted: 2007-04-28 05:53 (UTC)
Last Updated: 2021-05-15 18:43 (UTC)

Latest Comments

1 2 Next › Last »

King_DuckZ commented on 2022-08-19 17:59 (UTC) (edited on 2022-08-19 18:00 (UTC) by King_DuckZ)

It worked for me on aarch64 after applying this patch:

--- ta-lib/PKGBUILD     2021-05-15 20:42:36.000000000 +0200
+++ ta-lib_patched/PKGBUILD     2022-08-19 14:52:20.591050188 +0200
@@ -7,15 +7,19 @@
 pkgdesc='A library providing common functions for the technical analysis of financial market data'
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'aarch64')
-       "fix-werror-format-security.patch"
-        'LICENSE')
+        "fix-werror-format-security.patch"
+        'LICENSE'
+        'config.guess'
+        'config.sub')
-        '2aa3764f7cb2e75177280897d7f56fb8'
-         '38c1c6fdece39f5f1199d74ebf7f29bf')
+         '2aa3764f7cb2e75177280897d7f56fb8'
+         '38c1c6fdece39f5f1199d74ebf7f29bf'
+         '7656db1151b730dc6c51cbfa83136071'
+         'c870710b390d8133783e8547a63bd2e8')

 prepare() {
   cd "$srcdir/$pkgname"
@@ -23,13 +27,16 @@
   patch -Np1 -i "$srcdir/$pkgname-$pkgver-asneeded.patch"
   patch -Np1 -i "$srcdir/fix-werror-format-security.patch"
+  rm -fv config.guess && cp "$srcdir/config.guess" .
+  rm -fv config.sub && cp "$srcdir/config.sub" .

 build() {
   cd "$srcdir/$pkgname"

   ./configure --prefix=/usr
-  make
+  make -j1

 package() {

with the config.guess and config.sub downloaded from savannah as suggested by the config script itself:*checkout*/config/config/config.guess*checkout*/config/config/config.sub

AchmadFathoni commented on 2022-03-19 17:13 (UTC) (edited on 2022-03-19 17:14 (UTC) by AchmadFathoni)

Thanks @JimmyAllnighter, it works. I suggest just change line 32 in PKGBUILD to

make -j1

is enough and localized so it doesn't affect other compilation.

JimmyAllnighter commented on 2022-03-19 10:58 (UTC)

Found the cause of this error:

mv: cannot stat '.deps/gen_code-gen_code.Tpo': No such file or directory

It can be fixed by disabling parallel jobs in MAKEFLAGS.

ie. MAKEFLAGS="-j1"

I am not familiar with how make works, so there is probably a better way of setting that flag, but to just get ta-lib building I modified the MAKEFLAGS line in /etc/makepkg.conf temporarily.

Solution was found here.

Additionally, this seems like the sort of thing that should be reported (at least according to the makepkg wiki page)

This is my first 'contribution' to the AUR community. Hope this helped.

AchmadFathoni commented on 2022-01-22 11:01 (UTC)

Got this error:

/bin/sh ../../../libtool --tag=CC   --mode=link gcc  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat         -fstack-clash-protection -fcf-protection -L../../ta_common -L../../ta_abstract -L../../ta_func -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o gen_code gen_code-gen_code.o -lta_common -lta_abstract_gc -lta_func -lm -lpthread -ldl 
mv -f .deps/gen_code-gen_code.Tpo .deps/gen_code-gen_code.Po
mv: cannot stat '.deps/gen_code-gen_code.Tpo': No such file or directory

xsmile commented on 2021-05-15 09:45 (UTC)

Thanks for the patch and the offer. I added you as a co-maintainer.

drbaiton commented on 2021-05-15 07:56 (UTC)

Found compilation errors due to -Werror=format-security new default compilation parameter from, I suppose, autoconf/automake.

Fixed 2 format strings, added small patch

Can be merged from:

Also: I'm OK to co-maintain, if you need it.

Have a good day ;)

xsmile commented on 2017-09-12 12:16 (UTC)

@dkasak: Being a co-maintainer is the better solution, as I can't tell if I will be actively using ta-lib either. I will push the changes soon, thank you.

dkasak commented on 2017-09-12 11:59 (UTC) (edited on 2017-09-12 12:00 (UTC) by dkasak)

@xsmile, nice! I don't have time right now to apply and test your patch. I also don't actively use ta-lib anymore. Would you care to take over ownership of the package? Update: I've added you as a co-maintainer for now so you can apply your changes.

xsmile commented on 2017-09-12 09:41 (UTC)

I modified the PKGBUILD to adress following issues: - changed Sourceforge download URL, the download failed - adeed patch from Gentoo to fix math library and parallel build