Opened 12 years ago

Closed 12 years ago

#38537 closed defect (duplicate)

xercesc @2.8.0 installs files outside of the MacPorts prefix

Reported by: cooljeanius (Eric Gallager) Owned by: chris.ridd@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: xercesc

Description

Specifically, it leaves a folder named "destroot" at the root of the hard drive, which is where it puts its documentation.

Attachments (1)

main.log (5.2 MB) - added by cooljeanius (Eric Gallager) 12 years ago.
main.log from latest xercesc installation

Change History (6)

comment:1 in reply to:  description ; Changed 12 years ago by larryv (Lawrence Velázquez)

Cc: chris.ridd@… removed
Owner: changed from macports-tickets@… to chris.ridd@…

Replying to egall@…:

Specifically, it leaves a folder named "destroot" at the root of the hard drive, which is where it puts its documentation.

Uhhh wow, for serious?

Changed 12 years ago by cooljeanius (Eric Gallager)

Attachment: main.log added

main.log from latest xercesc installation

comment:2 in reply to:  1 Changed 12 years ago by cooljeanius (Eric Gallager)

Replying to larryv@…:

Replying to egall@…:

Specifically, it leaves a folder named "destroot" at the root of the hard drive, which is where it puts its documentation.

Uhhh wow, for serious?

Check the log. What's more, trace mode failed to catch this.

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Yeah, trace mode is broken on recent OS versions. The sandbox-exec in trunk would stop it though.

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Summary: xercesc @2.8.0 leaves files outside of the MacPorts prefixxercesc @2.8.0 installs files outside of the MacPorts prefix

Oh, looking at the log, I misunderstood. It installed into ${destroot}/destroot/. Trace mode etc. don't and can't catch something like this. The mtree check does flag it:

:debug:destroot checking for mtree violations
:warn:destroot violation by /destroot
:warn:destroot xercesc violates the layout of the ports-filesystems!
:warn:destroot Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

And, dupe: #37178

Note: See TracTickets for help on using tickets.