Summary: | file collision between mail-filter/libspf2 and >=dev-perl/Mail-SPF-2.006: /usr/bin/spfquery | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Mirosław <bug> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | barzog, gentoo, grobian, idl0r, jochen+gentoo-bugs, net-mail+disabled, patryk, robbat2, tb |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 302880 | ||
Attachments: |
Mail-SPF-Query-BLOCKER.patch
Mail-SPF-2.007.ebuild.diff Mail-SPF-2.007-r1.ebuild Mail-SPF-2.007-r1.ebuild |
Description
Marcin Mirosław
2009-08-12 08:55:21 UTC
Created attachment 209303 [details, diff]
Mail-SPF-Query-BLOCKER.patch
add blocker to dev-perl/Mail-SPF ebuild
*** Bug 293973 has been marked as a duplicate of this bug. *** *** Bug 302883 has been marked as a duplicate of this bug. *** + 21 Feb 2010; Patrick Lauer <patrick@gentoo.org> Mail-SPF-2.007.ebuild: + Adding blocker for #281189 Hope that does it ... Still got this problem. * Detected file collision(s): * * /usr/bin/spfquery * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * mail-filter/libspf2-1.2.8 * /usr/bin/spfquery * * Package 'dev-perl/Mail-SPF-2.007' NOT merged due to file collisions. * If necessary, refer to your elog messages for the whole content of the * above message. emerge --info Portage 2.1.8.3 (default/linux/x86/10.0/server, gcc-4.3.3, glibc-2.11-r1, 2.6.30-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r6-i686-QEMU_Virtual_CPU_version_0.12.3-with-gentoo-2.0.1 Timestamp of tree: Wed, 07 Apr 2010 12:45:02 +0000 app-shells/bash: 4.1_p2-r1 dev-lang/python: 2.5.4-r2, 2.6.5-r1, 3.1.2-r1 dev-python/pycrypto: 2.0.1-r8 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.3.3-r2, 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" Not fixed. *** Bug 311303 has been marked as a duplicate of this bug. *** *** Bug 315391 has been marked as a duplicate of this bug. *** Created attachment 238537 [details]
Mail-SPF-2.007.ebuild.diff
This works but seems there must be a better way of doing this, I am just not experenced enough.
http://tinderbox.x86.dev.gentoo.org/misc/rindex/mail-filter/libspf2 |[B]dev-perl/Mail-SPF-Query-1.999.1 | mail-mta/exim-4.69:spf | mail-mta/exim-4.69-r3:spf | mail-mta/exim-4.69-r4:spf | mail-mta/exim-4.71:spf | mail-mta/exim-4.72:spf http://tinderbox.x86.dev.gentoo.org/misc/rindex/dev-perl/Mail-SPF | mail-filter/assp-1.6.5.0:spf | mail-filter/spamassassin-3.3.1-r2 I did grep the Sources and it didn't find a match for spfquery. Can we rename one (or both) of the spfquery files? Which one? as far as I know, Exim only uses the library from libspf2, and not the binaries, so it wouldn't be affected by a rename of the binary Created attachment 238935 [details]
Mail-SPF-2.007-r1.ebuild
This renames /usr/bin/spfquery to /usr/bin/spf_query
Just a suggestion but wouldn't renaming it to /usr/bin/spfquery.pl make more sense? This way at least it's clear that the script belongs to the Mail-SPF Perl module. IMHO having /usr/bin/spfquery and /usr/bin/spf_query makes it more abiguous. (In reply to comment #13) > Just a suggestion but wouldn't renaming it to /usr/bin/spfquery.pl make more > sense? This way at least it's clear that the script belongs to the Mail-SPF > Perl module. I like this approach, however, the question is "How likely are people going to want/need this?". you could, alternatively, name it something tragic like Mail-SPF-query, or alternatively, stuff the script in a folder nobody can see (/usr/share or /usr/libexec ) and the people who really care for it can be told 'symlink it somewhere mk?' ( I'm not saying either of these are great ideas, but they may inspire great ideas =) ) Created attachment 240055 [details]
Mail-SPF-2.007-r1.ebuild
After constructive feedback the new bin is /usr/bin/spfquery.pl
thanks
Currently added to perl-overlay for testing, please test; http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=16b265d228b2bccf620e529bcdbbae9cce7432d3 thanks Since spamassassin uses Mail-SPF - does the naming change not break it's functionality? #17: No, SpamAssassin is using Mail::SPF directly. spfquery is just a script providing the functionality of Mail::SPF as a command line interface. Great, I'll test and confirm Fixed by renaming spfquery to spfquery.pl in dev-perl/Mail-SPF-2.007-r1. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b92b177e55830ccd00c72b0ac5acfcebd16ea7d1 commit b92b177e55830ccd00c72b0ac5acfcebd16ea7d1 Author: Petr Vaněk <arkamar@gentoo.org> AuthorDate: 2024-03-26 14:02:54 +0000 Commit: Petr Vaněk <arkamar@gentoo.org> CommitDate: 2024-03-26 14:36:12 +0000 dev-perl/Mail-SPF: rename spfd to spfd.pl This change is necessary in order to avoid collision with mail-filter/libspf2. The change is consistent with already renamed spfquery.pl. Bug: https://bugs.gentoo.org/281189 Closes: https://bugs.gentoo.org/886179 Signed-off-by: Petr Vaněk <arkamar@gentoo.org> dev-perl/Mail-SPF/Mail-SPF-2.9.0-r4.ebuild | 53 ++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) |