Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#37924 closed defect (fixed)

wireshark: configure failure when looking for kerberos5

Reported by: george@… Owned by: hsivank@…
Priority: Normal Milestone:
Component: ports Version: 2.1.99
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), neverpanic (Clemens Lang), george@…, opendarwin.org@…
Port: wireshark-devel wireshark

Description (last modified by neverpanic (Clemens Lang))

Apparently also a problem in Wireshark.

Attachments (3)

main.log (105.2 KB) - added by george@… 12 years ago.
wireshark-devel port installation log file
Portfile_wireshark-devel.diff (338 bytes) - added by hsivank@… 12 years ago.
patch-configure.diff (1.2 KB) - added by hsivank@… 12 years ago.

Download all attachments as: .zip

Change History (23)

Changed 12 years ago by george@…

Attachment: main.log added

wireshark-devel port installation log file

comment:1 Changed 12 years ago by george@…

Running the command:

sudo port -v install wireshark-devel +adns+ipv6+libgcrypt+pcre+python27+rtp

Upon running the configure script, installation bombs out with this output:

checking whether to use Kerberos library... yes
checking krb5.h usability... yes
checking krb5.h presence... yes
checking for krb5.h... yes
checking whether the Kerberos library is Heimdal or MIT... no
configure: error: Kerberos not found
Command failed:  cd "/opt/local/var/macports/build/_Users_gthiruva_scratch_macports-trunk_dports_net_wireshark-devel/wireshark-devel/work/wireshark-1.8.5"
&& ./configure --prefix=/opt/local --disable-usr-local --with-pcap=/opt/local --with-ssl=/opt/local --with-zlib=/opt/local 
--mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --disable-warnings-as-errors --with-krb5=/opt/local --without-gnutls
--with-adns=/opt/local --without-c-ares --with-libgcrypt-prefix=/opt/local --enable-ipv6 --with-pcre=/opt/local --with-portaudio=/opt/local 
--with-python 
Exit code: 1
Error: org.macports.configure for port wireshark-devel returned: configure failure: command execution failed
Warning: targets not executed for wireshark-devel: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port wireshark-devel for details:
    /opt/local/var/macports/logs/_Users_gthiruva_scratch_macports-trunk_dports_net_wireshark-devel/wireshark-devel/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port wireshark-devel failed

comment:2 Changed 12 years ago by larryv (Lawrence Velázquez)

Cc: jeremyhu@… cal@… added
Keywords: wireshark kerberos heimdal removed
Owner: changed from macports-tickets@… to hsivank@…
Summary: wireshark-devel fails during configure when looking for kerberos5wireshark-devel @1.8.5_0 +adns+ipv6+libgcrypt+pcre+python27+rtp: configure failure when looking for kerberos5

Thanks for the ticket. In the future, please Cc relevant port maintainers.

This may have something to do with today’s Kerberos kerfuffle. Cc-ing Jeremy and Cal just in case.

comment:3 Changed 12 years ago by larryv (Lawrence Velázquez)

Resolution: duplicate
Status: newclosed

Actually, this is probably a a duplicate of #37917, sort of.

comment:4 Changed 12 years ago by neverpanic (Clemens Lang)

Resolution: duplicate
Status: closedreopened

This is not a duplicate, because a revbump will not fix it.

The problem is caused by Wireshark's configure trying to determine whether it is linking against Heimdal or MIT Kerberos by grepping the krb5.h for "Massachusetts Institute of Technology". With version 1.11 of kerberos5 however, this text is broken into two lines. A simple fix is changing all occurances of this string in configure to "Massachusetts".

comment:5 Changed 12 years ago by george@…

Cc: george@… added

Cc Me!

comment:6 Changed 12 years ago by george@…

Cc: george@… removed

Cc Me!

comment:7 Changed 12 years ago by george@…

Cc: george@… added

Cc Me!

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

Wow, that's quite a big fail in the Wireshark's configure script. LOL

comment:9 Changed 12 years ago by neverpanic (Clemens Lang)

Cc: opendarwin.org@… added
Description: modified (diff)
Port: wireshark added
Summary: wireshark-devel @1.8.5_0 +adns+ipv6+libgcrypt+pcre+python27+rtp: configure failure when looking for kerberos5wireshark: configure failure when looking for kerberos5

comment:10 Changed 12 years ago by ghosthound

fixed for wireshark in r102550

comment:11 Changed 12 years ago by george@…

When Googling for a solution, I noticed that "Massachusetts Institute of Technology" has been around for a while. So, it's interesting that prior versions (1.8.3) installed fine. I guess that must have been before the configure script or the Kerberos header file was changed.

So, it seems like this is a problem within Wireshark that would occur outside of MacPorts. So, should this ticket be here at all? It seems like it's more of a bug for Wireshark than for MacPorts.

comment:12 Changed 12 years ago by neverpanic (Clemens Lang)

Yes, this bug should certainly be filed upstream and fixed there. I consider this to be the duty of the respective maintainers and assume they will do that.

comment:13 in reply to:  12 Changed 12 years ago by george@…

Replying to cal@…:

Yes, this bug should certainly be filed upstream and fixed there. I consider this to be the duty of the respective maintainers and assume they will do that.

Sounds cool.

comment:14 in reply to:  12 Changed 12 years ago by hsivank@…

Replying to cal@…:

Yes, this bug should certainly be filed upstream and fixed there. I consider this to be the duty of the respective maintainers and assume they will do that.

Done !

comment:16 Changed 12 years ago by sumnernh@…

This bug appears to have been fixed. Wireshark now installs successfully on my machine.

comment:17 in reply to:  10 Changed 12 years ago by neverpanic (Clemens Lang)

It has been fixed in wireshark in comment 10, but is still open in wireshark-devel afaik. This ticket needs to stay open until wireshark-devel is fixed, too.

comment:18 Changed 12 years ago by hsivank@…

A fix for wireshark-devel from Ricci's patch.

Changed 12 years ago by hsivank@…

Changed 12 years ago by hsivank@…

Attachment: patch-configure.diff added

comment:19 Changed 12 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: reopenedclosed

Wireshark-devel fixed in r103239. Thanks for playing.

comment:20 Changed 12 years ago by george@…

Excellent. Just updated and also noticed the version on wireshark-devel was bumped to 1.9.0. Built and installed perfectly! Thanks!

Note: See TracTickets for help on using tickets.