[MacPorts] #45661: latex2html @2008_4 build error: frames.sty: file already exists
MacPorts
noreply at macports.org
Mon Oct 27 19:40:20 PDT 2014
#45661: latex2html @2008_4 build error: frames.sty: file already exists
------------------------+--------------------------------
Reporter: macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.2
Keywords: | Port: latex2html
------------------------+--------------------------------
There's a workaround at the bottom of this description.[[BR]]
I'm running on Mac OS 10.6.8 on an Intel Mac. XCode 3.2.6. MacPorts
2.3.2.[[BR]]
{{{
Sandy$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
...
}}}
----
{{{
Sandy$ sudo port upgrade latex2html
Password:
---> Computing dependencies for latex2html
---> Fetching archive for latex2html
---> Attempting to fetch latex2html-2008_4.darwin_10.noarch.tbz2 from
http://packages.macports.org/latex2html
---> Attempting to fetch latex2html-2008_4.darwin_10.noarch.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/latex2html
---> Attempting to fetch latex2html-2008_4.darwin_10.noarch.tbz2 from
http://nue.de.packages.macports.org/macports/packages/latex2html
---> Fetching distfiles for latex2html
---> Verifying checksums for latex2html
---> Extracting latex2html
---> Applying patches to latex2html
---> Configuring latex2html
---> Building latex2html
---> Staging latex2html into destroot
Error: org.macports.destroot for port latex2html returned: error copying
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_latex2html/latex2html/work/latex2html-2008/texinputs/frames.sty"
to
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_latex2html/latex2html/work/destroot/opt/local/share/texmf/tex/latex/html/frames.sty":
file already exists
Please see the log file for port latex2html for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_latex2html/latex2html/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Sandy$
}}}
----
The *.sty files in the source directory are identical to the ones in the
destination directory.[[BR]]
If I delete the file in the destination directory and rerun the update,
same error. [[BR]]
If I delete the file in the source directory, error on the next file in
the list.[[BR]]
If I delete all files in the source directory, error: no files match the
*.sty glob pattern.[[BR]]
In other words, running port once copies these files into the destination
directory, then tries to copy them again (at least in my situation).[[BR]]
There is a recent change, https://trac.macports.org/changeset/126928 ,
which seems to be responsible for the extra copy. (Obviously the files
were ''not'' being copied in some circumstances before. ) It adds some
lines to the file[[BR]]
{{{
/opt/local/var/macports/sources/rsync.macports.org/release/ports/print/latex2html/Portfile
}}}
'''Workaround'''[[BR]]
Once you've tried to build (or install or upgrade) the port, the Portfile
should be in the above location. Edit the file and change this line:
{{{
file copy ${file} ${texmfdir}
}}}
to this
{{{
file copy -force ${file} ${texmfdir}
}}}
and then re-run the install / build / upgrade.[[BR]]
(That really is a single dash in front of the word force, Portfiles use
embedded TCL commands.)
--
Ticket URL: <https://trac.macports.org/ticket/45661>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list