Opened 16 years ago

Last modified 8 years ago

#15885 closed defect

lesstif 0.95 violates the layout of the ports-filesystems — at Version 4

Reported by: jrtomshine@… Owned by: lomion@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: lesstif

Description (last modified by ryandesign (Ryan Carsten Schmidt))

It appears that the lesstif package is installing files where it shouldn't be:

--->  Fetching lesstif
--->  Attempting to fetch lesstif-0.95.0.tar.bz2 from http://downloads.sourceforge.net/lesstif
--->  Verifying checksum(s) for lesstif
--->  Extracting lesstif
--->  Configuring lesstif
--->  Building lesstif with target all
--->  Staging lesstif into destroot
Warning: violation by /opt
Warning: violation by /usr/X11R6/LessTif
Warning: violation by /usr/X11R6/man
Warning: lesstif 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 lesstif 0.95.0_0
--->  Activating lesstif 0.95.0_0
--->  Cleaning lesstif

Change History (4)

comment:1 in reply to:  description Changed 16 years ago by jrtomshine@…

Also, if there are files in incorrect places (and possibly non-standard directories that have been created), will macports clean up after this package is removed -- delete the incorrect files & directories?

I'd like to prevent my system from being polluted with orphan files & directories.

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Cc: lomion@… added
Milestone: Port Bugs

Cc maintainer. No files will be orphaned, they'll be removed on uninstall like anything else. The warning is due to files being installed outside the MacPorts prefix.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: lomion@… removed
Owner: changed from macports-tickets@… to lomion@…
Priority: LowNormal

Assigning to maintainer.

lesstif appears to intend to install files in ${x11prefix}/LessTif so the keyword destroot.violate_mtree yes should be added to the portfile.

lesstif installs manpages into ${x11prefix}/man which is an error. The port should install manpages into ${x11prefix}/share/man (or possibly ${prefix}/share/man).

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: lesstif added

Jeremy changed the port r43176 (lesstif @0.95.0_1) to install in ${prefix} instead of ${x11prefix} (see #17508) but it still violates the mtree.

--->  Fetching lesstif
--->  Verifying checksum(s) for lesstif
--->  Extracting lesstif
--->  Configuring lesstif
--->  Building lesstif
--->  Staging lesstif into destroot
Warning: violation by /opt/local/LessTif
Warning: violation by /opt/local/man
Warning: lesstif 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!
Note: See TracTickets for help on using tickets.