Closed ritzmann closed 1 year ago
use latest branch tbsdtv/media_build
Thanks, must have reset that accidentally when cleaning up the workspace. Failing even sooner now however:
$ git pull
Already up to date.
$ git status
On branch latest
Your branch is up to date with 'origin/latest'.
nothing to commit, working tree clean
$ ./build
Checking if the needed tools for Debian GNU/Linux 12 (bookworm) are available
Needed package dependencies are met.
************************************************************
* This script will download the latest tarball and build it*
* Assuming that your kernel is compatible with the latest *
* drivers. If not, you'll need to add some extra backports,*
* ./backports/<kernel> directory. *
* It will also update this tree to be sure that all compat *
* bits are there, to avoid compilation failures *
************************************************************
************************************************************
* All drivers and build system are under GPLv2 License *
* Firmware files are under the license terms found at: *
* https://github.com/tbsdtv/media_build/releases/download/latest *
* Please abort in the next 5 secs if you don't agree with *
* the license *
************************************************************
Not aborted. It means that the licence was agreed. Proceeding...
****************************
Updating the building system
****************************
From https://github.com/tbsdtv/media_build
* branch master -> FETCH_HEAD
dropping 556d2d2ac981257d3539ad9ec0ff2104e8d8266d Disable SND_BT87X for <5.11 -- patch contents already upstream
Auto-merging backports/backports.txt
CONFLICT (content): Merge conflict in backports/backports.txt
error: could not apply 4fd7679... Update backport patches for < 6.1
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply 4fd7679... Update backport patches for < 6.1
make: Entering directory '/home/user/src/tbsdtv/media_build/linux'
wget https://github.com/tbsdtv/media_build/releases/download/latest/linux-media.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
--2023-10-25 20:12:58-- https://github.com/tbsdtv/media_build/releases/download/latest/linux-media.tar.bz2.md5
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/89718596-4a50-4dbd-b984-f27e54da1ba8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231025%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231025T171258Z&X-Amz-Expires=300&X-Amz-Signature=8e7f2d5640460117d85e6768fb3e5247038fc70b27de8375b834b5eb75555cca&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=61525972&response-content-disposition=attachment%3B%20filename%3Dlinux-media.tar.bz2.md5&response-content-type=application%2Foctet-stream [following]
--2023-10-25 20:12:58-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/89718596-4a50-4dbd-b984-f27e54da1ba8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231025%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231025T171258Z&X-Amz-Expires=300&X-Amz-Signature=8e7f2d5640460117d85e6768fb3e5247038fc70b27de8375b834b5eb75555cca&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=61525972&response-content-disposition=attachment%3B%20filename%3Dlinux-media.tar.bz2.md5&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.109.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 91 [application/octet-stream]
Saving to: 'linux-media.tar.bz2.md5.tmp'
linux-media.tar.bz2.md5.tmp 100%[=======================================================================================>] 91 --.-KB/s in 0s
2023-10-25 20:12:58 (2.15 MB/s) - 'linux-media.tar.bz2.md5.tmp' saved [91/91]
cat: linux-media.tar.bz2.md5: No such file or directory
--2023-10-25 20:12:58-- https://github.com/tbsdtv/media_build/releases/download/latest/linux-media.tar.bz2
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/7414706d-935f-447e-b3d2-f6600546bdce?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231025%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231025T171259Z&X-Amz-Expires=300&X-Amz-Signature=dce5c79c4798a09076a4f3a0368a483530b3c90428bb77eaade1549307620140&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=61525972&response-content-disposition=attachment%3B%20filename%3Dlinux-media.tar.bz2&response-content-type=application%2Foctet-stream [following]
--2023-10-25 20:12:59-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/7414706d-935f-447e-b3d2-f6600546bdce?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231025%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231025T171259Z&X-Amz-Expires=300&X-Amz-Signature=dce5c79c4798a09076a4f3a0368a483530b3c90428bb77eaade1549307620140&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=61525972&response-content-disposition=attachment%3B%20filename%3Dlinux-media.tar.bz2&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8263110 (7.9M) [application/octet-stream]
Saving to: 'linux-media.tar.bz2'
linux-media.tar.bz2 100%[=======================================================================================>] 7.88M 1.22MB/s in 6.4s
2023-10-25 20:13:05 (1.23 MB/s) - 'linux-media.tar.bz2' saved [8263110/8263110]
make: Leaving directory '/home/user/src/tbsdtv/media_build/linux'
make: Entering directory '/home/user/src/tbsdtv/media_build/linux'
tar xfj linux-media.tar.bz2
rm -f .patches_applied .linked_dir .git_log.md5
make: Leaving directory '/home/user/src/tbsdtv/media_build/linux'
**********************************************************
* Downloading firmwares from linuxtv.org. *
**********************************************************
--2023-10-25 20:13:07-- https://github.com/tbsdtv/media_build/releases/download/latest/dvb-firmwares.tar.bz2
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/e798a0da-6b8a-461c-850f-845a851b88c6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231025%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231025T171307Z&X-Amz-Expires=300&X-Amz-Signature=461f3d20f6a0e9aa48b6029a8016ddd9180b82c2240b67df9e6cfd73b34a0b9b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=61525972&response-content-disposition=attachment%3B%20filename%3Ddvb-firmwares.tar.bz2&response-content-type=application%2Foctet-stream [following]
--2023-10-25 20:13:07-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/e798a0da-6b8a-461c-850f-845a851b88c6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231025%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231025T171307Z&X-Amz-Expires=300&X-Amz-Signature=461f3d20f6a0e9aa48b6029a8016ddd9180b82c2240b67df9e6cfd73b34a0b9b&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=61525972&response-content-disposition=attachment%3B%20filename%3Ddvb-firmwares.tar.bz2&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1175964 (1.1M) [application/octet-stream]
Saving to: 'dvb-firmwares.tar.bz2'
dvb-firmwares.tar.bz2 100%[=======================================================================================>] 1.12M 1.24MB/s in 0.9s
2023-10-25 20:13:08 (1.24 MB/s) - 'dvb-firmwares.tar.bz2' saved [1175964/1175964]
dvb-demod-avl6882.fw
dvb-demod-drxk-pctv.fw
dvb-demod-gx1503B.fw
dvb-demod-m88ds3103b.fw
dvb-demod-m88ds3103.fw
dvb-demod-m88rs6000.fw
dvb-demod-m88rs6060.fw
dvb-demod-mn88472-02.fw
dvb-demod-mn88473-01.fw
dvb-demod-si2168-01.fw
dvb-demod-si2168-02.fw
dvb-demod-si2168-a20-01.fw
dvb-demod-si2168-a30-01.fw
dvb-demod-si2168-b40-01.fw
dvb-demod-si2168-d60-01.fw
dvb-demod-si2183-b60-01.fw
dvb-fe-bcm3510-01.fw
dvb-fe-cx24116.fw
dvb-fe-cx24117.fw
dvb-fe-drxj-mc-1.0.8.fw
dvb-fe-drxj-mc-vsb-1.0.8.fw
dvb-fe-drxj-mc-vsb-qam-1.0.8.fw
dvb-fe-ds3000.fw
dvb-fe-ds300x.fw
dvb-fe-ds3103.fw
dvb-fe-mxl58x.fw
dvb-fe-mxl5xx.fw
dvb-fe-or51132-qam.fw
dvb-fe-or51132-vsb.fw
dvb-fe-or51211.fw
dvb-fe-rs6000.fw
dvb-fe-tda10045.fw
dvb-fe-tda10046.fw
dvb-fe-tda10048-1.0.fw
dvb-fe-tda10071.fw
dvb-fe-xc4000-1.4.1.fw
dvb-fe-xc5000-1.6.114.fw
dvb-fe-xc5000c-4.1.30.7.fw
dvb-tuner-si2141-a10-01.fw
dvb-tuner-si2157-a30-01.fw
dvb-tuner-si2157-a30-05.fw
dvb-tuner-si2158-a20-01.fw
dvb-usb-avertv-a800-02.fw
dvb-usb-bluebird-01.fw
dvb-usb-dib0700-1.20.fw
dvb-usb-dibusb-5.0.0.11.fw
dvb-usb-dibusb-6.0.0.8.fw
dvb-usb-dtt200u-01.fw
dvb-usb-dw2101.fw
dvb-usb-dw2102.fw
dvb-usb-dw2104.fw
dvb-usb-dw3101.fw
dvb-usb-id5230.fw
dvb-usb-id5301.fw
dvb-usb-id5520se.fw
dvb-usb-id5530.fw
dvb-usb-id5580.fw
dvb-usb-id5590.fw
dvb-usb-id5930.fw
dvb-usb-id5931.fw
dvb-usb-it9135-01.fw
dvb-usb-it9135-02.fw
dvb-usb-p1100.fw
dvb-usb-p1100-old.fw
dvb-usb-p7500.fw
dvb-usb-pctv-400e-01.fw
dvb-usb-pctv-450e-01.fw
dvb-usb-pctv-452e-01.fw
dvb-usb-s620.fw
dvb-usb-s630.fw
dvb-usb-s660.fw
dvb-usb-sb340.fw
dvb-usb-SkyStar_USB_HD_FW_v17_63.HEX.fw
dvb-usb-tbsqbox-dvbc.fw
dvb-usb-tbsqbox-id2601.fw
dvb-usb-tbsqbox-id5220.fw
dvb-usb-tbsqbox-id5520.fw
dvb-usb-tbsqbox-id5521.fw
dvb-usb-tbsqbox-id5680.fw
dvb-usb-tbsqbox-id5880.fw
dvb-usb-tbsqbox-id5881.fw
dvb-usb-tbsqbox-id5910.fw
dvb-usb-tbsqbox-id5920.fw
dvb-usb-tbsqbox-id5921.fw
dvb-usb-tbsqbox-id5922.fw
dvb-usb-tbsqbox-id5925.fw
dvb-usb-tbsqbox-id5927.fw
dvb-usb-tbsqbox-id5928.fw
dvb-usb-tbsqbox-id5980.fw
dvb-usb-terratec-h5-drxk.fw
dvb-usb-terratec-h7-az6007.fw
dvb-usb-terratec-h7-drxk.fw
dvb-usb-tt-s2400-01.fw
dvb-usb-umt-010-02.fw
dvb-usb-vp702x-01.fw
dvb-usb-vp7045-01.fw
dvb-usb-wt220u-01.fw
dvb-usb-wt220u-02.fw
sms1xxx-hcw-55xxx-dvbt-02.fw
sms1xxx-hcw-55xxx-isdbt-02.fw
sms1xxx-nova-a-dvbt-01.fw
sms1xxx-nova-b-dvbt-01.fw
sms1xxx-stellar-dvbt-01.fw
v4l-cx231xx-avcore-01.fw
v4l-cx23418-apu.fw
v4l-cx23418-cpu.fw
v4l-cx23418-dig.fw
v4l-cx23885-avcore-01.fw
v4l-cx23885-enc-broken.fw
v4l-cx23885-enc.fw
v4l-cx25840.fw
******************
* Start building *
******************
make -C /home/user/src/tbsdtv/media_build/v4l allyesconfig
make[1]: Entering directory '/home/user/src/tbsdtv/media_build/v4l'
No version yet, using 6.1.0-13-amd64
make[2]: Entering directory '/home/user/src/tbsdtv/media_build/linux'
Can't process line 49
Version 6.1.0-13-amd64 not supported
/bin/sh: 7: exit: Illegal number: -1
make[2]: *** [Makefile:135: apply_patches] Error 2
make[2]: Leaving directory '/home/user/src/tbsdtv/media_build/linux'
make[1]: *** [Makefile:375: allyesconfig] Error 2
make[1]: Leaving directory '/home/user/src/tbsdtv/media_build/v4l'
make: *** [Makefile:26: allyesconfig] Error 2
can't select all drivers at ./build line 552
try clear clone media_build
Same failure, deleted and cloned both media_build and linux_media from scratch.
Look like kernel geaders not installed,
apt install linux-headers-amd64
$ dpkg --status linux-headers-amd64
Package: linux-headers-amd64
Status: install ok installed
I have been building this software on Debian successfully for a few years already. Mostly been using Debian 11 but when this started happening around two months ago, I upgraded to Debian 12, assuming that the latest stable version would work best. But that has been giving me similar compilation errors. I am surprised that this would suddenly stop right at the beginning of the process already. Just tried again but it fails consistently with Version 6.1.0-13-amd64 not supported
.
Just test Debian 12 with same kernel in VirtualBox. Build success
I found the cause of the Version not supported error:
****************************
Updating the building system
****************************
From https://github.com/tbsdtv/media_build
* branch master -> FETCH_HEAD
dropping 556d2d2ac981257d3539ad9ec0ff2104e8d8266d Disable SND_BT87X for <5.11 -- patch contents already upstream
Auto-merging backports/backports.txt
CONFLICT (content): Merge conflict in backports/backports.txt
error: could not apply 4fd7679... Update backport patches for < 6.1
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply 4fd7679... Update backport patches for < 6.1
That leaves the workspace in a state with a rebase in progress and the backports/backports.txt file contains a merge conflict that causes the script linux/patches_for_kernel.pl to fail. Why you cannot reproduce that is beyond me.
Just make fresh clone media_build and run build script:
git clone https://github.com/tbsdtv/media_build
cd media_build
./build
terminate it when compilation started (ctrl-c) and run ./install.sh
$ rm -rf media_build/
$ git clone https://github.com/tbsdtv/media_build
Klone nach 'media_build'...
remote: Enumerating objects: 7355, done.
remote: Counting objects: 100% (1399/1399), done.
remote: Compressing objects: 100% (474/474), done.
remote: Total 7355 (delta 965), reused 1346 (delta 922), pack-reused 5956
Empfange Objekte: 100% (7355/7355), 1.52 MiB | 1.24 MiB/s, fertig.
Löse Unterschiede auf: 100% (5294/5294), fertig.
$ cd media_build
$ ./build
Checking if the needed tools for Debian GNU/Linux 12 (bookworm) are available
Needed package dependencies are met.
************************************************************
* This script will download the latest tarball and build it*
* Assuming that your kernel is compatible with the latest *
* drivers. If not, you'll need to add some extra backports,*
* ./backports/<kernel> directory. *
* It will also update this tree to be sure that all compat *
* bits are there, to avoid compilation failures *
************************************************************
************************************************************
* All drivers and build system are under GPLv2 License *
* Firmware files are under the license terms found at: *
* https://github.com/tbsdtv/media_build/releases/download/latest *
* Please abort in the next 5 secs if you don't agree with *
* the license *
************************************************************
Not aborted. It means that the licence was agreed. Proceeding...
****************************
Updating the building system
****************************
Von https://github.com/tbsdtv/media_build
* branch master -> FETCH_HEAD
Weglassen von 556d2d2ac981257d3539ad9ec0ff2104e8d8266d Disable SND_BT87X for <5.11 -- Patch-Inhalte sind bereits im Upstream-Branch
automatischer Merge von backports/backports.txt
KONFLIKT (Inhalt): Merge-Konflikt in backports/backports.txt
Fehler: Konnte 4fd7679... (Update backport patches for < 6.1) nicht anwenden
Hinweis: Resolve all conflicts manually, mark them as resolved with
Hinweis: "git add/rm <conflicted_files>", then run "git rebase --continue".
Hinweis: You can instead skip this commit: run "git rebase --skip".
Hinweis: To abort and get back to the state before "git rebase", run "git rebase --abort".
Konnte 4fd7679... (Update backport patches for < 6.1) nicht anwenden
make: Verzeichnis „/home/user/src/tbsdtv/media_build/linux“ wird betreten
wget https://github.com/tbsdtv/media_build/releases/download/latest/linux-media.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
--2023-10-27 23:18:37-- https://github.com/tbsdtv/media_build/releases/download/latest/linux-media.tar.bz2.md5
Auflösen des Hostnamens github.com (github.com)… 140.82.121.3
Verbindungsaufbau zu github.com (github.com)|140.82.121.3|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Found
Platz: https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/6b9adf2a-2557-452a-b759-ae4e8654d50c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231027T201838Z&X-Amz-Expires=300&X-Amz-Signature=eeef0d098d26e2ed58f001e705957eb4eeff2c981b6f7b8dd5ffcd1dd13748d2&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=61525972&response-content-disposition=attachment%3B%20filename%3Dlinux-media.tar.bz2.md5&response-content-type=application%2Foctet-stream [folgend]
--2023-10-27 23:18:38-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/6b9adf2a-2557-452a-b759-ae4e8654d50c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231027T201838Z&X-Amz-Expires=300&X-Amz-Signature=eeef0d098d26e2ed58f001e705957eb4eeff2c981b6f7b8dd5ffcd1dd13748d2&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=61525972&response-content-disposition=attachment%3B%20filename%3Dlinux-media.tar.bz2.md5&response-content-type=application%2Foctet-stream
Auflösen des Hostnamens objects.githubusercontent.com (objects.githubusercontent.com)… 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Verbindungsaufbau zu objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 91 [application/octet-stream]
Wird in »linux-media.tar.bz2.md5.tmp« gespeichert.
linux-media.tar.bz2.md5.tmp 100%[=======================================================================================>] 91 --.-KB/s in 0s
2023-10-27 23:18:38 (3,01 MB/s) - »linux-media.tar.bz2.md5.tmp« gespeichert [91/91]
cat: linux-media.tar.bz2.md5: Datei oder Verzeichnis nicht gefunden
--2023-10-27 23:18:38-- https://github.com/tbsdtv/media_build/releases/download/latest/linux-media.tar.bz2
Auflösen des Hostnamens github.com (github.com)… 140.82.121.3
Verbindungsaufbau zu github.com (github.com)|140.82.121.3|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Found
Platz: https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/52888d27-227a-4d49-abb6-04783d57bc48?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231027T201838Z&X-Amz-Expires=300&X-Amz-Signature=a137904922282fea9b1ae3ccd2ca08e66c3595493fae2e206338b0e59f337e1f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=61525972&response-content-disposition=attachment%3B%20filename%3Dlinux-media.tar.bz2&response-content-type=application%2Foctet-stream [folgend]
--2023-10-27 23:18:38-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/52888d27-227a-4d49-abb6-04783d57bc48?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231027T201838Z&X-Amz-Expires=300&X-Amz-Signature=a137904922282fea9b1ae3ccd2ca08e66c3595493fae2e206338b0e59f337e1f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=61525972&response-content-disposition=attachment%3B%20filename%3Dlinux-media.tar.bz2&response-content-type=application%2Foctet-stream
Auflösen des Hostnamens objects.githubusercontent.com (objects.githubusercontent.com)… 185.199.111.133, 185.199.109.133, 185.199.110.133, ...
Verbindungsaufbau zu objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 8263259 (7,9M) [application/octet-stream]
Wird in »linux-media.tar.bz2« gespeichert.
linux-media.tar.bz2 100%[=======================================================================================>] 7,88M 1,23MB/s in 6,4s
2023-10-27 23:18:45 (1,23 MB/s) - »linux-media.tar.bz2« gespeichert [8263259/8263259]
make: Verzeichnis „/home/user/src/tbsdtv/media_build/linux“ wird verlassen
make: Verzeichnis „/home/user/src/tbsdtv/media_build/linux“ wird betreten
tar xfj linux-media.tar.bz2
rm -f .patches_applied .linked_dir .git_log.md5
make: Verzeichnis „/home/user/src/tbsdtv/media_build/linux“ wird verlassen
**********************************************************
* Downloading firmwares from linuxtv.org. *
**********************************************************
--2023-10-27 23:18:47-- https://github.com/tbsdtv/media_build/releases/download/latest/dvb-firmwares.tar.bz2
Auflösen des Hostnamens github.com (github.com)… 140.82.121.3
Verbindungsaufbau zu github.com (github.com)|140.82.121.3|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Found
Platz: https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/e798a0da-6b8a-461c-850f-845a851b88c6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231027T201847Z&X-Amz-Expires=300&X-Amz-Signature=9438aef31eabd3be3d9c198178d3c64c34be6fe5a06dcf7da962c67a0f50f725&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=61525972&response-content-disposition=attachment%3B%20filename%3Ddvb-firmwares.tar.bz2&response-content-type=application%2Foctet-stream [folgend]
--2023-10-27 23:18:47-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/61525972/e798a0da-6b8a-461c-850f-845a851b88c6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20231027%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231027T201847Z&X-Amz-Expires=300&X-Amz-Signature=9438aef31eabd3be3d9c198178d3c64c34be6fe5a06dcf7da962c67a0f50f725&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=61525972&response-content-disposition=attachment%3B%20filename%3Ddvb-firmwares.tar.bz2&response-content-type=application%2Foctet-stream
Auflösen des Hostnamens objects.githubusercontent.com (objects.githubusercontent.com)… 185.199.111.133, 185.199.109.133, 185.199.110.133, ...
Verbindungsaufbau zu objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 1175964 (1,1M) [application/octet-stream]
Wird in »dvb-firmwares.tar.bz2« gespeichert.
dvb-firmwares.tar.bz2 100%[=======================================================================================>] 1,12M 1,25MB/s in 0,9s
2023-10-27 23:18:48 (1,25 MB/s) - »dvb-firmwares.tar.bz2« gespeichert [1175964/1175964]
dvb-demod-avl6882.fw
dvb-demod-drxk-pctv.fw
dvb-demod-gx1503B.fw
dvb-demod-m88ds3103b.fw
dvb-demod-m88ds3103.fw
dvb-demod-m88rs6000.fw
dvb-demod-m88rs6060.fw
dvb-demod-mn88472-02.fw
dvb-demod-mn88473-01.fw
dvb-demod-si2168-01.fw
dvb-demod-si2168-02.fw
dvb-demod-si2168-a20-01.fw
dvb-demod-si2168-a30-01.fw
dvb-demod-si2168-b40-01.fw
dvb-demod-si2168-d60-01.fw
dvb-demod-si2183-b60-01.fw
dvb-fe-bcm3510-01.fw
dvb-fe-cx24116.fw
dvb-fe-cx24117.fw
dvb-fe-drxj-mc-1.0.8.fw
dvb-fe-drxj-mc-vsb-1.0.8.fw
dvb-fe-drxj-mc-vsb-qam-1.0.8.fw
dvb-fe-ds3000.fw
dvb-fe-ds300x.fw
dvb-fe-ds3103.fw
dvb-fe-mxl58x.fw
dvb-fe-mxl5xx.fw
dvb-fe-or51132-qam.fw
dvb-fe-or51132-vsb.fw
dvb-fe-or51211.fw
dvb-fe-rs6000.fw
dvb-fe-tda10045.fw
dvb-fe-tda10046.fw
dvb-fe-tda10048-1.0.fw
dvb-fe-tda10071.fw
dvb-fe-xc4000-1.4.1.fw
dvb-fe-xc5000-1.6.114.fw
dvb-fe-xc5000c-4.1.30.7.fw
dvb-tuner-si2141-a10-01.fw
dvb-tuner-si2157-a30-01.fw
dvb-tuner-si2157-a30-05.fw
dvb-tuner-si2158-a20-01.fw
dvb-usb-avertv-a800-02.fw
dvb-usb-bluebird-01.fw
dvb-usb-dib0700-1.20.fw
dvb-usb-dibusb-5.0.0.11.fw
dvb-usb-dibusb-6.0.0.8.fw
dvb-usb-dtt200u-01.fw
dvb-usb-dw2101.fw
dvb-usb-dw2102.fw
dvb-usb-dw2104.fw
dvb-usb-dw3101.fw
dvb-usb-id5230.fw
dvb-usb-id5301.fw
dvb-usb-id5520se.fw
dvb-usb-id5530.fw
dvb-usb-id5580.fw
dvb-usb-id5590.fw
dvb-usb-id5930.fw
dvb-usb-id5931.fw
dvb-usb-it9135-01.fw
dvb-usb-it9135-02.fw
dvb-usb-p1100.fw
dvb-usb-p1100-old.fw
dvb-usb-p7500.fw
dvb-usb-pctv-400e-01.fw
dvb-usb-pctv-450e-01.fw
dvb-usb-pctv-452e-01.fw
dvb-usb-s620.fw
dvb-usb-s630.fw
dvb-usb-s660.fw
dvb-usb-sb340.fw
dvb-usb-SkyStar_USB_HD_FW_v17_63.HEX.fw
dvb-usb-tbsqbox-dvbc.fw
dvb-usb-tbsqbox-id2601.fw
dvb-usb-tbsqbox-id5220.fw
dvb-usb-tbsqbox-id5520.fw
dvb-usb-tbsqbox-id5521.fw
dvb-usb-tbsqbox-id5680.fw
dvb-usb-tbsqbox-id5880.fw
dvb-usb-tbsqbox-id5881.fw
dvb-usb-tbsqbox-id5910.fw
dvb-usb-tbsqbox-id5920.fw
dvb-usb-tbsqbox-id5921.fw
dvb-usb-tbsqbox-id5922.fw
dvb-usb-tbsqbox-id5925.fw
dvb-usb-tbsqbox-id5927.fw
dvb-usb-tbsqbox-id5928.fw
dvb-usb-tbsqbox-id5980.fw
dvb-usb-terratec-h5-drxk.fw
dvb-usb-terratec-h7-az6007.fw
dvb-usb-terratec-h7-drxk.fw
dvb-usb-tt-s2400-01.fw
dvb-usb-umt-010-02.fw
dvb-usb-vp702x-01.fw
dvb-usb-vp7045-01.fw
dvb-usb-wt220u-01.fw
dvb-usb-wt220u-02.fw
sms1xxx-hcw-55xxx-dvbt-02.fw
sms1xxx-hcw-55xxx-isdbt-02.fw
sms1xxx-nova-a-dvbt-01.fw
sms1xxx-nova-b-dvbt-01.fw
sms1xxx-stellar-dvbt-01.fw
v4l-cx231xx-avcore-01.fw
v4l-cx23418-apu.fw
v4l-cx23418-cpu.fw
v4l-cx23418-dig.fw
v4l-cx23885-avcore-01.fw
v4l-cx23885-enc-broken.fw
v4l-cx23885-enc.fw
v4l-cx25840.fw
******************
* Start building *
******************
make -C /home/user/src/tbsdtv/media_build/v4l allyesconfig
make[1]: Verzeichnis „/home/user/src/tbsdtv/media_build/v4l“ wird betreten
No version yet, using 6.1.0-13-amd64
make[2]: Entering directory '/home/user/src/tbsdtv/media_build/linux'
Can't process line 49
Version 6.1.0-13-amd64 not supported
/bin/sh: 7: exit: Illegal number: -1
make[2]: *** [Makefile:135: apply_patches] Error 2
make[2]: Leaving directory '/home/user/src/tbsdtv/media_build/linux'
make[1]: *** [Makefile:375: allyesconfig] Fehler 2
make[1]: Verzeichnis „/home/user/src/tbsdtv/media_build/v4l“ wird verlassen
make: *** [Makefile:26: allyesconfig] Fehler 2
can't select all drivers at ./build line 552
OK, I think I found the reason why it is not compiling:
https://github.com/tbsdtv/media_build/blob/latest/build#L526
When I remove the master
parameter from there, the build script is getting beyond the above failure:
****************************
Updating the building system
****************************
From https://github.com/tbsdtv/media_build
* branch HEAD -> FETCH_HEAD
Current branch latest is up to date.
make: Entering directory '/home/user/src/tbsdtv/media_build/linux'
wget https://github.com/tbsdtv/media_build/releases/download/latest/linux-media.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
...
Patches apply cleanly:
...
******************
* Start building *
******************
make -C /home/user/src/tbsdtv/media_build/v4l allyesconfig
make[1]: Entering directory '/home/user/src/tbsdtv/media_build/v4l'
No version yet, using 6.1.0-13-amd64
make[2]: Entering directory '/home/user/src/tbsdtv/media_build/linux'
Applying patches for kernel 6.1.0-13-amd64
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/debug.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
patch -s -f -N -p1 -i ../backports/ccs.patch
patch -s -f -N -p1 -i ../backports/rc-cec.patch
patch -s -f -N -p1 -i ../backports/v6.4_pin_user_pages.patch
patch -s -f -N -p1 -i ../backports/v6.3_class_create.patch
patch -s -f -N -p1 -i ../backports/v6.3_check_endpoint.patch
patch -s -f -N -p1 -i ../backports/v6.2_class.patch
patch -s -f -N -p1 -i ../backports/v6.2_remove.patch
patch -s -f -N -p1 -i ../backports/v6.2_probe.patch
patch -s -f -N -p1 -i ../backports/v6.2_v4l2-core.patch
patch -s -f -N -p1 -i ../backports/v6.1_class.patch
patch -s -f -N -p1 -i ../backports/v6.1_i2c_probe.patch
patch -s -f -N -p1 -i ../backports/v6.1_videobuf2.patch
patch -s -f -N -p1 -i ../backports/v6.1_timer.patch
patch -s -f -N -p1 -i ../backports/v6.1_ipu3.patch
Patched drivers/media/dvb-core/dvbdev.c
Patched drivers/media/v4l2-core/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
make[2]: Leaving directory '/home/user/src/tbsdtv/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/6.1.0-13-amd64/build /lib/modules/6.1.0-13-amd64/source 1
Preparing to compile for kernel version 6.1.0
...
And compilation/build and install is finally running through! :relieved:
Of course that build script hasn't changed in years. Not sure why I started bumping into this only lately.
Latest media and media_build checkouts. Running
build
from media_build: