Package Details: portfolio 0.71.2-1

Git Clone URL: https://aur.archlinux.org/portfolio.git (read-only, click to copy)
Package Base: portfolio
Description: Track your portfolio performance (finance)
Upstream URL: https://github.com/portfolio-performance/portfolio
Licenses: EPL
Submitter: Cobra
Maintainer: Cobra
Last Packager: Cobra
Votes: 40
Popularity: 0.51
First Submitted: 2015-11-08 10:45 (UTC)
Last Updated: 2024-10-04 10:35 (UTC)

Dependencies (6)

Required by (0)

Sources (2)

Pinned Comments

Cobra commented on 2023-08-19 13:34 (UTC)

Thanks to Bevan, we now have a simple and elegant (compared to my attempt) workaround that lets the PKGBUILD download and use the most recent version of maven (currently 3.9.4). Should not need any intervention from you. :)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 Next › Last »

urboro commented on 2021-01-11 18:09 (UTC) (edited on 2021-01-11 19:26 (UTC) by urboro)

It seems like Java 8 is not supported any more. Minimum requirement (and maybe only supported version?) seems to be 11.

https://github.com/buchen/portfolio/issues/1964

I experienced build errors and then found the above issue. I had to modify the line 35 in PKGBUILD

export JAVA_HOME=$(archlinux-java-run --min 8 --max 14 --java-home)

in order to avoid java 8 and java 14, because both caused build failures for me.

Barqu commented on 2020-11-01 12:56 (UTC)

It's a upstream error coming from my time zone. When I switch to German time zone, it works. I have reported the error in the forum from portfolio perfomance.

tinxy commented on 2020-11-01 10:21 (UTC) (edited on 2020-11-01 10:22 (UTC) by tinxy)

Actually, I just built the update flawlessly.

(I clicked the wrong button before and portfolio did a self-update so I had to locate the files and purge them before upgrading via AUR. For the record: they are located under '~/.eclipse'.)

Barqu commented on 2020-11-01 10:19 (UTC)

Unfortunately same error message when building at other time e. g. now. But maybe it is because of weekend and stock exchange markets are closed. Will try again tomorrow.

tinxy commented on 2020-11-01 09:27 (UTC) (edited on 2020-11-01 09:31 (UTC) by tinxy)

Being currently too lazy to build archlinux-java-run just for this build process, I dropped it from makedepends locally.

So still with Java 14.0.2 as my default JDK I encountered no problems during build.

I would suggest you tried the build process again, maybe the Yahoo Finance data changed during the process (or did not change in time) as you seem to have built close to 0:00 (your msg was posted at 1:02). Just a wild guess, though. Context being: a test failed that used Yahoo Finance data.

Barqu commented on 2020-11-01 01:02 (UTC)

I am getting this failure during building:


Results:

Failures: 
  YahooFinanceQuoteFeedTest.testGetLatestQuoteValid:53 
Expected: is <2020-04-20>
     but: was <2020-04-21>

Tests run: 853, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Portfolio Performance 0.49.0:
[INFO] 
[INFO] Portfolio Performance .............................. SUCCESS [  0.455 s]
[INFO] portfolio-target-definition ........................ SUCCESS [  0.268 s]
[INFO] name.abuchen.portfolio ............................. SUCCESS [ 16.359 s]
[INFO] name.abuchen.portfolio.tests ....................... FAILURE [ 25.150 s]
[INFO] name.abuchen.portfolio.ui .......................... SKIPPED
[INFO] name.abuchen.portfolio.ui.tests .................... SKIPPED
[INFO] name.abuchen.portfolio.bootstrap ................... SKIPPED
[INFO] name.abuchen.portfolio.feature ..................... SKIPPED
[INFO] portfolio.product .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:19 min
[INFO] Finished at: 2020-11-01T08:50:13+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.5.1:test (default-test) on project name.abuchen.portfolio.tests: There are test failures.

Cobra commented on 2020-10-26 18:24 (UTC) (edited on 2020-10-26 18:25 (UTC) by Cobra)

Encouraged by the comment of tinxy, I've tried to build 0.49 with Java 14 and succeeded. I've thus lifted the restrictions regarding Java 14 in the current PKGBUILD. Should you encounter problems, please edit the PKGBUILD accordingly:

makedepends=('maven' 'java-runtime>=8' 'java-runtime<14' 'archlinux-java-run' 'gendesk') and export JAVA_HOME=$(archlinux-java-run --min 8 --max 13 --java-home)

Cobra commented on 2020-10-17 11:39 (UTC)

Hey tinxy, thanks a lot for the report! I'll try with 0.48.2; if that should succeed, I'll simplify the PKGBUILD by lifting the restriction to java versions < 14, while keeping archlinux-java-run to ensure that the latest version is used for the build.

tinxy commented on 2020-10-16 08:54 (UTC)

Hey Cobra, would you care to try again with java14 installed and no archlinux-java-run? I just built the app with default javac 14.0.2.

Cheers

Cobra commented on 2020-09-02 17:58 (UTC)

Works like a charm. Thanks a ton, Bevan!