Skip to content

Instantly share code, notes, and snippets.

@junjihashimoto
Last active January 7, 2024 18:24
Show Gist options
  • Save junjihashimoto/827d51d5a9de639280a7e7bb2ea6ce7a to your computer and use it in GitHub Desktop.
Save junjihashimoto/827d51d5a9de639280a7e7bb2ea6ce7a to your computer and use it in GitHub Desktop.
$ cabal run -v
Warning: Both /Users/junji.hashimoto/.cabal and
/Users/junji.hashimoto/.config/cabal/config exist - ignoring the former.
It is advisable to remove one of them. In that case, we will use the remaining
one by default (unless '$CABAL_DIR' is explicitly set).
this build was affected by the following (project) config files:
- /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/cabal.project
creating
/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build
creating
/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/tmp
Selecting test-inline-c-0.1.0.0-inplace-test-inline-c to supply test-inline-c
Running: /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c
2
$ sed -ie 's/1/5/g' src/test.hpp
$ cabal run -v
Warning: Both /Users/junji.hashimoto/.cabal and
/Users/junji.hashimoto/.config/cabal/config exist - ignoring the former.
It is advisable to remove one of them. In that case, we will use the remaining
one by default (unless '$CABAL_DIR' is explicitly set).
this build was affected by the following (project) config files:
- /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/cabal.project
Build profile: -w ghc-9.6.3 -O1
In order, the following will be built:
- test-inline-c-0.1.0.0 (exe:test-inline-c) (file src/test.hpp changed)
creating
/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build
creating
/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/tmp
creating
/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c
creating
/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/cache
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","build","--verbose=2","--builddir=/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c"]
/Users/junji.hashimoto/.ghcup/bin/cabal-3.10.2.0 act-as-setup
--build-type=Simple -- build --verbose=2
--builddir=/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c
Running: /Users/junji.hashimoto/.ghcup/bin/cabal-3.10.2.0 act-as-setup '--build-type=Simple' -- build '--verbose=2' '--builddir=/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c'
Component build order: executable 'test-inline-c'
Running: /Users/junji.hashimoto/.ghcup/ghc/9.6.3/bin/ghc-pkg-9.6.3 init /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/package.conf.inplace
creating
/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c
creating
/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/autogen
creating
/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/autogen
creating
/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/autogen
Preprocessing executable 'test-inline-c' for test-inline-c-0.1.0.0..
Building executable 'test-inline-c' for test-inline-c-0.1.0.0..
creating
/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c
creating
/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp
Running: /Users/junji.hashimoto/.ghcup/bin/ghc --make -no-link -fbuilding-cabal-package -O -static -outputdir /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp -odir /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp -hidir /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp -stubdir /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp -i -i/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp -isrc -i/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/autogen -i/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/global-autogen -I/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/autogen -I/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/global-autogen -I/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp -optP-include -optP/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/autogen/cabal_macros.h -hide-all-packages -Wmissing-home-modules -no-user-package-db -package-db /Users/junji.hashimoto/.local/state/cabal/store/ghc-9.6.3/package.db -package-db /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/packagedb/ghc-9.6.3 -package-db /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/package.conf.inplace -package-id base-4.18.1.0 -package-id nln-c-0.9.1.8-7a3a4084 -package-id nln-c-cpp-0.5.0.0-2db2fad6 -XGHC2021 src/Main.hs -Wall -threaded '-optcxx-std=c++20' -hide-all-packages
Linking...
Running: /Users/junji.hashimoto/.ghcup/bin/ghc --make -fbuilding-cabal-package -O -static -outputdir /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp -odir /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp -hidir /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp -stubdir /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp -i -i/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp -isrc -i/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/autogen -i/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/global-autogen -I/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/autogen -I/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/global-autogen -I/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c-tmp -optP-include -optP/Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/autogen/cabal_macros.h -hide-all-packages -Wmissing-home-modules -no-user-package-db -package-db /Users/junji.hashimoto/.local/state/cabal/store/ghc-9.6.3/package.db -package-db /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/packagedb/ghc-9.6.3 -package-db /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/package.conf.inplace -package-id base-4.18.1.0 -package-id nln-c-0.9.1.8-7a3a4084 -package-id nln-c-cpp-0.5.0.0-2db2fad6 -XGHC2021 src/Main.hs -o /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c -Wall -threaded '-optcxx-std=c++20' -hide-all-packages
whenReRegister: previously registered
Selecting test-inline-c-0.1.0.0-inplace-test-inline-c to supply test-inline-c
Running: /Users/junji.hashimoto/git/inline-c/inline-c-152-rep/dist-newstyle/build/aarch64-osx/ghc-9.6.3/test-inline-c-0.1.0.0/x/test-inline-c/build/test-inline-c/test-inline-c
2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment