Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #7063 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

BUG: ncurses build fails

Reported by: fulton@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port:

Description

On Panther (10.3.9), ncursesw builds but ncurses fails during the destroot phase:

Error: Target com.apple.destroot returned: error deleting "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_ncurses/work/destroot/opt/local/share/delete-me/man3": file already exists Error: /opt/local/bin/port: Status 1 encountered during processing.

Change History

Changed 3 years ago by blb@…

  • owner changed from darwinports-bugs@… to mww@…

Assign to maintainer.

Changed 3 years ago by mww@…

  • summary changed from ncurses build fails to BUG: ncurses build fails

would you mind providing me with a full trace? $> port clean ncurses $> port -d destroot ncurses > logfile 2>&1

Changed 3 years ago by markd@…

  • cc markd@… added

I've duplicated the problem and it only occurs on 10.3. On 10.4 it works fine. The man3 directory has a bunch of symlinks and it doesn't want to delete with "file delete -force ${destroot}${prefix}/share" so the port errors out at the destroot phase. Change that to "system rm -rf ${destroot}${prefix}/share" and it completes fine.

So the question is why does "file delete -force" choke on 10.3 but work fine on 10.4? And what is the best way to fix it in any case.

Changed 3 years ago by mww@…

(In reply to comment #4)

So the question is why does "file delete -force" choke on 10.3 but work fine on 10.4? And what is the best way to fix it in any case.

I suppose this is due to the older Tcl version that comes with 10.3; do we have another case where this is a problem? If this really is a Tcl-issue for 10.3, we'd have to consider to skip 'file delete' altogether perhaps.

Changed 2 years ago by markd@…

  • status changed from new to closed
  • resolution set to fixed

Revision 2 of the port has been committed to fix this problem.

Note: See TracTickets for help on using tickets.