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.48
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 .. 6 7 8 9 10 11 12 Next › Last »

adlerweb commented on 2018-07-02 21:20 (UTC)

Current PKGBUILD uses mvn during build which writes files to ~/.m2/ (users home directory), as such leaving the specified build directory. This leaves unnecessary residual files after finishing the build and breaks when trying to build using dummy-users without a valid $HOME (among others AUR-helpers like pikaur work this way). To keep the build clean the maven cache directory should be relocated to something inside srcdir: mvn clean install -Dgenerate-target-platform=true -Dtycho.disableP2Mirrors -Dmaven.repo.local=$srcdir/.mvn

Cobra commented on 2018-06-03 15:12 (UTC)

@Mischko Thanks a lot for the suggestion. I'm aware of this possibility, but I'm usually hesitant in adding further repositories to my pacman.conf. In any case, I expect that we will soon enjoy a version of portfolio that foregoes the dependency on webkitgtk2, and employs webkit2gtk for diagrams instead. In the meantime, for all of you who don't want to compile webkitgtk2, the binary offered by archlinuxcn is certainly a viable option.

Mischko commented on 2018-06-02 16:12 (UTC) (edited on 2018-06-02 16:13 (UTC) by Mischko)

@Cobra same problem with compiling webkitgtk2 the entire night. What about the solution suggested here? https://aur.archlinux.org/packages/webkitgtk2/

Append the following section to /etc/pacman.conf:

[archlinuxcn] Server = https://cdn.repo.archlinuxcn.org/$arch

And installing as if it were official packages:

sudo pacman -S webkitgtk2

Works really well for me.

Cobra commented on 2018-05-11 10:00 (UTC)

@sandstorm At the moment, webkitgtk2 is required for displaying the diagrams in portfolio, such as the donut or ring diagram in “Statement of Assets – Holdings”. The developer is aware of this unfortunate situation and is working on a solution: https://github.com/buchen/portfolio/issues/769. The changes he made in the inofficial snapshot 0.30.2 did not make it into the stable build 0.31, but I very much hope into the next release. Compiling webkitgtk2 really sucks. :/

sandstorm commented on 2018-05-11 05:41 (UTC)

Is there any reason why webkitgtk2 is the dependency? I built portfolio with the webkit2gtk package, which is part of the extra repository and it works fine.

obi8 commented on 2018-03-27 16:56 (UTC)

@Cobra: Thx for your help. It works. :-D

Cobra commented on 2018-03-27 10:39 (UTC)

@obi8 I'm not entirely sure, but it seems that you are affected by the same issue as bluepill. I've found a post in the forum of the developer (https://forum.portfolio-performance.info/t/build-maven-problem/2129/2) referring to an error report in the eclipse community forums that looks suspiciously close to yours. And indeed, two weeks later version 0.29 was published with the comment “Fixed build error when downloading bundles from Babel update site” (https://github.com/buchen/portfolio), but at that time, I didn't see that the fix simply consisted of adding -Dtycho.disableP2Mirrors to the maven call. I have just updated the PKGBUILD accordingly. On my systems, I can compile portfolio with this option or without, it doesn't make any difference. However, I hope that it will help in your case.

obi8 commented on 2018-03-25 12:15 (UTC)

I am trying to install the program Portfolio 0.29. The compilation process terminates with the following message:

[ERROR] Internal error: java.lang.NullPointerException -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:122) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: java.lang.NullPointerException at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact (SimpleArtifactRepository.java:666) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact (SimpleArtifactRepository.java:591) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact (SimpleArtifactRepository.java:723) at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromOneMirror (RepositoryArtifactProvider.java:229) at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnyMirror (RepositoryArtifactProvider.java:212) at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.access$1 (RepositoryArtifactProvider.java:207) at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider$1.perform (RepositoryArtifactProvider.java:187) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact (SimpleArtifactRepository.java:707) at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifacts (SimpleArtifactRepository.java:778) at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnyChildRepository (RepositoryArtifactProvider.java:199) at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnyFormatAvailableInRepository (RepositoryArtifactProvider.java:168) at org.eclipse.tycho.repository.p2base.artifact.repository.RepositoryArtifactProvider.getArtifactFromAnySource (RepositoryArtifactProvider.java:154) at org.eclipse.tycho.repository.p2base.artifact.provider.CompositeArtifactProviderBaseImpl.getArtifact (CompositeArtifactProviderBaseImpl.java:52) at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadCanonicalArtifact (MirroringArtifactProvider.java:244) at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadMostSpecificNeededFormatOfArtifact (MirroringArtifactProvider.java:237) at org.eclipse.tycho.repository.local.MirroringArtifactProvider.downloadArtifact (MirroringArtifactProvider.java:222) at org.eclipse.tycho.repository.local.MirroringArtifactProvider.makeOneFormatLocallyAvailable (MirroringArtifactProvider.java:211) at org.eclipse.tycho.repository.local.MirroringArtifactProvider.makeLocallyAvailable (MirroringArtifactProvider.java:182) at org.eclipse.tycho.repository.local.MirroringArtifactProvider.getArtifactFile (MirroringArtifactProvider.java:121) at org.eclipse.tycho.repository.p2base.artifact.provider.CompositeArtifactProvider.getArtifactFile (CompositeArtifactProvider.java:85) at org.eclipse.tycho.p2.target.TargetPlatformBaseImpl.getLocalArtifactFile (TargetPlatformBaseImpl.java:128) at org.eclipse.tycho.p2.resolver.P2ResolverImpl.addUnit (P2ResolverImpl.java:254) at org.eclipse.tycho.p2.resolver.P2ResolverImpl.toResolutionResult (P2ResolverImpl.java:217) at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:209) at org.eclipse.tycho.p2.resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:116) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.doResolveDependencies (P2DependencyResolver.java:367) at org.eclipse.tycho.p2.resolver.P2DependencyResolver.resolveDependencies (P2DependencyResolver.java:335) at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject (DefaultTychoResolver.java:117) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead (TychoMavenLifecycleParticipant.java:95) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:267) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290) at org.apache.maven.cli.MavenCli.main (MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException ==> FEHLER: Ein Fehler geschah in build(). Breche ab... ==> FEHLER:Makepkg konnte portfolio nicht erstellen.

Cobra commented on 2018-02-21 18:24 (UTC)

@bluepill None of that happens on my three Arch boxes. I don't have gauche installed, and I don't add anything to the maven call, but the package compiles and runs flawlessly on any of them. Of course, in any other case I would have pinned a corresponding comment to the top and would currently deperately try to solve the issues. ;)

Read my comment from 2016-11-02. It's worth a try to delete the folders I have indicated there.

bluepill commented on 2018-02-20 16:40 (UTC)

Doesn't build unless adding '-Dtycho.disableP2Mirrors' to the maven call. Also, 'gosh' has to be installed via the 'gauche' package.

The application still fails with 'java.lang.RuntimeException: Application "org.eclipse.e4.ui.workbench.swt.E4Application" could not be found in the registry. [...]' in the log file.