Skip to content

Conversation

andrey-utkin
Copy link
Contributor

  • misc/postinstall.sh: enable bash strict mode

@andrey-utkin andrey-utkin force-pushed the more-enhancements-2024-12-11 branch 2 times, most recently from 30b34eb to 826dc50 Compare December 12, 2024 12:30
On Mint Victoria add-apt-repository sets up an entry in a way which
doesn't work.

 # apt update
...
Get:12 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease [24.6 kB]
Err:12 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 71DAEAAB4AD4CAB6 NO_PUBKEY 4F4EA0AAE5267A6C
Reading package lists... Done
W: GPG error: https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 71DAEAAB4AD4CAB6 NO_PUBKEY 4F4EA0AAE5267A6C
E: The repository 'https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@mint-victoria-p:~# echo $?
100
Caught thanks to Ubuntu 24.10 giving compilation error:

ccache gcc -std=c99 -Wall -g3 -ggdb -O3 -isystem /build/source/stage/include -iquote /build/source/lib -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -I /usr/include/opencv4 -pthread -MMD -DV3_LICENSING -I//build/source/server/lexapi -DBC_VERSION='"3.1.8"' -Wdate-time -D_FORTIFY_SOURCE=3  -c -o signals.o signals.c
signals.c: In function 'signals_setup':
signals.c:61:25: error: assignment to 'void (*)(int,  siginfo_t *, void *)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types]
   61 |         sa.sa_sigaction = SIG_IGN;
      |                         ^
make[2]: *** [<builtin>: signals.o] Error 1
@andrey-utkin andrey-utkin force-pushed the more-enhancements-2024-12-11 branch from 826dc50 to 83b0697 Compare December 12, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant