isc dhcp does not make

2012-01-25 Thread Randy Bush
FreeBSD dfw0.psg.com 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Jan 25 21:56:55 UTC 
2012 r...@dfw0.psg.com:/usr/obj/usr/src/sys/DFW0  amd64

# portupgrade -N net/isc-dhcp42-server
[Gathering depends for net/isc-dhcp42-server . done]
---  Installing 'isc-dhcp42-server-4.2.3_2' from a port (net/isc-dhcp42-server)
---  Building '/usr/ports/net/isc-dhcp42-server'
===  Cleaning for isc-dhcp42-server-4.2.3_2
===  Vulnerability check disabled, database not found
===  License ISCL accepted by the user
===  Found saved configuration for isc-dhcp42-server-4.2.3_2
===  Extracting for isc-dhcp42-server-4.2.3_2
= SHA256 Checksum OK for dhcp-4.2.3-P2.tar.gz.
===  Patching for isc-dhcp42-server-4.2.3_2
===  Applying extra patch 
/usr/ports/net/isc-dhcp42-server/files/extra-patch-bind__Makefile
===  Applying FreeBSD patches for isc-dhcp42-server-4.2.3_2
===   isc-dhcp42-server-4.2.3_2 depends on executable: gmake - found
===  Configuring for isc-dhcp42-server-4.2.3_2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking for C compiler default output file name... 
configure: error: C compiler cannot create executables
See `config.log' for more details.
===  Script configure failed unexpectedly.
Please report the problem to z...@freebsd.org [maintainer] and attach the
/usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.3-P2/config.log including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

clang?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: isc dhcp does not make

2012-01-25 Thread Yuri Pankov
On Thu, Jan 26, 2012 at 09:38:22AM +0900, Randy Bush wrote:
 FreeBSD dfw0.psg.com 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Jan 25 21:56:55 
 UTC 2012 r...@dfw0.psg.com:/usr/obj/usr/src/sys/DFW0  amd64
 
 # portupgrade -N net/isc-dhcp42-server
 [Gathering depends for net/isc-dhcp42-server . done]
 ---  Installing 'isc-dhcp42-server-4.2.3_2' from a port 
 (net/isc-dhcp42-server)
 ---  Building '/usr/ports/net/isc-dhcp42-server'
 ===  Cleaning for isc-dhcp42-server-4.2.3_2
 ===  Vulnerability check disabled, database not found
 ===  License ISCL accepted by the user
 ===  Found saved configuration for isc-dhcp42-server-4.2.3_2
 ===  Extracting for isc-dhcp42-server-4.2.3_2
 = SHA256 Checksum OK for dhcp-4.2.3-P2.tar.gz.
 ===  Patching for isc-dhcp42-server-4.2.3_2
 ===  Applying extra patch 
 /usr/ports/net/isc-dhcp42-server/files/extra-patch-bind__Makefile
 ===  Applying FreeBSD patches for isc-dhcp42-server-4.2.3_2
 ===   isc-dhcp42-server-4.2.3_2 depends on executable: gmake - found
 ===  Configuring for isc-dhcp42-server-4.2.3_2
 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... ./install-sh -c -d
 checking for gawk... gawk
 checking whether gmake sets $(MAKE)... yes
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking for gcc... cc
 checking for C compiler default output file name... 
 configure: error: C compiler cannot create executables
 See `config.log' for more details.
 ===  Script configure failed unexpectedly.
 Please report the problem to z...@freebsd.org [maintainer] and attach the
 /usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.3-P2/config.log including
 the output of the failure of your make command. Also, it might be a good idea
 to provide an overview of all packages installed on your system (e.g. an `ls
 /var/db/pkg`).
 *** Error code 1
 
 clang?

clang what? checking for gcc... cc, doesn't look like clang.

Providing the config.log, as the message suggests, would help here.


Yuri
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: isc dhcp does not make

