conda-forge / gsl-feedstock

A conda-smithy repository for gsl.
BSD 3-Clause "New" or "Revised" License
6 stars 18 forks source link

gsl v2.8 #60

Open regro-cf-autotick-bot opened 6 months ago

regro-cf-autotick-bot commented 6 months ago

It is very likely that the current package version for this feedstock is out of date.

Checklist before merging this PR:

Information about this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version.
  3. The bot will stop issuing PRs if more than 3 version bump PRs generated by the bot are open. If you don't want to package a particular version please close the PR.
  4. If you want these PRs to be merged automatically, make an issue with code>@conda-forge-admin,</codeplease add bot automerge in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.
  5. If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase code>@<space/conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

Dependency Analysis

Please note that this analysis is highly experimental. The aim here is to make maintenance easier by inspecting the package's dependencies. Importantly this analysis does not support optional dependencies, please double check those before making changes. If you do not want hinting of this kind ever please add bot: inspection: disabled to your conda-forge.yml. If you encounter issues with this feature please ping the bot team conda-forge/bot.

Analysis by source code inspection shows no discrepancy with the stated requirements in the meta.yaml.

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/9237918417 - please use this URL for debugging.

conda-forge-webservices[bot] commented 6 months 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.

ocefpaf commented 6 months ago

Windows is failing with:

