Ticket #31757 (closed defect: fixed)
wireshark +python27 mtree violation
| Reported by: | ishikura.kiwamu@… | Owned by: | opendarwin.org@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | Cc: | ||
| Port: | wireshark |
Description
When I install wireshark+python27, I got following warnings:
---> Building wireshark ---> Staging wireshark into destroot Warning: violation by /opt/local/homeplug.py.sample Warning: violation by /opt/local/register-dissector.py Warning: violation by /opt/local/wspy_dissector.py Warning: violation by /opt/local/wspy_libws.py Warning: wireshark 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 wireshark @1.6.2_0+python27 ---> Activating wireshark @1.6.2_0+python27 ---> Cleaning wireshark
and I checked the following:
% ls -la /opt/local/*.py* -rw-r--r-- 1 root admin 2937 10 25 02:58 /opt/local/homeplug.py.sample -rw-r--r-- 1 root admin 2444 10 25 02:58 /opt/local/register-dissector.py -rw-r--r-- 1 root admin 13155 10 25 02:58 /opt/local/wspy_dissector.py -rw-r--r-- 1 root admin 1541 10 25 02:58 /opt/local/wspy_libws.py
It seems that these files are located to the wrong place and are set to the wrong file mode.
I moved these files to /opt/local/bin/ and changed the file mode as 0755.
Is it OK? If not, please tell us the right solutions.
Thank you for reading.
Change History
comment:1 Changed 19 months ago by macsforever2000@…
- Owner changed from macports-tickets@… to opendarwin.org@…
- Keywords wireshark violation removed
- Port set to wireshark
comment:2 follow-up: ↓ 3 Changed 19 months ago by ryandesign@…
- Summary changed from "Warning: violation" in wireshark installation to wireshark +python27 mtree violation
You should not move files MacPorts installed for you; that will make MacPorts unable to uninstall them for you later. Certainly, moving these files into bin and changing their mode to 755 doesn't make sense; these are not binary programs you are expected to run. They're python files expected to be used by python.
Note: See
TracTickets for help on using
tickets.

