user2281: When building cardano-node-1.35.4 using
git checkout tags/1.35.4
cabal update
cabal build all

I get the following error
cabal: Failed to build tx-generator-2.2 (which is required by

test:tx-generator-test from tx-generator-2.2 and exe:tx-generator from

tx-generator-2.2).

Upon scrolling up a few lines, I see this
src/Cardano/Benchmarking/Script/Setters.hs:40:1: error:

    • Illegal constraint: c NumberOfInputsPerTx

        (Use ConstraintKinds to permit this)

    • In the instance declaration for

        ‘Data.Constraint.Extras.Has c_a3mLE Tag’

   |

40 | deriveArgDict ''Tag

   | ^^^^^^^^^^^^^^^^^^^


Can someone please help me understand what this error means and on how to solve this? Thanks in advance.

user252: I think between CHaP movements and upstream updates the build process has started failing for 1.35.4, they've been fixed since on master branch. But for visibility of those using 1.35.4 to build:

Failed to build tx-generator-2.2 => This error itself would not prevent you to build cardano-node and cardano-cli binaries.
For those who receive an error with openssl, they'd need to modify cabal.project file as per this issue.
cabal install (running as-is for any component) was broken on that tag, fixed later on master


2281: <p>When building cardano-node-1.35.4 using</p>
<pre><code>git checkout tags/1.35.4
cabal update
cabal build all
</code></pre>
<p>I get the following error</p>
<pre><code>cabal: Failed to build tx-generator-2.2 (which is required by

test:tx-generator-test from tx-generator-2.2 and exe:tx-generator from

tx-generator-2.2).
</code></pre>
<p>Upon scrolling up a few lines, I see this</p>
<pre><code>src/Cardano/Benchmarking/Script/Setters.hs:40:1: error:

    • Illegal constraint: c NumberOfInputsPerTx

        (Use ConstraintKinds to permit this)

    • In the instance declaration for

        ‘Data.Constraint.Extras.Has c_a3mLE Tag’

   |

40 | deriveArgDict ''Tag

   | ^^^^^^^^^^^^^^^^^^^

</code></pre>
<p>Can someone please help me understand what this error means and on how to solve this? Thanks in advance.</p>
 252: <p>I think between CHaP movements and upstream updates the build process has started failing for 1.35.4, they've been fixed since on master branch. But for visibility of those using 1.35.4 to build:</p>
<ol>
<li>Failed to build tx-generator-2.2 =&gt; This error itself would not prevent you to build <code>cardano-node</code> and <code>cardano-cli</code> binaries.</li>
<li>For those who receive an error with openssl, they'd need to modify cabal.project file as per <a href="https://github.com/input-output-hk/cardano-node/issues/4721#issuecomment-1357924401" rel="nofollow noreferrer">this issue</a>.</li>
<li><code>cabal install</code> (running as-is for any component) was broken on that tag, fixed later on master</li>
</ol>
