FS#55873 - [dbeaver] downloads quite some stuff during build()

Attached to Project: Community Packages
Opened by Erich Eckner (deepthought) - Thursday, 05 October 2017, 07:40 GMT
Last edited by Muflone (muflone) - Saturday, 14 December 2019, 20:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Muflone (muflone)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

IMHO, sources needed to build the package should be entered in the source-array, so the package can be built offline. However, dbeaver downloads some files at the beginning of build():

==> Starting build()...
[INFO] Scanning for projects...
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/eclipse/tycho/tycho-maven-plugin/1.0.0/tycho-maven-plugin-1.0.0.pom
[INFO] Downloaded: https://repo.maven.apache.org/maven2/org/eclipse/tycho/tycho-maven-plugin/1.0.0/tycho-maven-plugin-1.0.0.pom (2.1 kB at 6.3 kB/s)
[INFO] Downloading: https://repo.maven.apache.org/maven2/org/eclipse/tycho/tycho/1.0.0/tycho-1.0.0.pom
...

Additional info:
* package version(s)
dbeaver 4.2.1-1 (git revision cb5a44ac70fd012e72988850791c7f2f9a59d664)

Steps to reproduce:
> makepkg --allsource
install dependencies, then disconnect internet
> tar -xzf dbeaver-4.2.1-1.src.tar.gz
> cd dbeaver
> makepkg
This task depends upon

Closed by  Muflone (muflone)
Saturday, 14 December 2019, 20:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  partially fixed in dbeaver 6.3.0-2
Comment by Muflone (muflone) - Saturday, 07 October 2017, 14:29 GMT
DBeaver build requires more than 300 external java libraries.
I really don't think the build process should list all those libraries in the PKGBUILD.
Comment by Doug Newgard (Scimmia) - Friday, 08 December 2017, 16:27 GMT
At the very least, they should be downloaded during the prepare function.
Comment by Muflone (muflone) - Saturday, 14 December 2019, 20:32 GMT
partially fixed in dbeaver 6.3.0-2
Some dependencies are not properly downloaded during the prepare phase, how to fix is out of my knowledge

Loading...