Code Monkey home page Code Monkey logo

Comments (15)

cehbrecht avatar cehbrecht commented on September 25, 2024 1

@ocefpaf

can you live with the previous version for now?

yes ... currently no problem, just need to pin it in my environment.

from glib-feedstock.

gwvr avatar gwvr commented on September 25, 2024 1

@ocefpaf, @msarahan I've just installed 2.51.0-2, no obvious issues. Many thanks.

from glib-feedstock.

gwvr avatar gwvr commented on September 25, 2024

Confirmed. My miniconda install is in my encrypted home folder.

Current conda install:

               platform : linux-64
          conda version : 4.2.13
       conda is private : False
      conda-env version : 4.2.13
    conda-build version : not installed
         python version : 3.5.2.final.0
       requests version : 2.12.1

from glib-feedstock.

ocefpaf avatar ocefpaf commented on September 25, 2024

The latest glib, failing here, was built with conda-build 2 while the previous one, that is working, was not.

It is not related to conda/conda-build#1482 as that is by design.

I cannot reproduce that locally on my Linux machine. See

> conda create -n glib-test -c defaults -c conda-forge python=2 glib=2.51.0
Fetching package metadata .........
Solving package specifications: ..........

Package plan for installation in environment /home/filipe/miniconda3/envs/glib-test:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    libffi-3.2.1               |                0          36 KB  defaults
    libiconv-1.14              |                0         2.0 MB  defaults
    zlib-1.2.8                 |                3         101 KB  defaults
    pcre-8.39                  |                0         553 KB  defaults
    python-2.7.12              |                1        12.1 MB  defaults
    glib-2.51.0                |                1         6.0 MB  conda-forge
    ------------------------------------------------------------
                                           Total:        20.7 MB

The following NEW packages will be INSTALLED:

    gettext:  0.19.7-1 conda-forge
    glib:     2.51.0-1 conda-forge
    libffi:   3.2.1-0  defaults   
    libiconv: 1.14-0   defaults   
    openssl:  1.0.2j-0 defaults   
    pcre:     8.39-0   defaults   
    python:   2.7.12-1 defaults   
    readline: 6.2-2    defaults   
    sqlite:   3.13.0-0 defaults   
    tk:       8.5.18-0 defaults   
    zlib:     1.2.8-3  defaults   

Proceed ([y]/n)? y

Pruning fetched packages from the cache ...
Fetching packages ...
libffi-3.2.1-0 100% |######################################| Time: 0:00:00 663.46 kB/s
libiconv-1.14- 100% |######################################| Time: 0:00:01   1.24 MB/s
zlib-1.2.8-3.t 100% |######################################| Time: 0:00:00 829.46 kB/s
pcre-8.39-0.ta 100% |######################################| Time: 0:00:00   1.19 MB/s
python-2.7.12- 100% |######################################| Time: 0:00:10   1.23 MB/s
glib-2.51.0-1. 100% |######################################| Time: 0:00:06 905.95 kB/s
Extracting packages ...
[      COMPLETE      ]|#########################################################| 100%
Linking packages ...
[      COMPLETE      ]|#########################################################| 100%
#
# To activate this environment, use:
# > source activate glib-test
#
# To deactivate this environment, use:
# > source deactivate glib-test
#


> source activate glib-test
(glib-test) 
> conda info
Current conda install:

               platform : linux-64
          conda version : 4.2.13
       conda is private : False
      conda-env version : 4.2.13
    conda-build version : 2.0.11
         python version : 3.5.2.final.0
       requests version : 2.12.1
       root environment : /home/filipe/miniconda3  (writable)
    default environment : /home/filipe/miniconda3/envs/glib-test
       envs directories : /home/filipe/miniconda3/envs
          package cache : /home/filipe/miniconda3/pkgs
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.continuum.io/pkgs/free/linux-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/pro/linux-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : /home/filipe/.condarc
           offline mode : False

