Skip to content

Setting include_system_libs to false fails the release #61

@vladshcherbin

Description

@vladshcherbin

Steps to reproduce

Grab a fresh test project, like this one

Open rel/config.exs and change:

environment :prod do
  set include_erts: false
  set include_src: false
end

to

environment :prod do
  set include_erts: false
  set include_src: false
  set include_system_libs: false
end

Execute

MIX_ENV=prod mix do compile, phoenix.digest, release --env=prod --verbose

Verbose Logs

==> Packaging release..
==> Archiving distilleryTest-0.0.2
==> Writing tarball to rel/distilleryTest/releases/0.0.2/distilleryTest.tar.gz
==> Updating tarball
==> Stripping system libs from release tarball
==> Problem generating release tarball:
    Failed to create temporary directory `{'/tmp/.tmp_dir407353268/lib/tmp/.tmp_dir407353268/lib/compiler-7.0', :enoent}`

Description of issue

OS X 10.11.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThings flat out don't work, or we said they would work one way but they work another

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions