Skip to content

docbuild broken again - anaconda compilers #5420

Closed

Description

@thequackdaddy

Looks like the docbuild is broken again.

After some toying with it, I think a simple workaround is to set conda to install "gsl<2.4" in the last conda install in the docbuild_install.sh file.

The reason is that anaconda is not-so-helpfully installing their own compilers. Their compilers seem to be incompatible with our c compiling.

https://www.anaconda.com/blog/developer-blog/utilizing-the-new-compilers-in-anaconda-distribution-5/

I'll look into this more later. But if anyone understands the issue more, chime in.

Activity

  1. changed the title [-]docbuild broken again[/-] [+]docbuild broken again - anaconda compilers[/+] on Dec 12, 2018
  2. bashtage commented on Dec 12, 2018

    @bashtage
    Member

    WHen Anaconda installs a modern C compiler than all of statsmodels should be built with the modern compiler.

    You should see commands like:

    gcc -pthread -B /home/travis/miniconda3/envs/arch-test/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DCYTHON_TRACE=1 -I/home/travis/miniconda3/envs/arch-test/lib/python3.7/site-packages/numpy/core/include -I/home/travis/miniconda3/envs/arch-test/include/python3.7m -c ./arch/univariate/recursions.c -o build/temp.linux-x86_64-3.7/./arch/univariate/recursions.o
    

    The -B tells gcc where to look for the actual compiler,

    -Bprefix
    This option specifies where to find the executables, libraries, include files, and data files of the compiler itself.
    

    The real issue is that conda frequently breaks environments with small dependency changes. I have a nasty issue where it woudl default ot installing 3.6.6 and then upgrade python to 3.6.7 in a later command which then broken binary compatibility -- segfault.

    I think 3.6 is in a bad state now. I would move the docbuild to 3.7 which I think is generally the best supported Or move it to a PyPI build.

  3. josef-pkt commented on Dec 12, 2018

    @josef-pkt
    Member

    about 3.6 conda, It has been broken in one of our travis environments starting around the time of this comment
    #5304 (comment)
    AFAIR, it changed the python version 3 times.

  4. bashtage commented on Dec 12, 2018

    @bashtage
    Member

    Fix for 3.6 for me was to pin to 3.6.7 rather than 3.6

  5. josef-pkt commented on Dec 31, 2018

    @josef-pkt
    Member

    This has been fixed by #5424 or is there still something open?
    Can we close this?

  6. added this to the 0.10 milestone on Dec 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions