jruby 9.4.5.0+ds-1 can not be rebuilt from source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jruby (Debian) |
Fix Released
|
Unknown
|
|||
jruby (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When building jruby, the following error occurs:
[INFO] -------
[ERROR] Failed to execute goal org.apache.
plugin:
install artifact org.jruby:
/<<PKGBUILDDIR>
parent-9.4.5.0.pom (Permission denied) -> [Help 1]
[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://
dh_auto_build: error: /usr/lib/
/usr/share/
-Dmaven.
-Dclassworlds.
-Dproperties.
org.codehaus.
debian.xml -Ddebian.
-Dmaven.
mode -Djruby.
-DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make[1]: *** [debian/rules:43: override_
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------
Build finished at 2024-02-
This is due to maven-repo-helper copying symlinks to jruby poms rather than
poms themselves.
A possible solution is to copy jruby poms manually in
execute_
# copy jruby poms rather than links, because the build will try to
patch them
for p in jruby jruby-parent jruby-base jruby-core jruby-artifacts ; do
\
rm debian/
cp /usr/share/
repo/org/
done
Related branches
- Pushkar Kulkarni (community): Approve
- git-ubuntu import: Pending requested
-
Diff: 121 lines (+50/-4)6 files modifieddebian/changelog (+12/-0)
debian/control (+2/-1)
debian/patches/0014-jruby-8081-invert-o-nonblock-flag.patch (+26/-0)
debian/patches/series (+1/-0)
debian/rules (+6/-0)
debian/tests/control (+3/-3)
Changed in jruby (Debian): | |
status: | Unknown → New |
Changed in jruby (Debian): | |
status: | New → Fix Released |
This bug was fixed in the package jruby - 9.4.5.0+ds-1ubuntu1
--------------- 0+ds-1ubuntu1) noble; urgency=medium
jruby (9.4.5.
* d/rules: copy jruby pom files so that they can by updated by install- plugin. Fixes ftbfs (LP: #2054942). 8081-invert- o-nonblock- flag.patch: apply upstream patch
maven-
* d/t/control: mark mri-extra, spec-ruby, mri-stdlib as flaky. See
launchpad bug 2054943.
* d/p/jruby-
to fix fcntl call. This allows workaround for launchpad
bug 2054943.
-- Vladimir Petko <email address hidden> Mon, 26 Feb 2024 11:55:18 +1300