Project

General

Profile

Bug #6040

Building

Added by Ricardo Rocha 3 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Packaging
Target version:
-
Start date:
2021-05-04
Due date:
% Done:

0%

Estimated time:
Found in version:
tvheadend_4.3-1959
Affected Versions:

Description

I was not being able to compile tvheadend on focal-amd64 because of the python-requests.

After looking at it i changed the debian/control from ..., python | python3, python-requests | python3-requests,... to ..., python3, python3-requests,... and it compiled.

Somehow the | are not being well understand and always look for python and python-requests.

Thanks

History

#1

Updated by Flole Systems 3 months ago

Where are the logs, error messages or debug information?

#2

Updated by Ricardo Rocha 3 months ago

./Autobuild.sh -o deps -t focal-amd64
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python-is-python2' instead of 'python'
Note, selecting 'git' instead of 'git-core'
E: Unable to locate package python-requests

#3

Updated by saen acro 3 months ago

On my system work without adding extra "OS type"

#4

Updated by Ricardo Rocha 2 months ago

./Autobuild.sh -o deps -t focal-amd64
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python-is-python2' instead of 'python'
Note, selecting 'git' instead of 'git-core'
E: Unable to locate package python-requests

./Autobuild.sh -t focal-amd64
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
Autobuild/debian.sh: line 50: dpkg-buildpackage: command not found

./Autobuild.sh
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
Autobuild/debian.sh: line 50: dpkg-buildpackage: command not found

#5

Updated by Ricardo Rocha 2 months ago

bash -x ./Autobuild.sh -o deps -t focal-amd64
+ set -eu
+ BUILD_API_VERSION=3
+ EXTRA_BUILD_NAME=
+ JARGS=
+ JOBSARGS=
+ TARGET=debian
+ RELEASE=--release
+ WORKINGDIR=/var/tmp/showtime-autobuild
+ FILELIST=/root/tvheadend/filelist.txt
+ OP=build
+ getopts vht:e:j:w:o:c: OPTION
+ case $OPTION in
+ OP=deps
+ getopts vht:e:j:w:o:c: OPTION
+ case $OPTION in
+ TARGET=focal-amd64
+ getopts vht:e:j:w:o:c: OPTION
+ -z focal-amd64
+ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
+ '[' -f Autobuild/focal-amd64.sh ']'
+ source Autobuild/focal-amd64.sh
+ AUTOBUILD_CONFIGURE_EXTRA=' --arch=x86_64'
+ DEBDIST=focal
+ source Autobuild/debian.sh
++ CHANGELOG=debian/changelog
+++ date -R
++ NOW='Mon, 17 May 2021 15:52:45 0000'
++++ dirname ./Autobuild.sh
+++ ./support/version
++ VER=4.3-1964~g637844055
++ '[' -z focal ']'
+++ awk 'BEGIN {cnt = 1;}
/^Build-Depends:/ {
split($0, line, ":");
split(line2, deps, ",");
for (i in deps) {
d = deps[i];
sub(/^ */, "", d);
sub(/ *$/, "", d);
n = split(d, tokens, " ");
packages[cnt++] = tokens1;
}
}
END {
out = "";
for(i = 1; i <= cnt; i++) {
out = out packages[i] " ";
}
print out;
}' debian/control
++ BUILD_DEPS='debhelper pkg-config gettext libavahi-client-dev libssl-dev zlib1g-dev wget bzip2 git-core liburiparser-dev python python-requests ca-certificates cmake libpcre2-dev libdvbcsa-dev '
++ case "${DEBDIST}" in
++ eval deps
+++ deps
+++ 0 -ne 0
+++ apt-get -y install debhelper pkg-config gettext libavahi-client-dev libssl-dev zlib1g-dev wget bzip2 git-core liburiparser-dev python python-requests ca-certificates cmake libpcre2-dev libdvbcsa-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
Note, selecting 'python-is-python2' instead of 'python'
E: Unable to locate package python-requests

so i guess the problem is in the print out of debian/control....

it prints:

+++ BUILD_DEPS='debhelper pkg-config gettext libavahi-client-dev libssl-dev zlib1g-dev wget bzip2 git-core liburiparser-dev python python-requests ca-certificates cmake libpcre2-dev libdvbcsa-dev '

as you can see the alternative package names are missing!

debhelper (>= 7.0.50), pkg-config, gettext, libavahi-client-dev, libssl-dev | libssl1.0-dev, zlib1g-dev, wget, bzip2, git-core, liburiparser-dev, python | python3, python-requests | python3-requests, ca-certificates, cmake, libpcre2-dev | libpcre3-dev, libdvbcsa-dev

Also available in: Atom PDF