Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DHCPv6 Fails to Build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Fri Nov 07, 2008 10:54 pm    Post subject: DHCPv6 Fails to Build Reply with quote

For some reason, I can't build net-misc/dhcpv6. This is the error, and it's the same in the listed logfile:
Code:
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBNL... yes
checking whether dn_comp is declared... yes
checking whether dn_expand is declared... yes
checking for linux/ipv6.h... no
configure: error: *** Header file linux/ipv6.h not found.
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-misc/dhcpv6-1.0.20/work/dhcpv6-1.0.20/config.log
 *
 * ERROR: net-misc/dhcpv6-1.0.20 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2356:  Called econf
 * ebuild.sh, line  548:  Called die
 * The specific snippet of code:
 * die "econf failed"
 * The die message:
 * econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/dhcpv6-1.0.20/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcpv6-1.0.20/temp/environment'.
 *

>>> Failed to emerge net-misc/dhcpv6-1.0.20, Log file:

>>>  '/var/tmp/portage/net-misc/dhcpv6-1.0.20/temp/build.log'
I'm not sure why I get this error:
Code:
# ls /usr/include/linux/ipv6.h
/usr/include/linux/ipv6.h
# ls /usr/src/linux/include/linux/ipv6.h
/usr/src/linux/include/linux/ipv6.h
Has anyone else seen this sort of problem? I can build other software just fine.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
thestick
Guru
Guru


Joined: 07 Apr 2006
Posts: 531
Location: /dev/urandom

PostPosted: Fri Nov 07, 2008 10:57 pm    Post subject: Reply with quote

Do you have the ipv6 use flag?
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Sat Nov 08, 2008 1:46 am    Post subject: Reply with quote

Yes I do. I checked that first.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Nov 08, 2008 3:07 am    Post subject: Reply with quote

And what does the config.log say ?
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Sat Nov 08, 2008 5:17 pm    Post subject: Reply with quote

Here are the last several lines:
Code:
## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /var/tmp/portage/net-misc/dhcpv6-1.0.20/work/dhcpv6-1.0.20/missing --run aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /var/tmp/portage/net-misc/dhcpv6-1.0.20/work/dhcpv6-1.0.20/missing --run tar'
AR='x86_64-pc-linux-gnu-ar'
AUTOCONF='${SHELL} /var/tmp/portage/net-misc/dhcpv6-1.0.20/work/dhcpv6-1.0.20/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/net-misc/dhcpv6-1.0.20/work/dhcpv6-1.0.20/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/net-misc/dhcpv6-1.0.20/work/dhcpv6-1.0.20/missing --run automake-1.10'
AWK='gawk'
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O2 -march=k8 -pipe -mmmx -msse -msse2 -m3dnow -mfpmath=sse'
CPP='x86_64-pc-linux-gnu-gcc -E'
CPPFLAGS=''
CXX='x86_64-pc-linux-gnu-g++'
CXXCPP='x86_64-pc-linux-gnu-g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-O2 -march=k8 -pipe -mmmx -msse -msse2 -m3dnow -mfpmath=sse'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DHCPV6_VERSION='1.0.20'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
F77=''
FFLAGS=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LEX='flex'
LEXLIB='-lfl'
LEX_OUTPUT_ROOT='lex.yy'
LIBNL_CFLAGS=' '
LIBNL_LIBS='-lnl  '
LIBOBJS=''
LIBS=' -lresolv'
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LN_S='ln -s'
LTLIBOBJS=''
LT_AGE=''
LT_CURRENT='2'
LT_RELEASE='1.0'
LT_REVISION='18'
MAKEINFO='${SHELL} /var/tmp/portage/net-misc/dhcpv6-1.0.20/work/dhcpv6-1.0.20/missing --run makeinfo'
OBJEXT='o'
PACKAGE='dhcpv6'
PACKAGE_BUGREPORT='dcantrell@redhat.com'
PACKAGE_NAME='dhcpv6'
PACKAGE_STRING='dhcpv6 1.0.20'
PACKAGE_TARNAME='dhcpv6'
PACKAGE_VERSION='1.0.20'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
RANLIB='x86_64-pc-linux-gnu-ranlib'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='x86_64-pc-linux-gnu-strip'
VERSION='1.0.20'
YACC='bison -y'
YFLAGS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='$(SHELL) /var/tmp/portage/net-misc/dhcpv6-1.0.20/work/dhcpv6-1.0.20/install-sh'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "dhcpv6"
#define PACKAGE_TARNAME "dhcpv6"
#define PACKAGE_VERSION "1.0.20"
#define PACKAGE_STRING "dhcpv6 1.0.20"
#define PACKAGE_BUGREPORT "dcantrell@redhat.com"
#define PACKAGE "dhcpv6"
#define VERSION "1.0.20"
#define BUILD_DATE "11072008"
#define YYTEXT_POINTER 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_NETDB_H 1
#define HAVE_RESOLV_H 1
#define STDC_HEADERS 1
#define HAVE_SYS_WAIT_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_ERR_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GETOPT_H 1
#define HAVE_FCNTL_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_NET_IF_H 1
#define HAVE_NET_IF_ARP_H 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_TIMEB_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_QUEUE_H 1
#define HAVE__BOOL 1
#define HAVE_STDBOOL_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_FORK 1
#define HAVE_VFORK 1
#define HAVE_WORKING_VFORK 1
#define HAVE_WORKING_FORK 1
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#define HAVE_STDLIB_H 1
#define HAVE_MALLOC 1
#define HAVE_STDLIB_H 1
#define HAVE_REALLOC 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define SELECT_TYPE_ARG1 int
#define SELECT_TYPE_ARG234 (fd_set *)
#define SELECT_TYPE_ARG5 (struct timeval *)
#define RETSIGTYPE void
#define HAVE_BZERO 1
#define HAVE_FTIME 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MEMSET 1
#define HAVE_SELECT 1
#define HAVE_SOCKET 1
#define HAVE_STRCHR 1
#define HAVE_STRDUP 1
#define HAVE_STRERROR 1
#define HAVE_STRRCHR 1
#define HAVE_STRSTR 1
#define HAVE_STRTOL 1
#define HAVE_STRTOUL 1

