Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 27 20:33
    asafkahlon opened #3858
  • Jan 24 20:58
    brando90 commented #1992
  • Jan 24 20:48
    brando90 commented #1992
  • Jan 24 17:23

    conda-bot on gh-pages

    remove docs for pr 3856 (compare)

  • Jan 24 17:23

    rrigdon on master

    Grammar/formatting edits to con… Grammar/Formatting on resources Grammar/Formatting - user-guide and 13 more (compare)

  • Jan 24 17:23
    rrigdon closed #3856
  • Jan 24 17:17

    conda-bot on gh-pages

    remove old docs for 3856 docs for pr 3856 (compare)

  • Jan 24 17:17

    conda-bot on gh-pages

    remove old docs for 3856 docs for pr 3856 (compare)

  • Jan 24 17:16

    conda-bot on gh-pages

    remove old docs for 3856 docs for pr 3856 (compare)

  • Jan 24 17:16
    rrigdon synchronize #3856
  • Jan 24 17:15

    conda-bot on gh-pages

    remove old docs for 3856 docs for pr 3856 (compare)

  • Jan 24 17:15
    rrigdon synchronize #3856
  • Jan 24 17:14

    conda-bot on gh-pages

    remove old docs for 3856 docs for pr 3856 (compare)

  • Jan 24 17:14
    rrigdon synchronize #3856
  • Jan 24 17:14
    rrigdon synchronize #3856
  • Jan 24 17:14

    conda-bot on gh-pages

    remove old docs for 3856 docs for pr 3856 (compare)

  • Jan 24 17:13
    rrigdon synchronize #3856
  • Jan 24 17:12

    conda-bot on gh-pages

    remove old docs for 3856 docs for pr 3856 (compare)

  • Jan 24 17:11

    conda-bot on gh-pages

    remove old docs for 3856 docs for pr 3856 (compare)

  • Jan 24 17:10

    conda-bot on gh-pages

    remove old docs for 3856 docs for pr 3856 (compare)

Duncan Macleod
@duncanmmacleod
you just mean to expose conda-build’s behaviour of adding an origin rpath then refusing it later? I will try, but the project I’m building now is large and complicated, and is likely doing something weird all on its own that is forcing conda-build into a corner
Ray Donnelly
@mingwandroid
Just some simple libs along some of our existing hello world-y tests we have already that use compilers and adding a bit of manual rpath specification on the link command lines ought to shake this out I think.
Duncan Macleod
@duncanmmacleod
ok, I am now convinced that the issue here is that my build is setting runpath, and conda-build doesn’t like it. conda-build is replacing exising rpath entries with ORIGIN paths, which it is ok with later, but the but not runpath, hence the error. patchelf doesn’t seem to make any distinction between the two, so calling patchelf --force-rpath --set-rpath … will replace the existing RUNPATH on my binary with another RUNPATH - maybe that’s what it is supposed to do
I just need to find where in my build something is using runpath instead of rpath and I’m set...
Duncan Macleod
@duncanmmacleod
for the record, I found it, the htcondor cmake configuration was adding -Wl,--enable-new-dtags to the flags
Duncan Macleod
@duncanmmacleod

on another topic, is there a way to disentagle a recipe called package with an output of the same name?

I would like to have a recipe where the top-level build gets split up into subpackages using outputs/files, where one output has the same name as the top-level package. That output’s requirements are a proper subset of the overall build requirements, but conda-build seems to preferentially select the output’s requirements list over the top-level list when building the environments to use for the top-level build stage. Is that bug, or am I just using conda-build and outputs incorrectly?