> glib-compile-resources -h
Usage:
  glib-compile-resources [OPTION…] FILE

Compile a resource specification into a resource file.
Resource specification files have the extension .gresource.xml,
and the resource file have the extension called .gresource.

Help Options:
  -h, --help                  Show help options

Application Options:
  --version                   Show program version and exit
  --target=FILE               name of the output file
  --sourcedir=DIRECTORY       The directories where files are to be read from (default to current directory)
  --generate                  Generate output in the format selected for by the target filename extension
  --generate-header           Generate source header
  --generate-source           Generate sourcecode used to link in the resource file into your code
  --generate-dependencies     Generate dependency list
  --dependency-file=FILE      name of the dependency file to generate
  --manual-register           Don’t automatically create and register resource
  --internal                  Don’t export functions; declare them G_GNUC_INTERNAL
  --c-name                    C identifier name used for the generated source code

@msarahan can you take a quick look?

from glib-feedstock.

cehbrecht avatar cehbrecht commented on September 25, 2024

additional info: my conda installation is on an encrypted home folder. But i had no troubles with this before.

from glib-feedstock.

gwvr avatar gwvr commented on September 25, 2024

+1, this is a regression.

from glib-feedstock.

msarahan avatar msarahan commented on September 25, 2024

I think this is probably related to conda/conda-build#1482

That behavior is certainly by design, but that doesn't mean that it can't cause problems. In this case, I think that we can fix the issue by changing how we put files into the tarball. We really shouldn't be including the full file path in the tarball - just a relative path. All of that prefix junk is unavoidable at build time, but it should not be there at run time. Something has broken. I'll see about a fix today.

from glib-feedstock.

ocefpaf avatar ocefpaf commented on September 25, 2024

That behavior is certainly by design, but that doesn't mean that it can't cause problems.

Ah. Missed that part. 👍

@gwvr and @cehbrecht can you live with the previous version for now? Not sure how long it will take a proper solution to be implemented and applied here... And I am not eager to revert back to conda-build 1 😕

from glib-feedstock.

gwvr avatar gwvr commented on September 25, 2024

@ocefpaf I guess we'll have to live with it for now!

I only encountered this issue because I'd done a

conda update --all

I don't need the latest version of glib.

from glib-feedstock.

ocefpaf avatar ocefpaf commented on September 25, 2024

Thanks @gwvr!

Until we find a proper solution let's keep this issue open.

from glib-feedstock.

msarahan avatar msarahan commented on September 25, 2024

Sorry, I took a closer look at this, and I don't think it's a new issue in conda-build 2. It is certainly caused by the longer prefix, but it's glib's build that is ultimately the culprit here in how it captures the environment in which it was built.

The folder structure for most of the stuff is fine, but there is just that one folder: share/gdb/auto-load/feedstock_root/build_artefacts/recipe_root_1481139809452/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_ - this folder needs to be manually compensated for somehow in your build.sh script. If you don't need that gdb stuff, I recommend just deleting share/gdb - that's the quickest fix.

from glib-feedstock.

ocefpaf avatar ocefpaf commented on September 25, 2024

@cehbrecht and @gwvr can you test the latest builds when they make into the channel? I removed the gdb directory as suggested by @msarahan. Hopefully that won't be a problem for us.

from glib-feedstock.

ocefpaf avatar ocefpaf commented on September 25, 2024

Thanks @gwvr for the quick test!

from glib-feedstock.

cehbrecht avatar cehbrecht commented on September 25, 2024

@ocefpaf
the latest version works also on my site. Thanks :)

from glib-feedstock.

ocefpaf avatar ocefpaf commented on September 25, 2024

Awesome. Thanks for the feedback @cehbrecht!

PS: @cehbrecht and @gwvr consider adding yourself as maintainers on the feedstocks you are interested. See https://github.com/conda-forge/staged-recipes#10-what-does-being-a-conda-forge-feedstock-maintainer-entail

from glib-feedstock.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.