2012-01-25 Thread Randy Bush
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by DHCP configure 4.2.3-P2, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --localstatedir=/var --enable-paranoia --enable-early-chroot 
--enable-dhcpv6 --prefix=/usr/local --mandir=/usr/local/man 
--infodir=/usr/local/info/ --build=amd64-portbld-freebsd9.0

## - ##
## Platform. ##
## - ##

hostname = dfw0.psg.com
uname -m = amd64
uname -r = 9.0-STABLE
uname -s = FreeBSD
uname -v = FreeBSD 9.0-STABLE #0: Wed Jan 25 21:56:55 UTC 2012 
r...@dfw0.psg.com:/usr/obj/usr/src/sys/DFW0 

/usr/bin/uname -p = amd64
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin


## --- ##
## Core tests. ##
## --- ##

configure:1838: checking for a BSD-compatible install
configure:1894: result: /usr/bin/install -c -o root -g wheel
configure:1905: checking whether build environment is sane
configure:1948: result: yes
configure:1976: checking for a thread-safe mkdir -p
configure:2015: result: ./install-sh -c -d
configure:2028: checking for gawk
configure:2044: found /usr/local/bin/gawk
configure:2055: result: gawk
configure:2066: checking whether gmake sets $(MAKE)
configure:2087: result: yes
configure:2281: checking whether to enable maintainer-specific portions of 
Makefiles
configure:2290: result: no
configure:2358: checking for gcc
configure:2385: result: cc
configure:2623: checking for C compiler version
configure:2630: cc --version 5
cc (GCC) 4.2.1 20070831 patched [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2633: $? = 0
configure:2640: cc -v 5
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
configure:2643: $? = 0
configure:2650: cc -V 5
cc: '-V' option must have argument
configure:2653: $? = 1
configure:2676: checking for C compiler default output file name
configure:2703: cc -O2 -pipe -march=i686 -fPIC -fno-strict-aliasing 
-D_PATH_DHCLIENT_SCRIPT='/usr/local/sbin/dhclient-script' 
-D_PATH_DHCLIENT_CONF='/usr/local/etc/dhclient.conf' 
-D_PATH_DHCPD_CONF='/usr/local/etc/dhcpd.conf'  conftest.c  5
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
configure:2706: $? = 1
configure:2744: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME DHCP
| #define PACKAGE_TARNAME dhcp
| #define PACKAGE_VERSION 4.2.3-P2
| #define PACKAGE_STRING DHCP 4.2.3-P2
| #define PACKAGE_BUGREPORT dhcp-us...@isc.org
| #define PACKAGE dhcp
| #define VERSION 4.2.3-P2
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2750: error: C compiler cannot create executables
See `config.log' for more details.

##  ##
## Cache variables. ##
##  ##

ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -pipe -march=i686 -fPIC -fno-strict-aliasing'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-D_PATH_DHCLIENT_SCRIPT='\''/usr/local/sbin/dhclient-script'\''
 -D_PATH_DHCLIENT_CONF='\''/usr/local/etc/dhclient.conf'\'' 
-D_PATH_DHCPD_CONF='\''/usr/local/etc/dhcpd.conf'\'
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value=cpp
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=amd64-portbld-freebsd9.0
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_make_gmake_set=yes
lt_cv_sys_max_cmd_len=262144

## - ##
## Output variables. ##
## - ##

ACLOCAL='${SHELL} /usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.3-P2/missing 
--run aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.3-P2/missing 
--run tar'
AUTOCONF='${SHELL} /usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.3-P2/missing 
--run autoconf'
AUTOHEADER='${SHELL} 
/usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.3-P2/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.3-P2/missing 
--run automake-1.10'
AWK='gawk'
CC='cc'
CCDEPMODE=''
CFLAGS='-O2 -pipe -march=i686 -fPIC -fno-strict-aliasing'
CPP='cpp'

Re: isc dhcp does not make

2012-01-25 Thread Randy Bush
 a basic sanity check:
 
 echo 'int main() { return 0; }'  test.c
 cc -o test test.c
 ./test  echo 'OK' || echo 'bad'

all the other ports made just fine, as did that test, of course.

reported to isc

randy
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: isc dhcp does not make

2012-01-25 Thread Michael Scheidell



On 1/25/12 7:38 PM, Randy Bush wrote:

FreeBSD dfw0.psg.com 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Jan 25 21:56:55 UTC 
2012r...@dfw0.psg.com:/usr/obj/usr/src/sys/DFW0   amd64

# portupgrade -N net/isc-dhcp42-server
[Gathering depends for net/isc-dhcp42-server . done]

snip.

configure: error: C compiler cannot create executables
See `config.log' for more details.
---   Installing 'isc-dhcp42-server-4.2.3_2' from a port 
(net/isc-dhcp42-server)


doublecheck your portstree. make sure it is up to date. (portsnap fetch 
update)


do a 'portsclean -C'

make sure you don't have odd things in your make.conf or option knobs.
compiles fine here on amd64, 9.0. tinderbox.  something is borked in 
your server.



--
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
*| *SECNAP Network Security Corporation

   * Best Mobile Solutions Product of 2011
   * Best Intrusion Prevention Product
   * Hot Company Finalist 2011
   * Best Email Security Product
   * Certified SNORT Integrator

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: isc dhcp does not make

2012-01-25 Thread Yuri Pankov
On Thu, Jan 26, 2012 at 10:04:52AM +0900, Randy Bush wrote:
[...]
 configure:2703: cc -O2 -pipe -march=i686 -fPIC -fno-strict-aliasing
   ^^^
That's why. Make sure you don't define it in /etc/make.conf.

 conftest.c:1: error: CPU you selected does not support x86-64 instruction set
[...]


Yuri
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: isc dhcp does not make

2012-01-25 Thread Chuck Swiger
Hi--

On Jan 25, 2012, at 5:07 PM, Randy Bush wrote:
 all the other ports made just fine, as did that test, of course.
 
 reported to isc

configure:2703: cc -O2 -pipe -march=i686 -fPIC -fno-strict-aliasing 
-D_PATH_DHCLIENT_SCRIPT='/usr/local/sbin/dhclient-script' 
-D_PATH_DHCLIENT_CONF='/usr/local/etc/dhclient.conf' 
-D_PATH_DHCPD_CONF='/usr/local/etc/dhcpd.conf'  conftest.c  5
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
configure:2706: $? = 1

You've specified a 32-bit CPU architecture, but are running on a 64-bit (aka 
AMD64/EM64T) platform.
Get rid of the -march flag from /etc/make.conf or where-ever it is coming from.