libtool: and run autoconf again.
Makefile:402: recipe for target 'placeholder.lo' failed
make[2]: *** [placeholder.lo] Error 63
make[2]: Leaving directory '/d/bld/gsl_1716668595193/work/utils'
make[1]: *** [all-recursive] Error 1
Makefile:974: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/d/bld/gsl_1716668595193/work'
make: *** [all] Error 2
Makefile:677: recipe for target 'all' failed
Traceback (most recent call last):
  File "C:\Miniforge\Scripts\conda-build-script.py", line 10, in <module>
    sys.exit(execute())
  File "C:\Miniforge\lib\site-packages\conda_build\cli\main_build.py", line 590, in execute
    api.build(
  File "C:\Miniforge\lib\site-packages\conda_build\api.py", line 250, in build
    return build_tree(
  File "C:\Miniforge\lib\site-packages\conda_build\build.py", line 3638, in build_tree
    packages_from_this = build(
  File "C:\Miniforge\lib\site-packages\conda_build\build.py", line 2462, in build
    windows.build(
  File "C:\Miniforge\lib\site-packages\conda_build\windows.py", line 339, in build
    check_call_env(
  File "C:\Miniforge\lib\site-packages\conda_build\utils.py", line 405, in check_call_env
    return _func_defaulting_env_to_os_environ("call", *popenargs, **kwargs)
  File "C:\Miniforge\lib\site-packages\conda_build\utils.py", line 381, in _func_defaulting_env_to_os_environ
    raise subprocess.CalledProcessError(proc.returncode, _args)
subprocess.CalledProcessError: Command '['cmd.exe', '/d', '/c', 'conda_build.bat']' returned non-zero exit status 1.
traversaro commented 4 months ago

@conda-forge-admin please rerender

traversaro commented 4 months ago

In this PR libgsl.so.28 is created, so as soon this is merged for the latest release https://github.com/conda-forge/gsl-feedstock/issues/61 will be fixed.

traversaro commented 4 months ago

Windows still fail with:

libtool: Version mismatch error.  This is libtool 2.4.7, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7
libtool: and run autoconf again.
make[2]: *** [ssyr.lo] Error 63
traversaro commented 4 months ago

Windows still fail with:

libtool: Version mismatch error.  This is libtool 2.4.7, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7
libtool: and run autoconf again.
make[2]: *** [ssyr.lo] Error 63

I think this is just a secondary effect of the configure invocation failing with error:

configure:3501: clang.exe -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3512: $? = 1
configure:3501: clang.exe -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files
configure:3512: $? = 1
configure:3532: checking whether the C compiler works
configure:3554: clang.exe -ID:/bld/gsl_1721372879865/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -ID:/bld/gsl_1721372879865/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -LD:/bld/gsl_1721372879865/_h_env/Library/lib -fuse-ld=lld -nostdlib -Xclang --dependent-lib=msvcrt -lcblas conftest.c  >&5
configure:3558: $? = 0
configure:3606: result: yes
configure:3609: checking for C compiler default output file name
configure:3611: result: a.exe
configure:3617: checking for suffix of executables
configure:3624: clang.exe -o conftest.exe -ID:/bld/gsl_1721372879865/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -ID:/bld/gsl_1721372879865/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -LD:/bld/gsl_1721372879865/_h_env/Library/lib -fuse-ld=lld -nostdlib -Xclang --dependent-lib=msvcrt -lcblas conftest.c  >&5
configure:3628: $? = 0
configure:3650: result: .exe
configure:3672: checking whether we are cross compiling
configure:3680: clang.exe -o conftest.exe -ID:/bld/gsl_1721372879865/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -ID:/bld/gsl_1721372879865/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -LD:/bld/gsl_1721372879865/_h_env/Library/lib -fuse-ld=lld -nostdlib -Xclang --dependent-lib=msvcrt -lcblas conftest.c  >&5
configure:3684: $? = 0
configure:3691: ./conftest.exe
configure:3695: $? = 0
configure:3710: result: no
configure:3715: checking for suffix of object files
configure:3737: clang.exe -c -ID:/bld/gsl_1721372879865/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -ID:/bld/gsl_1721372879865/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 conftest.c >&5
configure:3741: $? = 0
configure:3762: result: o
configure:3766: checking whether we are using the GNU C compiler
configure:3785: clang.exe -c -ID:/bld/gsl_1721372879865/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -ID:/bld/gsl_1721372879865/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 conftest.c >&5
conftest.c:17:8: error: use of undeclared identifier 'choke'
   17 |        choke me
      |        ^
1 error generated.
configure:3785: $? = 1
configure: failed program was:

and hence not re-generating the required fails. Indeed @hmaarrfk had some pinning to an old version of clang in https://github.com/conda-forge/gsl-feedstock/pull/58, I tried to do the same here.

traversaro commented 4 months ago

There is also a test failure on aarch64:

make  test

make[1]: Entering directory '$SRC_DIR/rng'

$BUILD_PREFIX/bin/aarch64-conda-linux-gnu-cc -DHAVE_CONFIG_H -I. -I..  -I.. -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem $PREFIX/include  -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/gsl-2.8 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -MT test.o -MD -MP -MF .deps/test.Tpo -c -o test.o test.c

mv -f .deps/test.Tpo .deps/test.Po

/bin/sh ../libtool  --tag=CC   --mode=link $BUILD_PREFIX/bin/aarch64-conda-linux-gnu-cc  -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/gsl-2.8 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix  -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--allow-shlib-undefined -Wl,-rpath,$PREFIX/lib -Wl,-rpath-link,$PREFIX/lib -L$PREFIX/lib -o test test.o libgslrng.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la -lcblas -lm

libtool: link: $BUILD_PREFIX/bin/aarch64-conda-linux-gnu-cc -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/gsl-2.8 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--allow-shlib-undefined -Wl,-rpath -Wl,$PREFIX/lib -Wl,-rpath-link -Wl,$PREFIX/lib -o test test.o  -L$PREFIX/lib ./.libs/libgslrng.a ../ieee-utils/.libs/libgslieeeutils.a ../err/.libs/libgslerr.a ../test/.libs/libgsltest.a ../sys/.libs/libgslsys.a ../utils/.libs/libutils.a -lcblas -lm

make[1]: Leaving directory '$SRC_DIR/rng'

make  check-TESTS

make[1]: Entering directory '$SRC_DIR/rng'

make[2]: Entering directory '$SRC_DIR/rng'

FAIL: test

============================================================================

Testsuite summary for gsl 2.8

============================================================================

# TOTAL: 1

# PASS:  0

# SKIP:  0

# XFAIL: 0

# FAIL:  1

# XPASS: 0

# ERROR: 0

============================================================================

See rng/test-suite.log

============================================================================

make[2]: Leaving directory '$SRC_DIR/rng'

make[1]: Leaving directory '$SRC_DIR/rng'
traversaro commented 4 months ago

It seems it is still failing:

2024-07-19T07:38:27.0539993Z configure:3501: clang.exe -V >&5
2024-07-19T07:38:27.0540382Z clang: error: argument to '-V' is missing (expected 1 value)
2024-07-19T07:38:27.0540665Z clang: error: no input files
2024-07-19T07:38:27.0540871Z configure:3512: $? = 1
2024-07-19T07:38:27.0541205Z configure:3501: clang.exe -qversion >&5
2024-07-19T07:38:27.0541550Z clang: error: unknown argument '-qversion'; did you mean '--version'?
2024-07-19T07:38:27.0541840Z clang: error: no input files
2024-07-19T07:38:27.0542081Z configure:3512: $? = 1
2024-07-19T07:38:27.0542315Z configure:3532: checking whether the C compiler works
2024-07-19T07:38:27.0550078Z configure:3554: clang.exe -ID:/bld/gsl_1721374216637/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -ID:/bld/gsl_1721374216637/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -LD:/bld/gsl_1721374216637/_h_env/Library/lib -fuse-ld=lld -nostdlib -Xclang --dependent-lib=msvcrt -lcblas conftest.c  >&5
2024-07-19T07:38:27.0552624Z configure:3558: $? = 0
2024-07-19T07:38:27.0553255Z configure:3606: result: yes
2024-07-19T07:38:27.0554117Z configure:3609: checking for C compiler default output file name
2024-07-19T07:38:27.0554848Z configure:3611: result: a.exe
2024-07-19T07:38:27.0561908Z configure:3617: checking for suffix of executables
2024-07-19T07:38:27.0563150Z configure:3624: clang.exe -o conftest.exe -ID:/bld/gsl_1721374216637/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -ID:/bld/gsl_1721374216637/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -LD:/bld/gsl_1721374216637/_h_env/Library/lib -fuse-ld=lld -nostdlib -Xclang --dependent-lib=msvcrt -lcblas conftest.c  >&5
2024-07-19T07:38:27.0563872Z configure:3628: $? = 0
2024-07-19T07:38:27.0564095Z configure:3650: result: .exe
2024-07-19T07:38:27.0564482Z configure:3672: checking whether we are cross compiling
2024-07-19T07:38:27.0565488Z configure:3680: clang.exe -o conftest.exe -ID:/bld/gsl_1721374216637/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -ID:/bld/gsl_1721374216637/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -LD:/bld/gsl_1721374216637/_h_env/Library/lib -fuse-ld=lld -nostdlib -Xclang --dependent-lib=msvcrt -lcblas conftest.c  >&5
2024-07-19T07:38:27.0566129Z configure:3684: $? = 0
2024-07-19T07:38:27.0566382Z configure:3691: ./conftest.exe
2024-07-19T07:38:27.0566599Z configure:3695: $? = 0
2024-07-19T07:38:27.0566856Z configure:3710: result: no
2024-07-19T07:38:27.0567094Z configure:3715: checking for suffix of object files
2024-07-19T07:38:27.0568018Z configure:3737: clang.exe -c -ID:/bld/gsl_1721374216637/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -ID:/bld/gsl_1721374216637/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 conftest.c >&5
2024-07-19T07:38:27.0880397Z configure:3741: $? = 0
2024-07-19T07:38:27.0881228Z configure:3762: result: o
2024-07-19T07:38:27.0881679Z configure:3766: checking whether we are using the GNU C compiler
2024-07-19T07:38:27.0882796Z configure:3785: clang.exe -c -ID:/bld/gsl_1721374216637/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 -ID:/bld/gsl_1721374216637/_h_env/Library/include -O2 -D_CRT_SECURE_NO_WARNINGS -D_MT -D_DLL -nostdlib -Xclang --dependent-lib=msvcrt -fuse-ld=lld -DGSL_DLL -DWIN32 conftest.c >&5
2024-07-19T07:38:27.0883659Z conftest.c:17:8: error: use of undeclared identifier 'choke'
2024-07-19T07:38:27.0884071Z        choke me
2024-07-19T07:38:27.0884363Z        ^
2024-07-19T07:38:27.0884711Z 1 error generated.