conda-forge / gstreamer-feedstock

A conda-smithy repository for gstreamer.
BSD 3-Clause "New" or "Revised" License
9 stars 28 forks source link

[wip] Aarch with libegl #31

Closed hmaarrfk closed 4 years ago

hmaarrfk commented 4 years ago

Checklist

conda-forge-linter commented 4 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.

I do have some suggestions for making it better though...

For recipe:

hmaarrfk commented 4 years ago

@jayfurmanek it seems you are still missing CDTs for ppc64le

jayfurmanek commented 4 years ago

libdrm-devel-cos7-ppc64le and libxxf86vm-devel-cos7-ppc64le were merged in: https://github.com/conda-forge/libdrm-cos7-ppc64le-feedstock https://github.com/conda-forge/libxxf86vm-cos7-ppc64le-feedstock

But they never got built. I'm not sure why.

jayfurmanek commented 4 years ago

https://github.com/conda-forge/conda-smithy/issues/1154

mariusvniekerk commented 4 years ago

Manually kicked off those builds

jayfurmanek commented 4 years ago

I'm looking at this one again. It seems to be a pkg-config problem. The gstreamer-plugins uses pkg-config during the configure. The message No package 'gl' found is pkg-config output. The pkg-config is not looking into the sysroot to find the CDT packages there.

I put this line into install_base_plugins.sh:

export PKG_CONFIG_PATH=${CONDA_BUILD_SYSROOT}/usr/lib64/pkgconfig

and then pkg-config and configure then found the libGL.so. The pkg-config recipe has some customization for CDTs here: https://github.com/conda-forge/pkg-config-feedstock/blob/master/recipe/build.sh#L12-L17

Maybe that is not sufficient though.

conda-forge-linter commented 4 years ago

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

I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.

Here's what I've got...

For recipe:

hmaarrfk commented 4 years ago

Here goes nothing.

jayfurmanek commented 4 years ago

When I tried locally it got further but then complained of another missing dependency. Shared memory fence lib. Perhaps another CDT is needed.

hmaarrfk commented 4 years ago

@conda-forge-admin, please rerender

hmaarrfk commented 4 years ago

@jayfurmanek aarch64 seems to be failing with:

/drone/src/build_artifacts/gstreamer_and_plugins_1574618539699/_build_env/bin/../lib/gcc/aarch64-conda_cos7-linux-gnu/7.3.0/../../../../aarch64-conda_cos7-linux-gnu/bin/ld: cannot find -lGL

from what it seems, i think ppc64le is failing with the same issue. maybe it is a missing LDFLAG???

jayfurmanek commented 4 years ago

This should help: https://github.com/conda-forge/pkg-config-feedstock/pull/30

jayfurmanek commented 4 years ago

cos7 libGL.so needs libxshmfence.so. So after the pkg-config fix (above) is merged, then we'll need the CDTs in this one: https://github.com/conda-forge/staged-recipes/pull/10281

Both of those allow gstreamer to build fine for me locally. No other changes needed.

mingwandroid commented 4 years ago

Nice.

hmaarrfk commented 4 years ago

@conda-forge-admin, please

hmaarrfk commented 4 years ago

@conda-forge-admin, please rerender

hmaarrfk commented 4 years ago

It seems that the feedstocks still hanve't rerendered.

hmaarrfk commented 4 years ago

needs: https://github.com/conda-forge/staged-recipes/pull/10516

jayfurmanek commented 4 years ago

I think this is right now. The fails here are just http timeouts to freedesktop.org. What's the best way to rekick them all at once?

hmaarrfk commented 4 years ago

Drone is failing with

cannot find -lGL
conda-forge-linter commented 4 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.

hmaarrfk commented 4 years ago

@conda-forge-admin, please rerender