user2023: I'm setting up a node on my mac. It's been stuck on "Building     network-3.1.2.1 (all, legacy fallback)" for a couple of hours now.
Is this normal, or have I got something wrong?
Thanks

user1894: I strongly urge you to consider building using nix. I apologize if this wasn't the answer you were asking for, but it is probably the best solution for building the Cardano node.
I went through so many issues when trying to build from source it would make this issue seem trivial. Also, would like to note that by adding the binaries in step 2, I shaved 4hrs off the build time, and that is on a machine with a AMD 3900XT with 12 cores. Building without binaries on an average machine could take upwards of 12hrs.
https://docs.cardano.org/projects/cardano-node/en/latest/getting-started/building-the-node-using-nix.html
By using nix to build the Cardano node, you really only have 3 steps to follow:
1.
curl -L https://nixos.org/nix/install > install-nix.sh 
chmod +x install nix.sh
./install-nix.sh


sudo mkdir -p /etc/nix
cat <<EOF | sudo tee /etc/nix/nix.conf
substituters = https://cache.nixos.org https://hydra.iohk.io
trusted-public-keys = iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
EOF


git clone https://github.com/input-output-hk/cardano-node
cd cardano-node
nix-build -A scripts.mainnet.node -o mainnet-node-local
./mainnet-node-local

Again, sorry if this wasn't the solution to build the cardano node using but I had nothing but problems using Cabal during the Plutus Pioneer Program.
Good luck!

2023: <p>I'm setting up a node on my mac. It's been stuck on &quot;Building     network-3.1.2.1 (all, legacy fallback)&quot; for a couple of hours now.</p>
<p>Is this normal, or have I got something wrong?</p>
<p>Thanks<img src="https://i.stack.imgur.com/ZTPqX.png" alt="enter image description here" /></p>
 1894: <p>I strongly urge you to consider building using nix. I apologize if this wasn't the answer you were asking for, but it is probably the best solution for building the Cardano node.</p>
<p>I went through so many issues when trying to build from source it would make this issue seem trivial. Also, would like to note that by adding the binaries in step 2, I shaved 4hrs off the build time, and that is on a machine with a AMD 3900XT with 12 cores. Building without binaries on an average machine could take upwards of 12hrs.</p>
<p><a href="https://docs.cardano.org/projects/cardano-node/en/latest/getting-started/building-the-node-using-nix.html" rel="nofollow noreferrer">https://docs.cardano.org/projects/cardano-node/en/latest/getting-started/building-the-node-using-nix.html</a></p>
<p><strong>By using nix to build the Cardano node, you really only have 3 steps to follow:</strong></p>
<p>1.</p>
<pre><code>curl -L https://nixos.org/nix/install &gt; install-nix.sh 
chmod +x install nix.sh
./install-nix.sh
</code></pre>
<ol start="2">
<li>sudo mkdir -p /etc/nix
cat &lt;&lt;EOF | sudo tee /etc/nix/nix.conf
substituters = <a href="https://cache.nixos.org" rel="nofollow noreferrer">https://cache.nixos.org</a> <a href="https://hydra.iohk.io" rel="nofollow noreferrer">https://hydra.iohk.io</a>
trusted-public-keys = iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
EOF</li>
<li></li>
</ol>
<pre><code>git clone https://github.com/input-output-hk/cardano-node
cd cardano-node
nix-build -A scripts.mainnet.node -o mainnet-node-local
./mainnet-node-local
</code></pre>
<p>Again, sorry if this wasn't the solution to build the cardano node using but I had nothing but problems using Cabal during the Plutus Pioneer Program.</p>
<p>Good luck!</p>
