#18296 closed defect (fixed)
perl modules that conflict with built-in perl5.8 modules
Reported by: | tommyd@… | Owned by: | ghosthound |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ghosthound, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) | |
Port: | p5-cgi perl5.8 |
Description
If I try to activate p5-cgi, I get
Error: port activate failed: Image error: /opt/local/share/man/man3/CGI.3pm.gz is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation.
Of course, forcing the action succeeds.
Change History (17)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Cc: | ricci@… added; markd removed |
---|---|
Owner: | changed from macports-tickets@… to markd@… |
Port: | p5-cgi perl5.8 added |
comment:2 Changed 16 years ago by ghosthound
comment:3 Changed 16 years ago by markd@…
Not sure what is the best way to handle this. Looks like these are the ones that depend on it. I maintain 3 out of the 7. I would think removing the 5-5 dependency from the ports would be the way to go. It would cause problems for people with perl5.8.8 that try to install them, but I suspect people who have not used those ports yet for the most part will be on 5.8.9 before installing them now anyway.
If that sounds acceptable I can modify my ports and make tickets on the others.
comment:4 Changed 16 years ago by markd@…
Oops, forgot to post the list of ports, and there are only 5 of them. Mine are the top 3.
mail/sympa/Portfile: port:p5-cgi \ net/monarch/Portfile: port:p5-cgi \ net/smokeping/Portfile: port:p5-cgi \
devel/bugzilla/Portfile: port:p5-cgi \ www/ikiwiki/Portfile:depends_lib-append port:p5-cgi \
comment:6 follow-up: 9 Changed 16 years ago by markd@…
But are there more built-ins that conflict than p5-cgi? How can we check? I'm getting this now with 5.8.9.
---> Activating p5-digest @1.15_0 Error: Target org.macports.activate returned: Image error: /opt/local/share/man/man3/Digest.3pm.gz is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation. Warning: the following items did not execute (for p5-digest): org.macports.activate
comment:7 Changed 16 years ago by markd@…
And this:
---> Activating p5-net @1.22_0 Error: Target org.macports.activate returned: Image error: /opt/local/share/man/man3/Net::Cmd.3pm.gz is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation.
And this:
---> Activating p5-time-hires @1.9719_0 Error: Target org.macports.activate returned: Image error: /opt/local/share/man/man3/Time::HiRes.3pm.gz is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation.
comment:8 Changed 16 years ago by ghosthound
Indeed, something I was thinking might be a problem. Looking at the perl5.10 port, it (port 5.10) installs its man pages with '-5.10' appended to the name of the file. The same change could be applied to perl5.8 to avoid these conflicts. While I'd rather find a better solution (I haven't yet), any reason to not make such a change to perl5.8? I can see a problem for people trying to find a man page for, say, CGI and not knowing they need to do 'man CGI-5.8' (or CGI-5.10 in the case of perl5.10), beyond that... ?
comment:9 Changed 16 years ago by blb@…
comment:10 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | mcalhoun@… added |
---|
Cc Me!
comment:11 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Since perl 5.8.9 provides CGI.pm with the same version as p5-cgi, isn't the easiest solution to simply remove p5-cgi as a dependency
as was done with p5-mime-base64 (r47646)?
comment:12 Changed 16 years ago by markd@…
Summary: | p5-cgi: Cannot activate because of a perl5.8 file conflict → perl modules that conflict with built-in perl5.8 modules |
---|
Yes. I removed p5-cgi and p5-net from all ports since mine were most of them. Could someone look into p5-digest, p5-time-hires and any remaining ones that conflict?
comment:13 Changed 16 years ago by ghosthound
Owner: | changed from markd@… to ricci@… |
---|---|
Status: | new → assigned |
comment:14 Changed 16 years ago by dtirrell@…
I 'm not sure if this the correct area to post issue but believe my error with sudo port install kohadeps applies - one apparently due to a missing port -- Error: Port p5-cgi-session-yaml not found
mpslib3:~ kohaadmin$ sudo port install kohadeps Password: Error: Dependency 'p5-cgi-session-yaml' not found. Error: Status 1 encountered during processing.
- after the error I tried
mpslib3:~ kohaadmin$ sudo port -d install kohadeps Password: DEBUG: Found port in file:///Users/kohaadmin/kohaports/www/koha DEBUG: Changing to port directory: /Users/kohaadmin/kohaports/www/koha DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant powerpc is not provided by port kohadeps. DEBUG: Requested variant darwin is not provided by port kohadeps. DEBUG: Requested variant macosx is not provided by port kohadeps. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/www/apache2 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/apache2 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant powerpc is not provided by port apache2. DEBUG: Requested variant macosx is not provided by port apache2. DEBUG: Executing variant darwin provides darwin DEBUG: Executing variant darwin_9 provides darwin_9 DEBUG: Searching for dependency: apache2 DEBUG: Found Dependency: receipt exists for apache2 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/git-core DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/git-core DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: not using configure, so not adding the default universal variant DEBUG: Requested variant powerpc is not provided by port git-core. DEBUG: Requested variant darwin is not provided by port git-core. DEBUG: Requested variant macosx is not provided by port git-core. DEBUG: Executing variant doc provides doc DEBUG: Searching for dependency: git-core DEBUG: Didn't find receipt, going to depspec regex for: git-core DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/zebra DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/zebra DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant powerpc is not provided by port zebra. DEBUG: Requested variant darwin is not provided by port zebra. DEBUG: Requested variant macosx is not provided by port zebra. DEBUG: Searching for dependency: zebra DEBUG: Didn't find receipt, going to depspec regex for: zebra DEBUG: Found port in file:///Users/kohaadmin/kohaports/perl/p5-algorithm-checkdigits DEBUG: Changing to port directory: /Users/kohaadmin/kohaports/perl/p5-algorithm-checkdigits DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl DEBUG: adding the default universal variant DEBUG: Requested variant powerpc is not provided by port p5-algorithm-checkdigits. DEBUG: Requested variant darwin is not provided by port p5-algorithm-checkdigits. DEBUG: Requested variant macosx is not provided by port p5-algorithm-checkdigits. DEBUG: Searching for dependency: p5-algorithm-checkdigits DEBUG: Didn't find receipt, going to depspec regex for: p5-algorithm-checkdigits DEBUG: Found port in file:///Users/kohaadmin/kohaports/perl/p5-ansicolor DEBUG: Changing to port directory: /Users/kohaadmin/kohaports/perl/p5-ansicolor DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl DEBUG: adding the default universal variant DEBUG: Requested variant powerpc is not provided by port p5-ansicolor. DEBUG: Requested variant darwin is not provided by port p5-ansicolor. DEBUG: Requested variant macosx is not provided by port p5-ansicolor. DEBUG: Searching for dependency: p5-ansicolor DEBUG: Didn't find receipt, going to depspec regex for: p5-ansicolor DEBUG: Found port in file:///Users/kohaadmin/kohaports/perl/p5-biblio-endnotestyle DEBUG: Changing to port directory: /Users/kohaadmin/kohaports/perl/p5-biblio-endnotestyle DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl DEBUG: adding the default universal variant DEBUG: Requested variant powerpc is not provided by port p5-biblio-endnotestyle. DEBUG: Requested variant darwin is not provided by port p5-biblio-endnotestyle. DEBUG: Requested variant macosx is not provided by port p5-biblio-endnotestyle. DEBUG: Searching for dependency: p5-biblio-endnotestyle DEBUG: Didn't find receipt, going to depspec regex for: p5-biblio-endnotestyle DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-cgi-session DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-cgi-session DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl DEBUG: adding the default universal variant DEBUG: Requested variant powerpc is not provided by port p5-cgi-session. DEBUG: Requested variant darwin is not provided by port p5-cgi-session. DEBUG: Requested variant macosx is not provided by port p5-cgi-session. DEBUG: Searching for dependency: p5-cgi-session DEBUG: Didn't find receipt, going to depspec regex for: p5-cgi-session Error: Dependency 'p5-cgi-session-yaml' not found. Error: Status 1 encountered during processing.
then tried
mpslib3:~ kohaadmin$ cd /Users/kohaadmin/kohaports/perl mpslib3:perl kohaadmin$ sudo port install p5-cgi-session Password: ---> Activating p5-extutils-parsexs @2.19_0 Error: Target org.macports.activate returned: Image error: /opt/local/share/man/man3/ExtUtils::ParseXS.3pm.gz is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation. Error: The following dependencies failed to build: p5-module-build p5-extutils-parsexs Error: Status 1 encountered during processing.
--- also failed
mpslib3:perl kohaadmin$ sudo port -f install p5-cgi-session-yaml Error: Port p5-cgi-session-yaml not found mpslib3:perl kohaadmin$
Back to the missing module...
Please advise. Thanks
comment:16 Changed 16 years ago by ghosthound
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
closing due to testing timeout.
If you have perl5.8 @5.8.8 installed, p5-cgi installs just fine. If you have perl5.8 @5.8.9 installed, it already includes CGI.pm 3.42. If there is another port that requires p5-cgi, that may need to be modified, or perhaps modify p5-cgi so that it doesn't conflict with the files installed by perl5.8 @5.8.9.