Opened 11 years ago

Closed 9 years ago

#39705 closed defect (worksforme)

pTeX conflicts with texlive-bin-extra, texlive-basic, dvipng, texlive-metapost, texlive-fontutils, texlive-latex, texlive-context, texlive-latex-recommended, texlive-bin

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: drkp (Dan Ports), cooljeanius (Eric Gallager), mojca (Mojca Miklavec)
Port: pTeX, texlive-common, texlive-bin-extra, texlive-basic, dvipng, texlive-metapost, texlive-fontutils, texlive-latex, texlive-context, texlive-latex-recommended, texlive-bin

Description

pTeX declares that it conflicts with texlive-common, but it seems to (also?) conflict with texlive-bin-extra, texlive-basic, dvipng, texlive-metapost, texlive-fontutils, texlive-latex, texlive-context, texlive-latex-recommended, and texlive-bin, according to this transcript:

$ sudo port install pTeX
--->  Computing dependencies for pTeX
Error: Unable to execute port: Can't install pTeX because conflicting ports are installed: texlive-common
$ sudo port -f deactivate texlive-common
--->  Deactivating texlive-common @2013_0
--->  Unable to deactivate texlive-common @2013_0, the following ports depend on it:
--->  	texlive-bin @2013_1+universal+x11
--->  	texlive-basic @30847_0+doc
--->  	texlive-latex @30738_0+doc
--->  	texlive-latex-recommended @30811_0+doc
--->  	texlive-bin-extra @30842_0+doc
--->  	texlive-metapost @30842_0+doc
--->  	texlive-generic-recommended @30396_0+doc
--->  	texlive-xetex @30842_0+doc
--->  	texlive-fonts-recommended @30307_0+doc
--->  	texlive-math-extra @30747_0+doc
--->  	texlive-context @30458_0+doc
--->  	texlive-fontutils @30842_0+doc
--->  	texlive-lang-czechslovak @30842_0+doc
--->  	texlive-lang-english @30780_0+doc
--->  	texlive-lang-european @30457_0+doc
--->  	texlive-lang-french @30777_0+doc
--->  	texlive-lang-german @30791_0+doc
--->  	texlive-lang-italian @30726_0+doc
--->  	texlive-lang-polish @30749_0+doc
--->  	texlive-lang-portuguese @30372_0+doc
--->  	texlive-lang-spanish @30372_0+doc
--->  	texlive-luatex @30790_0+doc
--->  	texlive-plain-extra @30395_0+doc
Warning: Deactivate forced.  Proceeding despite dependencies.
$ sudo port install pTeX
--->  Computing dependencies for pTeX
--->  Fetching distfiles for pTeX
--->  Verifying checksums for pTeX
--->  Extracting pTeX
--->  Applying patches to pTeX
--->  Configuring pTeX
--->  Building pTeX
--->  Staging pTeX into destroot
--->  Installing pTeX @20110314_5+motif+utf8
--->  Activating pTeX @20110314_5+motif+utf8
Error: org.macports.activate for port pTeX returned: Image error: /opt/local/bin/a2ping is being used by the active texlive-bin-extra port.  Please deactivate this port first, or use 'port -f activate pTeX' to force the activation.
Please see the log file for port pTeX for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_tex_pTeX/pTeX/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pTeX failed
$ sudo port -f deactivate texlive-bin-extra
--->  Deactivating texlive-bin-extra @30842_0+doc
--->  Unable to deactivate texlive-bin-extra @30842_0+doc, the following ports depend on it:
--->  	texlive @2013_0+doc+medium
Warning: Deactivate forced.  Proceeding despite dependencies.
$ sudo port install pTeX
--->  Computing dependencies for pTeX
--->  Activating pTeX @20110314_5+motif+utf8
Error: org.macports.activate for port pTeX returned: Image error: /opt/local/bin/afm2tfm is being used by the active texlive-basic port.  Please deactivate this port first, or use 'port -f activate pTeX' to force the activation.
Please see the log file for port pTeX for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_tex_pTeX/pTeX/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pTeX failed
$ sudo port -f deactivate texlive-basic
--->  Deactivating texlive-basic @30847_0+doc
--->  Unable to deactivate texlive-basic @30847_0+doc, the following ports depend on it:
--->  	pgf @2.10_0
--->  	pdfjam @2.08_0
--->  	texlive-latex @30738_0+doc
--->  	texlive-metapost @30842_0+doc
--->  	texlive-generic-recommended @30396_0+doc
--->  	texlive-xetex @30842_0+doc
--->  	texlive-fonts-recommended @30307_0+doc
--->  	texlive-context @30458_0+doc
--->  	texlive-fontutils @30842_0+doc
--->  	texlive-lang-czechslovak @30842_0+doc
--->  	texlive-lang-english @30780_0+doc
--->  	texlive-lang-european @30457_0+doc
--->  	texlive-lang-french @30777_0+doc
--->  	texlive-lang-german @30791_0+doc
--->  	texlive-lang-italian @30726_0+doc
--->  	texlive-lang-polish @30749_0+doc
--->  	dvipng @1.14_6+universal
--->  	texlive-lang-portuguese @30372_0+doc
--->  	texlive-lang-spanish @30372_0+doc
--->  	texlive-luatex @30790_0+doc
--->  	texlive-plain-extra @30395_0+doc
--->  	texlive @2013_0+doc+medium
Warning: Deactivate forced.  Proceeding despite dependencies.
Error: org.macports.deactivate for port texlive-basic returned: command execution failed
Please see the log file for port texlive-basic for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_texlive-basic_30847_0+doc/texlive-basic/main.log
Warning: Failed to execute portfile from registry for texlive-basic @30847_0+doc
$ sudo port install pTeX
--->  Computing dependencies for pTeX
--->  Activating pTeX @20110314_5+motif+utf8
Error: org.macports.activate for port pTeX returned: Image error: /opt/local/bin/dvigif is being used by the active dvipng port.  Please deactivate this port first, or use 'port -f activate pTeX' to force the activation.
Please see the log file for port pTeX for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_tex_pTeX/pTeX/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pTeX failed
$ sudo port -f deactivate dvipng
--->  Deactivating dvipng @1.14_6+universal
$ sudo port install pTeX
--->  Computing dependencies for pTeX
--->  Activating pTeX @20110314_5+motif+utf8
Error: org.macports.activate for port pTeX returned: Image error: /opt/local/bin/dvitomp is being used by the active texlive-metapost port.  Please deactivate this port first, or use 'port -f activate pTeX' to force the activation.
Please see the log file for port pTeX for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_tex_pTeX/pTeX/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pTeX failed
$ sudo port -f deactivate texlive-metapost
--->  Deactivating texlive-metapost @30842_0+doc
--->  Unable to deactivate texlive-metapost @30842_0+doc, the following ports depend on it:
--->  	texlive-context @30458_0+doc
--->  	texlive @2013_0+doc+medium
Warning: Deactivate forced.  Proceeding despite dependencies.
Error: org.macports.deactivate for port texlive-metapost returned: command execution failed
Please see the log file for port texlive-metapost for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_texlive-metapost_30842_0+doc/texlive-metapost/main.log
Warning: Failed to execute portfile from registry for texlive-metapost @30842_0+doc
$ sudo port install pTeX
--->  Computing dependencies for pTeX
--->  Activating pTeX @20110314_5+motif+utf8
Error: org.macports.activate for port pTeX returned: Image error: /opt/local/bin/epstopdf is being used by the active texlive-fontutils port.  Please deactivate this port first, or use 'port -f activate pTeX' to force the activation.
Please see the log file for port pTeX for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_tex_pTeX/pTeX/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pTeX failed
$ sudo port -f deactivate texlive-fontutils
--->  Deactivating texlive-fontutils @30842_0+doc
--->  Unable to deactivate texlive-fontutils @30842_0+doc, the following ports depend on it:
--->  	texlive @2013_0+doc+medium
Warning: Deactivate forced.  Proceeding despite dependencies.
Error: org.macports.deactivate for port texlive-fontutils returned: command execution failed
Please see the log file for port texlive-fontutils for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_texlive-fontutils_30842_0+doc/texlive-fontutils/main.log
Warning: Failed to execute portfile from registry for texlive-fontutils @30842_0+doc
$ sudo port install pTeX
--->  Computing dependencies for pTeX
--->  Activating pTeX @20110314_5+motif+utf8
Error: org.macports.activate for port pTeX returned: Image error: /opt/local/bin/latex is being used by the active texlive-latex port.  Please deactivate this port first, or use 'port -f activate pTeX' to force the activation.
Please see the log file for port pTeX for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_tex_pTeX/pTeX/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pTeX failed
$ sudo port -f deactivate texlive-latex
--->  Deactivating texlive-latex @30738_0+doc
--->  Unable to deactivate texlive-latex @30738_0+doc, the following ports depend on it:
--->  	texlive-latex-recommended @30811_0+doc
--->  	texlive-math-extra @30747_0+doc
--->  	texlive-context @30458_0+doc
--->  	texlive-lang-czechslovak @30842_0+doc
--->  	texlive-lang-polish @30749_0+doc
--->  	texlive @2013_0+doc+medium
--->  	latexmk @4.37_0
Warning: Deactivate forced.  Proceeding despite dependencies.
Error: org.macports.deactivate for port texlive-latex returned: command execution failed
Please see the log file for port texlive-latex for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_texlive-latex_30738_0+doc/texlive-latex/main.log
Warning: Failed to execute portfile from registry for texlive-latex @30738_0+doc
$ sudo port install pTeX
--->  Computing dependencies for pTeX
--->  Activating pTeX @20110314_5+motif+utf8
Error: org.macports.activate for port pTeX returned: Image error: /opt/local/bin/texexec is being used by the active texlive-context port.  Please deactivate this port first, or use 'port -f activate pTeX' to force the activation.
Please see the log file for port pTeX for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_tex_pTeX/pTeX/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pTeX failed
$ sudo port -f deactivate texlive-context
--->  Deactivating texlive-context @30458_0+doc
--->  Unable to deactivate texlive-context @30458_0+doc, the following ports depend on it:
--->  	texlive @2013_0+doc+medium
Warning: Deactivate forced.  Proceeding despite dependencies.
Error: org.macports.deactivate for port texlive-context returned: command execution failed
Please see the log file for port texlive-context for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_texlive-context_30458_0+doc/texlive-context/main.log
Warning: Failed to execute portfile from registry for texlive-context @30458_0+doc
$ sudo port install pTeX
--->  Computing dependencies for pTeX
--->  Activating pTeX @20110314_5+motif+utf8
Error: org.macports.activate for port pTeX returned: Image error: /opt/local/bin/thumbpdf is being used by the active texlive-latex-recommended port.  Please deactivate this port first, or use 'port -f activate pTeX' to force the activation.
Please see the log file for port pTeX for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_tex_pTeX/pTeX/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pTeX failed
$ sudo port -f deactivate texlive-latex-recommended
--->  Deactivating texlive-latex-recommended @30811_0+doc
--->  Unable to deactivate texlive-latex-recommended @30811_0+doc, the following ports depend on it:
--->  	pdfjam @2.08_0
--->  	texlive-xetex @30842_0+doc
--->  	texlive @2013_0+doc+medium
Warning: Deactivate forced.  Proceeding despite dependencies.
Error: org.macports.deactivate for port texlive-latex-recommended returned: command execution failed
Please see the log file for port texlive-latex-recommended for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_texlive-latex-recommended_30811_0+doc/texlive-latex-recommended/main.log
Warning: Failed to execute portfile from registry for texlive-latex-recommended @30811_0+doc
$ sudo port install pTeX
--->  Computing dependencies for pTeX
--->  Activating pTeX @20110314_5+motif+utf8
Error: org.macports.activate for port pTeX returned: Image error: /opt/local/include/kpathsea/absolute.h is being used by the active texlive-bin port.  Please deactivate this port first, or use 'port -f activate pTeX' to force the activation.
Please see the log file for port pTeX for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_tex_pTeX/pTeX/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port pTeX failed
$ sudo port -f deactivate texlive-bin
--->  Deactivating texlive-bin @2013_1+universal+x11
--->  Unable to deactivate texlive-bin @2013_1+universal+x11, the following ports depend on it:
--->  	texlive-generic-recommended @30396_0+doc
--->  	texlive-xetex @30842_0+doc
--->  	texlive-fonts-recommended @30307_0+doc
--->  	texlive-math-extra @30747_0+doc
--->  	lcdf-typetools @2.92_1+texlive+universal
--->  	texlive-lang-czechslovak @30842_0+doc
--->  	texlive-lang-english @30780_0+doc
--->  	texlive-lang-european @30457_0+doc
--->  	texlive-lang-french @30777_0+doc
--->  	texlive-lang-german @30791_0+doc
--->  	texlive-lang-italian @30726_0+doc
--->  	texlive-lang-polish @30749_0+doc
--->  	texlive-lang-portuguese @30372_0+doc
--->  	texlive-lang-spanish @30372_0+doc
--->  	texlive-luatex @30790_0+doc
--->  	texlive-plain-extra @30395_0+doc
Warning: Deactivate forced.  Proceeding despite dependencies.
$ sudo port install pTeX
--->  Computing dependencies for pTeX
--->  Activating pTeX @20110314_5+motif+utf8
--->  Cleaning pTeX
$ 

