Ticket #13326 (closed defect: worksforme)
Tree violation in xfig port fatal in Leopard
| Reported by: | rich@… | Owned by: | pguyot@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | base | Version: | 1.5.2 |
| Keywords: | xfig | Cc: | |
| Port: |
Description
The earlier Tiger problem with xfig:
Staging xfig into destroot Warning: violation by /etc Warning: violation by /usr Warning: xfig violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases! ---> Installing xfig 3.2.5_1
now is a fatal error in Leopard:
Unable to execute port: invalid command name "destroot.violate_mtree"
-CR
Change History
comment:3 Changed 6 years ago by nox@…
- Status changed from new to closed
- Resolution set to worksforme
- Component changed from ports to base
- Milestone changed from Port Bugs to MacPorts base bugs
You're running an outdated MacPorts installation, please run
sudo port selfupdate
and try again
comment:4 Changed 6 years ago by captainproton1971@…
- Status changed from closed to reopened
- Resolution worksforme deleted
Having the same problem (I'm using Leopard with the xorg-server-1.2a11 as found at http://www.x.org/wiki/XDarwin
Here's the output of sudo port selfupdate and sudo port install xfig (the xfig was already built, just not activated).
selfupdate
$ sudo port selfupdate MacPorts base version 1.520 installed Downloaded MacPorts base version 1.520 The MacPorts installation is not outdated and so was not updated selfupdate done!
sudo port -d install xfig
$ sudo port -d install xfig DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/xfig DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/xfig DEBUG: Requested variant darwin is not provided by port xfig. DEBUG: Requested variant i386 is not provided by port xfig. DEBUG: Requested variant macosx is not provided by port xfig. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/Xaw3d DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/Xaw3d DEBUG: Requested variant darwin is not provided by port Xaw3d. DEBUG: Requested variant i386 is not provided by port Xaw3d. DEBUG: Requested variant macosx is not provided by port Xaw3d. DEBUG: Searching for dependency: Xaw3d DEBUG: Found Dependency: receipt exists for Xaw3d DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng DEBUG: Requested variant darwin is not provided by port libpng. DEBUG: Requested variant i386 is not provided by port libpng. DEBUG: Requested variant macosx is not provided by port libpng. DEBUG: Searching for dependency: libpng DEBUG: Found Dependency: receipt exists for libpng DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/jpeg DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/jpeg DEBUG: Requested variant darwin is not provided by port jpeg. DEBUG: Requested variant i386 is not provided by port jpeg. DEBUG: Requested variant macosx is not provided by port jpeg. DEBUG: Searching for dependency: jpeg DEBUG: Found Dependency: receipt exists for jpeg DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib DEBUG: Requested variant darwin is not provided by port zlib. DEBUG: Requested variant i386 is not provided by port zlib. DEBUG: Requested variant macosx is not provided by port zlib. DEBUG: Searching for dependency: zlib DEBUG: Found Dependency: receipt exists for zlib DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/print/ghostscript DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/print/ghostscript DEBUG: Requested variant darwin is not provided by port ghostscript. DEBUG: Requested variant i386 is not provided by port ghostscript. DEBUG: Requested variant macosx is not provided by port ghostscript. DEBUG: Searching for dependency: ghostscript DEBUG: Found Dependency: receipt exists for ghostscript DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/print/transfig DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/print/transfig DEBUG: Requested variant darwin is not provided by port transfig. DEBUG: Requested variant i386 is not provided by port transfig. DEBUG: Requested variant macosx is not provided by port transfig. DEBUG: Searching for dependency: transfig DEBUG: Found Dependency: receipt exists for transfig DEBUG: Skipping completed org.macports.main (xfig) DEBUG: Skipping completed org.macports.fetch (xfig) DEBUG: Skipping completed org.macports.checksum (xfig) DEBUG: Skipping completed org.macports.extract (xfig) DEBUG: Skipping completed org.macports.patch (xfig) DEBUG: Skipping completed org.macports.configure (xfig) DEBUG: Skipping completed org.macports.build (xfig) DEBUG: Skipping completed org.macports.destroot (xfig) DEBUG: Skipping org.macports.install (xfig) since this port is already installed DEBUG: Executing org.macports.activate (xfig) ---> Activating xfig 3.2.5_1 Error: Target org.macports.activate returned: Image error: /usr/X11/lib/X11/app-defaults already exists and does not belong to a registered port. Unable to activate port xfig. Warning: the following items did not execute (for xfig): org.macports.activate Error: Status 1 encountered during processing.
comment:5 Changed 5 years ago by ryandesign@…
- Status changed from reopened to closed
- Resolution set to worksforme
captainproton1971, you are not experiencing the same issue reported in this ticket:
Unable to execute port: invalid command name "destroot.violate_mtree"
Rather, you are experiencing the error reported in #13085:
Error: Target org.macports.activate returned: Image error: /usr/X11/lib/X11/app-defaults already exists and does not belong to a registered port. Unable to activate port xfig.
Any comments about that issue should be made in that ticket, not this one.


That sounds unlikely to me. Are you sure you have updated to the latest MacPorts, 1.5.2, by using "sudo port selfupdate"?