You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon stack install ArchPackageCompareStats it places the executible within ~/.local/bin but the files are not present there.
version 1.3.2, Git revision 3f675146590da4f3edf768b89355f798229da2a5 (4395 commits) x86_64 hpack-0.15.0
2017-02-27 15:53:58.022317: [debug] Checking for project config at: /root/server/stack.yaml
@(Stack/Config.hs:863:9)
2017-02-27 15:53:58.023163: [debug] Loading project config file stack.yaml
@(Stack/Config.hs:881:13)
2017-02-27 15:53:58.026393: [debug] Trying to decode /root/.stack/build-plan-cache/x86_64-linux/lts-8.2.cache
@(Data/Store/VersionTagged.hs:68:5)
2017-02-27 15:53:58.060442: [debug] Success decoding /root/.stack/build-plan-cache/x86_64-linux/lts-8.2.cache
@(Data/Store/VersionTagged.hs:72:13)
2017-02-27 15:53:58.072656: [debug] Getting system compiler version
@(Stack/Setup.hs:370:17)
2017-02-27 15:53:58.073108: [debug] Run process: /opt/ghc/8.0.2/bin/ghc --info
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.365254: [debug] Process finished in 291ms: /opt/ghc/8.0.2/bin/ghc --info
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.372736: [debug] Getting global package database location
@(Stack/GhcPkg.hs:55:5)
2017-02-27 15:53:58.373205: [debug] Run process: /opt/ghc/8.0.2/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.374065: [debug] Asking GHC for its version
@(Stack/Setup/Installed.hs:103:13)2017-02-27 15:53:58.374383: [debug] Getting Cabal package version
@(Stack/GhcPkg.hs:189:5)
2017-02-27 15:53:58.375039: [debug] Run process: /opt/ghc/8.0.2/bin/ghc --numeric-version
@(System/Process/Read.hs:306:3)2017-02-27 15:53:58.375206: [debug] Run process: /opt/ghc/8.0.2/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.446712: [debug] Process finished in 69ms: /opt/ghc/8.0.2/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.447645: [debug] Process finished in 74ms: /opt/ghc/8.0.2/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.470388: [debug] Process finished in 95ms: /opt/ghc/8.0.2/bin/ghc --numeric-version
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.470672: [debug] Resolving package entries
@(Stack/Setup.hs:252:5)
2017-02-27 15:53:58.472712: [debug] Starting to execute command inside EnvConfig
@(Stack/Runners.hs:163:18)
2017-02-27 15:53:58.472905: [debug] Parsing the cabal files of the local packages
@(Stack/Build/Source.hs:298:5)
2017-02-27 15:53:58.490485: [warn] No extra-dep setting found for package at URL:
https://github.com/chrissound/ArchPackageCompareStats.git
This is usually a mistake, external packages should typically
be treated as extra-deps to avoid spurious test case failures.
@(Stack/Config.hs:600:25)
2017-02-27 15:53:58.490777: [warn] No extra-dep setting found for package at URL:
https://github.com/chrissound/ArchLinuxPkgStatsScraper.git
This is usually a mistake, external packages should typically
be treated as extra-deps to avoid spurious test case failures.
@(Stack/Config.hs:600:25)
2017-02-27 15:53:58.499503: [debug] Parsing the targets
@(Stack/Build/Source.hs:235:5)
2017-02-27 15:53:58.500952: [debug] Start: getPackageFiles /root/server/.stack-work/downloaded/9ffEeALwACgw/ArchPackageCompareStats.cabal
@(Stack/Package.hs:250:21)
2017-02-27 15:53:58.532317: [warn] Warning: File listed in .stack-work/downloaded/9ffEeALwACgw/ArchPackageCompareStats.cabal file does not exist: templates/cache/.keepme
@(Stack/Package.hs:1218:8)
2017-02-27 15:53:58.532588: [debug] Finished in 31ms: getPackageFiles /root/server/.stack-work/downloaded/9ffEeALwACgw/ArchPackageCompareStats.cabal
@(Stack/Package.hs:250:21)
2017-02-27 15:53:58.536717: [debug] Start: getPackageFiles /root/server/.stack-work/downloaded/ny3zBEQPD0Us/ArchPkgstatsScraper.cabal
@(Stack/Package.hs:250:21)
2017-02-27 15:53:58.544550: [debug] Finished in 7ms: getPackageFiles /root/server/.stack-work/downloaded/ny3zBEQPD0Us/ArchPkgstatsScraper.cabal
@(Stack/Package.hs:250:21)
2017-02-27 15:53:58.546349: [debug] Finding out which packages are already installed
@(Stack/Build/Installed.hs:68:5)
2017-02-27 15:53:58.547148: [debug] Run process: /opt/ghc/8.0.2/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.617800: [debug] Process finished in 70ms: /opt/ghc/8.0.2/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.668700: [debug] Ignoring package haskeline due to wanting version 0.7.3.1 instead of 0.7.3.0
@(Stack/Build/Installed.hs:191:5)
2017-02-27 15:53:58.669277: [debug] Run process: /opt/ghc/8.0.2/bin/ghc-pkg --user --no-user-package-db --package-db /root/.stack/snapshots/x86_64-linux/lts-8.2/8.0.2/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.848257: [debug] Process finished in 178ms: /opt/ghc/8.0.2/bin/ghc-pkg --user --no-user-package-db --package-db /root/.stack/snapshots/x86_64-linux/lts-8.2/8.0.2/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.849981: [debug] Run process: /opt/ghc/8.0.2/bin/ghc-pkg --user --no-user-package-db --package-db /root/server/.stack-work/install/x86_64-linux/lts-8.2/8.0.2/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.901811: [debug] Process finished in 51ms: /opt/ghc/8.0.2/bin/ghc-pkg --user --no-user-package-db --package-db /root/server/.stack-work/install/x86_64-linux/lts-8.2/8.0.2/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:58.909405: [debug] Constructing the build plan
@(Stack/Build/ConstructPlan.hs:159:5)
2017-02-27 15:53:58.913689: [debug] Trying to decode /root/.stack/indices/Hackage/00-index.cache
@(Data/Store/VersionTagged.hs:68:5)
2017-02-27 15:53:59.106753: [debug] Success decoding /root/.stack/indices/Hackage/00-index.cache
@(Data/Store/VersionTagged.hs:72:13)
2017-02-27 15:53:59.265302: [debug] Checking if we are going to build multiple executables with the same name
@(Stack/Build.hs:196:5)
2017-02-27 15:53:59.265423: [debug] Executing the build plan
@(Stack/Build/Execute.hs:454:5)
2017-02-27 15:53:59.266429: [debug] Getting global package database location
@(Stack/GhcPkg.hs:55:5)
2017-02-27 15:53:59.266500: [debug] Run process: /opt/ghc/8.0.2/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:59.312877: [debug] Process finished in 46ms: /opt/ghc/8.0.2/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2017-02-27 15:53:59.314864: [info] Copying from /root/server/.stack-work/install/x86_64-linux/lts-8.2/8.0.2/bin/webserver to /root/.local/bin/webserver
@(Stack/Build/Execute.hs:492:21)
2017-02-27 15:53:59.413526: [info]
@(Stack/Build/Execute.hs:506:13)
2017-02-27 15:53:59.413629: [info] Copied executables to /root/.local/bin:
@(Stack/Build/Execute.hs:507:13)
2017-02-27 15:53:59.413694: [info] - webserver
@(Stack/Build/Execute.hs:511:35)
Notes: Running this as root and using docker
The text was updated successfully, but these errors were encountered:
extra-source-files just specify that a file should be included in the tarball. You probably want data-files. Unfortunately there isn't currently an easy way to have data-files get installed along with the exe - see this issue - #848 . If you don't mind the data files being stored in your work dir, you can use getDataDir from the autogenerated Paths_* module to locate them.
I'm going to go ahead and close this as a duplicate. I have bumped the priority of #848, though.
General summary/comments (optional)
Steps to reproduce
stack.yaml
The cabal file located here has some files added via the
extra-source-files
but they don't seem to be included: https://github.com/chrissound/ArchPackageCompareStats/blob/8730699aef5e14084d0e1c10bee86ec0eeb8271a/ArchPackageCompareStats.cabalUpon
stack install ArchPackageCompareStats
it places the executible within~/.local/bin
but the files are not present there.Notes: Running this as root and using docker
The text was updated successfully, but these errors were encountered: