Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2024 02:56:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 276577] textproc/ugrep fails to build on arm64 fatal error: 'asm/hwcap.h' file not found
Message-ID:  <bug-276577-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276577

            Bug ID: 276577
           Summary: textproc/ugrep fails to build on arm64 fatal error:
                    'asm/hwcap.h' file not found
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ashish@FreeBSD.org
          Reporter: void@f-m.fm
             Flags: maintainer-feedback?(ashish@FreeBSD.org)
          Assignee: ashish@FreeBSD.org

Hello,

context is very recent ports on main-n267684-e4b646ce1610 arm64

As far as I can ascertain, asm/hwcap.h is a linux header?

# make MAKE_JOBS_UNSAFE=3Dyes
=3D=3D=3D>  Building for ugrep-4.5.2
gmake[2]: Entering directory '/usr/ports/textproc/ugrep/work/ugrep-4.5.2'
gmake  all-recursive
gmake[3]: Entering directory '/usr/ports/textproc/ugrep/work/ugrep-4.5.2'
Making all in lib
gmake[4]: Entering directory '/usr/ports/textproc/ugrep/work/ugrep-4.5.2/li=
b'
gmake[4]: Nothing to be done for 'all'.
gmake[4]: Leaving directory '/usr/ports/textproc/ugrep/work/ugrep-4.5.2/lib'
Making all in lzma/C
gmake[4]: Entering directory
'/usr/ports/textproc/ugrep/work/ugrep-4.5.2/lzma/C'
cc -DHAVE_CONFIG_H -I. -I../..  -DZ7_PPMD_SUPPORT -DZ7_EXTRACT_ONLY -DNDEBUG
-D_REENTRANT -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -I/usr/local/incl=
ude
-I/usr/local/include -I/usr/include -I/usr/include -I/usr/include
-I/usr/include -I/usr/include -I/usr/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I../lzma/C  -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -MT libviiz_a-CpuArch.o -MD -MP -MF
.deps/libviiz_a-CpuArch.Tpo -c -o libviiz_a-CpuArch.o `test -f 'CpuArch.c' =
||
echo './'`CpuArch.c
CpuArch.c:769:10: fatal error: 'asm/hwcap.h' file not found
  769 | #include <asm/hwcap.h>
      |          ^~~~~~~~~~~~~
1 error generated.
gmake[4]: *** [Makefile:621: libviiz_a-CpuArch.o] Error 1
gmake[4]: Leaving directory '/usr/ports/textproc/ugrep/work/ugrep-4.5.2/lzm=
a/C'
gmake[3]: *** [Makefile:561: all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/textproc/ugrep/work/ugrep-4.5.2'
gmake[2]: *** [Makefile:398: all] Error 2
gmake[2]: Leaving directory '/usr/ports/textproc/ugrep/work/ugrep-4.5.2'
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/textproc/ugrep
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/ugrep

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276577-7788>