Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16879 closed defect (fixed)

x3270 version 3.3.4p8_0 installs files in /usr/x11/man/

Reported by: kpreid (Kevin Reid) Owned by: mark.church@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: mtree violations, x3270 Cc:
Port: x3270

Description

I did $ port install x3270, and it attempted to install one, but not all, of its man pages in /usr/x11/man. The install failed since I run MacPorts as a non-admin.

Excerpts of output:

bash-3.2$ port -d install x3270
...
DEBUG: Executing destroot_finish
DEBUG: checking for mtree violations
Warning: violation by /usr
Warning: violation by /Stuff/dp/man
Warning: x3270 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!
...
--->  Creating x3270-3.3.4p8_0.powerpc.tgz
...
./
./+COMMENT
./+CONTENTS
./+DESC
./+PORTFILE
./+STATE
...
./Stuff/dp/man/
./Stuff/dp/man/man1/
./Stuff/dp/man/man1/x3270-script.1
./Stuff/dp/man/man1/x3270if.1
./Stuff/dp/man/man5/
./Stuff/dp/man/man5/ibm_hosts.5
./usr/
./usr/X11/
./usr/X11/man/
./usr/X11/man/man1/
./usr/X11/man/man1/x3270.1
--->  Archive x3270-3.3.4p8_0.powerpc.tgz packaged
...
DEBUG: activating directory: /Stuff/dp/man
DEBUG: activating directory: /Stuff/dp/man/man1
DEBUG: activating file: /Stuff/dp/man/man1/x3270-script.1
DEBUG: activating file: /Stuff/dp/man/man1/x3270if.1
DEBUG: activating directory: /Stuff/dp/man/man5
DEBUG: activating file: /Stuff/dp/man/man5/ibm_hosts.5
DEBUG: activating directory: /usr
DEBUG: activating directory: /usr/X11
DEBUG: activating directory: /usr/X11/man
DEBUG: activating directory: /usr/X11/man/man1
DEBUG: activating file: /usr/X11/man/man1/x3270.1
DEBUG: hardlinking /Stuff/dp/var/macports/software/x3270/3.3.4p8_0/usr/X11/man/man1/x3270.1 to /usr/X11/man/man1/x3270.1 failed, symlinking instead
DEBUG: Activation failed, rolling back.
DEBUG: /usr/X11/man/man1/x3270.1 does not exist.
...
Error: Target org.macports.activate returned: Permission denied
Warning: the following items did not execute (for x3270): org.macports.activate
Error: Status 1 encountered during processing.
bash-3.2$ 

Change History (3)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mark.church@…

Assigning to maintainer.

comment:2 Changed 16 years ago by markd@…

Resolution: fixed
Status: newclosed

I asked the developer and it turns out there is a 'install.byprefix' makefile target that puts things in ${prefix} instead of the X11 directories. I also updated it to 3.3.8 release. Thanks for reporting it.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.