Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error executing action run on resource 'execute[patch php]' #598

Open
stasguma opened this issue Jun 25, 2023 · 0 comments
Open

Error executing action run on resource 'execute[patch php]' #598

stasguma opened this issue Jun 25, 2023 · 0 comments

Comments

@stasguma
Copy link

Issue Description

I'm trying to build an ubuntu version and got the following error.

Host System

  • OS: Windows 10
  • Packer Version: 1.8.7
  • Vagrant Version: 1.9.1
  • VirtualBox Version: 7.0.8

Command Output

    virtualbox-iso:   * execute[patch php] action nothing (skipped due to action :nothing)
    virtualbox-iso:   * execute[extract php] action run
    virtualbox-iso:     - execute tar xvzf /tmp/packer-chef-solo/local-mode-cache/cache/php-5.4.5.tar.gz -C /tmp/packer-chef-solo/local-mode-cache/cache
    virtualbox-iso:   * execute[patch php] action run
    virtualbox-iso:
    virtualbox-iso:     ================================================================================
    virtualbox-iso:     Error executing action `run` on resource 'execute[patch php]'
    virtualbox-iso:     ================================================================================
    virtualbox-iso:
    virtualbox-iso:     Mixlib::ShellOut::ShellCommandFailed
    virtualbox-iso:     ------------------------------------
    virtualbox-iso:     Expected process to exit with [0], but received '1'
    virtualbox-iso:     ---- Begin output of patch -p0 -b < ../libxml29_compat.patch ----
    virtualbox-iso:     STDOUT:
    virtualbox-iso:     STDERR: /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/mixlib-shellout-2.3.2/lib/mixlib/shellout/unix.rb:185:in `chdir': No such file or directory @ dir_chdir - /tmp/packer-chef-solo/local-mode-cache/cache/php-5.4.5 (Errno::ENOENT)
    virtualbox-iso:             from /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/mixlib-shellout-2.3.2/lib/mixlib/shellout/unix.rb:185:in `set_cwd'
    virtualbox-iso:             from /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/mixlib-shellout-2.3.2/lib/mixlib/shellout/unix.rb:337:in `block in fork_subprocess'
    virtualbox-iso:             from /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/mixlib-shellout-2.3.2/lib/mixlib/shellout/unix.rb:318:in `fork'
    virtualbox-iso:             from /opt/chef/embedded/lib/ruby/gems/2.4.0/gems/mixlib-shellout-2.3.2/lib/mixlib/shellout/unix.rb:318:in `fork_subprocess'
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant