Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#65871 closed defect (fixed)

dot2tex @2.11.3: FileExistsError: File already exists

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: jowens (John Owens), p-bro
Port: dot2tex

Description

https://build.macports.org/builders/ports-12_arm64-builder/builds/64194/steps/install-port/logs/stdio

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/installer/__main__.py", line 85, in <module>
    _main(sys.argv[1:], "python -m installer")
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/installer/__main__.py", line 81, in _main
    installer.install(source, destination, {})
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/installer/_core.py", line 109, in install
    record = destination.write_file(
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/installer/destinations.py", line 203, in write_file
    return self.write_to_fs(
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/installer/destinations.py", line 167, in write_to_fs
    raise FileExistsError(message)
FileExistsError: File already exists: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_dot2tex/dot2tex/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/dot2tex

Change History (6)

comment:1 Changed 2 years ago by jowens (John Owens)

Cc: jowens added

comment:2 Changed 2 years ago by p-bro

Cc: p-bro added

comment:3 Changed 2 years ago by p-bro

Bug also present on macOS 10.15.7 (darwin/19.6.0) arch i386

comment:4 Changed 2 years ago by nerdling (Jeremy Lavergne)

Status: assignedaccepted

comment:5 Changed 2 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: acceptedclosed

In 8959232b6d651cbaa1f18b2148759528d3449320/macports-ports (master):

dot2tex: fix destroot

  • Fixes #65871 duplicate files going to bin/

comment:6 Changed 2 years ago by jowens (John Owens)

Thank you! This builds without error now, much appreciated.

Note: See TracTickets for help on using tickets.