(pTeX is revision 5 instead of 4 because I have a local revbump for the gd2 2.1.0 update.)

Similarly, texlive-common, texlive-bin-extra, texlive-basic, dvipng, texlive-metapost, texlive-fontutils, texlive-latex, texlive-context, texlive-latex-recommended, and texlive-bin are missing a conflict declaration with pTeX.

Change History (12)

comment:1 Changed 11 years ago by drkp (Dan Ports)

All of the texlive ports depend on texlive-common. Is this going to be an issue for anyone who isn't force-deactivating ports?

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

I'm not sure what you mean. I tried to install pTeX. It said it conflicted with texlive-common. So I tried to deactivate texlive-common, and was told it was needed for another port.

At this point I had two choices. I could force the deactivation, knowing that I did not care about those other ports at that particular moment. This is what I chose to do. Are you suggesting that we should not support this action, and that instead the user should have known that he should uninstall all of texlive just to be able to install pTeX? I don't think that's realistic. The conflicts keyword should be used to indicate every conflict that actually exists, and it should be in both of each pair of conflicting ports.

comment:3 Changed 11 years ago by drkp (Dan Ports)

None of the texlive ports will work if texlive-common is deactivated (hence the dependency). If you force the deactivation, you're left with a bunch of broken ports installed. That sounds like clear unsupported territory to me...

