Wireshark build fails on 10.4.10 MacBook Core Duo

markd at macports.org markd at macports.org
Mon Aug 13 14:33:03 PDT 2007


Chip Warden <lgw4 at mac.com> writes:
>I'm trying to build Wireshark from MacPorts 1.5.1 on a 1st generation  
>MacBook running OS X 10.4.10 with the following port command:
>
>
>> sudo port -v install wireshark +adns +ipv6 +net_snmp +pcre
>
>The final error is:
>
>> cc1: warnings being treated as errors
>> In file included from /opt/local/include/glib-2.0/glib/ 
>> gasyncqueue.h:30,
>>                  from /opt/local/include/glib-2.0/glib.h:32,
>>                  from wtap-int.h:30,
>>                  from 5views.c:30:
>> /opt/local/include/glib-2.0/glib/gthread.h: In function  
>> 'g_once_init_enter':
>> /opt/local/include/glib-2.0/glib/gthread.h:335: warning: cast  
>> discards qualifiers from pointer target type
>> make[3]: *** [libwiretap_la-5views.lo] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> Warning: the following items did not execute (for wireshark):  
>> org.macports.activate org.macports.build org.macports.destroot  
>> org.macports.install
>> Error: Status 1 encountered during processing.
>>
>
>Has anyone else seen this? I've attached the entire 'port -v' output.

I just tried it and I see the same thing on my MacBook Pro.  Someone
should create a ticket for it or ask the wireshark support list to go the
extra mile.  I suspect they would know the answer.  I'm also cc'ing the
maintainer.

Mark




More information about the macports-users mailing list