Opened 14 years ago

Closed 14 years ago

#28921 closed defect (invalid)

rancid: can't figure out how to pass count == 1 to /sbin/ping

Reported by: shain.singh@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: rancid

Description (last modified by ryandesign (Ryan Carsten Schmidt))

[shsingh@bhima]:shsingh$ sudo port -dv install rancid
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/rancid
DEBUG: OS darwin/10.7.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Starting logging for rancid
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: perl5 5.12.3_1 exists in the ports tree
DEBUG: perl5 5.12.3_1 +perl5_12 is the latest installed
DEBUG: perl5 5.12.3_1 +perl5_12 is active
DEBUG: Merging existing variants '+perl5_12' into variants
DEBUG: new fully merged portvariants: perl5_12 +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
DEBUG: OS darwin/10.7.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: universal_variant is false, so not adding the default universal variant
DEBUG: Executing variant perl5_12 provides perl5_12
DEBUG: No need to upgrade! perl5 5.12.3_1 >= perl5 5.12.3_1
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: perl5.12 5.12.3_1 exists in the ports tree
DEBUG: perl5.12 5.12.3_1  is the latest installed
DEBUG: perl5.12 5.12.3_1  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.12
DEBUG: OS darwin/10.7.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: No need to upgrade! perl5.12 5.12.3_1 >= perl5.12 5.12.3_1
DEBUG: epoch: in tree: 1 installed: 1
DEBUG: openssl 1.0.0d_0 exists in the ports tree
DEBUG: openssl 1.0.0d_0 +universal is the latest installed
DEBUG: openssl 1.0.0d_0 +universal is active
DEBUG: Merging existing variants '+universal' into variants
DEBUG: new fully merged portvariants: universal +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
DEBUG: OS darwin/10.7.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Executing variant universal provides universal
DEBUG: No need to upgrade! openssl 1.0.0d_0 >= openssl 1.0.0d_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: zlib 1.2.5_0 exists in the ports tree
DEBUG: zlib 1.2.5_0 +universal is the latest installed
DEBUG: zlib 1.2.5_0 +universal is active
DEBUG: Merging existing variants '+universal' into variants
DEBUG: new fully merged portvariants: universal +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
DEBUG: OS darwin/10.7.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Executing variant universal provides universal
DEBUG: No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: p5-lockfile-simple 0.2.5_1 exists in the ports tree
DEBUG: p5-lockfile-simple 0.2.5_1  is the latest installed
DEBUG: p5-lockfile-simple 0.2.5_1  is active
DEBUG: Merging existing variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-lockfile-simple
DEBUG: OS darwin/10.7.0 (Mac OS X 10.6) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl
DEBUG: Re-registering default for configure.universal_args
DEBUG: only one arch supported, so not adding the default universal variant
DEBUG: No need to upgrade! p5-lockfile-simple 0.2.5_1 >= p5-lockfile-simple 0.2.5_1
--->  Computing dependencies for rancid
DEBUG: Searching for dependency: perl5
DEBUG: Found Dependency: receipt exists for perl5
DEBUG: Searching for dependency: openssl
DEBUG: Found Dependency: receipt exists for openssl
DEBUG: Searching for dependency: p5-lockfile-simple
DEBUG: Found Dependency: receipt exists for p5-lockfile-simple
DEBUG: Executing org.macports.main (rancid)
DEBUG: Skipping completed org.macports.fetch (rancid)
DEBUG: Skipping completed org.macports.checksum (rancid)
DEBUG: Skipping completed org.macports.extract (rancid)
DEBUG: Skipping completed org.macports.patch (rancid)
--->  Configuring rancid
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: configure phase started at Sun Mar 27 15:56:29 EST 2011
DEBUG: Executing org.macports.configure (rancid)
DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rancid/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rancid/work/rancid-2.3.4" && ./configure --prefix=/opt/local --localstatedir=/opt/local/var/rancid --bindir=/opt/local/libexec/rancid --sysconfdir=/opt/local/etc/rancid --mandir=\${prefix}/share/man'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gmake... no
checking for make... /usr/bin/make
checking whether /usr/bin/make sets $(MAKE)... yes
checking for gcc... /usr/bin/gcc-4.2
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking for style of include used by /usr/bin/make... GNU
checking dependency style of /usr/bin/gcc-4.2... gcc3
checking for function prototypes... yes
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking for ANSI C header files... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for memory.h... (cached) yes
checking siginfo.h usability... no
checking siginfo.h presence... no
checking for siginfo.h... no
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking util.h usability... yes
checking util.h presence... yes
checking for util.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for strerror... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtok... yes
checking for strrtok... no
checking for index... yes
checking for rindex... yes
checking for unsetenv... yes
checking for openpty... yes
checking return type of signal handlers... void
checking for size_t... yes
checking whether to create the local state directory at install time... yes
checking whether to install sample .conf files in sysconfdir... yes
checking whether subversion... no
checking whether mail addresses should be in the rancid+ form... no
checking whether admin mail addresses should be in the rancid-admin+ form... rancid-admin-
checking for dirname... /usr/bin/dirname
checking for a diff(1) that supports -u... diff -U 4
checking for sendmail... /usr/sbin/sendmail
checking for gnutar... gnutar
checking for automake... ${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rancid/work/rancid-2.3.4/missing --run automake-1.11
checking for perl5... /opt/local/bin/perl5
checking for expect... /usr/bin/expect
checking for ping... /sbin/ping
configure: error: can't figure out how to pass count == 1 to /sbin/ping.
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rancid/work/rancid-2.3.4" && ./configure --prefix=/opt/local --localstatedir=/opt/local/var/rancid --bindir=/opt/local/libexec/rancid --sysconfdir=/opt/local/etc/rancid --mandir=\${prefix}/share/man " returned error 1
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
DEBUG: Backtrace: configure failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for rancid): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Log for rancid is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rancid/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>                       

Change History (5)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: rancid compile error removed
Owner: changed from macports-tickets@… to markd@…
Summary: rancid won't compile on macports 1.9.2rancid: can't figure out how to pass count == 1 to /sbin/ping

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

It works fine here. What does the config.log say?

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

And also, what do you get if you run:

/sbin/ping -c 1 -v 127.0.0.1; echo $?
/sbin/ping 127.0.0.1 56 1; echo $?

Those are the commands the configure script runs to determine how to use ping. On my system (and I expect on all Macs and BSD derivatives), the first form works, and the second doesn't. On your system apparently neither are working.

comment:4 Changed 14 years ago by shain.singh@…

ICMP was blocked via firewall even for localhost.

Thanks, installed and worked a treat.

comment:5 Changed 14 years ago by markd@…

Resolution: invalid
Status: newclosed

Closing.

Note: See TracTickets for help on using tickets.