Bug 258799 - devel/luv: configure fails to find luajit on arm64
Summary: devel/luv: configure fails to find luajit on arm64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm64 Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-30 07:10 UTC by Dave Cottlehuber
Modified: 2021-09-30 07:21 UTC (History)
1 user (show)

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


Attachments
poudriere_13_0_arm64.log (16.77 KB, text/plain)
2021-09-30 07:10 UTC, Dave Cottlehuber
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Cottlehuber freebsd_committer freebsd_triage 2021-09-30 07:10:11 UTC
Created attachment 228275 [details]
poudriere_13_0_arm64.log

during configure:

-- Found LIBUV: /usr/local/lib/libuv.so  
CMake Warning (dev) at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (LUAJIT)
  does not match the name of the calling package (LuaJIT).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/Modules/FindLuaJIT.cmake:55 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:113 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find LUAJIT (missing: LUAJIT_LIBRARIES LUAJIT_INCLUDE_DIR) 
CMake Error at CMakeLists.txt:116 (message):
  Failed to find LuaJIT headers.  Variable `LUAJIT_INCLUDE_DIR' expected to
  be defined.
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-09-30 07:21:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aa0743dcc2fd9dc20e899887547ef9ca2846515b

commit aa0743dcc2fd9dc20e899887547ef9ca2846515b
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2021-09-30 07:16:35 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2021-09-30 07:16:35 +0000

    devel/luv: un-break build on aarch64

    luajit-openresty is required on aarch64, same as on ppc64.
    PR:             258799
    Approved by:    portmgr (runtime fix blanket)
    Sponsored by:   SkunkWerks, GmbH

 devel/luv/Makefile | 1 +
 1 file changed, 1 insertion(+)
Comment 2 Dave Cottlehuber freebsd_committer freebsd_triage 2021-09-30 07:21:46 UTC
\o/