Summary: | www/node: node-13.6.0 fails to compile on i386 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Martin Birgmeier <d8zNeCFG> |
Component: | Individual Port(s) | Assignee: | Bradley T. Hughes <bhughes> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | Flags: | bhughes:
maintainer-feedback+
|
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Martin Birgmeier
2020-02-02 15:05:15 UTC
I am currently testing a patch to fix this. I will commit it as soon as my i386 builds finish. Thanks for the report :) A commit references this bug: Author: bhughes Date: Sun Feb 2 21:43:41 UTC 2020 New revision: 525005 URL: https://svnweb.freebsd.org/changeset/ports/525005 Log: www/node: build on i386 A recent change to V8 changed how mapped shared libraries were discovered on FreeBSD, changing from using /proc/self/maps to using sysctl with KERN_PROC_VMMAP. Unforcunately, this change fails to build on i386 (and probably other 32-bit platforms) due to the use of reinterpret_cast to change uint64_t to uintptr_t. This is an invalid cast. The uin64_t should be static_cast to uintptr_t for it to work on all platforms. While here, bump the libuv dependency that I missed when upgrading to 13.6.0 PR: 243798 Reported by: Martin Birgmeier <d8zNeCFG@aon.at> Reported by: paul beard <paulbeard@gmail.com> Reported by: pkg-fallout@FreeBSD.org Sponsored by: Miles AS Changes: head/www/node/Makefile head/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc I have committed the fix. Thanks again for the report :) |