Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 601900

Summary: dev-qt/qtcore-5.6.2-r1: /usr/include/qt5/Gentoo/gentoo-qconfig.h and /usr/lib64/qt5/mkspecs/qconfig.pri have incorrect MD5sums
Product: Gentoo Linux Reporter: Francesco Turco <fturco>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gentoo-qconfig.h
qconfig.pri
emerge --info

Description Francesco Turco 2016-12-07 14:19:46 UTC
Some files belonging to dev-qt/qtcore-5.6.2-r1 have an incorrect MD5 checksum according to equery:

$ equery check qtcore:5
!!! /usr/include/qt5/Gentoo/gentoo-qconfig.h has incorrect MD5sum
!!! /usr/lib64/qt5/mkspecs/qconfig.pri has incorrect MD5sum
* Checking dev-qt/qtcore-5.6.2-r1 ...
   1443 out of 1445 files passed

Of course I haven't modified them myself as far as I know.

----

$ emerge -pv qtcore:5

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-qt/qtcore-5.6.2-r1:5/5.6::gentoo  USE="icu systemd -debug {-test}" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 1 Francesco Turco 2016-12-07 14:21:19 UTC
Created attachment 455400 [details]
gentoo-qconfig.h
Comment 2 Francesco Turco 2016-12-07 14:22:31 UTC
Created attachment 455402 [details]
qconfig.pri
Comment 3 Francesco Turco 2016-12-07 14:23:30 UTC
Created attachment 455404 [details]
emerge --info
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2016-12-13 01:59:35 UTC
Yes, this is expected. When you emerge other qt modules, those files are modified to add/remove #defines and QCONFIG flags. This is the best solution I came up with when designing the eclass.

Is this causing any actual problems?

If not, and unless you have a better idea that doesn't change the checksums and doesn't leave orphaned/unowned files around, I would close as CANTFIX, due to how Qt's build-time configuration system works. (And we don't want to rebuild qtcore every time a module is installed, removed, or upgraded either)
Comment 5 Francesco Turco 2016-12-13 10:33:29 UTC
No actual problems whatsoever. Just a cosmetic issue. Since I don't have a better solution you may close this bug if you want.