Ana Guerrero e09187697b Accepting request 1286144 from devel:gcc
- Patches added:
  * gdb-testsuite-fix-timeout-in-gdb.multi-attach-while-.patch
- Patches added (swo#32167):
  * gdb-python-reimplement-gdb.interrupt-race-fix.patch
- Maintenance script qa.sh:
  * Drop PR32167 kfail.
- Simplify outdated comment in gdb.spec.
- Update to fedora rawhide @ 0481d32.
  Maintenance script import-fedora.sh:
  * Skip gdb-fix-bg-execution-repeat.patch.
- Add MIT in License tag due to gdbsupport/unordered_dense.h.
- Update to fedora rawhide @ 89e3933.
  Maintenance script import-fedora.sh:
  * Drop gdb-6.8-bz466901-backtrace-full-prelinked.patch from
    skip_patches.
- Update to fedora rawhide @ 660c52f.
  Drop patches:
  * gdb-rhbz1149205-catch-syscall-after-fork-test.patch
- Update to fedora rawhide @ 885cdf8.
  Update patches:
  * gdb-add-rpm-suggestion-script.patch
  Drop patches:
  * fixup-gdb-add-rpm-suggestion-script.patch
- Update to fedora rawhide @ 9c718a5.
  Drop patches:
  * gdb-6.3-mapping-zero-inode-test.patch
- Update to fedora rawhide @ 15778f3.
  Drop patches:
  * gdb-archer-next-over-throw-cxx-exec.patch
- Update to fedora rawhide @ 152468c.
  Maintenance script import-fedora.sh:
  * Rename gdb-6.3-rh-testversion-20041202.patch to
    gdb-test-show-version.patch in skip_patches.
  Patches dropped (Renamed to ...):
  * gdb-add-rpm-suggestion-script.patch
  Patches added (... this):
  * gdb-rpm-suggestion-script.patch
- Move some patches from "Backport from gdb-patches" to
  "Backports from master, available in GDB 17".
- Add patches (swo#33000):
  * gdb-tdep-fix-gdb.ada-finish-var-size.exp-on-ppc64le-.patch
- Add patches (swo#32409):
  * gdb-ada-fix-gdb.ada-overloads.exp-on-s390x.patch
- Add patches:
  * gdb-testsuite-make-gdb.reverse-time-reverse.exp-more.patch
  * gdb-testsuite-fix-gdb.reverse-time-reverse.exp-timeo.patch
  * gdb-testsuite-handle-asm-frame-in-gdb.python-py-miss.patch
  * gdb-testsuite-fix-gdb.base-ptype.exp-with-gcc-15.patch
  * gdb-testsuite-fix-gdb.python-py-objfile.exp-with-gcc.patch
  * gdb-testsuite-fix-gdb.ada-scalar_storage.exp-on-s390.patch
  * gdb-testsuite-fix-gdb.base-bp-permanent.exp-with-gcc.patch
  * gdb-testsuite-don-t-run-to-main-in-gdb.cp-cplusfuncs.patch
- Fix "ERROR: is not a date".
- Add libipt-cmake4-patch to fix build failure w/ cmake-4

OBS-URL: https://build.opensuse.org/request/show/1286144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdb?expand=0&rev=188
2025-06-18 17:29:33 +00:00
2025-06-13 07:50:40 +00:00
2025-06-13 07:50:40 +00:00
2025-06-13 07:50:40 +00:00

I. LOCAL QA.


0. Notes.

Note that the configs are hardcoded in the script.  F.i. atm SLE-11 is not
included, because the config is unresolvable on devel:gcc/gdb.  Also Leap
15.2 is not included because of 'remote error: unknown repository type
UNDEFINED"'.

The script tries to keep disk usage low by removing the buildroot after each
build, but that requires sudo rights, so the first thing the script does is
ask for sudo authentication.


1. Cleanup.

Do:
...
$ bash qa-local.sh 1
...


2. Build.

Do:
...
$ bash qa-local.sh 2
...

This builds gdb for each x86_64 config, without running the testsuite.

I did a timing run on my laptop (with 6 configs) and got:
...
real    66m17.689s
user    149m31.925s
sys     12m25.359s
...
so for a dual-core/4-SMT CPU, it's ~1h5m.


3. Build & test.

Do:
...
$ bash qa-local.sh 3
...

This builds gdb and produces test results for each x86_64 config.

I did a timing run on my laptop (with 6 configs) and got:
...
real    285m9.679s
user    683m16.769s
sys     133m58.287s
...
so for a dual-core/4-SMT CPU, it's ~4h45m.

The resulting testlogs (with 6 configs) is 1.4GB.


4. Verify.

Do:
...
$ bash qa-local.sh 4
...

This verifies the test results for each x86_64 config, using the qa.sh script.


5. Cleanup.

Do:
...
$ rm -Rf tmp-qa-local
...
l


I. REMOTE QA.


1. Cleanup.

Do:
...
$ bash qa-remote.sh 1
...


2. Get test results.

Do:
...
$ bash qa-remote.sh 2
...

This downloads the remote test results.


3. Verify.

Do:
...
$ bash qa-remote.sh 3 <m>
...
with m running from 1 to 5.

This verifies the test results, using the qa.sh script.

4. Cleanup.

Do:
...
$ rm -Rf tmp-qa-remote
...
Description
No description provided
Readme 79 MiB
Languages
Shell 76.7%
C 21.2%
Perl 2.1%