Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597522 - app-crypt/gpgme-1.7.1-r1[cxx] - File collisions with kde-apps/gpgmepp:4 and kde-apps/kdepimlibs:4
Summary: app-crypt/gpgme-1.7.1-r1[cxx] - File collisions with kde-apps/gpgmepp:4 and k...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-19 12:13 UTC by eroen
Modified: 2016-10-20 00:00 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-crypt/gpgme-1.7.1-r1:20161019-120325.log (gpgme-1.7.1-r1:20161019-120325.log,206.88 KB, text/plain)
2016-10-19 12:13 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2016-10-19 12:13:05 UTC
Created attachment 450740 [details]
app-crypt/gpgme-1.7.1-r1:20161019-120325.log

* This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at https://bugs.gentoo.org/ unless you report exactly
 * which two packages install the same file(s). See
 * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
 * to solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * package app-crypt/gpgme-1.7.1-r1 NOT merged
 * 
 * Detected file collision(s):
 * 
 * 	/usr/include/gpgme++/context.h
 * 	/usr/include/gpgme++/configuration.h
 * 	/usr/include/gpgme++/notation.h
 * 	/usr/include/gpgme++/gpgsignkeyeditinteractor.h
 * 	/usr/include/gpgme++/result.h
 * 	/usr/include/gpgme++/trustitem.h
 * 	/usr/include/gpgme++/scdgetinfoassuantransaction.h
 * 	/usr/include/gpgme++/key.h
 * 	/usr/include/gpgme++/vfsmountresult.h
 * 	/usr/include/gpgme++/gpgmefw.h
 * 	/usr/include/gpgme++/signingresult.h
 * 	/usr/include/gpgme++/decryptionresult.h
 * 	/usr/include/gpgme++/gpgsetownertrusteditinteractor.h
 * 	/usr/include/gpgme++/verificationresult.h
 * 	/usr/include/gpgme++/eventloopinteractor.h
 * 	/usr/include/gpgme++/gpgsetexpirytimeeditinteractor.h
 * 	/usr/include/gpgme++/encryptionresult.h
 * 	/usr/include/gpgme++/gpgagentgetinfoassuantransaction.h
 * 	/usr/include/gpgme++/exception.h
 * 	/usr/include/gpgme++/gpgadduserideditinteractor.h
 * 	/usr/include/gpgme++/error.h
 * 	/usr/include/gpgme++/keygenerationresult.h
 * 	/usr/include/gpgme++/defaultassuantransaction.h
 * 	/usr/include/gpgme++/engineinfo.h
 * 	/usr/include/gpgme++/editinteractor.h
 * 	/usr/include/gpgme++/importresult.h
 * 	/usr/include/gpgme++/data.h
 * 	/usr/include/gpgme++/keylistresult.h
 * 	/usr/include/gpgme++/global.h
 * 	/usr/include/gpgme++/interfaces/passphraseprovider.h
 * 	/usr/include/gpgme++/interfaces/progressprovider.h
 * 	/usr/include/gpgme++/interfaces/assuantransaction.h
 * 	/usr/include/gpgme++/interfaces/dataprovider.h
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * kde-apps/kdepimlibs-4.14.11_pre20160211-r1:4::gentoo
 * 	/usr/include/gpgme++/configuration.h
 * 	/usr/include/gpgme++/context.h
 * 	/usr/include/gpgme++/decryptionresult.h
 * 	/usr/include/gpgme++/encryptionresult.h
 * 	/usr/include/gpgme++/eventloopinteractor.h
 * 	/usr/include/gpgme++/exception.h
 * 	/usr/include/gpgme++/gpgadduserideditinteractor.h
 * 	/usr/include/gpgme++/gpgagentgetinfoassuantransaction.h
 * 	/usr/include/gpgme++/gpgmefw.h
 * 	/usr/include/gpgme++/gpgsetexpirytimeeditinteractor.h
 * 	/usr/include/gpgme++/gpgsetownertrusteditinteractor.h
 * 	/usr/include/gpgme++/gpgsignkeyeditinteractor.h
 * 	/usr/include/gpgme++/key.h
 * 	/usr/include/gpgme++/notation.h
 * 	/usr/include/gpgme++/result.h
 * 	/usr/include/gpgme++/scdgetinfoassuantransaction.h
 * 	/usr/include/gpgme++/signingresult.h
 * 	/usr/include/gpgme++/trustitem.h
 * 	/usr/include/gpgme++/verificationresult.h
 * 	/usr/include/gpgme++/vfsmountresult.h
 * 
 * Package 'app-crypt/gpgme-1.7.1-r1' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.
