Bug 242688 - multimedia/kodi-devel: fails to build on armv7
Summary: multimedia/kodi-devel: fails to build on 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: Tobias Kortkamp
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2019-12-17 17:43 UTC by Jan Beich
Modified: 2019-12-29 08:02 UTC (History)
1 user (show)

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


Attachments
fix (921 bytes, patch)
2019-12-17 17:43 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2019-12-17 17:43:29 UTC
Created attachment 210012 [details]
fix

Regressed by ports r520306. FreeBSD neither has /usr/include/asm/* nor getauxval. See base r324815 for similar API. For examples look at other ports. Note, qemu-user *probably* cannot emulate AT_HWCAP. Note2, NEON is always enabled on FreeBSD armv7.

xbmc/platform/freebsd/CPUInfoFreebsd.cpp:18:10: fatal error: 'asm/hwcap.h' file not found
#include <asm/hwcap.h>
         ^~~~~~~~~~~~~
1 error generated.

https://reviews.freebsd.org/P345

Disclaimer: I don't really use Kodi.
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2019-12-17 18:02:03 UTC
See https://github.com/xbmc/xbmc/pull/16779
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-12-18 05:41:42 UTC
A commit references this bug:

Author: tobik
Date: Wed Dec 18 05:41:38 UTC 2019
New revision: 520362
URL: https://svnweb.freebsd.org/changeset/ports/520362

Log:
  multimedia/kodi-devel: Unbreak on arm

  xbmc/platform/freebsd/CPUInfoFreebsd.cpp:18:10: fatal error: 'asm/hwcap.h' file not found
  #include <asm/hwcap.h>
           ^~~~~~~~~~~~~
  1 error generated.

  PR:		242688
  Submitted by:	jbeich

Changes:
  head/multimedia/kodi-devel/files/patch-neon