pkgsrc-Users archive

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

Re: Help with security/hs-digest on Darwin/aarch64



FWIW,

root@pkgbuild:/opt/pkgsrc/security/hs-digest# which clang++
/usr/bin/clang++
root@pkgbuild:/opt/pkgsrc/security/hs-digest# clang++ -std=gnu++11
clang: error: no input files

On Aug 15, 2024, at 4:53 PM, Jason White <jdwhite%menelos.com@localhost> wrote:

Hello,
I'm trying to build security/hs-digest (pkgsrc-current, updated 21:20 UTC 15-Aug-24) on Darwin (M1) running Sonoma 14.6.1 and Xcode 15.3.

Insights appreciated.

- - - - - - - - - - - - - - - - -
root@pkgbuild:/opt/pkgsrc/security/hs-digest# bmake clean && bmake
===> Cleaning for hs-digest-0.0.2.1nb1
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for digest-0.0.2.1.tar.gz
=> Checksum SHA512 OK for digest-0.0.2.1.tar.gz
===> Installing dependencies for hs-digest-0.0.2.1nb1
==========================================================================
The following variables will affect the build process of this package,
hs-digest-0.0.2.1nb1.  Their current value is shown below:

       * CURSES_DEFAULT = curses
       * HASKELL_ENABLE_HADDOCK_DOCUMENTATION = yes
       * HASKELL_ENABLE_LIBRARY_PROFILING = yes
       * HASKELL_ENABLE_SHARED_LIBRARY = yes

Based on these variables, the following variables have been set:

       * CURSES_TYPE = curses

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Full dependency ghc>=9.8.2nb1: found ghc-9.8.2nb1
===> Checking for vulnerabilities in hs-digest-0.0.2.1nb1
===> Overriding tools for hs-digest-0.0.2.1nb1
===> Extracting for hs-digest-0.0.2.1nb1
===> Patching for hs-digest-0.0.2.1nb1
===> Creating toolchain wrappers for hs-digest-0.0.2.1nb1
===> Configuring for hs-digest-0.0.2.1nb1
Configuring digest-0.0.2.1...
===> Building for hs-digest-0.0.2.1nb1
Preprocessing library for digest-0.0.2.1..
Building library for digest-0.0.2.1..
[1 of 3] Compiling Data.Digest.Adler32 ( dist/build/Data/Digest/Adler32.hs, dist/build/Data/Digest/Adler32.o, dist/build/Data/Digest/Adler32.dyn_o )
[2 of 3] Compiling Data.Digest.CRC32 ( dist/build/Data/Digest/CRC32.hs, dist/build/Data/Digest/CRC32.o, dist/build/Data/Digest/CRC32.dyn_o )
[3 of 3] Compiling Data.Digest.CRC32C ( Data/Digest/CRC32C.hs, dist/build/Data/Digest/CRC32C.o, dist/build/Data/Digest/CRC32C.dyn_o )
[1 of 3] Compiling Data.Digest.Adler32 ( dist/build/Data/Digest/Adler32.hs, dist/build/Data/Digest/Adler32.p_o )
[2 of 3] Compiling Data.Digest.CRC32 ( dist/build/Data/Digest/CRC32.hs, dist/build/Data/Digest/CRC32.p_o )
[3 of 3] Compiling Data.Digest.CRC32C ( Data/Digest/CRC32C.hs, dist/build/Data/Digest/CRC32C.p_o )
ghc-9.8.2: could not execute: clang++ -std=gnu++11
*** Error code 1

Stop.
bmake[1]: stopped in /opt/pkgsrc/security/hs-digest
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/security/hs-digest
- - - - - - - - - - - - - - - - -

Regards,
-Jason

--
Jason White
jdwhite%menelos.com@localhost
Mastodon: @jdwhite%mastodon.sdf.org@localhost
"The single biggest problem in communication is the illusion that it has taken place." - George Bernard Shaw





-- 
Jason White
jdwhite%menelos.com@localhost
Mastodon: @jdwhite%mastodon.sdf.org@localhost
"The single biggest problem in communication is the illusion that it has taken place." - George Bernard Shaw






Home | Main Index | Thread Index | Old Index