Opened 12 years ago

Closed 12 years ago

#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 (4)

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

Keywords: wireshark violation removed
Owner: changed from macports-tickets@… to opendarwin.org@…
Port: wireshark added

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: "Warning: violation" in wireshark installationwireshark +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.

comment:3 in reply to:  2 Changed 12 years ago by ishikura.kiwamu@…

Thank you for your reply and your suggestion. I move these files back to /opt/local.

comment:4 Changed 12 years ago by ghosthound

Resolution: fixed
Status: newclosed

resolved in r89676 Note: wireshark revision not bumped, if you've installed with the experimental +python, you'll need to uninstall wireshark and reinstall to pick up this change.

Note: See TracTickets for help on using tickets.