bob.core issueshttps://gitlab.idiap.ch/bob/bob.core/-/issues2022-04-07T07:39:58Zhttps://gitlab.idiap.ch/bob/bob.core/-/issues/11Nightlies failing because of this one2022-04-07T07:39:58ZTiago de Freitas PereiraNightlies failing because of this oneProbably some linking issue with libboost.
https://gitlab.idiap.ch/bob/nightlies/-/jobs/263416/raw
```
OSError: /scratch/builds/bob/nightlies/miniconda/conda-bld/bob.core_1649061162771/_test_env_placehold_placehold_placehold_placehold...Probably some linking issue with libboost.
https://gitlab.idiap.ch/bob/nightlies/-/jobs/263416/raw
```
OSError: /scratch/builds/bob/nightlies/miniconda/conda-bld/bob.core_1649061162771/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib/python3.9/site-packages/bob/core/libbob_core.so: undefined symbol: _ZN5boost9iostreams4zlib8deflatedE
Tests failed for bob.core-2.2.9b0-py39he156f8c_105.conda - moving package to /scratch/builds/bob/nightlies/miniconda/conda-bld/broken
TESTS FAILED: bob.core-2.2.9b0-py39he156f8c_105.conda
```
It happens only on linux builds
https://gitlab.idiap.ch/bob/bob.core/-/pipelines/59929https://gitlab.idiap.ch/bob/bob.core/-/issues/10bob.core is linking to system libraries2020-12-08T09:33:15ZTiago de Freitas Pereirabob.core is linking to system librariesSome libraries are being linked with system libraries.
https://gitlab.idiap.ch/bob/bob.core/-/jobs/219772
```sh
{('libboost_iostreams.so.1.73.0', '$PREFIX/lib/python3.7/site-packages/bob/core/../../../../libboost_iostreams.so.1.73.0')...Some libraries are being linked with system libraries.
https://gitlab.idiap.ch/bob/bob.core/-/jobs/219772
```sh
{('libboost_iostreams.so.1.73.0', '$PREFIX/lib/python3.7/site-packages/bob/core/../../../../libboost_iostreams.so.1.73.0'),
('libzstd.so.1', '$PREFIX/lib/python3.7/site-packages/bob/core/../../../.././libzstd.so.1'),
('libz.so.1', '$PREFIX/lib/python3.7/site-packages/bob/core/../../../.././libz.so.1'),
('librt.so.1', '/lib64/librt.so.1'), ('libpthread.so.0', '/lib64/libpthread.so.0'),
('libbz2.so.1.0', '$PREFIX/lib/python3.7/site-packages/bob/core/../../../.././libbz2.so.1.0'),
('libstdc++.so.6', '$PREFIX/lib/python3.7/site-packages/bob/core/../../../../libstdc++.so.6'),
('libc.so.6', '/lib64/libc.so.6'),
('libm.so.6', '/lib64/libm.so.6'),
('linux-vdso.so.1', ''),
('libboost_filesystem.so.1.73.0', '$PREFIX/lib/python3.7/site-packages/bob/core/../../../../libboost_filesystem.so.1.73.0'),
('libgcc_s.so.1', '$PREFIX/lib/python3.7/site-packages/bob/core/../../../../libgcc_s.so.1'),
('liblzma.so.5', '$PREFIX/lib/python3.7/site-packages/bob/core/../../../.././liblzma.so.5')}
```
This is a big problem. I can't use rankone machine anymore.https://gitlab.idiap.ch/bob/bob.core/-/issues/9New numpy version (1.14) breaks our sphinx docs2018-07-05T10:41:50ZTiago de Freitas PereiraNew numpy version (1.14) breaks our sphinx docsI will push these fixes directly in the master branch if you don't mind @amohammadi and @andre.anjosI will push these fixes directly in the master branch if you don't mind @amohammadi and @andre.anjoshttps://gitlab.idiap.ch/bob/bob.core/-/issues/8Test test_consistent_gamma_float64 failing on branch `condapackage`2018-01-17T16:03:25ZAndré AnjosTest test_consistent_gamma_float64 failing on branch `condapackage`This is probably related to the new set of dependencies we have for this package (boost 1.65.1 is the culprit?):
```text
bob.blitz: 2.0.15b0-py36h3cbe832_0 http://www.idiap.ch/private/conda
bob.extension: ...This is probably related to the new set of dependencies we have for this package (boost 1.65.1 is the culprit?):
```text
bob.blitz: 2.0.15b0-py36h3cbe832_0 http://www.idiap.ch/private/conda
bob.extension: 2.4.6b1-py36hb12bc1f_0 http://www.idiap.ch/private/conda
boost: 1.65.1-py36_4 defaults
bzip2: 1.0.6-h649919c_2 defaults
ca-certificates: 2017.08.26-ha1e5d58_0 defaults
certifi: 2017.11.5-py36ha569be9_0 defaults
icu: 58.2-h4b95b61_1 defaults
intel-openmp: 2018.0.0-h8158457_8 defaults
libblitz: 1.0.1-h0a44026_0 http://www.idiap.ch/software/bob/conda/label/main
libboost: 1.65.1-hcc95346_4 defaults
libcxx: 4.0.1-h579ed51_0 defaults
libcxxabi: 4.0.1-hebd6815_0 defaults
libedit: 3.1-hb4e282d_0 defaults
libffi: 3.2.1-h475c297_4 defaults
libgfortran: 3.0.1-h93005f0_2 defaults
mkl: 2018.0.1-hfbd8650_4 defaults
ncurses: 6.0-hd04f020_2 defaults
numpy: 1.9.3-py36h60773e1_3 defaults
openssl: 1.0.2n-hdbc3d79_0 defaults
py-boost: 1.65.1-py36h1439ea1_4 defaults
python: 3.6.4-hc167b69_1 defaults
readline: 7.0-hc1231fa_4 defaults
setuptools: 36.5.0-py36h2134326_0 defaults
sqlite: 3.20.1-h7e4c145_2 defaults
tk: 8.6.7-h35a86e2_3 defaults
xz: 5.2.3-h0278029_2 defaults
zlib: 1.2.11-hf3cbc9b_2 defaults
```
Example builds with the failure:
- https://gitlab.idiap.ch/bob/bob.core/-/jobs/116091 (linux + py27)
- https://gitlab.idiap.ch/bob/bob.core/-/jobs/116092 (linux + py36)
- https://gitlab.idiap.ch/bob/bob.core/-/jobs/116093 (osx + py27)
- https://gitlab.idiap.ch/bob/bob.core/-/jobs/116094 (osx + py36)
The traceback:
```text
======================================================================
FAIL: bob.core.test_random.test_consistent_gamma_float64
----------------------------------------------------------------------
Traceback (most recent call last):
File "/local/builds/bob/bob.core/miniconda/conda-bld/bob.core_1516182959283/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/local/builds/bob/bob.core/miniconda/conda-bld/bob.core_1516182959283/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_place/lib/python3.6/site-packages/bob/core/test_random.py", line 211, in test_consistent_gamma_float64
'%s not close to %s' % (expected, values)
AssertionError: [0.46926808, 1.59230052, 3.01012154] not close to [ 0.75272492 1.01650773 0.46642008]
```Conda-based CIhttps://gitlab.idiap.ch/bob/bob.core/-/issues/7cmake not found2018-02-15T09:59:43ZAmir MOHAMMADIcmake not found```
Traceback (most recent call last):
File "setup.py", line 55, in <module>
boost_modules = ['system', 'iostreams', 'filesystem'],
File "/local/builds/bob/bob.core/miniconda/conda-bld/bob.core_1516127586861/_h_env_placehold_plac...```
Traceback (most recent call last):
File "setup.py", line 55, in <module>
boost_modules = ['system', 'iostreams', 'filesystem'],
File "/local/builds/bob/bob.core/miniconda/conda-bld/bob.core_1516127586861/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python2.7/site-packages/bob/blitz/extension.py", line 92, in __init__
BobLibrary.__init__(self, *args, **kwargs)
File "/local/builds/bob/bob.core/miniconda/conda-bld/bob.core_1516127586861/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python2.7/site-packages/bob/extension/__init__.py", line 557, in __init__
raise OSError("The Library class needs CMake version >= 2.8 to be installed, but CMake cannot be found")
OSError: The Library class needs CMake version >= 2.8 to be installed, but CMake cannot be found
source tree in: /local/builds/bob/bob.core/miniconda/conda-bld/bob.core_1516127586861/work
Traceback (most recent call last):
File "/local/builds/bob/bob.core/miniconda/bin/conda-build", line 11, in <module>
sys.exit(main())
File "/local/builds/bob/bob.core/miniconda/lib/python3.6/site-packages/conda_build/cli/main_build.py", line 399, in main
execute(sys.argv[1:])
File "/local/builds/bob/bob.core/miniconda/lib/python3.6/site-packages/conda_build/cli/main_build.py", line 390, in execute
verify=args.verify)
File "/local/builds/bob/bob.core/miniconda/lib/python3.6/site-packages/conda_build/api.py", line 188, in build
need_source_download=need_source_download, config=config, variants=variants)
File "/local/builds/bob/bob.core/miniconda/lib/python3.6/site-packages/conda_build/build.py", line 1916, in build_tree
notest=notest,
File "/local/builds/bob/bob.core/miniconda/lib/python3.6/site-packages/conda_build/build.py", line 1218, in build
utils.check_call_env(cmd, env=env, cwd=src_dir)
File "/local/builds/bob/bob.core/miniconda/lib/python3.6/site-packages/conda_build/utils.py", line 677, in check_call_env
return _func_defaulting_env_to_os_environ(subprocess.check_call, *popenargs, **kwargs)
File "/local/builds/bob/bob.core/miniconda/lib/python3.6/site-packages/conda_build/utils.py", line 673, in _func_defaulting_env_to_os_environ
return func(_args, **kwargs)
File "/local/builds/bob/bob.core/miniconda/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/bin/bash', '-e', '/local/builds/bob/bob.core/miniconda/conda-bld/bob.core_1516127586861/work/conda_build.sh']' returned non-zero exit status 1.
```
See: https://gitlab.idiap.ch/bob/bob.core/-/jobs/115968Conda-based CIAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.core/-/issues/6Random failures2017-08-11T22:23:17ZAndré AnjosRandom failuresThe C++ test `test_from_cxx_disable` is randomly failing against the new environment we're deploying, but just on OSX. The error is the following:
```
Traceback (most recent call last):
File "/Users/buildbot/work/gitlab-ci/f6f95b8...The C++ test `test_from_cxx_disable` is randomly failing against the new environment we're deploying, but just on OSX. The error is the following:
```
Traceback (most recent call last):
File "/Users/buildbot/work/gitlab-ci/f6f95b82/2/bob/bob.nightlies/build-prefix/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/buildbot/work/gitlab-ci/f6f95b82/2/bob/bob.nightlies/build-prefix/lib/python2.7/site-packages/bob/core/test_logging.py", line 80, in test_from_cxx_disable
assert _test_output_disable(), "The C++ test function returned false, indicating an (unknonw) error"
AssertionError: The C++ test function returned false, indicating an (unknonw) error
```
It looks like there is an uninitialised variable somewhere. But where?https://gitlab.idiap.ch/bob/bob.core/-/issues/5Disable logging messages in pure C++ code2017-08-11T22:23:17ZManuel Günthersiebenkopf@googlemail.comDisable logging messages in pure C++ codeTo date, when running a pure C++ program, all logs are always written, without any nice formatting. This raises to issues:
1. I want to be able to disable, e.g., debug logging. So far, I can do that by:
```
*bob::core::debug = bob...To date, when running a pure C++ program, all logs are always written, without any nice formatting. This raises to issues:
1. I want to be able to disable, e.g., debug logging. So far, I can do that by:
```
*bob::core::debug = bob::core::AutoOutputDevice("null");
```
but this looks quite ugly. A nicer version would be, e.g., to have a function like ``bob::core::debug->reset()``. Even better, we can have a macro that we set before importing bob::core that sets up the loggers such that some of them go to "null" and some of them log to ``std::out`` and/or ``std::err``
2. I would like to have similar log messages as we get using the Python logging. At least, I'd like to have the logger type (debug, info, ...), the time stamp and the log message.
I will try to come up with something here...Manuel Günthersiebenkopf@googlemail.comManuel Günthersiebenkopf@googlemail.comhttps://gitlab.idiap.ch/bob/bob.core/-/issues/4CMake issue on macosx2017-08-11T22:23:17ZAndré AnjosCMake issue on macosx*Created by: 183amir*
Hey guys, do you know how can I prevent travis from adding -mmacosx-version-min=10.6 to the [build command](https://travis-ci.org/conda-forge/staged-recipes/jobs/121629077#L489)? We are discussing it [here](https:/...*Created by: 183amir*
Hey guys, do you know how can I prevent travis from adding -mmacosx-version-min=10.6 to the [build command](https://travis-ci.org/conda-forge/staged-recipes/jobs/121629077#L489)? We are discussing it [here](https://github.com/conda-forge/staged-recipes/pull/288).https://gitlab.idiap.ch/bob/bob.core/-/issues/1Random crashes in bob.core.test_logging.test_from_cxx_multithreaded2017-08-11T22:23:17ZAndré AnjosRandom crashes in bob.core.test_logging.test_from_cxx_multithreaded*Created by: siebenkopf*
It seems that we still have problems with the logging module, when logging from parallel threads in C++. Once in a while, the above test crashes with a SIGSEGV.
It would be nice if this could be investigated.*Created by: siebenkopf*
It seems that we still have problems with the logging module, when logging from parallel threads in C++. Once in a while, the above test crashes with a SIGSEGV.
It would be nice if this could be investigated.