Caribou issueshttps://gitlab.cern.ch/groups/Caribou/-/issues2024-03-27T17:33:11+01:00https://gitlab.cern.ch/Caribou/peary/-/issues/33p-include-dir-export breaks poky2024-03-27T17:33:11+01:00Finn Feindtp-include-dir-export breaks poky[MR](https://gitlab.cern.ch/Caribou/peary/-/merge_requests/180) interferes with poky. We received the following error message:
```
teleuser@fhl-tpx3daq1:~/poky/build (zeus)$ devtool build peary
NOTE: Starting bitbake server...
NOTE: Rec...[MR](https://gitlab.cern.ch/Caribou/peary/-/merge_requests/180) interferes with poky. We received the following error message:
```
teleuser@fhl-tpx3daq1:~/poky/build (zeus)$ devtool build peary
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
NOTE: Started PRServer with DBfile: /home/teleuser/poky/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 41321, PID: 1129739
WARNING: Host distribution "ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |#################################################################| Time: 0:00:01
Loaded 3497 entries from dependency cache.
Parsing recipes: 100% |###############################################################| Time: 0:00:02
Parsing of 2346 .bb files complete (2340 cached, 6 parsed). 3503 targets, 136 skipped, 0 masked, 0 errors.
Summary: There was 1 WARNING message shown.
NOTE: Started PRServer with DBfile: /home/teleuser/poky/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 39197, PID: 1129904
WARNING: Host distribution "ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |#################################################################| Time: 0:00:02
Loaded 3497 entries from dependency cache.
Parsing recipes: 100% |###############################################################| Time: 0:00:02
Parsing of 2346 .bb files complete (2340 cached, 6 parsed). 3503 targets, 136 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "caribou-zynq7"
DISTRO = "poky"
DISTRO_VERSION = "3.0.4"
TUNE_FEATURES = "arm vfp cortexa9 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "zeus:daf096e295121ea49ebf21f8070e9a6e28f5d46c"
meta-xilinx-bsp
meta-xilinx-contrib = "zeus:b82343ac5f013926839627cee9dae7106c008ae9"
meta-oe
meta-python
meta-networking
meta-filesystems = "zeus:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-jupyter = "zeus:375b6d568db13ce273844a0acd97c27b4362bdae"
meta-caribou = "master:de6b888b0a5ae5c7749abd9424b81c58f1d50553"
workspace = "zeus:daf096e295121ea49ebf21f8070e9a6e28f5d46c"
Initialising tasks: 100% |############################################################| Time: 0:00:01
Sstate summary: Wanted 0 Found 0 Missed 0 Current 252 (0% match, 100% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
NOTE: peary: compiling from external source tree /home/teleuser/peary
ERROR: peary-1.0+git999-r0 do_package: QA Issue: peary: Files/directories were installed but not shipped in any package:
/home/teleuser/peary/share
/home/teleuser/peary/include
.
.
.
/home/teleuser/peary/lib/systemd/system
/home/teleuser/peary/lib/systemd/user/pearyd.service
/home/teleuser/peary/lib/systemd/system/pearyd.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
peary: 211 installed and not shipped files. [installed-vs-shipped]
ERROR: peary-1.0+git999-r0 do_package: Fatal QA errors found, failing task.
ERROR: Logfile of failure stored in: /home/teleuser/poky/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/peary/1.0+git999-r0/temp/log.do_package.1131383
ERROR: Task (/home/teleuser/poky/meta-caribou/recipes-caribou/peary/peary_git.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1238 tasks of which 1233 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/teleuser/poky/meta-caribou/recipes-caribou/peary/peary_git.bb:do_package
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
```Stephan Lachnitstephan.lachnit@cern.chStephan Lachnitstephan.lachnit@cern.chhttps://gitlab.cern.ch/Caribou/peary/-/issues/32Job Failed #282380222023-04-13T13:59:56+02:00Adrian FiergolskiJob Failed #28238022Job [#28238022](https://gitlab.cern.ch/Caribou/peary/-/jobs/28238022) failed for ec62b5d5eae9cc0f3ae08b84dc1138b68dc0ebde:
The issue seems to be in the clicdpci* runners. I disabled them for the project and enabled the shared ones. The ...Job [#28238022](https://gitlab.cern.ch/Caribou/peary/-/jobs/28238022) failed for ec62b5d5eae9cc0f3ae08b84dc1138b68dc0ebde:
The issue seems to be in the clicdpci* runners. I disabled them for the project and enabled the shared ones. The CI works then.
@simonspa Do you have any insight what's wrong with the clicdpci* machines? I think it could be a problem with docker running on those. Who is an admin of those nowadays?Simon SpannagelSimon Spannagelhttps://gitlab.cern.ch/Caribou/peary/-/issues/30Peary scripts extension2022-01-11T17:20:59+01:00Adrian FiergolskiPeary scripts extensionShall we agree on a common extension for peary scripts (called by _pearycli -r_).
Maybe *.scr?Shall we agree on a common extension for peary scripts (called by _pearycli -r_).
Maybe *.scr?Simon SpannagelSimon Spannagel2022-01-12https://gitlab.cern.ch/Caribou/peary/-/issues/28Cannot Build on Ubuntu 20.04.22021-10-21T18:31:51+02:00Julian Alexander BoellCannot Build on Ubuntu 20.04.2**Not sure if this is ill-directed here but I didn't know whom to ask this directly..
I get errors while building peary with CMake following the installation manual [text](https://peary-caribou.web.cern.ch/peary-caribou/#compilation-inst...**Not sure if this is ill-directed here but I didn't know whom to ask this directly..
I get errors while building peary with CMake following the installation manual [text](https://peary-caribou.web.cern.ch/peary-caribou/#compilation-installation).
Here is my terminal output:**
```
> jboell@homepc1:~/apps/peary-master/build$ cmake -DCMAKE_INSTALL_PREFIX=../install/ \
-DCMAKE_BUILD_TYPE=DEBUG \
-DBUILD_CLICpix2=OFF ..
> -- Source tarball build - no repository present.
> -- Building Peary version v0.9.14.
> -- Building "DEBUG"
> -- The CXX compiler identification is GNU 9.3.0
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Performing Test CXX_FLAG_WORKS__Wall
> -- Performing Test CXX_FLAG_WORKS__Wall - Success
> -- Performing Test CXX_FLAG_WORKS__Wextra
> -- Performing Test CXX_FLAG_WORKS__Wextra - Success
> -- Performing Test CXX_FLAG_WORKS__Wcast_align
> -- Performing Test CXX_FLAG_WORKS__Wcast_align - Success
> -- Performing Test CXX_FLAG_WORKS__Wcast_qual
> -- Performing Test CXX_FLAG_WORKS__Wcast_qual - Success
> -- Performing Test CXX_FLAG_WORKS__Wconversion
> -- Performing Test CXX_FLAG_WORKS__Wconversion - Success
> -- Performing Test CXX_FLAG_WORKS__Wuseless_cast
> -- Performing Test CXX_FLAG_WORKS__Wuseless_cast - Success
> -- Performing Test CXX_FLAG_WORKS__Wctor_dtor_privacy
> -- Performing Test CXX_FLAG_WORKS__Wctor_dtor_privacy - Success
> -- Performing Test CXX_FLAG_WORKS__Wzero_as_null_pointer_constant
> -- Performing Test CXX_FLAG_WORKS__Wzero_as_null_pointer_constant - Success
> -- Performing Test CXX_FLAG_WORKS__Wdisabled_optimization
> -- Performing Test CXX_FLAG_WORKS__Wdisabled_optimization - Success
> -- Performing Test CXX_FLAG_WORKS__WformatE2
> -- Performing Test CXX_FLAG_WORKS__WformatE2 - Success
> -- Performing Test CXX_FLAG_WORKS__Winit_self
> -- Performing Test CXX_FLAG_WORKS__Winit_self - Success
> -- Performing Test CXX_FLAG_WORKS__Wlogical_op
> -- Performing Test CXX_FLAG_WORKS__Wlogical_op - Success
> -- Performing Test CXX_FLAG_WORKS__Wmissing_declarations
> -- Performing Test CXX_FLAG_WORKS__Wmissing_declarations - Success
> -- Performing Test CXX_FLAG_WORKS__Wmissing_include_dirs
> -- Performing Test CXX_FLAG_WORKS__Wmissing_include_dirs - Success
> -- Performing Test CXX_FLAG_WORKS__Wnoexcept
> -- Performing Test CXX_FLAG_WORKS__Wnoexcept - Success
> -- Performing Test CXX_FLAG_WORKS__Wold_style_cast
> -- Performing Test CXX_FLAG_WORKS__Wold_style_cast - Success
> -- Performing Test CXX_FLAG_WORKS__Wredundant_decls
> -- Performing Test CXX_FLAG_WORKS__Wredundant_decls - Success
> -- Performing Test CXX_FLAG_WORKS__Wsign_conversion
> -- Performing Test CXX_FLAG_WORKS__Wsign_conversion - Success
> -- Performing Test CXX_FLAG_WORKS__Wsign_promo
> -- Performing Test CXX_FLAG_WORKS__Wsign_promo - Success
> -- Performing Test CXX_FLAG_WORKS__Wstrict_null_sentinel
> -- Performing Test CXX_FLAG_WORKS__Wstrict_null_sentinel - Success
> -- Performing Test CXX_FLAG_WORKS__Wswitch_default
> -- Performing Test CXX_FLAG_WORKS__Wswitch_default - Success
> -- Performing Test CXX_FLAG_WORKS__Wundef
> -- Performing Test CXX_FLAG_WORKS__Wundef - Success
> -- Performing Test CXX_FLAG_WORKS__Wshadow
> -- Performing Test CXX_FLAG_WORKS__Wshadow - Success
> -- Performing Test CXX_FLAG_WORKS__Wformat_security
> -- Performing Test CXX_FLAG_WORKS__Wformat_security - Success
> -- Performing Test CXX_FLAG_WORKS__Wdeprecated
> -- Performing Test CXX_FLAG_WORKS__Wdeprecated - Success
> -- Performing Test CXX_FLAG_WORKS__fdiagnostics_colorEauto
> -- Performing Test CXX_FLAG_WORKS__fdiagnostics_colorEauto - Success
> -- Performing Test CXX_FLAG_WORKS__Wheader_hygiene
> -- Performing Test CXX_FLAG_WORKS__Wheader_hygiene - Failed
> -- NOT adding -Wheader-hygiene to CXX_FLAGS - unsupported flag
> -- Looking for C++ include pthread.h
> -- Looking for C++ include pthread.h - found
> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE
> -- Could NOT find clang-format
> -- Could NOT check for clang-tidy, wrong compiler: GNU
> -- Caribou Interface I2C: ON
> -- Caribou Interface SPI CPx2: ON
> -- Caribou Interface SPI: ON
> -- Caribou Interface IP/Socket: ON
> -- Caribou Interface Loopback: ON
> -- Caribou Interface MEM: ON
> -- Caribou Interface IIO: ON
> -- Caribou Interface SPI bus: ON
> -- Caribou Interface Media: ON
> -- Building device ON - AD9249
> -- Building device ON - ATLASPix
> -- Building device ON - C1004
> -- Building device ON - C3PD
> -- Building device ON - CLICTD
> -- Building device OFF - CLICpix2
> -- Building device ON - DSO9254A
> -- Building device ON - ExampleCaribou
> -- Building device ON - FASTPIX
> -- Building device ON - MCP9804
> -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
> CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
> Could NOT find Readline (missing: Readline_INCLUDE_DIR Readline_LIBRARY)
> Call Stack (most recent call first):
> /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
> cmake/FindReadline.cmake:48 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
> exec/CMakeLists.txt:19 (FIND_PACKAGE)
>
>
> CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the CMake files:
> i2clib
> linked by target "peary" in directory /home/jboell/apps/peary-master/peary
> iiolib
> linked by target "peary" in directory /home/jboell/apps/peary-master/peary
> mediactllib
> linked by target "peary" in directory /home/jboell/apps/peary-master/peary
> v4l2subdevlib
> linked by target "peary" in directory /home/jboell/apps/peary-master/peary
>
> -- Configuring incomplete, errors occurred!
```
**And accordingly, I cannot execute make **
> jboell@homepc1:~/apps/peary-master/build$ make -j2 install
> make: *** No rule to make target 'install'. Stop.
Maybe this is an issue I have due to CMake or my Ubuntu Distribution? I am lost..
I have included the installation log files[CMakeOutput.log](/uploads/8929eaf5665d80c3774702f5a970f6f8/CMakeOutput.log)
[CMakeError.log](/uploads/d600fd99bd0733aa91ea3e35d610dd9a/CMakeError.log)https://gitlab.cern.ch/Caribou/peary/-/issues/27Job Failed #158674922021-08-23T18:21:31+02:00Adrian FiergolskiJob Failed #15867492Job [#15867492](https://gitlab.cern.ch/Caribou/peary/-/jobs/15867492) failed for 85e74e5abbf5c0252ef85a24303360224d5e032c:
The problem is in Variable Length Arrays (VLA) implied by SPI_IOC_MESSAGE which generate lvm warning.Job [#15867492](https://gitlab.cern.ch/Caribou/peary/-/jobs/15867492) failed for 85e74e5abbf5c0252ef85a24303360224d5e032c:
The problem is in Variable Length Arrays (VLA) implied by SPI_IOC_MESSAGE which generate lvm warning.Adrian FiergolskiAdrian Fiergolskihttps://gitlab.cern.ch/Caribou/peary/-/issues/26interface manager: interfaces are not deleted2021-08-02T17:05:03+02:00Adrian Fiergolskiinterface manager: interfaces are not deletedWith current implementation, the itnerfaces are not deleted.With current implementation, the itnerfaces are not deleted.Adrian FiergolskiAdrian Fiergolskihttps://gitlab.cern.ch/Caribou/peary/-/issues/25CaribouDevice doesn't support interface configuration2021-06-24T13:23:22+02:00Adrian FiergolskiCaribouDevice doesn't support interface configurationCurrently it's not possible to pass extra configuration parameters to an Interface (e.g. SPI_BUS) through CaribouDevice.Currently it's not possible to pass extra configuration parameters to an Interface (e.g. SPI_BUS) through CaribouDevice.Adrian FiergolskiAdrian Fiergolskihttps://gitlab.cern.ch/Caribou/peary/-/issues/24Job Failed #115582382021-01-12T11:06:50+01:00Adrian FiergolskiJob Failed #11558238Hi Simon,
Best wishes in this New Year!
The job fails and I think there is an issue with eos credentials and afs. I think you are the author of this part.
Job [#11558238](https://gitlab.cern.ch/Caribou/peary/-/jobs/11558238) failed f...Hi Simon,
Best wishes in this New Year!
The job fails and I think there is an issue with eos credentials and afs. I think you are the author of this part.
Job [#11558238](https://gitlab.cern.ch/Caribou/peary/-/jobs/11558238) failed for 49bd71a0a5e64b15367487cd16c1b2128549ad6d:Simon SpannagelSimon Spannagelhttps://gitlab.cern.ch/Caribou/peary/-/issues/22avoid fixed ADC name in CaribouDevice2020-05-25T19:15:10+02:00Adrian Fiergolskiavoid fixed ADC name in CaribouDeviceAdrian FiergolskiAdrian Fiergolskihttps://gitlab.cern.ch/Caribou/peary/-/issues/21Expose set/getmemory through Device class2020-05-25T16:25:56+02:00Simon SpannagelExpose set/getmemory through Device classSimon SpannagelSimon Spannagelhttps://gitlab.cern.ch/Caribou/peary/-/issues/20Upgrade I2C interface to Ubuntu 18.04 API2020-03-09T19:21:41+01:00Adrian FiergolskiUpgrade I2C interface to Ubuntu 18.04 APIAdrian FiergolskiAdrian Fiergolskihttps://gitlab.cern.ch/Caribou/peary/-/issues/19rename methods (containtning CaR name) in the HAL base class2020-05-11T18:29:21+02:00Adrian Fiergolskirename methods (containtning CaR name) in the HAL base classhttps://gitlab.cern.ch/Caribou/peary/-/issues/18move CaR specific methods to CaR class2020-05-19T16:35:03+02:00Adrian Fiergolskimove CaR specific methods to CaR classSimon SpannagelSimon Spannagelhttps://gitlab.cern.ch/Caribou/peary/-/issues/16memory acces 32 vs 64 bit2020-05-19T16:35:19+02:00Adrian Fiergolskimemory acces 32 vs 64 bitAdrian FiergolskiAdrian Fiergolskihttps://gitlab.cern.ch/Caribou/peary/-/issues/15CaribouDevice: allow selecting periphery hardware2020-05-19T16:35:58+02:00Simon SpannagelCaribouDevice: allow selecting periphery hardwareWith different CarBoards or other hardware it becomes necessary for the device so select in which it runs.
This should be done via template parameters in CaribouDevice:
```cpp
class mydevice : CaribouDevice<carboard, iface_i2c, iface_v...With different CarBoards or other hardware it becomes necessary for the device so select in which it runs.
This should be done via template parameters in CaribouDevice:
```cpp
class mydevice : CaribouDevice<carboard, iface_i2c, iface_video> {}
```
Related to #14Simon SpannagelSimon Spannagelhttps://gitlab.cern.ch/Caribou/peary/-/issues/14Allow for multiple interfaces in HAL2021-05-04T16:35:48+02:00Simon SpannagelAllow for multiple interfaces in HALAllow for a SlowControl and a Data interface in HAL via two separate template parametersAllow for a SlowControl and a Data interface in HAL via two separate template parametersAdrian FiergolskiAdrian Fiergolskihttps://gitlab.cern.ch/Caribou/peary/-/issues/12caribouDevice::name is misleading2019-03-30T17:28:49+01:00Moritz KiehncaribouDevice::name is misleadingThis interface function seems to suggest that it returns a name (identifier), when it actually returns the device type. You can have multiple devices with the same name. We could rename this to e.g. `deviceType` to clarify its meaning. M...This interface function seems to suggest that it returns a name (identifier), when it actually returns the device type. You can have multiple devices with the same name. We could rename this to e.g. `deviceType` to clarify its meaning. Maybe add true name that identifies a device uniquely. One example is ATLASPix1{M1,Simple,IsoSimple}.https://gitlab.cern.ch/Caribou/peary/-/issues/11Change of authorship in the repo2019-03-30T17:14:45+01:00Mathieu Benoitmathieu.benoit@cern.chChange of authorship in the repoHi, gitlab attributed all my commits to Mateus (wrong author set in git I guess). I managed to fix it in the ATLASPix fork using this procedure : https://help.github.com/articles/changing-author-info/. Not sure how to proceed. Should I m...Hi, gitlab attributed all my commits to Mateus (wrong author set in git I guess). I managed to fix it in the ATLASPix fork using this procedure : https://help.github.com/articles/changing-author-info/. Not sure how to proceed. Should I merge request all branch that were modified from the ATLASPix fork to here, or apply the same procedure in this repo ?Simon SpannagelSimon Spannagelhttps://gitlab.cern.ch/Caribou/peary/-/issues/10Add pearyd-based CLI2018-08-23T16:06:52+02:00Moritz KiehnAdd pearyd-based CLIAdd a (python-based) CLI that mimics the behaviour of the existing `pearycli` but uses remote calls via `pearyd` to perform all the actions.Add a (python-based) CLI that mimics the behaviour of the existing `pearycli` but uses remote calls via `pearyd` to perform all the actions.Moritz KiehnMoritz Kiehnhttps://gitlab.cern.ch/Caribou/peary/-/issues/9Add voltag/current source listing to device interface2019-04-02T15:50:44+02:00Moritz KiehnAdd voltag/current source listing to device interfaceCurrently, the list of available registers can be retrieved from any device using `getRegisters`. A similar functionality should be added for voltage and current sources e.g. by adding `listCurrentSources` and `listVoltageSources` that r...Currently, the list of available registers can be retrieved from any device using `getRegisters`. A similar functionality should be added for voltage and current sources e.g. by adding `listCurrentSources` and `listVoltageSources` that return a list of available names. This functionality is needed e.g. to build a generic interface or for better autocompletion.