Package Details: ib-tws 1:10.29.1f-2

Git Clone URL: https://aur.archlinux.org/ib-tws.git (read-only, click to copy)
Package Base: ib-tws
Description: Electronic trading platform from discount brokerage firm Interactive Brokers (IBKR)
Upstream URL: http://interactivebrokers.com/
Licenses: custom
Submitter: benalexau
Maintainer: benalexau
Last Packager: benalexau
Votes: 40
Popularity: 0.84
First Submitted: 2013-01-30 06:21 (UTC)
Last Updated: 2024-05-11 21:51 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 20 Next › Last »

shimi commented on 2022-09-20 20:39 (UTC)

Not sure why but I get the JRE error with the new fixed PKGBUILD. If I remove the new /* then it builds without issue.

benalexau commented on 2022-09-06 21:58 (UTC)

Thanks @blueowl. I have updated the PKGBUILD with your fix.

blueowl commented on 2022-09-06 08:24 (UTC) (edited on 2022-09-06 08:25 (UTC) by blueowl)

I've got the same error as @C_Schmidpeter. The JRE location is not properly expanded.

The JRE is not directly in /home/user/.local/share/i4j_jres/Oda-jK0QgTEmVssfllLP, but contains JRE version directory as well - /home/user/.local/share/i4j_jres/Oda-jK0QgTEmVssfllLP/1.8.0_202_64

Here is a fix:

--- PKGBUILD.old        2022-09-06 10:12:28.092309817 +0200
+++ PKGBUILD    2022-09-06 10:02:18.662334300 +0200
@@ -46,7 +46,7 @@
     echo "java.home JRE location could not be found in the log"
     exit 1
   fi
-  BUNDLED_JRE_LOCATION=$(echo ${BUNDLED_JRE_LOCATION}*)
+  BUNDLED_JRE_LOCATION=$(echo ${BUNDLED_JRE_LOCATION}*/*)
   echo "java.home JRE location expanded to ${BUNDLED_JRE_LOCATION}"

if [ ! -f "${BUNDLED_JRE_LOCATION}/bin/java" ]; then

uli commented on 2022-07-28 11:16 (UTC)

did it for me. validity check for tws-10.16.1o-standalone-linux-x64.sh replace the last entry in the pkg build file with: '432a20a3ec280bbcc68aa7c155f7c038d737f0fc6d95cad829ece3d30581a2f0'

Kewl commented on 2022-07-28 08:25 (UTC) (edited on 2022-07-28 08:25 (UTC) by Kewl)

tws-10.16.1o-standalone-linux-x64.sh fails the validity check

C_Schmidpeter commented on 2022-06-27 14:23 (UTC)

Thanks for the fix. Despite running 'rm -rf /home/user/.local/share/i4j_jres' as pointed out by @benalexau, I get this error now though:

Finishing installation ... java.home JRE location expanded to /home/vbm/.local/share/i4j_jres/Oda-jK0QgTEmVssfllLP java.home JRE location did not contain java; finding log entry which installed java Could not find bundled JRE installation entry in log

C_Schmidpeter commented on 2022-06-26 10:36 (UTC)

The error

ERROR: One or more files did not pass the validity check!

happens still/again when trying to build.

benalexau commented on 2022-06-10 02:23 (UTC)

@MarsSeed, did you get it installed in the end? It is unfortunate the Interactive Brokers installer makes so many changes outside the build directory. There is no other way of extracting the required files unfortunately.

Re ffmpeg, if you search through the comments you can see between 2018 and 2020 various packages were tried. I don't use audio with IB Gateway so I cannot confirm what works and what doesn't. The last person who confirmed something worked stated ffmpeg-compat-55, so that's what it is at present. If you confirm a different package works, I am happy to update the PKGBUILD.

MarsSeed commented on 2022-06-09 17:03 (UTC)

Also, running the first time, it generated some kind of log searching for different versions of libav or libavcodec/ffmpeg, but didn't find any.

The latest version it tried to find was libav-ffmpeg-57 (or libavcodec-ffmpeg-57, I don't remember exactly).

Based on this, it should in theory work with the much newer optdepends=ffmpeg3.4 (updated last month), and does not need the very old and somewhat broken ffmpeg-compat-55 (EOL, last update released in 2015).

MarsSeed commented on 2022-06-09 16:55 (UTC)

Building this package makes a lot of uncontrolled changes to the system, it writes to ~/{myusername}, ~/.config, ~.local/share, ~/.gnome, also to the configured tar source directory of makepkg. It installs a JRE under somewhere in ~/ (~ is shorthand for /home/{myusername}/).

And the second time I ran the build again, it dit much less a the first time, even though I've deleted everything from the PKGBUILD's src and pkg directories.