Comment 1 Jouni Rinne 2016-10-19 17:26:02 UTC
Same here
Comment 2 Juergen Rose 2016-10-19 18:07:40 UTC
Here too
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-10-19 18:10:10 UTC
I assume this is only with the cxx USE flag enabled on gpgme - can someone confirm?
Comment 4 Markus Walter 2016-10-19 18:49:03 UTC
(In reply to Michael Palimaka (kensington) from comment #3)
> I assume this is only with the cxx USE flag enabled on gpgme - can someone
> confirm?

Can confirm with USE -cxx on gpgme both merge fine.
Comment 5 Arfrever Frehtes Taifersar Arahesis 2016-10-19 22:32:45 UTC
Before this commit:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0bd28d046f50be8634b7b9581827c054ba799a
C++ headers of app-crypt/gpgme were installed in /usr/include/gpgme/gpgme++ directory.
Now they are installed in /usr/include/gpgme++ directory.

app-crypt/gpgme-1.7.1-r1 already has this in RDEPEND:
	qt5? (
		dev-qt/qtcore:5
		!kde-apps/gpgmepp:4
		!kde-apps/kdepimlibs:4
	)

I suggest to add this:

	cxx? (
		!kde-apps/gpgmepp:4
		!kde-apps/kdepimlibs:4
	)

I suggest to temporarily mask cxx USE flag of app-crypt/gpgme in profiles/base/package.use.mask (wherein qt5 USE flag is already masked).
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2016-10-19 22:49:22 UTC
Done.

What is the ETA of KDE port?
Comment 7 Arfrever Frehtes Taifersar Arahesis 2016-10-19 23:56:17 UTC
(In reply to Alon Bar-Lev from comment #6)
> What is the ETA of KDE port?

kde-apps/kaddressbook:5, kde-apps/kdepim-addons:5, kde-apps/kleopatra:5, kde-apps/kmail:5, kde-apps/libkleo:5, kde-apps/messagelib:5 have been ported in their git repositories. The next release with new features for these packages is 16.12.0, which is scheduled on 2016-12-15.
https://community.kde.org/Schedules/Applications/16.12_Release_Schedule
4 of these packages are still masked in profiles/package.mask due to some reasons (e.g. dependency on still masked Qt >=5.7). kde-apps/kleopatra:5 and kde-apps/libkleo:5 are not masked.


kde-frameworks/kwallet:5[gpg] has been ported in its git repository. The next release is 5.28.0, which is scheduled on 2016-11-12.
https://community.kde.org/Schedules/Frameworks
Comment 8 Arfrever Frehtes Taifersar Arahesis 2016-10-20 00:00:41 UTC
KDE team:

About this commit:
https://gitweb.gentoo.org/proj/kde.git/commit/?id=22ad47b2f6f6a5d094e8e621b8ee99506f6183c1
The older dependencies are supported by:
https://quickgit.kde.org/?p=kwallet.git&a=commitdiff&h=60ebcad53c95ecfbe822647075f79578c3420851

For convenience of users for time period between release of KDE Frameworks 5.28.0 (2016-11-12) and release of KDE Applications 16.12.0 (2016-12-15), it might be better to have this code in kde-frameworks/kwallet-9999:
RDEPEND="...
	gpg? (
		|| (
			>=app-crypt/gpgme-1.7.1[cxx,qt5]
			(
				$(add_kdeapps_dep gpgmepp)
				app-crypt/gpgme[-cxx(-),-qt5(-)]
			)
		)
	)
"
...
src_configure() {
	local mycmakeargs=(
		$(cmake-utils_use_find_package man KF5DocTools)
	)
	if use gpg; then
		if has_version ">=app-crypt/gpgme-1.7.1[cxx,qt5]"; then
			mycmakeargs+=(
				-DCMAKE_DISABLE_FIND_PACKAGE_KF5Gpgmepp=ON
				$(cmake-utils_use_find_package gpg Gpgmepp)
			)
		else
			mycmakeargs+=(
				-DCMAKE_DISABLE_FIND_PACKAGE_Gpgmepp=ON
				$(cmake-utils_use_find_package gpg KF5Gpgmepp)
			)
		fi
	else
		mycmakeargs+=(
			-DCMAKE_DISABLE_FIND_PACKAGE_Gpgmepp=ON
			-DCMAKE_DISABLE_FIND_PACKAGE_KF5Gpgmepp=ON
	)
	fi