[MacPorts] #40620: MacPorts 2.2.0: build of wireshark@1.10.0_0 failing
#40620: MacPorts 2.2.0: build of wireshark@1.10.0_0 failing ----------------------------+-------------------------------- Reporter: dan+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: ----------------------------+-------------------------------- I've just reinstalled MacPorts 2.2.0 on an empty directory /opt on top of Mountain Lion (10.8.3) + Xcode (4.6.3). I started with a build of wireshark. And it is failing with: {{{ $ port -vs build wireshark [...] make[3]: Entering directory `/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.0/epan/dissectors' /usr/bin/make all-recursive make[4]: Entering directory `/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.0/epan/dissectors' make[5]: Entering directory `/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.0/epan/dissectors' CC libdissectors_la-packet-gluster_cli.lo CC libdissectors_la-packet-gluster_pmap.lo CC libdissectors_la-packet-glusterd.lo CC libdissectors_la-packet-glusterfs.lo CC libdissectors_la-packet-glusterfs_hndsk.lo CC libdissectors_la-packet-gre.lo CC libdissectors_la-packet-gsm_a_common.lo CC libdissectors_la-packet-gsm_a_bssmap.lo clang: warning: clang: unknwarning: unknowown clangnw wclangar: awarning: : unwarning: nknowrin uwnninngag rknnooptiionwgnon p 'w-aotptiWrjionunoinn g' -o Wpjmu'-timp-p-mioWnj msusmi'sseps-e-sm-isW- jclangu: mipwarning: initse'; diu-sclangnnitd: yokunwarning: -in m'iomuswn;n dit idksne'a;w arn odwiey nosu-niinnigtd ' ;yowu am' -ronipnt Wimemapnleanidii on '-W 'ci-Wjtugdi -m'ply omii-ncui Wpclang-: ottmipmti- warning: '?oueissnnm p'l-inWtka nn o'w-nje w'a?s u-mipircnniittWimp-i-lmiiisncti't?'nse clangg: -siwarning: ;- nuniclangd: kwarning: notw'indiut '; d?iydnoo nukclangpn : tyiwmwarning: auoowunekann onn mea n' -Wr n'clang-: Wwarning: owwi'iamrningpn- Wul iwconnikajnpittmr-ogiuwn imnpg-no nwoi pptlonti'omiaci isns 'p-? tetsiW-o-rpnrnagmii nni'n-tW'p?r aggi to'pm;atas 'dsclangii-'' on : '-Wdp rwarning: unWyclangoukpn omerw: nwarning: awgamanuanasr n'-ignmasg'' okno Wimplicit-int'? clang: warning: unknown warning option '-Wpragmas' ption '-Wpragmas' clang: warning: unknown warning option '-Wjump-misses-wn warning option '-Wpragmas' clang: warning: argclang: warning: ainit'; did you mean '-Wimplicit-int'? clang: warning: argument unused during compilation: '-fexcess- precision=fast' clang: warning: unknown warning option '-Wpragmas' clang: warning: argclang: warning: argument unrgumumenetnclangt: warning: u uusendu sdeudr idnugr icnogm pciolmaptiiloant:i o'n-:f e'x-fenxuseargdu mdeunrtcess-precision=fast' clang: warning: argument unused during compilation: '-uimneg fceoxcnmtes sucpeiss -ulnunsed pre-upsreedc idsuiroinn=gf acsomcpatitdioi'uns:ior i latnng'-fexcess-prei=ofna:s t''- fexcess-precision=fast' cision=fast' compilation: '-fexcess-precision=fast' clang: warning: argument unused during compilation: '-fexcess- precision=fast' warning: uwarning: nknowwarning: uunknowarning: warning: nknuounwnn kwanronwnwknn onw nwwaairnn iw awarrnigrnnig op nntgiin ooopgpn ntgi oot' -Wnion '- popjWtj'i-uWtjimupmp-u-mmips-smmeis-on sses-iionn'iit-'Wjns i;t'-Wjus'eump mdp--mii;s -ddssiid eys oyno-minitui smseeiua mnt '';- Wdiemsp-laind';i cin iyi ttd-''; -Woduiii idnmmte'a?n ypol'du me-[ yWai- nicmo uWiplt u'imnek-aWni mcn-iipolni't-'W?i mw[nt---iWwarning: pwlaucninuknnkonwot'cit-warning: iwtirnnni -n?utn [-Wuinktnn-'o?ww'nnkw?gawarning: u -wnrnnok[ -a[r-Waouwinrnnpinng knoWtpnuinniootnikwon wganr -'ong-nWijnugm po-pmtiisn]o-wwsoaproetniiso -nogwinn-np-tni ]w n-io'pwtoataino n']-rr' ; did -warning: Wynoiun ujnuWnjwarning: kunmineonwkmnpnu mwarning: ung- pgk-a-no pon'ootwi-pwtamomi-nnoWnw] iwni]sirsn sem sseiwpsl-iawarning: curniin-tiia-niitrnnnttiin'gk'?'nwarning: o;wn nug[-ndWi;ug o odnnptkpno kwponawrdtiinitonn d oow' in nyoiw-ywono- u'-W uaWrn'gnp i n mmpereagga-naaomrpnt- o'-p'iroWnp r'a-gWmaaatsgsW' [--pimmiaosWpn]'r 'nliW a[gni-uWnmgmuinkkpa so'pc i[lwarning: -iWtnc-n o[t-wWuuniinninut- tknnkokwoo'nnwn-w-w oanronwiia?r 'wn-iWnnn[g-Wpurn-t-nwanka'n?wg- mwaa r[osar'n-Wgupntnoniiwnrnn-kgno n-ionwwan]or-p tiopgt-inopnwonio '-ng][a rnWi-iWnugn-npgk--oornaogwmpatsiot'i ppttin-[o-Wouinownon]n]n ] karning-option] ] warning: unknown warning option '-Wpragmas' warning: un known warning option '-Wpragmas' [-Wunknown-warning-option] [-Wunknown-warning-option] nown-warning-option] In file included from packet-glusterfs.c:44: In file included from packet-gluster_pmap.c:43: ./packet-gluster.h:359:2: error: expected '}' ./packet-gluster.h:359:2: error: expected '}' DT_UNKNOWN = 0, ^ /usr/include/sys/dirent.h:126:21: note: expanded from macro 'DT_UNKNOWN' #define DT_UNKNOWN 0 ^ ./packet-gluster.h:358:26: note: to match this '{' enum gluster_entry_types { ^ In file included from packet-glusterd.c:44: ./packet-gluster.h:359:2: error: expeIn file included from packet- gluster_cli.c:43: ./packet-gluster.h:359:2: error: expected '}' cted '}' In file included from DT_UNKNOWN = 0, ^packet-glusterfs_hndsk.c:43: ./packet-gluster.h:359:2: error: expected '}' DT_UNKNOWN = 0, ^ /usr/include/sys/dirent.h:126:21: note: expanded from macro 'DT_UNKNOWN' #define DT_UNKNOWN 0 ^ ./packet-gluster.h:358:26: note: to match this '{' enum gluster_entry_types { ^ DT_UNKNOWN = 0, ^ /usr/include/sys/dirent.h:126:21: note: expanded from macro 'DT_UNKNOWN' #define DT_UNKNOWN 0 ^ ./packet-gluster.h:358:26: note: to match DT_UNKNOWN = 0, ^ /usr/include/sys/dirent.h:126:21: note: expanded from macro 'DT_UNKNOWN' #define DT_UNKNOWN 0 ^ ./packet-gluster.h:358:26: note: to match this '{' enum gluster_entry_types { ^ this '{' enum gluster_entry_types { ^ /usr/include/sys/dirent.h:126:21: note: expanded from macro 'DT_UNKNOWN' #define DT_UNKNOWN 0 ^ ./packet-gluster.h:358:26: note: to match this '{' enum gluster_entry_types { ^ 2 warnings and 1 error generated. 2 warnings and 1 error generated. 2 warnings and 1 error generated. make[5]: *** [libdissectors_la-packet-gluster_pmap.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... make[5]: *** [libdissectors_la-packet-glusterfs_hndsk.lo] Error 1 make[5]: *** [libdissectors_la-packet-gluster_cli.lo] Error 1 2 warnings and 1 error generated. make[5]: *** [libdissectors_la-packet-glusterd.lo] Error 1 2 warnings and 1 error generated. make[5]: *** [libdissectors_la-packet-glusterfs.lo] Error 1 2 warnings generated. 2 warnings generated. 2 warnings generated. make[5]: Leaving directory `/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.0/epan/dissectors' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.0/epan/dissectors' make[3]: *** [all] Error 2 make[3]: Leaving directory `/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.0/epan/dissectors' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.0/epan' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.0' make: *** [all] Error 2 make: Leaving directory `/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.0' Command failed: cd "/opt/var/macports/build/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/work/wireshark-1.10.0" && /usr/bin/make -j8 -w all Exit code: 2 Error: org.macports.build for port wireshark returned: command execution failed Warning: targets not executed for wireshark: org.macports.build Please see the log file for port wireshark for details: /opt/var/macports/logs/_opt_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port wireshark failed $ }}} -- Ticket URL: <https://trac.macports.org/ticket/40620> MacPorts <http://www.macports.org/> Ports system for OS X
#40620: MacPorts 2.2.0: build of wireshark@1.10.0_0 failing -----------------------------+------------------------------ Reporter: dan+macports@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: wireshark | -----------------------------+------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => opendarwin.org@… * port: => wireshark Comment: It's hard to read the error message because of the parallel build. Could you try again without parallel building and attach the new main.log? {{{ sudo port clean wireshark sudo port -vs build wireshark build.jobs=1 }}} Separately, consider upgrading to OS X 10.8.5 and Xcode 5. -- Ticket URL: <https://trac.macports.org/ticket/40620#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40620: MacPorts 2.2.0: build of wireshark@1.10.0_0 failing -----------------------------+------------------------------ Reporter: dan+macports@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: wireshark | -----------------------------+------------------------------ Comment (by dan+macports@…): A clean build: {{{ sudo port -vs build wireshark build.jobs=1 }}} gives the following pertinent output: {{{ [...] CC libdissectors_la-packet-gluster_cli.lo clang: warning: unknown warning option '-Wjump-misses-init'; did you mean '-Wimplicit-int'? clang: warning: unknown warning option '-Wpragmas' clang: warning: argument unused during compilation: '-fexcess- precision=fast' warning: unknown warning option '-Wjump-misses-init'; did you mean '-Wimplicit-int'? [-Wunknown-warning-option] warning: unknown warning option '-Wpragmas' [-Wunknown-warning-option] In file included from packet-gluster_cli.c:43: ./packet-gluster.h:359:2: error: expected '}' DT_UNKNOWN = 0, ^ /usr/include/sys/dirent.h:126:21: note: expanded from macro 'DT_UNKNOWN' #define DT_UNKNOWN 0 ^ ./packet-gluster.h:358:26: note: to match this '{' enum gluster_entry_types { ^ 2 warnings and 1 error generated. make[5]: *** [libdissectors_la-packet-gluster_cli.lo] Error 1 [...] }}} Apparently {{{ enum gluster_entry_types { DT_UNKNOWN = 0, DT_FIFO = 1, DT_CHR = 2, DT_DIR = 4, DT_BLK = 6, DT_REG = 8, DT_LNK = 10, DT_SOCK = 12, DT_WHT = 14 }; }}} Does redefine as an enum a set of values which are already defined as macro within /usr/include/sys/dirent.h -- Ticket URL: <https://trac.macports.org/ticket/40620#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40620: MacPorts 2.2.0: build of wireshark@1.10.0_0 failing -----------------------------+------------------------------ Reporter: dan+macports@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: wireshark | -----------------------------+------------------------------ Comment (by dan+macports@…): Commenting out the definition of `enum gluster_entry_types` permit a full build. -- Ticket URL: <https://trac.macports.org/ticket/40620#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40620: MacPorts 2.2.0: build of wireshark@1.10.0_0 failing -----------------------------+------------------------------ Reporter: dan+macports@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: wireshark | -----------------------------+------------------------------ Comment (by steeves@…): Happening for me on 10.8.4 (can't upgrade at the moment to 10.8.5), Xcode 5.0 (5A1413). The system is a fresh install of 10.8.4. -- Ticket URL: <https://trac.macports.org/ticket/40620#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40620: MacPorts 2.2.0: build of wireshark@1.10.0_0 failing -----------------------------+------------------------------ Reporter: dan+macports@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: wireshark | -----------------------------+------------------------------ Comment (by johan@…): Replying to [comment:3 dan+macports@…]:
Commenting out the definition of `enum gluster_entry_types` let me terminate a full build.
Same in darwin 13 GM. -- Ticket URL: <https://trac.macports.org/ticket/40620#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#40620: MacPorts 2.2.0: build of wireshark@1.10.0_0 failing -----------------------------+------------------------------ Reporter: dan+macports@… | Owner: opendarwin.org@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: wireshark | -----------------------------+------------------------------ Changes (by ricci@…): * status: new => closed * resolution: => fixed Comment: resolved in r112219 by adding patch to comment out 'enum gluster_entry_types' as suggested above. -- Ticket URL: <https://trac.macports.org/ticket/40620#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts