Comments (10)
Interesting - does the archive contain symlinks?
from rattler-build.
yeah, I think there are (at least) a few symlink files at the root of the archive; waf, waf_std, waf_mpi, waf_debug
from rattler-build.
Hmm symlinks are tricky on Windows. You can enable developer mode
to allow symlinks on Windows without elevated permissions. I don't know how conda-build
(or other archive extraction programs) deal with this.
Do you know if this used to work in conda-build?
from rattler-build.
https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development
from rattler-build.
These files arent used on windows. So they are only relevant for linux. So I guess they're treated as simple binary files?
from rattler-build.
Could you try to extract this archive with tar
or conda-build
on Windows? I am just wondering what they do...
Potentially we could warn (and ignore) symlinks when we cannot create them (instead of failing).
from rattler-build.
It works without issues when I run conda mambabuild .
Source cache directory is: C:\Work\Miniforge3\envs\mamba-build\conda-bld\src_cache
Found source in cache: code-aster_17.0.21.3_win_9da7ea830c.tar.gz
Extracting download
source tree in: C:\Work\Miniforge3\envs\mamba-build\conda-bld\code-aster_1718963599220\work
And when I do
tar -xvzf /c/Work/Miniforge3/envs/mamba-build/conda-bld/src_cache/code-aster_17.0.21.3_win_9da7ea830c.tar.gz -C /c/Work/
it also works fine. Note that I had to change my directory mapping string when using tar
Update:
Tar does give me some warnings though:
tar: src-17.0.21.3/waf: Cannot create symlink to 'waf_std': No such file or directory
src-17.0.21.3/waf.engine
src-17.0.21.3/waf.main
src-17.0.21.3/waf_debug
tar: src-17.0.21.3/waf_debug: Cannot create symlink to 'waf_variant': No such file or directory
src-17.0.21.3/waf_mpi
tar: src-17.0.21.3/waf_mpi: Cannot create symlink to 'waf_variant': No such file or directory
src-17.0.21.3/waf_std
tar: src-17.0.21.3/waf_std: Cannot create symlink to 'waf_variant': No such file or directory
src-17.0.21.3/waf_variant
src-17.0.21.3/waftools/
src-17.0.21.3/waftools/clangdb.py
src-17.0.21.3/waftools/ext_aster.py
src-17.0.21.3/waftools/mathematics.py
src-17.0.21.3/waftools/med_cfg.py
src-17.0.21.3/waftools/metis.py
src-17.0.21.3/waftools/msvc_lib.py
src-17.0.21.3/waftools/mumps.py
src-17.0.21.3/waftools/official_platforms.py
src-17.0.21.3/waftools/parallel.py
src-17.0.21.3/waftools/parmetis.py
src-17.0.21.3/waftools/petsc.py
src-17.0.21.3/waftools/python_cfg.py
src-17.0.21.3/waftools/runtest.py
src-17.0.21.3/waftools/scotch.py
src-17.0.21.3/waftools/wafutils.py
src-17.0.21.3/wscript
tar: Exiting with failure status due to previous errors
from rattler-build.
OK, so it exits with a failure status, but still extracts everything except for the symlinks. I think we can follow that behavior.
from rattler-build.
Meaning warn, but still proceed.
from rattler-build.
Yeah, it seems like it extracts all files. So if that's a possibility then that sounds great!
from rattler-build.
Related Issues (20)
- various issues in chipstar-forge/llvm building
- various files which are supposedly installed into the package are not visible when testing the package HOT 9
- cannot symlink between packages HOT 1
- Disallow `-` in context variable names HOT 1
- give more information which recipe failed to parse when using `--recipe-dir`
- rattler-build panicked when trying to parse a certain patch. HOT 1
- --skip-exisiting + building package but failing tests behaviour
- Generate Recipe for Conda Package HOT 4
- v0.19.0 lack generate-recipe subcommand HOT 3
- Failed on `pixi add mini-racer --pypi` , but pip install success HOT 1
- Building from local sources causes two macosx wheels to be produced HOT 5
- Do not produce broken packages when interrupted
- Load needed variant values before first render
- feat: Implement additional `build="feat_*"` argument for pin functions
- Implement `--extra-meta` HOT 1
- Add CHANGELOG.md
- Option to continue building on failure when using --recipe-dir
- stuck on solving with one dependency version but not the other HOT 1
- How to setup for local development
- NumPy variants should not influence `noarch` packages HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rattler-build.