conda-forge / miktex-feedstock

A conda-smithy repository for miktex.
BSD 3-Clause "New" or "Revised" License
3 stars 11 forks source link

Add Linux support #13

Closed ivoflipse closed 5 years ago

ivoflipse commented 7 years ago

See https://github.com/conda-forge/miktex-feedstock/issues/12

conda-forge-linter commented 7 years ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Korijn commented 7 years ago

I think you want to add toolchain:

meta.yaml:

requirements:
  build:
    - toolchain

And at the top of build.sh:

# FIXME: This is a hack to make sure the environment is activated.
# The reason this is required is due to the conda-build issue
# mentioned below.
#
# https://github.com/conda/conda-build/issues/910
#
source activate "${CONDA_DEFAULT_ENV}"
ivoflipse commented 7 years ago

It doesn't seem to want to build for Unix just yet :\ Doesn't it like my selectors or something?

ivoflipse commented 7 years ago

Now it ran, but something else seems missing:

bash: line 1: ./ci_support/run_docker_build.sh: No such file or directory

ivoflipse commented 7 years ago

So I added the run_docker_build.sh and now CircleCI no longer runs :\

ocefpaf commented 7 years ago

@ivoflipse I can take a look at this for you later today but I am a little bit swamped right now. If you do not solve it by then feel free to ping me later today or tomorrow.

ivoflipse commented 7 years ago

No problem @ocefpaf! Any help is appreciated

Korijn commented 7 years ago

If you change skip, you need to run conda-smithy rerender locally (add conda-forge to your channels before doing so) to update the CI configurations.

ivoflipse commented 7 years ago

I had just installed conda-smithy and set up all the necessary tokens. But I'm getting the following error:

C:\Users\ivofl\Projects\miktex-feedstock>conda-smithy rerender
Using Anaconda API: https://api.anaconda.org
Fetching package metadata ..........Could not find URL: https://repo.continuum.io/pkgs/msys2/linux-64/

I'm probably doing something else wrong though

Korijn commented 7 years ago

I didn't need the tokens to rerender, just the channel in conda config.

ivoflipse commented 7 years ago

One step forward, two steps back:

bash: line 1: ./ci_support/run_docker_build.sh: Permission denied

Korijn commented 7 years ago

Just tried it, conda-smithy rerender is broken for me as well. Same error message as in https://github.com/conda-forge/miktex-feedstock/pull/13#issuecomment-243448514

ivoflipse commented 7 years ago

The Github repo (and the source distribution) contain a more detailed list of dependencies:

Minimum OS requirements

C/C++

Build system

Build utilities

3rd party libs

We're skipping all Qt stuff, so those can get dropped (I hope)

After adding all names I could find to the yum_requirements.txt, I get the following as missing:

ivoflipse commented 7 years ago

While I tried to add a lot of the dependencies (and there are a lot...) to the yum_requirements.txt it seems they are not found or I'm doing something else wrong

ivoflipse commented 7 years ago

Let's see what dependencies we're definitely missing and try and make recipes for them:

ivoflipse commented 5 years ago

I'm not continuing with this PR so closing it