[MacPorts] #69243: texlive ignoring installation prefix
MacPorts
noreply at macports.org
Tue Jan 30 20:22:38 UTC 2024
#69243: texlive ignoring installation prefix
------------------------------------+--------------------
Reporter: pereimer | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.0
Keywords: texlive MP_PREFIX root | Port:
------------------------------------+--------------------
I am trying to install texlive without root priv. I installed macports
with
{{{
export MP_PREFIX=/Users/me/local
./configure --prefix=$MP_PREFIX --with-applications-
dir=$MP_PREFIX/Applications --with-no-root-privileges
make
make install
port -v selfupdate
}}}
That worked fine, and everything I've installed until texlive followed
$MP_PREFIX. However,
{{{
port install texlive
}}}
gives, after computing the dependencies and agreeing to them, the
following message
{{{
---> Activating texlive-bin @2023.66589_4+x11
Error: Failed to activate texlive-bin: can't create directory
"/Library/TeX/Distributions/.FactoryDefaults/MacPorts-Users_reimer_local-
TeXLive": permission denied
while executing
"::file mkdir $dstfile"
(procedure "_activate_file" line 18)
invoked from within
"_activate_file "${extracted_dir}${file}" $file"
("foreach" body line 2)
invoked from within
"foreach file $files {
if {[_activate_file "${extracted_dir}${file}" $file]
== 1} {
lappend rollback_fileli..."
("try" body line 3)
while executing
"throw [dict get $eOptions -errorcode] [dict get $eOptions -errorinfo]"
("try ... on" handler line 5)
invoked from within
"registry::write {
# Activate it, and catch errors so we can roll-back
try {
$port activate $imagefiles
..."
Error: See
/Users/reimer/local/var/macports/logs/_Users_reimer_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port texlive failed
}}}
Clearly, it is trying to put data in /Library rather than the directory
$MP_PREFIX. I have tried setting
{{{
export TEXLIVE_INSTALL_PREFIX=/Users/me/local
}}}
as suggested in several locations for a generic installation of texlive,
but I couldn't find any suggestions specifically for MacPorts.
Is this a bug or feature request, or simply a switch/environmental
variable which I have not found?
Thanks,
Paul
--
Ticket URL: <https://trac.macports.org/ticket/69243>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list