Ray Donnelly
@mingwandroid
Not really. I mean conda-build could do some icky code around that and likely does but that's edge-case stuff, mainly as we'll just stick -suite onto the end of the top level package name..
We should to be honest error out when the top level matches an output as it's more trouble than it is worth.
I know this can be a bit tricky for infra / tooling but cb provides enough render/listy things to help with that I hope.
Duncan Macleod
@duncanmmacleod
I’ve worked around it now by just renaming the top-level package
Ray Donnelly
@mingwandroid
ok cool
as I do each time too ;-)
Duncan Macleod
@duncanmmacleod
I’m just a pedant and would really like the conda-forge feedstock to be named for the output, rather than the modified recipe name
Ray Donnelly
@mingwandroid
Me too
PRs welcome that attempt to fix it I suppose!
Duncan Macleod
@duncanmmacleod
does conda-build support negative matches for outputs/files?
Andrew Annex
@AndrewAnnex
hey all, I was wondering if someone here can take a look at an issue I'm having with conda-build, I made a PR with a possible fix here conda/conda-build#3773, was curious to figure out how best to add a unit test also.
Ray Donnelly
@mingwandroid
It looks simple enough that it may not need one
Andrew Annex
@AndrewAnnex
I also noted an issue with the using the "fn" parameter in the meta.yaml to rename files on macos, should I submit a second issue for that?
Ray Donnelly
@mingwandroid
Sure!
Andrew Annex
@AndrewAnnex
this issue (well the first one) is blocking a fix for my conda-forge package which I would like to be fixed by the end of the month, about how often do conda build releases get made
Andrew Annex
@AndrewAnnex
okay I opened #3776 that has this other issue detailed
Matthew R. Becker
@beckermr
does anyone have hints on how I can go about solving this issue?
reading the source has been less than enlightening
for me
Andrew Annex
@AndrewAnnex
could someone give me some feedback on #3773 and respond to my issue #3776 ? I could also attempt to fix #3776 if someone can point me to the right place in the codebase
Dan Cotruta
@catmandi_twitter
hi all
i am having some trouble building a simple conda package to use in a local channel
but conda index is not picking up my package
Douglas Lowe
@douglowe
Can anyone tell me where I'm going wrong with my subpackages here: https://github.com/UoMResearchIT/staged-recipes/blob/prismatic_subpackages/recipes/prismatic/meta.yaml
I can't get the main package to load the subpackages as dependencies, nor do the subpackages load any dependencies other than libcxx. I've tried to follow the documentation (https://conda.io/projects/conda-build/en/latest/resources/define-metadata.html#outputs-section) but what is suggested there just doesn't seem to work.
Ray Donnelly
@mingwandroid
do you want the gui package to depend upon the cli one at runtime here?
look at the xgboot example
Matthew R. Becker
@beckermr
I have a very basic question about conda build
here is a snippet from pytest installed in the host section
#!/usr/bin/env python
# EASY-INSTALL-ENTRY-SCRIPT: 'pytest==3.6.2','console_scripts','pytest'
__requires__ = 'pytest==3.6.2'
import re
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(
        load_entry_point('pytest==3.6.2', 'console_scripts', 'pytest')()
    )
why is it using /usr/bin/env instead of the full host prefix here?
FWIW, on a normal install, this is simply the path of the env.
Matthew R. Becker
@beckermr
And my related question is whether or not I can somehow force conda to do that during conda-build
Matthew R. Becker
@beckermr
ah this is related to the length of the lines
the conda build ones are too long for most systems to deal with
the fun edge case here is that if you are working on a build on OSX that is doing somewhat dumb things with DYLD_LIBRARY_PATH, then you end up with the /usr/bin/env invoking SIP and breaking everything
blarg
Andrew Annex
@AndrewAnnex
thanks for merging in #3773, I believe that will fix my conda-forge feedstock once a new release is made, how soon until 3.8.11?
Ray Donnelly
@mingwandroid
Well, IMHO /usr/bin/env python is the correct invocation in that we respect and use PATH and not having to rewrite files per-env is a saving.
Jonathan J. Helmus
@jjhelmus
@beckermr That snippet is created by setuptools/pip not conda-build/conda. Entry points created by conda do not use pkg_resources, https://github.com/conda/conda/blob/4.7.12/conda/gateways/disk/create.py#L85-L106
Matthew R. Becker
@beckermr
Most of it is but not the shebang line