Opened 16 years ago

Closed 8 years ago

#15885 closed defect (invalid)

lesstif 0.95 violates the layout of the ports-filesystems

Reported by: jrtomshine@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: kurthindenburg (Kurt Hindenburg), jeremyhu (Jeremy Huddleston Sequoia)
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 (12)

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 15 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!

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 Changed 9 years ago by jmroot (Joshua Root)

Keywords: lesstif removed

FYI, upstream recommends using opemotif instead. We may want to just delete the lesstif port.

comment:7 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:8 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

I would agree to remove it - only the variant puredarwin for xpdf use lesstif

comment:9 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from lomion@… to macports-tickets@…

comment:10 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Cc: jeremyhu@… added

Jeremy, you updated this port last Oct. Do you object to removing this port?

comment:11 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I sure don't. I recommended deleting it in some other threads.

comment:12 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: invalid
Status: newclosed

thanks removed r147105

Note: See TracTickets for help on using tickets.