Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#41406 closed defect (fixed)

xprobe2 @0.3: error: use of undeclared identifier 'exit'; did you mean '_exit'?

Reported by: vincent.passaro@… Owned by: Gminfly
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks yosemite Cc: aralvidra02@…, ryandesign (Ryan Carsten Schmidt)
Port: xprobe2

Description (last modified by mf2k (Frank Schima))

--->  Computing dependencies for xprobe2
--->  Fetching archive for xprobe2
--->  Attempting to fetch xprobe2-0.3_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/xprobe2
--->  Attempting to fetch xprobe2-0.3_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/xprobe2
--->  Attempting to fetch xprobe2-0.3_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/xprobe2
--->  Fetching distfiles for xprobe2
--->  Attempting to fetch xprobe2-0.3.tar.gz from http://distfiles.macports.org/xprobe2
--->  Verifying checksums for xprobe2
--->  Extracting xprobe2
--->  Applying patches to xprobe2
--->  Configuring xprobe2
--->  Building xprobe2
Error: org.macports.build for port xprobe2 returned: command execution failed
Please see the log file for port xprobe2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port xprobe2 failed
version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main libpcap 1.3.0_0 exists in the ports tree
:debug:main libpcap 1.3.0_0  is the latest installed
:debug:main libpcap 1.3.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/libpcap
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libpcap 1.3.0_0 >= libpcap 1.3.0_0
:msg:main --->  Computing dependencies for xprobe2:info:main .:debug:main xprobe2 has no conflicts
:debug:main Searching for dependency: libpcap
:debug:main Found Dependency: receipt exists for libpcap
:msg:main 
:debug:main Executing org.macports.main (xprobe2)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (xprobe2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (xprobe2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (xprobe2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (xprobe2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (xprobe2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (xprobe2)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Sun Nov 17 10:31:22 PST 2013
:notice:build --->  Building xprobe2
:debug:build Executing org.macports.build (xprobe2)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3" && /usr/bin/make -j2 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3" && /usr/bin/make -j2 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3'
:info:build cd libs-external/USI++/src; /Applications/Xcode.app/Contents/Developer/usr/bin/make
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3/libs-external/USI++/src'
:info:build /usr/bin/clang++ -I/opt/local/include -pipe -Os -arch x86_64 -DDARWIN -I. -Wall -c -O2 misc.cc
:info:build /usr/bin/clang++ -I/opt/local/include -pipe -Os -arch x86_64 -DDARWIN -I. -Wall -c -O2 udp.cc
:info:build In file included from udp.cc:13:
:info:build In file included from ./usi++/udp.h:17:
:info:build ./usi++/ip.h:182:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual]
:info:build         virtual int sendpack(void *payload, size_t paylen);
:info:build                     ^
:info:build ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here
:info:build         virtual int sendpack(void *buf, size_t len, struct sockaddr *);
:info:build                     ^
:info:build In file included from udp.cc:13:
:info:build In file included from ./usi++/udp.h:17:
:info:build ./usi++/ip.h:185:14: warning: 'usipp::IP::sendpack' hides overloaded virtual function [-Woverloaded-virtual]
:info:build         virtual int sendpack(char *pay_string);
:info:build                     ^
:info:build ./usi++/Layer2.h:44:14: note: hidden overloaded virtual function 'usipp::Layer2::sendpack' declared here
:info:build         virtual int sendpack(void *buf, size_t len, struct sockaddr *);
:info:build                     ^
:info:build misc.cc:92:2: error: use of undeclared identifier 'exit'; did you mean '_exit'?
:info:build         exit(error);
:info:build         ^~~~
:info:build         _exit
:info:build /usr/include/unistd.h:424:7: note: '_exit' declared here
:info:build void     _exit(int) __dead2;
:info:build          ^
:info:build 1 error generated.
:info:build make[1]: *** [misc.o] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build udp.cc:217:24: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
:info:build         r = Layer2::setfilter("udp");
:info:build                               ^
:info:build 3 warnings generated.
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3/libs-external/USI++/src'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/work/xprobe2-0.3" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port xprobe2 returned: command execution failed
:debug:build Error code: CHILDSTATUS 48369 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for xprobe2: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port xprobe2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_xprobe2/xprobe2/main.log

Change History (10)

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

Description: modified (diff)
Keywords: xprobe2 removed
Owner: changed from macports-tickets@… to pmq@…

comment:2 Changed 11 years ago by mf2k (Frank Schima)

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers xprobe2). Also please attach the main.log after cleaning the port instead of pasting it inline.

comment:3 Changed 11 years ago by vincent.passaro@…

Will do. Sorry, first time submitting. I have quite a few others, so will follow the instructions.

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mavericks added
Summary: xprobe2 fails installxprobe2 @0.3: error: use of undeclared identifier 'exit'; did you mean '_exit'?

comment:5 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from pmq@… to normen@…

Assigning to new maintainer.

comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: aralvidra02@… added

Has duplicates #44003, #45775.

comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Keywords: yosemite added
Resolution: fixed
Status: newclosed

I found this page giving instructions on how to fix the issue. Committed the fix in r127844 (maintainer timeout)

comment:8 Changed 10 years ago by aralvidra02@…

Hi,

i can't see the workaround to fix this. event i didn't know where that file placed

Thanks

comment:9 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Just run "sudo port selfupdate", then try again.

comment:10 Changed 10 years ago by aralvidra02@…

Hi,

it is working.

Thank you very much

B/R Rafki

Note: See TracTickets for help on using tickets.