Bug 242688

Summary: multimedia/kodi-devel: fails to build on armv7
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Only Me CC: rozhuk.im
Priority: --- Keywords: regression
Version: LatestFlags: bugzilla: maintainer-feedback? (tobik)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fix none

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