comment:4 Changed 11 years ago by larryv (Lawrence Velázquez)

Shouldn’t two ports that conflict always declare that conflict, if it’s known? It’s good documentation.

Last edited 11 years ago by larryv (Lawrence Velázquez) (previous) (diff)

comment:5 Changed 11 years ago by mojca (Mojca Miklavec)

I'm still curious: doesn't TeX Live provide pTeX? Is anything missing from that pTeX? And if so: can those missing bits and pieces be added to TeX Live? I remember already having that conversation, but the situation must have changed a lot since then.

comment:6 Changed 11 years ago by mojca (Mojca Miklavec)

I'm asking the same question again: TeX Live now contains pTeX.

My suggestion would be to eventually:

  • use pTeX from the upstream TeX Live
  • remove pTeX as a separate port
  • make takanori co-maintainer of TeX Live to make sure that all the needed patches for pTeX can be included quickly (Dan probably doesn't use or test pTeX)
  • if pTeX has additional patches or files which are not yet part of the upstream TeX Live, try to make sure that those patches get included

comment:7 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:8 Changed 10 years ago by mojca (Mojca Miklavec)

I opened a new ticket #41980 explaining a bit more about integration of pTeX into TeX Live which would also solve this issue.

Last edited 10 years ago by mojca (Mojca Miklavec) (previous) (diff)

comment:9 Changed 10 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:10 Changed 10 years ago by mojca (Mojca Miklavec)

Ryan, I would suggest to concentrate on #41980 instead and possibly close this ticket as "wontfix" (or alternatively wait until #41980 gets resolved before closing this one).

comment:11 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from takanori@… to macports-tickets@…

takanori has retired. See #47537.

comment:12 Changed 9 years ago by mojca (Mojca Miklavec)

Resolution: worksforme
Status: newclosed
Version: 2.1.3

With pTeX gone this should no longer be an issue, so I'm closing the ticket.

Note: See TracTickets for help on using tickets.