Use -release instead of -version-info for internal library SONAMEs

The BIND 9 libraries are considered to be internal only and hence the
API and ABI changes a lot.  Keeping track of the API/ABI changes takes
time and it's a complicated matter as the safest way to make everything
stable would be to bump any library in the dependency chain as in theory
if libns links with libdns, and a binary links with both, and we bump
the libdns SOVERSION, but not the libns SOVERSION, the old libns might
be loaded by binary pulling old libdns together with new libdns loaded
by the binary.  The situation gets even more complicated with loading
the plugins that have been compiled with few versions old BIND 9
libraries and then dynamically loaded into the named.

We are picking the safest option possible and usable for internal
libraries - instead of using -version-info that has only a weak link to
BIND 9 version number, we are using -release libtool option that will
embed the corresponding BIND 9 version number into the library name.

That means that instead of libisc.so.1608 (as an example) the library
will now be named libisc-9.16.10.so.
77 jobs for !4553 with 2387-use--release-for-SONAME-v9.16 in 18 minutes and 11 seconds (queued for 7 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #1400478
amd64 linux
autoreconf

00:00:16

passed #1400480
amd64 linux
clang-format

00:00:18

passed #1400481
amd64 linux
coccinelle

00:03:31

failed #1400482
amd64 linux
danger

00:00:14

failed #1400479
amd64 linux
misc

00:00:17

 
  Build
passed #1400495
amd64 linux
clang:asan

00:03:50

passed #1400499
amd64 linux
clang:buster:amd64

00:01:43

passed #1400502
amd64 libvirt
clang:freebsd11:amd64

00:01:59

passed #1400503
amd64 libvirt
clang:freebsd12:amd64

00:01:47

passed #1400504
amd64 libvirt
clang:openbsd:amd64

00:04:16

passed #1400497
amd64 linux
clang:tsan

00:02:18

passed #1400483
amd64 linux
gcc:alpine3.12:amd64

00:01:52

passed #1400494
amd64 linux
gcc:asan

00:03:15

passed #1400487
amd64 linux
gcc:buster:amd64

00:01:34

passed #1400484
amd64 linux
gcc:centos7:amd64

00:01:42

passed #1400485
amd64 linux
gcc:centos8:amd64

00:01:37

passed #1400493
amd64 linux
gcc:focal:amd64

00:01:58

passed #1400498
amd64 linux
gcc:mutexatomics

00:01:49

passed #1400489
amd64 linux
gcc:out-of-tree

00:01:34

passed #1400488
amd64 linux
gcc:sid:amd64

00:02:00

passed #1400490
i386 linux
gcc:sid:i386

00:01:42

passed #1400500
amd64 linux
gcc:softhsm2.4

00:01:46

passed #1400501
amd64 linux
gcc:softhsm2.6

00:01:44

passed #1400486
amd64 linux
gcc:stretch:amd64

00:01:54

passed #1400496
amd64 linux
gcc:tsan

00:01:55

passed #1400491
amd64 linux
gcc:tumbleweed:amd64

00:01:39

passed #1400492
amd64 linux
gcc:xenial:amd64

00:01:53

passed #1400506
amd64 windows
msvc:windows:amd64

00:00:56

passed #1400505
amd64 linux
nolibtool:sid:amd64

00:02:09

 
  Unit
passed #1400518
amd64 linux
unit:clang:asan

00:00:56

passed #1400522
amd64 linux
unit:clang:buster:amd64

00:00:38

passed #1400525
amd64 libvirt
unit:clang:freebsd11:amd64

00:01:09

passed #1400526
amd64 libvirt
unit:clang:freebsd12:amd64

00:01:02

passed #1400520
amd64 linux
unit:clang:tsan

00:01:28

passed #1400507
amd64 linux
unit:gcc:alpine3.12:amd64

00:00:53

passed #1400517
amd64 linux
unit:gcc:asan

00:00:48

passed #1400511
amd64 linux
unit:gcc:buster:amd64

00:00:56

passed #1400508
amd64 linux
unit:gcc:centos7:amd64

00:00:38

passed #1400509
amd64 linux
unit:gcc:centos8:amd64

00:00:41

passed #1400516
amd64 linux
unit:gcc:focal:amd64

00:00:37

passed #1400521
amd64 linux
unit:gcc:mutexatomics

00:00:38

passed #1400512
amd64 linux
unit:gcc:sid:amd64

00:00:37

passed #1400513
i386 linux
unit:gcc:sid:i386

00:00:43

passed #1400523
amd64 linux
unit:gcc:softhsm2.4

00:00:43

passed #1400524
amd64 linux
unit:gcc:softhsm2.6

00:00:41

passed #1400510
amd64 linux
unit:gcc:stretch:amd64

00:00:39

passed #1400519
amd64 linux
unit:gcc:tsan

00:01:45

passed #1400514
amd64 linux
unit:gcc:tumbleweed:amd64

00:00:39

passed #1400515
amd64 linux
unit:gcc:xenial:amd64

00:00:38

passed #1400527
amd64 linux
unit:nolibtool:sid:amd64

00:00:50

 
  System
passed #1400539
amd64 linux
system:clang:asan

00:12:35

passed #1400543
amd64 linux
system:clang:buster:amd64

00:10:33

passed #1400546
amd64 libvirt
system:clang:freebsd11:amd64

00:10:19

passed #1400547
amd64 libvirt
system:clang:freebsd12:amd64

00:10:24

passed #1400541
amd64 linux
system:clang:tsan

00:14:36

passed #1400528
amd64 linux
system:gcc:alpine3.12:amd64

00:11:36

passed #1400538
amd64 linux
system:gcc:asan

00:14:00

passed #1400532
amd64 linux
system:gcc:buster:amd64

00:12:16

passed #1400529
amd64 linux
system:gcc:centos7:amd64

00:10:48

passed #1400530
amd64 linux
system:gcc:centos8:amd64

00:12:16

passed #1400537
amd64 linux
system:gcc:focal:amd64

00:10:55

failed #1400542
amd64 linux
system:gcc:mutexatomics

00:11:37

passed #1400533
amd64 linux
system:gcc:sid:amd64

00:10:49

passed #1400534
i386 linux
system:gcc:sid:i386

00:10:03

passed #1400544
amd64 linux
system:gcc:softhsm2.4

00:10:49

passed #1400545
amd64 linux
system:gcc:softhsm2.6

00:11:36

passed #1400531
amd64 linux
system:gcc:stretch:amd64

00:11:12

failed #1400540
amd64 linux allowed to fail
system:gcc:tsan

00:15:28

passed #1400535
amd64 linux
system:gcc:tumbleweed:amd64

00:10:36

passed #1400536
amd64 linux
system:gcc:xenial:amd64

00:11:15

failed #1400548
amd64 linux
system:nolibtool:sid:amd64

00:12:02

 
  Docs
passed #1400549
amd64 linux
docs

00:02:13

 
  Postcheck
passed #1400553
amd64 linux
cppcheck

00:00:22

passed #1400550
amd64 linux
flake8

00:00:19

passed #1400554
amd64 linux
gcov

00:00:43

75.0%
passed #1400551
amd64 linux
pylint

00:00:24

passed #1400552
amd64 linux
scan-build

00:09:23

 
Name Stage Failure
failed
system:gcc:tsan System
Running after_script
Running after script...
$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 4613 files

Uploading artifacts as "archive" to coordinator... ok
id=1400540 responseStatus=201 Created token=H7ox5mL5
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:nolibtool:sid:amd64 System
I:The following system tests failed:
I: shutdown
make: *** [Makefile:491: test] Error 1
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 852 files

Uploading artifacts as "archive" to coordinator... ok
id=1400548 responseStatus=201 Created token=pRsyCxR9
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:gcc:mutexatomics System
I:The following system tests failed:
I: kasp
make: *** [Makefile:491: test] Error 1
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 4614 files

Uploading artifacts as "archive" to coordinator... ok
id=1400542 responseStatus=201 Created token=_-f1QJrZ
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
misc Precheck
./lib/isc/api: missing
./lib/isccfg/api: missing
Uploading artifacts for failed job
Uploading artifacts...
WARNING: util/newcopyrights: no matching files
checklibs.out: found 1 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=1400479 responseStatus=201 Created token=mqzTf8_i
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
danger Precheck
 * [new branch]      v9_16      -> origin/v9_16



Failing the build, there is 1 fail.
Feedback: https://gitlab.isc.org/isc-projects/bind9/merge_requests/4553#note_186537

Cleaning up file based variables
ERROR: Job failed: exit code 1