collabora issueshttps://gitlab.collabora.com/groups/collabora/-/issues2018-11-02T16:25:51Zhttps://gitlab.collabora.com/collabora/ci-demo/-/issues/1Clean up the repository2018-11-02T16:25:51ZMichał GałkaClean up the repositoryCreate a generic CI pipeline for the ci-demo.Michał GałkaMichał Gałkahttps://gitlab.collabora.com/collabora/gst-build-sdk/-/issues/1Build failures with self-build rootfs2024-02-26T12:53:04ZSebastian FrickeBuild failures with self-build rootfsHey,
I currently experience some issues when I built the rootfs myself.
It looks like there are issues with GLIBC on the rootfs.
____
## Reproduce with:
```bash
debos --scratchsize=4G rootfs.yaml
```
And then enter the rootfs via d...Hey,
I currently experience some issues when I built the rootfs myself.
It looks like there are issues with GLIBC on the rootfs.
____
## Reproduce with:
```bash
debos --scratchsize=4G rootfs.yaml
```
And then enter the rootfs via docker with:
```bash
mkdir ../example_rootfs
sudo tar -xf gst-build-sdk-rootfs-arm64.tar.gz --directory ../example_rootfs
export SYSROOT=`pwd`/../example_rootfs
# from my merge request basically just clones gstreamer and generates cross-file
./prepare_gstreamer_crossbuild.sh
./docker.sh run
```
Within the container I build with (for the record this works fine on the board directly):
```bash
meson build --cross-file cross-file.txt -Dauto_features=disabled -Dbad=enabled -Dbase=enabled -Dgood=enabled -Dgst-plugins-bad:debugutils=enabled -Dgst-plugins-bad:ivfparse=enabled -Dgst-plugins-bad:v4l2codecs=enabled -Dgst-plugins-bad:videoparsers=enabled -Dgst-plugins-base:app=enabled -Dgst-plugins-base:playback=enabled -Dgst-plugins-base:tools=enabled -Dgst-plugins-base:typefind=enabled -Dgst-plugins-base:videoconvert=enabled -Dgst-plugins-good:matroska=enabled -Dgstreamer:tools=enabled -Dwrap_mode=nofallback -Dgst-plugins-good:v4l2=enabled -Dgst-plugins-base:videotestsrc=enabled -Dgst-plugins-base:rawparse=enabled -Dbackend=ninja
```
The used cross-file looks like this:
```bash
[host_machine]
system = 'linux'
cpu_family = 'aarch64'
cpu = 'aarch64'
endian = 'little'
[properties]
sys_root = '/home/basti/Projects/example_rootfs'
pkg_config_libdir = '/home/basti/Projects/example_rootfs/usr/lib/pkgconfig:/home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/pkgconfig:/home/basti/Projects/example_rootfs/usr/share/pkgconfig'
[built-in options]
c_args = ['--sysroot=/home/basti/Projects/example_rootfs']
cpp_args = ['--sysroot=/home/basti/Projects/example_rootfs', '-I/home/basti/Projects/example_rootfs/usr/include/c++/10']
c_link_args = ['--sysroot=/home/basti/Projects/example_rootfs']
cpp_link_args = ['--sysroot=/home/basti/Projects/example_rootfs']
[binaries]
c = 'aarch64-linux-gnu-gcc'
cpp = 'aarch64-linux-gnu-g++'
ar = 'aarch64-linux-gnu-ar'
strip = 'aarch64-linux-gnu-strip'
pkgconfig = 'pkg-config'
```
## Error
The build fails during `ninja -C build`
```
uid-1000@basti-XPS-13-9310:/home/basti/Projects/example_rootfs/home/user/gstreamer$ ninja -C build
ninja: Entering directory `build'
[154/589] Linking target subprojects/gstreamer/libs/gst/helpers/gst-ptp-helper
FAILED: subprojects/gstreamer/libs/gst/helpers/gst-ptp-helper
aarch64-linux-gnu-gcc -o subprojects/gstreamer/libs/gst/helpers/gst-ptp-helper subprojects/gstreamer/libs/gst/helpers/gst-ptp-helper.p/gst-ptp-helper.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-Bsymbolic-functions --sysroot=/home/basti/Projects/example_rootfs '-Wl,-rpath,$ORIGIN/../../../gst' -Wl,-rpath-link,/home/basti/Projects/example_rootfs/home/user/gstreamer/build/subprojects/gstreamer/gst -Wl,--start-group subprojects/gstreamer/gst/libgstreamer-1.0.so.0.2100.0 /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libgio-2.0.so /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libgobject-2.0.so /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libglib-2.0.so -lm -Wl,--export-dynamic /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libgmodule-2.0.so -pthread /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libcap.so -Wl,--end-group
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /home/basti/Projects/example_rootfs/lib/aarch64-linux-gnu/libmount.so.1: undefined reference to `fstat@GLIBC_2.33'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libgio-2.0.so: undefined reference to `fstat64@GLIBC_2.33'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /home/basti/Projects/example_rootfs/lib/aarch64-linux-gnu/libmount.so.1: undefined reference to `lstat@GLIBC_2.33'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /home/basti/Projects/example_rootfs/lib/aarch64-linux-gnu/libmount.so.1: undefined reference to `stat@GLIBC_2.33'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libgio-2.0.so: undefined reference to `lstat64@GLIBC_2.33'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /home/basti/Projects/example_rootfs/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_catch_error_ptr@GLIBC_PRIVATE'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /home/basti/Projects/example_rootfs/lib/aarch64-linux-gnu/libmount.so.1: undefined reference to `fstatat@GLIBC_2.33'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libgio-2.0.so: undefined reference to `stat64@GLIBC_2.33'
collect2: error: ld returned 1 exit status
[156/589] Linking target subprojects/gstreamer/libs/gst/helpers/gst-plugin-scanner
FAILED: subprojects/gstreamer/libs/gst/helpers/gst-plugin-scanner
aarch64-linux-gnu-gcc -o subprojects/gstreamer/libs/gst/helpers/gst-plugin-scanner subprojects/gstreamer/libs/gst/helpers/gst-plugin-scanner.p/gst-plugin-scanner.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-Bsymbolic-functions --sysroot=/home/basti/Projects/example_rootfs '-Wl,-rpath,$ORIGIN/../../../gst' -Wl,-rpath-link,/home/basti/Projects/example_rootfs/home/user/gstreamer/build/subprojects/gstreamer/gst -Wl,--start-group subprojects/gstreamer/gst/libgstreamer-1.0.so.0.2100.0 /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libgobject-2.0.so /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libglib-2.0.so -Wl,--export-dynamic /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libgmodule-2.0.so -pthread -lm -Wl,--end-group
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libglib-2.0.so: undefined reerence to `fstat64@GLIBC_2.33'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libglib-2.0.so: undefined reference to `lstat64@GLIBC_2.33'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /home/basti/Projects/example_rootfs/lib/aarch64-linux-gnu/libdl.so.2: undefined reference to `_dl_catch_error_ptr@GLIBC_PRIVATE'
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /home/basti/Projects/example_rootfs/usr/lib/aarch64-linux-gnu/libglib-2.0.so: undefined reference to `stat64@GLIBC_2.33'
collect2: error: ld returned 1 exit status
[163/589] Compiling C object subprojects/gstreamer/plugins/elements/libgstcoreelements.so.p/gstmultiqueue.c.o
ninja: build stopped: subcommand failed.f
```https://gitlab.collabora.com/collabora/gtimelog/-/issues/4No longer handles initial usage2021-04-12T12:21:41ZRylie PavlikNo longer handles initial usageI think this is because of the recent change to open. On first start I see:
```
Traceback (most recent call last):
File "/home/ryan/.local/lib/python3.7/site-packages/gtimelog/timelog.py", line 679, in load
with open(self.filename...I think this is because of the recent change to open. On first start I see:
```
Traceback (most recent call last):
File "/home/ryan/.local/lib/python3.7/site-packages/gtimelog/timelog.py", line 679, in load
with open(self.filename) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/ryan/.gtimelog/tasks.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ryan/.local/lib/python3.7/site-packages/gtimelog/main.py", line 1929, in _activate
tasks = TaskList(os.path.join(configdir, 'tasks.txt'))
File "/home/ryan/.local/lib/python3.7/site-packages/gtimelog/timelog.py", line 653, in __init__
self.load()
File "/home/ryan/.local/lib/python3.7/site-packages/gtimelog/timelog.py", line 685, in load
print(e.message)
AttributeError: 'FileNotFoundError' object has no attribute 'message'
```
After setting up gtimelogrc, I instead get:
```
Traceback (most recent call last):
File "/home/ryan/.local/lib/python3.7/site-packages/gtimelog/timelog.py", line 679, in load
with open(self.filename) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/ryan/.gtimelog/remote-tasks.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ryan/.local/lib/python3.7/site-packages/gtimelog/main.py", line 1927, in _activate
os.path.join(configdir, 'remote-tasks.txt'))
File "/home/ryan/.local/lib/python3.7/site-packages/gtimelog/collabora.py", line 228, in __init__
TaskList.__init__(self, cache_filename)
File "/home/ryan/.local/lib/python3.7/site-packages/gtimelog/timelog.py", line 653, in __init__
self.load()
File "/home/ryan/.local/lib/python3.7/site-packages/gtimelog/timelog.py", line 685, in load
print(e.message)
AttributeError: 'FileNotFoundError' object has no attribute 'message'
```
cc @smcvhttps://gitlab.collabora.com/collabora/ci-demo/-/issues/3Add image storing to the pipeline2018-11-08T12:26:28ZMichał GałkaAdd image storing to the pipelinehttps://gitlab.collabora.com/collabora/ci-demo/-/issues/2Create Jenkins pipeline to build a qemu based image2018-11-08T12:26:26ZMichał GałkaCreate Jenkins pipeline to build a qemu based imageMichał GałkaMichał Gałka