Regards,
-- 
-Chuck

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: isc dhcp does not make

2012-01-25 Thread Randy Bush
 You've specified a 32-bit CPU architecture, but are running on a
 64-bit (aka AMD64/EM64T) platform.  Get rid of the -march flag from
 /etc/make.conf or where-ever it is coming from.

blush  had just rsynced it in.  damn!  thanks.

randy
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: isc dhcp does not make

2012-01-25 Thread Chuck Swiger
On Jan 25, 2012, at 4:38 PM, Randy Bush wrote:
 checking for gcc... cc
 checking for C compiler default output file name... 
 configure: error: C compiler cannot create executables
 See `config.log' for more details.
 ===  Script configure failed unexpectedly.
 Please report the problem to z...@freebsd.org [maintainer] and attach the
 /usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.3-P2/config.log including
 the output of the failure of your make command. Also, it might be a good idea
 to provide an overview of all packages installed on your system (e.g. an `ls
 /var/db/pkg`).
 *** Error code 1
 
 clang?

The instructions given suggest looking at:

  /usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.3-P2/config.log

It's likely to be informative.   Failing that, a basic sanity check:

echo 'int main() { return 0; }'  test.c
cc -o test test.c
./test  echo 'OK' || echo 'bad'

Regards,
-- 
-Chuck

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org