Age | Commit message (Collapse) | Author | Files | Lines |
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1185>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1124>
|
|
Fails with:
```
LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib'
```
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1119>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1118>
|
|
We can use a proper Python virtual env, and it'll work out of the box.
There might be some weirdness with the fact that we use two prefixes:
build-tools and the target prefix, but that might just mean adding
a second site-packages prefix somehow.
In any case, python bindings are disabled right now, so not a blocker.
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/406
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1097>
|
|
This is required when using older toolchains, such as CentOS, and is
a regression due to a backported version bump.
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/401
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1069>
|
|
The heartbeat is purely cosmetic anyway.
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/400
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1069>
|
|
Starting with Xcode 14, clang emits `_objc_msgSend` stubs that are
unsupported by older Xcode toolchains. This makes artifacts created
with Xcode 14 unusable with older Xcode versions.
Disable this for now. Other projects are doing the same thing:
https://github.com/llvm/llvm-project/issues/56034
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1070>
|
|
|
|
|
|
Fixes https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/393
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1052>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1050>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/999>
|
|
Old tar versions and bsdtar do not accept any further arguments after
-f so everything passed after -f <file> will be interpreted as
archive contents, and bsdtar will silently ignore non-existing files.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/999>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1047>
|
|
Need to add qt5 to PKG_CONFIG_LIBDIR if the variant is enabled
otherwise pkg-config will fail to find Qt5Core.pc
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1046>
|
|
The pc files should be generated using prefix
in libdir and includedir
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1040>
|
|
CMake recipes fail to build on MinGW without it. This was a regression
from:
https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1027
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1041>
|
|
The pc files should be generated using prefix in libdir and includedir
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1038>
|
|
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1366
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1037>
|
|
Without this, the cmake will insert `-arch arm64` when cross-compiling
to x86_64. This is in general the correct way to do cross-compilation.
See: https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-ios-tvos-or-watchos
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1039>
|
|
The `tries` option in wget was not working. The `retry-connrefused`,
'retry-on-host-error' and `retry-on-http-error` options are mandatory
to retry correctly, only with the `tries` option is not enough.
Before:
```
$ wget http://httpbin.org/status/404 --tries=4 --timeout=10.0 --progress=dot:giga
--2021-10-08 11:47:22-- http://httpbin.org/status/404
Resolving httpbin.org (httpbin.org)... 3.209.149.47, 54.156.165.4, 54.159.86.231, ...
Connecting to httpbin.org (httpbin.org)|3.209.149.47|:80... connected.
HTTP request sent, awaiting response... 404 NOT FOUND
2021-10-08 11:47:22 ERROR 404: NOT FOUND.
```
After:
```
$ wget http://httpbin.org/status/404 --tries=4 --retry-connrefused --retry-on-host-error --retry-on-http-error=404,429,503,504 --timeout=10.0 --progress=dot:giga
--2021-10-08 11:48:10-- http://httpbin.org/status/404
Resolving httpbin.org (httpbin.org)... 3.215.162.201, 54.159.86.231, 54.156.165.4, ...
Connecting to httpbin.org (httpbin.org)|3.215.162.201|:80... connected.
HTTP request sent, awaiting response... 404 NOT FOUND
Retrying.
--2021-10-08 11:48:12-- (try: 2) http://httpbin.org/status/404
Reusing existing connection to httpbin.org:80.
HTTP request sent, awaiting response... 404 NOT FOUND
Retrying.
--2021-10-08 11:48:14-- (try: 3) http://httpbin.org/status/404
Reusing existing connection to httpbin.org:80.
HTTP request sent, awaiting response... 404 NOT FOUND
Retrying.
--2021-10-08 11:48:17-- (try: 4) http://httpbin.org/status/404
Reusing existing connection to httpbin.org:80.
HTTP request sent, awaiting response... 404 NOT FOUND
Giving up.
```
But the `retry-on-http-error` requeres version 1.19.1. This version is
very new and it is not included in all supported OSs.
Final solution was implementing the retry mechanism in cerbero to
support all versions of wget, and also curl and urllib2.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1020>
|
|
The &{ } construct we were using for chaining commands actually eats
the exit code of the last command. Turns out we don't actually need
that construct at all to chain commands.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1020>
|
|
Apparently Invoke-WebRequest updates the progress bar for every byte,
which makes downloads happen orders of magnitude slower than
necessary. So let's disable the progress bar.
On my system, downloads that required minutes now happen instantly.
This is now faster than the old urllib implementation too.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1020>
|
|
Because of the CFLAGS that we are adding, openssl's build system ends
up picking up the headers in the install prefix over the headers in
the source tree. Leads to build failures when new prototypes, defines,
enums, etc are added.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1019>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1018>
|
|
We don't ship x86-64-only binaries on macOS anymore. All compilation failures
would be covered by the macOS universal job anyway.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1004>
|
|
It was added in 1.20 and we are building required dependency
openssl already
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/998>
|
|
Required for high bitdepth en/decoding
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/997>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/996>
|
|
Upstream MR has been merged, so lets' update the patch so we're using
the right code, and we can get testing for it before 2.76 is out.
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2848
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/995>
|
|
There's no other way to get this information, since it is in the
source tree and is discarded when the job ends.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/994>
|
|
Recent versions of wine have began complaining about
not finding an x11 socker, and when provided with one
under xvfb/weston xwayland they are hanging.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/966>
|
|
These variables are used by cerbero_setup.sh that runs inspect
after the build. They were missing and as such it was trying to
launch the system version of gst-inspect.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/966>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/966>
|
|
There's a %s that's not being substituted. Replace a few more
occurrences with f-strings, since they are less error-prone.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/968>
|
|
Close gstreamer/cerbero#391
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/965>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/963>
|
|
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/961>
|
|
os.path.relpath was broken because we were monkey-patching
os.path.abspath. We need to revert it to the original implementation
when invoking os.path.relpath.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/950>
|
|
It seems tar + bzip2 *also* hangs sometimes on the Windows CI:
https://gitlab.freedesktop.org/nirbheek/cerbero/-/jobs/29258182
https://gitlab.freedesktop.org/nirbheek/cerbero/-/jobs/29258183
So use tarfile to generate the tarball and then use xz to compress it.
Hopefully this will not hang...
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/950>
|
|
bsdtar and older GNU tar expect no further arguments after the -f
option.
0:00:03.006861 Generating cache file with ['tar', '-C', '/Users/gst-ci/builds/gstreamer/cerbero/cerbero-build', '--exclude=var/tmp', '-cf', '/Users/gst-ci/builds/gstreamer/cerbero/cerbero-build/cerbero-deps.tar.xz', 'build-tools', 'build-tools.cache', 'dist/darwin_universal', 'darwin_universal.cache', '--verbose', '--use-compress-program=xz --threads=0']
tar: --verbose: Cannot stat: No such file or directory
tar: --use-compress-program=xz --threads=0: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/950>
|
|
This helps debug issues with cache generation on the CI
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/950>
|
|
This way we get progress status to debug hangs and we can also easily
inspect changes in the contents, or extraneous files that should not
be cached.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/950>
|
|
Compressing the deps cache with xz seems to cause hangs on the Windows
CI, so let's use bzip2. The size difference is minimal on Windows
anyway, but it's quite significant on other platforms.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/950>
|
|
This was broken by
https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/743
which converted pkg-config to a runtime dep, but made it so that it's
no longer shipped with the MSI.
We technically don't need it to be a runtime dep because we build it
as a build-tool, but it won't make it into the cerbero CI deps cache
unless it's a runtime dep.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/934>
|
|
Error:
```
$ tar xvf automake-1.15.1.tar.xz
$ cd automake-1.15.1
$ ls -l
total 1520
-rw-r--r-- 1 jenkins jenkins 1516 Jun 18 2017 aclocal.m4
-rw-r--r-- 1 jenkins jenkins 553 Dec 20 2015 AUTHORS
drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 2017 bin
-rwxrwxr-x 1 jenkins jenkins 3995 Jun 17 2017 bootstrap
-r--r--r-- 1 jenkins jenkins 816626 Jun 19 2017 ChangeLog
-rwxrwxr-x 1 jenkins jenkins 232853 Jun 18 2017 configure
-rw-rw-r-- 1 jenkins jenkins 22833 Jun 18 2017 configure.ac
drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 2017 contrib
-rw-rw-r-- 1 jenkins jenkins 17987 Jun 17 2017 COPYING
drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 2017 doc
-rwxrwxr-x 1 jenkins jenkins 13940 Jun 16 2017 gen-testsuite-part
-rw-rw-r-- 1 jenkins jenkins 3300 Jun 16 2017 GNUmakefile
-rw-rw-r-- 1 jenkins jenkins 17844 Jun 18 2017 HACKING
-rw-rw-r-- 1 jenkins jenkins 15752 Jun 17 2017 INSTALL
drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 2017 lib
drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 2017 m4
drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 2017 maintainer
-rw-rw-r-- 1 jenkins jenkins 4278 Jun 16 2017 Makefile.am
-rw-r--r-- 1 jenkins jenkins 133420 Jun 18 2017 Makefile.in
-rw-rw-r-- 1 jenkins jenkins 124401 Jun 18 2017 NEWS
drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 2017 old
drwxr-xr-x 4 jenkins jenkins 4096 Jun 17 2017 PLANS
-rw-rw-r-- 1 jenkins jenkins 2713 Jun 17 2017 README
drwxrwxr-x 6 jenkins jenkins 53248 Jun 19 2017 t
-rw-rw-r-- 1 jenkins jenkins 22998 Jun 17 2017 THANKS
$ git init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /tmp/a/automake-1.15.1/.git/
$ git status
fatal: unsafe repository ('/tmp/a/automake-1.15.1' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /tmp/a/automake-1.15.1
$ git config user.email "cerbero@gstreamer.freedesktop.org"
fatal: not in a git directory
```
Related to:
https://stackoverflow.com/questions/71849415/cannot-add-parent-directory-to-safe-directory-on-git
and
https://github.blog/2022-04-12-git-security-vulnerability-announced/
Solution is using `--no-same-owner` to extract files as yourself.
Fixes #372
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/927>
|
|
Debian Bookworm version is 'testing'. It is not numeric.
```
>>> distro.linux_distribution()
('Debian GNU/Linux', 'testing', 'bookworm')
```
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/911>
|
|
Ubuntu 22.04 Jammy Jellyfish produces next error on bootstrap:
```
Traceback (most recent call last):
File "<string>", line 20, in <module>
...
File "/usr/lib/python3.10/shutil.py", line 256, in copyfile
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/src/cerbero/build/build-tools/local/lib/python3.10/dist-packages/site.py'
```
The error is produced because Ubuntu 22.04 Jammy Jellyfish uses
posix_local as sysconfig default scheme:
```
$ python -m sysconfig
Platform: "linux-x86_64"
Python version: "3.10"
Current installation scheme: "posix_local"
Paths:
data = "/usr/local"
include = "/usr/include/python3.10"
platinclude = "/usr/include/python3.10"
platlib = "/usr/local/lib/python3.10/dist-packages"
platstdlib = "/usr/lib/python3.10"
purelib = "/usr/local/lib/python3.10/dist-packages"
scripts = "/usr/local/bin"
stdlib = "/usr/lib/python3.10"
Variables:
...
```
To fix the issue the posix_prefix schema needs to be provided to get
the purelib path from the sysconfig.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/947>
|
|
To support Ubuntu 22.04 (Jammy Jellyfish)
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/947>
|