FS#40474 - [jenkins] build from source instead of downloading prebuilt

Attached to Project: Community Packages
Opened by Joel Teichroeb (klusark) - Tuesday, 20 May 2014, 18:58 GMT
Last edited by Robin Candau (Antiz) - Tuesday, 18 July 2023, 17:17 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Filipe Laíns (FFY00)
Robin Candau (Antiz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I don't think it makes any difference in the end, but I don't see any downside to building from source.

I attached a pkgbuild that builds from source.

I've got it running and everything seems to be the same as ever.
   PKGBUILD (1.9 KiB)
This task depends upon

Closed by  Robin Candau (Antiz)
Tuesday, 18 July 2023, 17:17 GMT
Reason for closing:  Implemented
Additional comments about closing:  Jenkins is now built from source: https://gitlab.archlinux.org/archlinux/p ackaging/packages/jenkins/-/commit/51768 72e794263ca0d5477b747b8efa59c794d33
Comment by Felix Yan (felixonmars) - Wednesday, 21 May 2014, 15:53 GMT
We have a policy against downloading sources during build(), so we have to parse sources from maven and put then in source array (a script to handle this would be nice).
Comment by Joel Teichroeb (klusark) - Wednesday, 21 May 2014, 18:10 GMT
There are a number of other packages which download sources from maven during build.

java-jline
antlr4
clojure
ca-certificates-java

Personally, I think it's worth it as it is better than downloading a pre built version.
Comment by Dave Reisner (falconindy) - Wednesday, 21 May 2014, 18:15 GMT
> I don't think it makes any difference in the end
> Personally, I think it's worth it as it is better than downloading a pre built version.

These two statements seem at odds with each other. Perhaps you could clarify your position with actual reasons, rather than "I think".
Comment by Joel Teichroeb (klusark) - Wednesday, 21 May 2014, 18:26 GMT
Being built from source is always better to me than packaging a pre built version. When I submitted this I did not realize there were rules about building that the way maven does.

I don't actually work with Java generally so I am not aware of any linking issues that could happen like would be the case with c based programs.
Comment by Robin Candau (Antiz) - Tuesday, 18 July 2023, 17:16 GMT

Loading...