Bug 2020907

Summary: pkgconfig file for 7.8.6-1 contains invalid path
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: grassAssignee: markusN <neteler>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cz172638, devrim, neteler, oliver, pertusus, volker27
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: grass-7.8.6-2.el8 grass-7.8.6-2.fc34 grass-7.8.6-2.fc33 grass-7.8.6-2.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-15 05:07:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mamoru TASAKA 2021-11-07 07:45:10 UTC
Description of problem:
grass-devel-7.8.6-1.fc36.x86_64 /usr/lib64/pkgconfig/grass.pc contains:

prefix=/usr/grass-7.8.6
exec_prefix=/usr/grass-7.8.6
libdir=/usr/grass-7.8.6/lib
includedir=/usr/grass-7.8.6/include

These are invalid.

Additional info:
Currently this causes rebuild of qgis failure:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1852904

```
+ /usr/bin/cmake -S . <snip> -D GRASS_PREFIX7=/usr/grass-7.8.6 <snip>
```

results in grass detection failure, and finally:
```
warning: File not found: /builddir/build/BUILDROOT/qgis-3.22.0-6.fc36.x86_64/usr/lib64/libqgisgrass*.so.*
warning: File not found: /builddir/build/BUILDROOT/qgis-3.22.0-6.fc36.x86_64/usr/lib64/qgis/plugins/libgrassplugin*.so
warning: File not found: /builddir/build/BUILDROOT/qgis-3.22.0-6.fc36.x86_64/usr/lib64/qgis/plugins/libprovider_grass7.so
warning: File not found: /builddir/build/BUILDROOT/qgis-3.22.0-6.fc36.x86_64/usr/lib64/qgis/plugins/libprovider_grassraster7.so
warning: Directory not found: /builddir/build/BUILDROOT/qgis-3.22.0-6.fc36.x86_64/usr/lib64/qgis/grass
```

compared to build with grass 7.8.5:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1851945
```
+ /usr/bin/cmake -S . <snip> -D GRASS_PREFIX7=/usr/lib64/grass78 <snip>
-- Found GRASS 7: /usr/lib64/grass78 (7.8.5, off_t size = )
```

Comment 1 Fedora Update System 2021-11-07 10:06:42 UTC
FEDORA-2021-ee225d70b8 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ee225d70b8

Comment 2 Fedora Update System 2021-11-07 10:06:44 UTC
FEDORA-2021-ee225d70b8 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ee225d70b8

Comment 3 Fedora Update System 2021-11-07 10:07:06 UTC
FEDORA-2021-1697a1b21d has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1697a1b21d

Comment 4 Fedora Update System 2021-11-07 10:07:09 UTC
FEDORA-2021-1697a1b21d has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1697a1b21d

Comment 5 Fedora Update System 2021-11-07 10:07:31 UTC
FEDORA-2021-199544d48a has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-199544d48a

Comment 6 Fedora Update System 2021-11-07 10:07:33 UTC
FEDORA-2021-199544d48a has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-199544d48a

Comment 7 Fedora Update System 2021-11-07 10:07:56 UTC
FEDORA-EPEL-2021-48eb5ae4e3 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-48eb5ae4e3

Comment 8 Fedora Update System 2021-11-07 10:07:58 UTC
FEDORA-EPEL-2021-48eb5ae4e3 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-48eb5ae4e3

Comment 9 markusN 2021-11-07 10:13:34 UTC
Thanks @mtasaka for the patch!

Comment 10 Mamoru TASAKA 2021-11-07 13:22:48 UTC
Actually patch is from Björn.
And now with grass-7.8.6-2.fc36 qgis now successfully builds, so I can say this is fixed.

Comment 11 Fedora Update System 2021-11-08 01:26:28 UTC
FEDORA-EPEL-2021-48eb5ae4e3 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-48eb5ae4e3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2021-11-08 01:51:45 UTC
FEDORA-2021-ee225d70b8 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-ee225d70b8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ee225d70b8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2021-11-08 01:52:01 UTC
FEDORA-2021-1697a1b21d has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-1697a1b21d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-1697a1b21d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2021-11-08 01:53:46 UTC
FEDORA-2021-199544d48a has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-199544d48a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-199544d48a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2021-11-15 05:07:16 UTC
FEDORA-EPEL-2021-48eb5ae4e3 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2021-11-15 05:21:29 UTC
FEDORA-2021-1697a1b21d has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2021-11-15 05:43:54 UTC
FEDORA-2021-199544d48a has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2021-12-11 01:29:45 UTC
FEDORA-2021-ee225d70b8 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.