configure: exit 1

_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
thestick
Guru
Guru


Joined: 07 Apr 2006
Posts: 531
Location: /dev/urandom

PostPosted: Sat Nov 08, 2008 6:21 pm    Post subject: Reply with quote

you shouldn't be looking at the last lines.
nano /var/tmp/portage/net-misc/dhcpv6-1.0.20/work/dhcpv6-1.0.20/config.log
Ctrl+W error
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Sat Nov 08, 2008 7:21 pm    Post subject: Reply with quote

Code:
# grep -i error config.log
Configured with: /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Configured with: /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
| static void yy_fatal_error (yyconst char msg[]  );
|               if ( c == EOF && ferror( yyin ) ) \
|                       YY_FATAL_ERROR( "input in flex scanner failed" ); \
|               while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
|                               YY_FATAL_ERROR( "input in flex scanner failed" ); \
| /* Report a fatal error. */
| #ifndef YY_FATAL_ERROR
| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
|               YY_FATAL_ERROR(
|                       "fatal flex scanner internal error--no action found" );
|               YY_FATAL_ERROR(
|               "fatal flex scanner internal error--end of buffer missed" );
|                       YY_FATAL_ERROR(
|                       YY_FATAL_ERROR( "flex scanner push-back overflow" );
|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
|               YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
|               YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
|               YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
| static void yy_fatal_error (yyconst char* msg )
|     /* For future reference: Set errno on error, since we are called by
Configured with: /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
conftest.c:87: error: size of array `test_array' is negative
conftest.c:87: error: size of array `test_array' is negative
conftest.c:72: error: void value not ignored as it ought to be
configure:23902: checking for strerror
configure:24130: $PKG_CONFIG --exists --print-errors "libnl-1 >= 1.1"
configure:24146: $PKG_CONFIG --exists --print-errors "libnl-1 >= 1.1"
/usr/include/linux/ipv6.h:18: error: redefinition of `struct in6_pktinfo'
| #define HAVE_STRERROR 1
configure:24536: error: *** Header file linux/ipv6.h not found.
ac_cv_func_strerror=yes
#define HAVE_STRERROR 1

_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum