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
What were you attempting to do?
Extract a dependency artifact (.tgz) using vacation.
What did you expect to happen?
Files are extracted successfully
What was the actual behavior? Please provide log output, if possible.
Extraction failed with the following error:
failed to evaluate symlink /layers/paketo-buildpacks_cpython/cpython/bin/python: lstat /layers/paketo-buildpacks_cpython/cpython/bin/python3: no such file or directory
For additional context:
This operation was attempted with two separate versions of the cpython dependency (v3.6.14 & v3.6.15)
The vacationcode responsible for sorting and evaluating symlinks was modified to display the sorted list of symlink headers, producing the following output:
Note that in the case of v3.6.15, symlinks A and B appear out of order in the sorted list of symlink headers. Since Symlink B depends on the existence of Symlink A, the evaluation of Symlink B fails. It is peculiar that this error appears only in the case of v3.6.15, since the names of the files in the relevant directories (/bin) seem identical across the two versions.
3.6.14 bin directory
lrwxr-xr-x 1 pivotal staff 8 Jun 28 15:57 2to3 -> 2to3-3.6
-rwxr-xr-x 1 pivotal staff 114 Jun 28 15:57 2to3-3.6
-rwxr-xr-x 1 pivotal staff 255 Jun 28 15:57 easy_install-3.6
lrwxr-xr-x 1 pivotal staff 7 Jun 28 15:57 idle3 -> idle3.6
-rwxr-xr-x 1 pivotal staff 112 Jun 28 15:57 idle3.6
-rwxr-xr-x 1 pivotal staff 237 Jun 28 15:58 pip3
-rwxr-xr-x 1 pivotal staff 237 Jun 28 15:58 pip3.6
lrwxr-xr-x 1 pivotal staff 8 Jun 28 15:57 pydoc3 -> pydoc3.6
-rwxr-xr-x 1 pivotal staff 97 Jun 28 15:57 pydoc3.6
lrwxr-xr-x 1 pivotal staff 9 Jun 28 15:58 python -> ./python3
lrwxr-xr-x 1 pivotal staff 9 Jun 28 15:57 python3 -> python3.6
lrwxr-xr-x 1 pivotal staff 16 Jun 28 15:57 python3-config -> python3.6-config
-rwxr-xr-x 1 pivotal staff 33144 Jun 28 15:57 python3.6
lrwxr-xr-x 1 pivotal staff 17 Jun 28 15:57 python3.6-config -> python3.6m-config
-rwxr-xr-x 1 pivotal staff 33144 Jun 28 15:57 python3.6m
-rwxr-xr-x 1 pivotal staff 3102 Jun 28 15:57 python3.6m-config
lrwxr-xr-x 1 pivotal staff 10 Jun 28 15:57 pyvenv -> pyvenv-3.6
-rwxr-xr-x 1 pivotal staff 454 Jun 28 15:57 pyvenv-3.6
What happened?
What were you attempting to do?
Extract a dependency artifact (.tgz) using
vacation
.What did you expect to happen?
Files are extracted successfully
What was the actual behavior? Please provide log output, if possible.
Extraction failed with the following error:
For additional context:
This operation was attempted with two separate versions of the cpython dependency (v3.6.14 & v3.6.15)
The
vacation
code responsible for sorting and evaluating symlinks was modified to display the sorted list of symlink headers, producing the following output:cpython
v3.6.14 Symlink headers sorted:cpython
v3.6.15 Symlink headers sorted:Note that in the case of v3.6.15, symlinks A and B appear out of order in the sorted list of symlink headers. Since Symlink B depends on the existence of Symlink A, the evaluation of Symlink B fails. It is peculiar that this error appears only in the case of v3.6.15, since the names of the files in the relevant directories (/bin) seem identical across the two versions.
3.6.14
bin
directory3.6.15
bin
directoryBuild Configuration
What buildpacks are you using? Please include versions.
Cpython buildpack
Can you provide a sample app or relevant configuration (
buildpack.yml
,nginx.conf
, etc.)?cpython
dependency (v3.6.14 & v3.6.15)Checklist
The text was updated successfully, but these errors were encountered: