notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2025Q1
wasi-libc C standard library for WebAssembly System Interface
25 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 25Version of this port present on the latest quarterly branch.
Maintainer: vishwin@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-01-14 04:06:05
Last Update: 2025-01-14 04:02:45
Commit Hash: 236000e
License: APACHE20 MIT LLVM2
WWW:
https://github.com/WebAssembly/wasi-libc
Description:
libc/sysroot for WASI (WebAssembly System Interface) WASI Libc is a libc for WebAssembly programs built on top of WASI system calls. It provides a wide array of POSIX-compatible C APIs, including support for standard I/O, file I/O, filesystem manipulation, memory management, time, string, environment variables, program startup, and many other APIs.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • wasi-libc18>0:devel/wasi-libc
Conflicts:
CONFLICTS_INSTALL:
  • wasi-libc[0-9]*
To install the port:
cd /usr/ports/devel/wasi-libc/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/wasi-libc
  • pkg install wasi-libc18
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: wasi-libc18
Package flavors (<flavor>: <package>)
  • 18: wasi-libc18
  • 19: wasi-libc19
  • 17: wasi-libc17
distinfo:
TIMESTAMP = 1736822564 SHA256 (WebAssembly-wasi-libc-wasi-sdk-25_GH0.tar.gz) = 42e6eb03fd097f8a0f76c0db3c6364b71c97bc11aedc3cd73266fad587a1ea11 SIZE (WebAssembly-wasi-libc-wasi-sdk-25_GH0.tar.gz) = 1438581

Expand this list (2 items)

Collapse this list.

SHA256 (WebAssembly-WASI-59cbe14_GH0.tar.gz) = 4e36c4add2421b44ccdded83d442d9aadf02ffa8b534d94016fad2bb7b781cc6 SIZE (WebAssembly-WASI-59cbe14_GH0.tar.gz) = 162059

Collapse this list.


Packages (timestamps in pop-ups are UTC):
wasi-libc
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--g20201005---g20201005-
FreeBSD:13:quarterly---21_1-20.1320.1320.13
FreeBSD:14:latest-----g20210923--
FreeBSD:14:quarterly-----20.1320.1320.13
FreeBSD:15:latest--n/a-n/a212121
 

wasi-libc17
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2525-2525---
FreeBSD:13:quarterly2525--25---
FreeBSD:14:latest24.1325-24.1325---
FreeBSD:14:quarterly2525-2525---
FreeBSD:15:latest2525n/a25n/a---
 

wasi-libc18
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2525-2525---
FreeBSD:13:quarterly2525--25---
FreeBSD:14:latest24.1325-24.1325---
FreeBSD:14:quarterly2525-2525---
FreeBSD:15:latest2525n/a25n/a---
 

wasi-libc19
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2525------
FreeBSD:13:quarterly2525------
FreeBSD:14:latest24.1325------
FreeBSD:14:quarterly2525------
FreeBSD:15:latest2525n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash : shells/bash
  2. gmake>=4.4.1 : devel/gmake
  3. llvm-config18 : devel/llvm18
This port is required by:
for Build
  1. mail/thunderbird
  2. www/firefox
  3. www/firefox-esr
  4. www/librewolf

Configuration Options:
No options to configure
Options name:
devel_wasi-libc
USES:
gmake llvm:18
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/WebAssembly/wasi-libc/tar.gz/wasi-sdk-25?dummy=/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
25
14 Jan 2025 04:02:45
commit hash: 236000e3fd50bd9773ff4b1977e4449dc7948b14commit hash: 236000e3fd50bd9773ff4b1977e4449dc7948b14commit hash: 236000e3fd50bd9773ff4b1977e4449dc7948b14commit hash: 236000e3fd50bd9773ff4b1977e4449dc7948b14 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/wasi-libc: update to sdk-25

Only real changes deal with build and test infrastructure so not
bumping any consumer PORTREVISION.

(cherry picked from commit 0afd5daeca786f7c80ba9ff0f09e3c74f8cd15fd)
24.13
14 Jan 2025 04:02:38
commit hash: a8abb4ba3a710b8636de580f949feb26311a3f97commit hash: a8abb4ba3a710b8636de580f949feb26311a3f97commit hash: a8abb4ba3a710b8636de580f949feb26311a3f97commit hash: a8abb4ba3a710b8636de580f949feb26311a3f97 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/wasi-libc: fix build when ${FLAVOR} is not specified

To have separate flavours per supported LLVM version, USES=llvm is
version-locked to each flavour as USES=llvm:${FLAVOR}. This allows
${LLVM_VERSION} to be used throughout the Makefile for consistency.
However, when ${FLAVOR} is not specified, ${LLVM_VERSION} uses
${LLVM_DEFAULT} which may not match the first item in ${FLAVORS},
resulting in missing dependency. Specify a fallback ${FLAVOR} when
not otherwise set so USES=llvm is guaranteed a version lock.

Consumers always explicitly specify ${FLAVOR} so this problem is
not generally exposed.

Reported by: dim
PR: 282265

(cherry picked from commit c0c57c629e25107ee5ead1f631fce3586280845f)

Number of commits found: 2