conda-forge / perl-feedstock

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

perl conda package is not relocatable #4

Closed ericdill closed 7 years ago

ericdill commented 8 years ago

The perl conda package is not outputting relocatable binaries.

It seems like there are these wonky paths with triple dots in conda packaged perl that is shipped from the conda-forge and dan_blanchard channels. That seems like a problem with the relocation since I don't think that unix paths can have these triple dots in them. At least I was unsuccessful in finding any information about triple dots (...) in unix paths via google.

To see the files that have these triple-dot-paths:

conda create -p /tmp/foo perl -c conda-forge --yes
cd /tmp/foo
grep -r "\.\.\.\/"

link to the output of the above command since it is sort of long

There is this thread from 2008 that suggests that the combination of -de, -Dprefix and Duserelocatableinc has a very specific order that it needs to go in for the call to Configure. Specifically that -de needs to come last or things go wonky. I did try that to no avail.

I discovered this while trying to build epics-base in conda-forge/staged-recipes#640 since it needs to be able to see those files. I am basically dropping this off and running away since I've got little experience with this. Sorry!

attn @jakirkham @msarahan

jakirkham commented 8 years ago

Do you know a simple test for this, @ericdill? Preferably something that doesn't involve grepping.

ericdill commented 8 years ago

@jakirkham I do not have any idea how to test this

jakirkham commented 7 years ago

This might be fixed by PR ( https://github.com/conda-forge/perl-feedstock/pull/6 ). Not sure. Going to mark it as fixed at least. If it is not actually fixed by it, we can retry with a new PR.