Bug 229382 - devel/jakarta-commons-daemon: Unbreak on aarch64, armv6, armv7
Summary: devel/jakarta-commons-daemon: Unbreak on aarch64, armv6, armv7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alex Dupre
URL: https://forums.freebsd.org/threads/wh...
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-06-28 04:47 UTC by Tobias Kortkamp
Modified: 2018-06-29 13:38 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ale)


Attachments
jakarta-commons-daemon.diff (729 bytes, patch)
2018-06-28 04:47 UTC, Tobias Kortkamp
no flags Details | Diff
A better patch (1.33 KB, patch)
2018-06-29 12:45 UTC, Alex Dupre
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kortkamp freebsd_committer freebsd_triage 2018-06-28 04:47:19 UTC
Created attachment 194699 [details]
jakarta-commons-daemon.diff

For unknown reasons the configure check for jni_md.h fails completely on arm but
we can easily skip it.

Tested in Poudriere on 12.0/aarch64/QEMU, 11.1/amd64, 10.4/i386, and on real
hardware (Raspberry Pi 2) by a user on the forums.
Comment 1 Alex Dupre freebsd_committer freebsd_triage 2018-06-29 12:45:30 UTC
Created attachment 194725 [details]
A better patch

Can you please check if you can build the port with just this patch?
Comment 2 Tobias Kortkamp freebsd_committer freebsd_triage 2018-06-29 13:04:54 UTC
Comment on attachment 194699 [details]
jakarta-commons-daemon.diff

(In reply to Alex Dupre from comment #1)
Yes, it builds fine on aarch64.
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-06-29 13:38:42 UTC
A commit references this bug:

Author: ale
Date: Fri Jun 29 13:37:55 UTC 2018
New revision: 473549
URL: https://svnweb.freebsd.org/changeset/ports/473549

Log:
  Fix build on aarch64, armv6, armv7.

  PR:		229382
  Submitted by:	tobik

Changes:
  head/devel/jakarta-commons-daemon/Makefile
  head/devel/jakarta-commons-daemon/files/patch-configure