Ticket #13789 (new defect)
port says everything violates the mtree if ${prefix} ends with a slash
| Reported by: | ryandesign@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts base bugs |
| Component: | base | Version: | 1.6.0 |
| Keywords: | Cc: | ||
| Port: |
Description
If your ${prefix} ends with a slash, then port complains about virtually everything being an mtree violation during installation. For example:
$ PATH=/usr/bin:/usr/sbin:/bin:/sbin \ ./configure \ --prefix=/tmp/macports2/ \ --with-tclpackage=/tmp/macports2/share/macports/Tcl \ --with-install-user=rschmidt \ --with-install-group=rschmidt $ make $ make install $ /tmp/macports2/bin/port install expat ---> Fetching expat ---> Verifying checksum(s) for expat ---> Extracting expat ---> Configuring expat ---> Building expat with target all ---> Staging expat into destroot Warning: violation by /tmp/macports2/bin Warning: violation by /tmp/macports2/include Warning: violation by /tmp/macports2/lib Warning: violation by /tmp/macports2/share Warning: expat 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 expat 2.0.1_0 ---> Activating expat 2.0.1_0 ---> Cleaning expat $
Change History
Note: See
TracTickets for help on using
tickets.

