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

conda-build unable to extract tar.xz files on Windows Python2.7/vc9 #1536

Closed
dschreij opened this issue Nov 15, 2016 · 3 comments
Closed

conda-build unable to extract tar.xz files on Windows Python2.7/vc9 #1536

dschreij opened this issue Nov 15, 2016 · 3 comments
Labels
locked [bot] locked due to inactivity

Comments

@dschreij
Copy link

dschreij commented Nov 15, 2016

I just pushed a recipe to conda-forge and it builds correctly on Windows for Python 3.*, but with Python 2.7/vc9 it reports the following:

Source cache directory is: C:\Miniconda\conda-bld\src_cache
Downloading source to cache: flac-1.3.1.tar.xz
Downloading http://downloads.xiph.org/releases/flac/flac-1.3.1.tar.xz
Success
Extracting download
unxz is required to unarchive .xz source files.

Command exited with code 1

It seems as if unxz is only missing for this version of vc and/or python.

The recipe can be found here: https://github.com/dschreij/staged-recipes/tree/sdl2_mixer/recipes/flac

Sadly, the source is not available in any other archive format, so I'm stuck with tar.xz.

@msarahan
Copy link
Contributor

xz can't be compiled with VS 2008. It uses C99, which VS didn't support adequately until VS 2013.

xz as a standalone package would be feasible - built only as an executable that depended on VS 2015 runtime. You can put in a pull request or issue requesting the package change at continuumIO/anaconda-recipes. I must warn you, it may be some time before we can get to it.

This is not a bug with conda-build, though. Closing this issue.

@dschreij
Copy link
Author

dschreij commented Nov 15, 2016

Right then, that sounds like a lot of trouble for a format which is rarely used. I think I am going to find another solution for this problem, maybe create a downloadable zip myself and link to that. Thanks for looking into this!

akruis pushed a commit to akruis/python-feedstock that referenced this issue Apr 3, 2017
Conda cant't extract tar.xz files on Windows / Python 2.7.
See conda/conda-build#1536 for details.
@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 18, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 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

No branches or pull requests

2 participants