Skip to content

Commit

Permalink
v9.3
Browse files Browse the repository at this point in the history
- CI | Add support for 64-bit time_t transition on Sid for all builds: https://bugs.debian.org/1065394
  • Loading branch information
MichaIng committed Apr 12, 2024
1 parent 1828ead commit 7a7f8f9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .build/software/gmediarender/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ adeps=('libc6' 'gstreamer1.0-alsa' 'gstreamer1.0-libav' 'gstreamer1.0-plugins-go
(( $G_DISTRO > 7 )) && adeps+=('libupnp17') || adeps+=('libupnp13')
for i in "${adeps[@]}"
do
dpkg-query -s "$i" &> /dev/null && continue
# Temporarily allow lib*t64 packages, while the 64-bit time_t transition is ongoing on Sid: https://bugs.debian.org/1065394
dpkg-query -s "$i" &> /dev/null || dpkg-query -s "${i}t64" &> /dev/null && continue
G_DIETPI-NOTIFY 1 "Expected dependency package was not installed: $i"
exit 1
done
Expand Down Expand Up @@ -163,6 +164,8 @@ find "$DIR" ! \( -path "$DIR/DEBIAN" -prune \) -type f -exec md5sum {} + | sed "
DEPS_APT_VERSIONED=
for i in "${adeps[@]}"
do
# Temporarily allow lib*t64 packages, while the 64-bit time_t transition is ongoing on Sid: https://bugs.debian.org/1065394
dpkg-query -s "$i" &> /dev/null || i+='t64'
DEPS_APT_VERSIONED+=" $i (>= $(dpkg-query -Wf '${VERSION}' "$i")),"
done
DEPS_APT_VERSIONED=${DEPS_APT_VERSIONED%,}
Expand Down
7 changes: 6 additions & 1 deletion .build/software/shairport-sync/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ case $G_DISTRO in
esac
for i in "${adeps[@]}" "${adeps2[@]}"
do
dpkg-query -s "$i" &> /dev/null && continue
# Temporarily allow lib*t64 packages, while the 64-bit time_t transition is ongoing on Sid: https://bugs.debian.org/1065394
dpkg-query -s "$i" &> /dev/null || dpkg-query -s "${i}t64" &> /dev/null && continue
G_DIETPI-NOTIFY 1 "Expected dependency package was not installed: $i"
exit 1
done
Expand Down Expand Up @@ -348,6 +349,8 @@ find "$DIR" ! \( -path "$DIR/DEBIAN" -prune \) -type f -exec md5sum {} + | sed "
DEPS_APT_VERSIONED=
for i in "${adeps[@]}"
do
# Temporarily allow lib*t64 packages, while the 64-bit time_t transition is ongoing on Sid: https://bugs.debian.org/1065394
dpkg-query -s "$i" &> /dev/null || i+='t64'
DEPS_APT_VERSIONED+=" $i (>= $(dpkg-query -Wf '${VERSION}' "$i")),"
done
DEPS_APT_VERSIONED=${DEPS_APT_VERSIONED%,}
Expand Down Expand Up @@ -528,6 +531,8 @@ find "$DIR" ! \( -path "$DIR/DEBIAN" -prune \) -type f -exec md5sum {} + | sed "
# - Obtain DEB dependency versions
for i in "${adeps2[@]}"
do
# Temporarily allow lib*t64 packages, while the 64-bit time_t transition is ongoing on Sid: https://bugs.debian.org/1065394
dpkg-query -s "$i" &> /dev/null || i+='t64'
DEPS_APT_VERSIONED+=", $i (>= $(dpkg-query -Wf '${VERSION}' "$i"))"
done
# shellcheck disable=SC2001
Expand Down
5 changes: 4 additions & 1 deletion .build/software/ympd/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ case $G_DISTRO in
esac
for i in "${adeps[@]}"
do
dpkg-query -s "$i" &> /dev/null && continue
# Temporarily allow lib*t64 packages, while the 64-bit time_t transition is ongoing on Sid: https://bugs.debian.org/1065394
dpkg-query -s "$i" &> /dev/null || dpkg-query -s "${i}t64" &> /dev/null && continue
G_DIETPI-NOTIFY 1 "Expected dependency package was not installed: $i"
exit 1
done
Expand Down Expand Up @@ -137,6 +138,8 @@ find "$DIR" ! \( -path "$DIR/DEBIAN" -prune \) -type f -exec md5sum {} + | sed "
DEPS_APT_VERSIONED=
for i in "${adeps[@]}"
do
# Temporarily allow lib*t64 packages, while the 64-bit time_t transition is ongoing on Sid: https://bugs.debian.org/1065394
dpkg-query -s "$i" &> /dev/null || i+='t64'
DEPS_APT_VERSIONED+=" $i (>= $(dpkg-query -Wf '${VERSION}' "$i")),"
done
DEPS_APT_VERSIONED=${DEPS_APT_VERSIONED%,}
Expand Down

0 comments on commit 7a7f8f9

Please sign in to comment.