groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: macOS 12.6.3, static_assert, and vasnprintf compilation failure


From: Alexis
Subject: Re: macOS 12.6.3, static_assert, and vasnprintf compilation failure
Date: Fri, 10 Feb 2023 12:27:22 +0100

On Thu, Feb 09, 2023 at 06:50:51PM -0600, G. Branden Robinson wrote:
> If users of macOS of recent vintage would like to pull groff Git HEAD
> and try a build, I'd appreciate hearing of your experiences.

Happy to report that I succeeded to build the current groff HEAD
on macOS with ease using the following steps based on nixpkgs 
(https://nixpkgs.org):

% uname -a | fmt -72
Darwin $HOST 22.3.0 Darwin Kernel Version 22.3.0: Thu Jan  5
20:48:54 PST 2023; root:xnu-8792.81.2~2/RELEASE_ARM64_T6000 arm64
% sw_vers
ProductName:            macOS
ProductVersion:         13.2
BuildVersion:           22D49
% nix --version
nix (Nix) 2.11.1
% git rev-parse HEAD
55d35d5949cd4396abadb040cf2680df7a34b074
% git clean -fqX    # start from a clean the workspace
% rm -rf outputs    # remove result of previous build
% nix develop nixpkgs-dev#groff    # create a nixpkgs based build env
$ ./bootstrap       # the nxpkgs based build env is launched with bash
$ ./configurePhase  # all *Phase commands are provided by the build env
$ ./buildPhase      # and run the appropriate commands for details see
$ ./installPhase    # 
https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/text/groff/default.nix
$ ls -lsa outputs/out/bin/groff
416 -rwxr-xr-x  1 $USER  staff  209808 Feb 10 07:21 outputs/out/bin/groff
$ ./outputs/out/bin/groff --version | head -1
GNU groff version 1.23.0.rc2.22-55d3


Best
Alexis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]