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

post-link error leads to infinite build test loop #1732

Closed
jasongrout opened this issue Feb 6, 2017 · 2 comments · Fixed by #1739
Closed

post-link error leads to infinite build test loop #1732

jasongrout opened this issue Feb 6, 2017 · 2 comments · Fixed by #1739
Assignees
Labels
locked [bot] locked due to inactivity
Milestone

Comments

@jasongrout
Copy link

With conda-build 2.1.3, and this meta.yaml:

package:
  name: testpackage
  version: 1

source:
    path: ./

test:
    imports:
        math

and this post-link.sh:

exit 1

I get an infinite cycle when trying to do conda-build. Here is an excerpt

ERROR conda.core.link:_execute_actions(319): An error occurred while installing package 'local::testpackage-1-0'.
LinkError: post-link script failed for package local::testpackage-1-0
running your command again with `-v` will provide additional information
location of failed script: [snip]/anaconda/conda-bld/testpackage_1486418185388/_t_env/bin/.testpackage-post-link.sh
==> script messages <==
<None>


Attempting to roll back.

BUILD START: testpackage-1-0
Copying [snip]/testpackage to [snip]/anaconda/conda-bld/testpackage_1486418192774/work
Package: testpackage-1-0
source tree in: [snip]/anaconda/conda-bld/testpackage_1486418192774/work
number of files: 1
Fixing permissions
Fixing permissions
[snip]/anaconda/conda-bld/osx-64/testpackage-1-0.tar.bz2
updating index in: [snip]/anaconda/conda-bld
updating index in: [snip]/anaconda/conda-bld/noarch
updating index in: [snip]/anaconda/conda-bld/osx-64
updating: testpackage-1-0.tar.bz2
updating index in: [snip]/anaconda/conda-bld
TEST START: testpackage-1-0
Deleting work directory, [snip]/anaconda/conda-bld/testpackage_1486418192774/work
updating index in: [snip]/anaconda/conda-bld/osx-64
updating index in: [snip]/anaconda/conda-bld/noarch

@jasongrout
Copy link
Author

CC @aburgm

@msarahan msarahan self-assigned this Feb 6, 2017
@msarahan msarahan added this to the 2.1.4 milestone Feb 6, 2017
@github-actions
Copy link

Hi there, thank you for your contribution!

This issue has been automatically locked because it has not had recent activity after being closed.

Please open a new issue if needed.

Thanks!

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Apr 17, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants