mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 09:32:47 +00:00
28 lines
1.5 KiB
Bash
28 lines
1.5 KiB
Bash
![]() |
#!/bin/sh
|
||
|
|
||
|
# rpmlint crashes when checking debuginfo/debugsource subpackages of chromium:
|
||
|
|
||
|
# 3 packages and 0 specfiles checked; 43 errors, 67 warnings.
|
||
|
# Traceback (most recent call last):
|
||
|
# File "/usr/bin/rpmlint", line 380, in <module>
|
||
|
# main()
|
||
|
# File "/usr/bin/rpmlint", line 172, in main
|
||
|
# runChecks(pkg)
|
||
|
# File "/usr/bin/rpmlint", line 228, in runChecks
|
||
|
# check.check(pkg)
|
||
|
# File "/usr/share/rpmlint/AbstractCheck.py", line 51, in check
|
||
|
# return self.check_binary(pkg)
|
||
|
# File "/usr/share/rpmlint/DistributionCheck.py", line 40, in check_binary
|
||
|
# for fname in pkg.files():
|
||
|
# File "/usr/share/rpmlint/Pkg.py", line 633, in files
|
||
|
# self._gatherFilesInfo()
|
||
|
# File "/usr/share/rpmlint/Pkg.py", line 718, in _gatherFilesInfo
|
||
|
# pkgfile.size = sizes[idx]
|
||
|
# IndexError: list index out of range
|
||
|
|
||
|
# For now workaround it by skipping debugsource and debuginfo packages
|
||
|
|
||
|
# DEBUG: Executing "/usr/bin/rpmlint -f /builddir/build/SOURCES/chromium-browser-stable.rpmlintrc /builddir/build/RPMS/chromium-browser-stable-89.0.4389.90-3-rosa2019.1.aarch64.rpm /builddir/build/RPMS/chromedriver-89.0.4389.90-3-rosa2019.1.aarch64.rpm /builddir/build/RPMS/chromium-browser-stable-debugsource-89.0.4389.90-3-rosa2019.1.aarch64.rpm /builddir/build/RPMS/chromium-browser-stable-debuginfo-89.0.4389.90-3-rosa2019.1.aarch64.rpm /builddir/build/RPMS/chromedriver-debuginfo-89.0.4389.90-3-rosa2019.1.aarch64.rpm ":
|
||
|
|
||
|
eval $(echo "$*" | tr ' ' '\n' | grep -vE '\-debugsource\-|\-debuginfo\-' | tr '\n' ' ')
|