Bug 2065744 - bring cscope to rhel-9.0-ga
Summary: bring cscope to rhel-9.0-ga
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: cscope
Version: 9.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Vladis Dronov
QA Contact: Jan Houska
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-18 15:50 UTC by Vladis Dronov
Modified: 2023-08-20 17:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-20 17:55:12 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
cscope-tests.tar.gz (855 bytes, application/gzip)
2022-03-18 16:47 UTC, Vladis Dronov
no flags Details
cscope-tests.tar.gz (873 bytes, application/gzip)
2022-03-21 13:44 UTC, Vladis Dronov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-116138 0 None None None 2022-03-18 15:53:53 UTC

Description Vladis Dronov 2022-03-18 15:50:16 UTC
bring cscope to rhel-9.0-ga.

errata RHBA-2022:90192 requires a bugzilla to proceed.

Comment 1 Vladis Dronov 2022-03-18 16:47:01 UTC
Created attachment 1866648 [details]
cscope-tests.tar.gz

Comment 2 Vladis Dronov 2022-03-21 13:44:55 UTC
Created attachment 1867166 [details]
cscope-tests.tar.gz

Comment 3 Vladis Dronov 2022-03-21 13:57:12 UTC
a testing plan

1) install an x86_64 package to be tested and sources from https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1689059:

mkdir cscope-test && cd cscope-test
wget http://download.eng.bos.redhat.com/brewroot/vol/rhel-9/packages/cscope/15.9/12.el9/{x86_64/cscope-15.9-12.el9.x86_64.rpm,src/cscope-15.9-12.el9.src.rpm}
dnf -y install cscope-15.9-12.el9.x86_64.rpm

2) unpack sources

rpm2cpio < cscope-15.9-12.el9.src.rpm | cpio -icdum
tar -xf cscope-15.9.tar.gz

3) grab and unpack tests (attached to this bz)

wget -O cscope-tests.tar.gz https://bugzilla.redhat.com/attachment.cgi?id=1867166
tar -xf cscope-tests.tar.gz

4) run tests, should not say "FAIL"

cd cscope-15.9
for i in ../check*.sh; do ${i}; if [ $? -ne 0 ]; then echo FAIL; fi; done

should say (item 5 is intentionally missing):

Searching item 0, 'find C symbol'
Searching item 1, 'symbol definition'
Searching item 2, 'functions called by'
Searching item 3, 'functions calling'
Searching item 4, 'regular text string'
Searching item 6, 'egrep string'
Searching item 7, 'file named'
Searching item 8, 'files including this file'
Searching item 9, 'assignments to symbol'

5) clean up

dnf -y erase cscope
cd ../..
rm -rf cscope-test

Comment 6 Vladis Dronov 2022-03-28 10:37:27 UTC
https://errata.devel.redhat.com/advisory/90192 was force-moved to QE, this bz is not needed anymore.


Note You need to log in before you can comment on or make changes to this bug.