Bug 108892 - portupgrade -R wireshark-0.99.4_1 fails with "new compiler error" msg
Summary: portupgrade -R wireshark-0.99.4_1 fails with "new compiler error" msg
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-07 17:10 UTC by Stacey Roberts
Modified: 2007-02-10 06:37 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stacey Roberts 2007-02-07 17:10:59 UTC
After fresh cvsup of ports tree, attempts to portupgrade wireshark to latest version fails as follows:

creating .libs/wiresharkS.c
(cd .libs && cc  -O -pipe -march=pentium4 -c -fno-builtin "wiresharkS.c")
rm -f .libs/wiresharkS.c .libs/wireshark.nm .libs/wireshark.nmS .libs/wireshark.nmT
cc -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -O -pipe -march=pentium4
-I/usr/local/include -D_REENTRANT -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
-I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/lib/include -DINET6
-O -pipe -march=pentium4 -Dfreebsd6 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include
-I/usr/local/lib/perl5/5.8.8/mach/CORE -I. -I/usr/local/include -I/usr/include
-rpath=/usr/lib:/usr/local/lib -o .libs/wireshark capture-pcap-util-unix.o capture_errs.o
capture-pcap-util.o capture_stop_conditions.o capture_ui_utils.o cfile.o clopts_common.o conditions.o
disabled_protos.o packet-range.o print.o ps.o pcapio.o ringbuffer.o timestats.o util.o version_info.o
airpcap_loader.o alert_box.o capture.o capture_info.o capture_opts.o capture_sync.o color_filters.o
file.o fileset.o filters.o g711.o merge.o proto_hier_stats.o sync_pipe_write.o summary.o tempfile.o
-rpath=/usr/lib:/usr/local/lib .libs/wiresharkS.o -pthread -pthread -pthread -Wl,--rpath
-Wl,/usr/local/lib -pthread -pthread -Wl,--export-dynamic  -L/usr/local/lib -L/usr/local/lib/lib
-L/usr/lib gtk/libui.a codecs/libcodec.a wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so
/usr/local/lib/libnetsnmp.so -lkvm -ldevstat -lwrap -lpcap -L/usr/X11R6/lib
/usr/local/lib/libgtk-x11-2.0.so /usr/local/lib/libgdk-x11-2.0.so -lXrandr -lXi -lXinerama
/usr/local/lib/libatk-1.0.so /usr/local/lib/libgdk_pixbuf-2.0.so /usr/local/lib/libpangocairo-1.0.so
-lXcursor -lXfixes /usr/local/lib/libcairo.so /usr/local/lib/libglitz.so -lpng -lSM -lICE
/usr/local/lib/libpangoft2-1.0.so /usr/X11R6/lib/libfontconfig.so /usr/local/lib/libexpat.so
/usr/local/lib/libfreetype.so /usr/local/lib/libpango-1.0.so -lm -lXrender -lX11 -lXext
/usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so /usr/local/lib/libgthread-2.0.so
-pthread /usr/local/lib/libglib-2.0.so -ladns -lkrb5 -lasn1 -lroken -lcrypt -lcom_err -lcrypto
/usr/local/lib/libgnutls.so /usr/local/lib/libtasn1.so /usr/local/lib/libgcrypt.so
/usr/local/lib/libgpg-error.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lportaudio -lz
/usr/local/lib/libpcre.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib
epan/.libs/libwireshark.so: undefined reference to `.LC771'
epan/.libs/libwireshark.so: undefined reference to `.LC770'
epan/.libs/libwireshark.so: undefined reference to `.LC773'
epan/.libs/libwireshark.so: undefined reference to `.LC776'
epan/.libs/libwireshark.so: undefined reference to `.LC772'
epan/.libs/libwireshark.so: undefined reference to `.LC777'
epan/.libs/libwireshark.so: undefined reference to `.LC769'
epan/.libs/libwireshark.so: undefined reference to `.LC774'
gmake[2]: *** [wireshark] Error 1
gmake[2]: Leaving directory `/usr/ports/net/wireshark/work/wireshark-0.99.5'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/wireshark/work/wireshark-0.99.5'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/wireshark.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.42410.34 env
UPGRADE_TOOL=portupgrade UPGRADE_PORT=wireshark-0.99.4_1 UPGRADE_PORT_VER=0.99.4_1 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! net/wireshark (wireshark-0.99.4_1)    (new compiler error)
--->

Fix: 

Don't know
How-To-Repeat: Update ports tree
Attempt to portupgrade wireshark to latest in ports
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-02-07 19:37:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marcus

Over to maintainer
Comment 2 David Wood 2007-02-08 00:11:36 UTC
This appears to be the same issue that I'd already reported in PR 
ports/108776

I hope that this link between the PRs is useful.
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2007-02-10 06:36:29 UTC
State Changed
From-To: open->closed

All reproducible build problems with wireshark have now been corrected. 
This problem was never reproducible.  If you still encounter a build failure, 
try with default compiler options, and try rebuilding all dependent ports.