* Configuration error while pulling krb5 package.
@ 2011-08-24 11:52 v sailaja
2011-08-25 9:46 ` v sailaja
0 siblings, 1 reply; 4+ messages in thread
From: v sailaja @ 2011-08-24 11:52 UTC (permalink / raw)
To: poky
[-- Attachment #1.1: Type: text/plain, Size: 1430 bytes --]
Hi,
I am pulling *krb5* package from openembedded to poky.
I am building the poky source on "remotes/origin/1.1_M3" branch for
"sugarbay" machine.
I am facing an error in configuration.
|configure: loading site script
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/ncurses_config
| configure: loading cache ../../.././config.cache
configure: error: `CC' has changed since the previous run:
| configure: former value: x86_64-poky-linux-gcc -m64
--sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
| configure: current value: x86_64-poky-linux-gcc -m64
--sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
| configure: error: changes in the environment can compromise the build
| configure: error: run `make distclean' and/or `rm ../../.././config.cache'
and start over
| configure: error: /bin/sh
'/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/plugins/preauth/pkinit/configure'
failed for plugins/preauth/pkinit
| ERROR: oe_runconf failed
I am sending the *krb5_1.6.3.bb , log.do_configure *and* run.do_configure
files.*
Please find the attached files.
Can anyone please tell me how to track this error and what is the reason for
this error??
--
Thanks & Regards,
SAI
[-- Attachment #1.2: Type: text/html, Size: 1891 bytes --]
[-- Attachment #2: krb5_1.6.3.bb --]
[-- Type: application/octet-stream, Size: 3975 bytes --]
DESCRIPTION = "A network authentication protocol"
HOMEPAGE = "http://web.mit.edu/Kerberos/"
SECTION = "console/network"
PR = "r6"
LICENSE = "MIT"
DEPENDS = "perl-native ncurses util-linux e2fsprogs-native"
LIC_FILES_CHKSUM = "file://util/send-pr/COPYING;md5=000b65ddc97c37adf9de4b9d9a043d38"
inherit autotools binconfig
SRC_URI = "http://web.mit.edu/kerberos/dist/krb5/1.6/krb5-1.6.3-signed.tar \
file://fix-uclibc-ruserpass-collision.patch;apply=no \
file://copyperms.patch;apply=no"
S = "${WORKDIR}/${PN}-${PV}/src/"
export TARGET_LDFLAGS = "-Wl,-O1"
#Will clean this up...
EXTRA_OECONF += " --without-tcl krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes \
ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes \
ac_cv_file__etc_TIMEZONE=no --with-system-et"
CFLAGS_append += "-DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et"
LDFLAGS_append += "-lpthread"
FILES_${PN}-doc += /usr/share/examples
krb5_do_unpack() {
tar xzf ${WORKDIR}/krb5-1.6.3.tar.gz -C ${WORKDIR}/
patch -d ${S} -p1 < ${WORKDIR}/fix-uclibc-ruserpass-collision.patch
patch -d ${S} -p1 < ${WORKDIR}/copyperms.patch
}
python do_unpack() {
bb.build.exec_func('base_do_unpack', d)
bb.build.exec_func('krb5_do_unpack', d)
}
do_configure() {
oe_runconf
}
do_install_append () {
mv ${D}${bindir}/ftp ${D}${bindir}/ftp.${PN}
mv ${D}${sbindir}/ftpd ${D}${sbindir}/ftpd.${PN}
mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN}
mv ${D}${sbindir}/telnetd ${D}${sbindir}/telnetd.${PN}
}
pkg_postinst_${PN} () {
#!/bin/sh
update-alternatives --install ${bindir}/ftp ftp ftp.${PN} 100
update-alternatives --install ${sbindir}/ftpd ftpd ftpd.${PN} 100
update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100
update-alternatives --install ${sbindir}/telnetd telnetd telnetd.${PN} 100
}
pkg_prerm_${PN} () {
#!/bin/sh
update-alternatives --remove ftp ftp.${PN} 100
update-alternatives --remove ftpd ftpd.${PN} 100
update-alternatives --remove telnet telnet.${PN} 100
update-alternatives --remove telnetd telnetd.${PN} 100
}
do_insatll() {
oe_libinstall -so -C util/support libkrb5support ${STAGING_LIBDIR}
oe_libinstall -so -C util/et libcom_err ${STAGING_LIBDIR}
oe_libinstall -so -C lib/crypto libk5crypto ${STAGING_LIBDIR}
oe_libinstall -so -C lib/krb5 libkrb5 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/des425 libdes425 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/krb4 libkrb4 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/gssapi libgssapi_krb5 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/rpc libgssrpc ${STAGING_LIBDIR}
oe_libinstall -so -C lib/kdb libkdb5 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/kadm5/clnt libkadm5clnt ${STAGING_LIBDIR}
oe_libinstall -so -C lib/kadm5/srv libkadm5srv ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/krb5
for X in krb5.h locate_plugin.h
do
install -m 0644 ${S}/include/krb5/$X ${STAGING_INCDIR}/krb5/$X
done
install -d ${STAGING_INCDIR}/gssapi
for X in gssapi_generic.h gssapi.h gssapi_krb5.h
do
install -m 0644 ${S}/include/gssapi/$X ${STAGING_INCDIR}/gssapi/$X
done
install -m 0644 ${S}/lib/gssapi/mechglue/mechglue.h ${STAGING_INCDIR}/gssapi/mechglue.h
install -d ${STAGING_INCDIR}/kerberosIV
for X in krb.h des.h mit-copyright.h krb_err.h kadm_err.h
do
install -m 0644 ${S}/include/kerberosIV/$X ${STAGING_INCDIR}/kerberosIV/$X
done
install -d ${STAGING_INCDIR}/gssrpc
for X in auth.h auth_gss.h auth_gssapi.h auth_unix.h clnt.h netdb.h pmap_clnt.h pmap_prot.h pmap_rmt.h rename.h rpc.h rpc_msg.h svc.h svc_auth.h xdr.h types.h
do
install -m 0644 ${S}/include/gssrpc/$X ${STAGING_INCDIR}/gssrpc/$X
done
# com_err.h needs to be added here if you choose to use this builtin
for X in krb5.h profile.h gssapi.h
do
install -m 0644 ${S}/include/$X ${STAGING_INCDIR}/$X
done
}
SRC_URI[md5sum] = "2dc1307686eb1c2bf1ab08ea805dad46"
SRC_URI[sha256sum] = "7a1bd7d4bd326828c8ee382ed2b69ccd6c58762601df897d6a32169d84583d2a"
[-- Attachment #3: log.do_configure.5780 --]
[-- Type: application/octet-stream, Size: 23128 bytes --]
NOTE: Running /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//configure --build=x86_64-linux --host=x86_64-poky-linux --target=x86_64-poky-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --with-libtool-sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay --without-tcl krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes ac_cv_file__etc_TIMEZONE=no --with-system-et ...
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/endian-little
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-linux
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-glibc
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/x86_64-linux
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/eglibc_config
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/zlib_config
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/ncurses_config
configure: creating cache ./config.cache
checking for x86_64-poky-linux-gcc... x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay accepts -g... yes
checking for x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay option to accept ANSI C... none needed
checking how to run the C preprocessor... x86_64-poky-linux-gcc -E --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-poky-linux-gnu
checking for egrep... grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for GNU linker... yes
configure: not adding extra gcc warning flags because CFLAGS was set
configure: enabling built in krb4 support
checking which version of com_err to use... system
checking for add_error_table in -lcom_err... yes
checking for remove_error_table in -lcom_err... yes
checking for compile_et... compile_et
checking whether compile_et is useful... yes
checking which version of subsystem package to use... krb5
checking for an ANSI C-conforming const... yes
checking for gethostbyname... (cached) yes
checking for socket... (cached) yes
checking for main in -lresolv... yes
checking for res_ninit... yes
checking for res_nclose... yes
checking for res_ndestroy... no
checking for res_nsearch... yes
checking for ns_initparse... yes
checking for ns_name_uncompress... yes
checking for dn_skipname... yes
checking for res_search... yes
checking whether pragma weak references are supported... yes
checking for constructor/destructor attribute support... (cached) yes
configure: enabling thread support
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
configure: PTHREAD_CC = x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
configure: PTHREAD_CFLAGS =
configure: PTHREAD_LIBS =
checking for pthread_once... yes
checking for pthread_rwlock_init... yes
configure: rechecking with PTHREAD_... options
checking for pthread_rwlock_init in -lc... yes
checking for library containing dlopen... -ldl
checking keyutils.h usability... no
checking keyutils.h presence... no
checking for keyutils.h... no
configure: disabling static libraries
configure: enabling shared libraries
checking for memmove... (cached) yes
checking whether ln -s works... yes
checking for x86_64-poky-linux-ranlib... x86_64-poky-linux-ranlib
checking for ar... ar cqv
checking for ar... ar cruv
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... x86_64-poky-linux-ar
checking for perl... perl
checking for working regcomp... (cached) yes
checking for mode_t... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking if daemon needs a prototype provided... no
checking if getsockname() takes arguments struct sockaddr * and size_t *... no
checking if getsockname() takes arguments struct sockaddr * and int *... no
checking if getsockname() takes arguments struct sockaddr * and socklen_t *... yes
checking for main in -lutil... yes
checking for syslog.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/select.h... (cached) yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for ifaddrs.h... (cached) yes
checking for unistd.h... (cached) yes
checking for openlog... (cached) yes
checking for syslog... (cached) yes
checking for closelog... (cached) yes
checking for strftime... (cached) yes
checking for vsprintf... (cached) yes
checking for vasprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking if swab needs a prototype provided... yes
checking for gawk... gawk
checking for struct sockaddr.sa_len... no
checking for type struct sockaddr_storage... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for netdb.h... (cached) yes
checking for inet_ntop... (cached) yes
checking for inet_pton... (cached) yes
checking for getnameinfo... (cached) yes
checking for getaddrinfo... (cached) yes
checking for IPv6 compile-time support... yes
checking for struct sockaddr.sa_len... (cached) no
checking for sigprocmask... (cached) yes
checking for sigset_t and POSIX_SIGNALS... yes
checking return type of signal handlers... void
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... (cached) gawk
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for an ANSI C-conforming const... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for strdup... (cached) yes
checking for setvbuf... (cached) yes
checking for inet_ntoa... (cached) yes
checking for inet_aton... (cached) yes
checking for seteuid... (cached) yes
checking for setresuid... (cached) yes
checking for setreuid... (cached) yes
checking for setegid... (cached) yes
checking for setresgid... (cached) yes
checking for setregid... (cached) yes
checking for setsid... (cached) yes
checking for flock... (cached) yes
checking for fchmod... (cached) yes
checking for chmod... (cached) yes
checking for strftime... (cached) yes
checking for strptime... (cached) yes
checking for geteuid... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for getenv... (cached) yes
checking for gethostbyname2... (cached) yes
checking for getifaddrs... (cached) yes
checking for gmtime_r... (cached) yes
checking for localtime_r... (cached) yes
checking for pthread_mutex_lock... (cached) yes
checking for sched_yield... (cached) yes
checking for bswap16... no
checking for bswap64... no
checking for mkstemp... (cached) yes
checking for getusershell... (cached) yes
checking for lstat... (cached) yes
checking for access... (cached) yes
checking for ftime... (cached) yes
checking for getcwd... (cached) yes
checking for srand48... (cached) yes
checking for srand... (cached) yes
checking for srandom... (cached) yes
checking for stat... (cached) yes
checking for strchr... (cached) yes
checking for strerror... (cached) yes
checking for strerror_r... (cached) yes
checking for strstr... (cached) yes
checking for timezone... (cached) yes
checking for umask... (cached) yes
checking for waitpid... (cached) yes
checking for sem_init... yes
checking for sem_trywait... yes
checking for daemon... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys_errlist declaration... yes
checking for unistd.h... (cached) yes
checking for paths.h... (cached) yes
checking for regex.h... (cached) yes
checking regexpr.h usability... no
checking regexpr.h presence... no
checking for regexpr.h... no
checking for fcntl.h... (cached) yes
checking for memory.h... (cached) yes
checking for ifaddrs.h... (cached) yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for sched.h... (cached) yes
checking for byteswap.h... (cached) yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking machine/byte_order.h usability... no
checking machine/byte_order.h presence... no
checking for machine/byte_order.h... no
checking sys/bswap.h usability... no
checking sys/bswap.h presence... no
checking for sys/bswap.h... no
checking for endian.h... (cached) yes
checking for pwd.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for alloca.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for limits.h... (cached) yes
checking for pthread.h... (cached) yes
checking for semaphore.h... (cached) yes
checking krb_db.h usability... no
checking krb_db.h presence... no
checking for krb_db.h... no
checking kdc.h usability... no
checking kdc.h presence... no
checking for kdc.h... no
checking for regexp.h... yes
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr.sa_len... (cached) no
checking for struct stat.st_mtimensec... no
checking for struct stat.st_mtimespec.tv_nsec... no
checking for struct stat.st_mtim.tv_nsec... yes
checking for re_comp... (cached) yes
checking for re_exec... (cached) yes
checking for regexec... (cached) yes
checking for off_t... yes
checking for perror declaration... no
checking if strptime needs a prototype provided... yes
checking if argument to wait is int *... no
checking for use of sigprocmask... yes
checking for uid_t in sys/types.h... (cached) {ac_cv_type_uid_t=yes}
checking type of array argument to getgroups... gid_t
checking for sigsetjmp... no
checking return type of setrpcent... void
checking return type of endrpcent... void
checking for bswap_16... yes
checking for bswap_64... yes
checking for gethostbyname_r... (cached) yes
checking if gethostbyname_r returns an int... yes
checking if gethostbyname_r returns a pointer... no
checking for gethostbyaddr_r... (cached) yes
checking for getpwnam_r... (cached) yes
checking for getpwuid_r... (cached) yes
checking return type of getpwnam_r... int
checking number of arguments to getpwnam_r... 5
checking whether gmtime_r returns int... no
checking for getservbyname_r... (cached) yes
checking if getservbyname_r returns an int... yes
checking if getservbyname_r returns a pointer... no
checking for getservbyport_r... (cached) yes
checking for yylineno declaration... yes
checking for dirent.h... (cached) yes
checking for uid_t in sys/types.h... (cached) {ac_cv_type_uid_t=yes}
checking for mode_t... (cached) yes
checking for termios.h... (cached) yes
checking for tcsetattr... (cached) yes
checking POSIX signal handlers... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stddef.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/filio.h... (cached) no
checking for sys/select.h... (cached) yes
checking for time.h... (cached) yes
checking for paths.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for netdb.h... (cached) yes
checking for inet_ntop... (cached) yes
checking for inet_pton... (cached) yes
checking for getnameinfo... (cached) yes
checking for getaddrinfo... (cached) yes
checking for IPv6 compile-time support... (cached) yes
checking for in6addr_any definition in library... yes
checking for ANSI stdio... yes
checking whether time.h and sys/time.h may both be included... yes
checking for time_t... yes
checking for replay cache directory... /var/tmp
checking for socklen_t... yes
checking for struct lifconf... no
checking for struct if_laddrconf... no
checking for h_errno in netdb.h... yes
configure: Kerberos 4 compatibility enabled
checking for inline... inline
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for uint32_t... yes
checking for int32_t... yes
checking for uint64_t... yes
checking for int64_t... yes
checking for uint_least32_t... yes
checking for uintptr_t... yes
checking for uintmax_t... yes
checking for long long... yes
checking for POSIX printf positional specification support... (cached) yes
checking for bison... bison -y
checking for runtest... no
checking for perl... perl
checking for perl... /usr/bin/perl
checking for expect... no
checking whether to use priocntl hack... no
checking for runtest... no
checking for perl... (cached) perl
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking xom.h usability... no
checking xom.h presence... no
checking for xom.h... no
checking where struct rpcent is declared... rpc/netdb.h
checking for sys/select.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for MAXHOSTNAMELEN in sys/param.h... yes
checking for MAXHOSTNAMELEN in netdb.h... no
checking for uint32_t in sys/types.h... no
checking for uint32_t in stdint.h... yes
checking for uint32_t in inttypes.h... yes
checking for BSD type aliases... yes
checking for struct sockaddr_in.sin_len... (cached) no
checking for struct sockaddr.sa_len... (cached) no
checking return type of setrpcent... (cached) void
checking return type of endrpcent... (cached) void
checking for a recent enough OpenSSL... yes
checking for PKCS7_get_signer_info in -lcrypto... yes
checking for gethostbyname_r... (cached) yes
checking for getservbyname_r... (cached) yes
checking for gmtime_r... (cached) yes
checking for localtime_r... (cached) yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating kadmin/testing/scripts/env-setup.sh
config.status: creating include/gssrpc/types.h
config.status: creating lib/krb4/Makefile
config.status: creating krb5-config
config.status: creating ./Makefile
config.status: creating util/Makefile
config.status: creating util/support/Makefile
config.status: creating util/profile/Makefile
config.status: creating util/send-pr/Makefile
config.status: creating lib/Makefile
config.status: creating lib/des425/Makefile
config.status: creating lib/kdb/Makefile
config.status: creating lib/crypto/Makefile
config.status: creating lib/crypto/crc32/Makefile
config.status: creating lib/crypto/des/Makefile
config.status: creating lib/crypto/dk/Makefile
config.status: creating lib/crypto/enc_provider/Makefile
config.status: creating lib/crypto/hash_provider/Makefile
config.status: creating lib/crypto/keyhash_provider/Makefile
config.status: creating lib/crypto/md4/Makefile
config.status: creating lib/crypto/md5/Makefile
config.status: creating lib/crypto/old/Makefile
config.status: creating lib/crypto/raw/Makefile
config.status: creating lib/crypto/sha1/Makefile
config.status: creating lib/crypto/arcfour/Makefile
config.status: creating lib/crypto/yarrow/Makefile
config.status: creating lib/crypto/aes/Makefile
config.status: creating lib/krb5/Makefile
config.status: creating lib/krb5/error_tables/Makefile
config.status: creating lib/krb5/asn.1/Makefile
config.status: creating lib/krb5/ccache/Makefile
config.status: creating lib/krb5/keytab/Makefile
config.status: creating lib/krb5/krb/Makefile
config.status: creating lib/krb5/rcache/Makefile
config.status: creating lib/krb5/os/Makefile
config.status: creating lib/gssapi/Makefile
config.status: creating lib/gssapi/generic/Makefile
config.status: creating lib/gssapi/krb5/Makefile
config.status: creating lib/gssapi/mechglue/Makefile
config.status: creating lib/gssapi/spnego/Makefile
config.status: creating lib/rpc/Makefile
config.status: creating lib/rpc/unit-test/Makefile
config.status: creating lib/kadm5/Makefile
config.status: creating lib/kadm5/clnt/Makefile
config.status: creating lib/kadm5/srv/Makefile
config.status: creating lib/kadm5/unit-test/Makefile
config.status: creating kdc/Makefile
config.status: creating slave/Makefile
config.status: creating krb524/Makefile
config.status: creating config-files/Makefile
config.status: creating gen-manpages/Makefile
config.status: creating include/Makefile
config.status: creating include/kerberosIV/Makefile
config.status: creating clients/Makefile
config.status: creating clients/klist/Makefile
config.status: creating clients/kinit/Makefile
config.status: creating clients/kvno/Makefile
config.status: creating clients/kdestroy/Makefile
config.status: creating clients/kpasswd/Makefile
config.status: creating clients/ksu/Makefile
config.status: creating kadmin/Makefile
config.status: creating kadmin/cli/Makefile
config.status: creating kadmin/dbutil/Makefile
config.status: creating kadmin/passwd/Makefile
config.status: creating kadmin/passwd/unit-test/Makefile
config.status: creating kadmin/ktutil/Makefile
config.status: creating kadmin/server/Makefile
config.status: creating kadmin/testing/Makefile
config.status: creating kadmin/testing/scripts/Makefile
config.status: creating kadmin/testing/util/Makefile
config.status: creating include/autoconf.h
configure: configuring in plugins/preauth/pkinit
configure: running /bin/sh '/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/plugins/preauth/pkinit/configure' --prefix=/usr '--build=x86_64-linux' '--host=x86_64-poky-linux' '--target=x86_64-poky-linux' '--prefix=/usr' '--exec_prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/libexec' '--datadir=/usr/share' '--sysconfdir=/etc' '--sharedstatedir=/com' '--localstatedir=/var' '--libdir=/usr/lib' '--includedir=/usr/include' '--oldincludedir=/usr/include' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--disable-silent-rules' '--with-libtool-sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay' '--without-tcl' 'krb5_cv_attr_constructor_destructor=yes' 'ac_cv_func_regcomp=yes' 'ac_cv_printf_positional=yes' 'ac_cv_file__etc_environment=yes' 'ac_cv_file__etc_TIMEZONE=no' '--with-system-et' 'CC=x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay' 'CFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -DDESTRUCTOR_ATTR_WORKS=1 -I/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/include/et' 'CPPFLAGS=' 'CPP=x86_64-poky-linux-gcc -E --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay' 'LDFLAGS=-Wl,-O1 -lpthread' 'LD=x86_64-poky-linux-ld --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay' 'build_alias=x86_64-linux' 'host_alias=x86_64-poky-linux' 'target_alias=x86_64-poky-linux' --cache-file=../../.././config.cache --srcdir=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/plugins/preauth/pkinit
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/endian-little
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-linux
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-glibc
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/x86_64-linux
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/eglibc_config
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/zlib_config
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/ncurses_config
configure: loading cache ../../.././config.cache
configure: error: `CC' has changed since the previous run:
configure: former value: x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
configure: current value: x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ../../.././config.cache' and start over
configure: error: /bin/sh '/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/plugins/preauth/pkinit/configure' failed for plugins/preauth/pkinit
ERROR: oe_runconf failed
ERROR: Function 'do_configure' failed (see /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/temp/log.do_configure.5780 for further information)
[-- Attachment #4: run.do_configure.5780 --]
[-- Type: application/octet-stream, Size: 7735 bytes --]
#!/bin/sh -e
export STRIP="x86_64-poky-linux-strip"
export STAGING_SIPDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/sip"
export localstatedir="/var"
export BUILD_CC="gcc"
export prefix="/usr"
export datadir="/usr/share"
export BUILD_CXX="g++"
export LD="x86_64-poky-linux-ld --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export bindir="/usr/bin"
export TARGET_CXXFLAGS="-O2 -pipe -g -feliminate-unused-debug-types -fpermissive"
export includedir="/usr/include"
export BUILD_LDFLAGS="-L/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1"
export BUILD_LD="ld"
export oldincludedir="/usr/include"
export STAGING_IDLDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/idl"
export QMAKE_MKSPEC_PATH="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/qmake"
export CC="x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export libexecdir="/usr/libexec"
export CXX="x86_64-poky-linux-g++ -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export BUILD_RANLIB="ranlib"
export BUILD_NM="nm"
export mandir="/usr/share/man"
export OBJCOPY="x86_64-poky-linux-objcopy"
export servicedir="/srv"
export sysconfdir="/etc"
export CCLD="x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export base_bindir="/bin"
export PKG_CONFIG_LIBDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay//usr/lib/pkgconfig"
export sbindir="/usr/sbin"
export CFLAGS="-O2 -pipe -g -feliminate-unused-debug-types -DDESTRUCTOR_ATTR_WORKS=1 -I/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/include/et"
export TARGET_LDFLAGS="-Wl,-O1"
export BUILD_F77="g77"
export PKG_CONFIG_DISABLE_UNINSTALLED="yes"
export CXXFLAGS="-O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden"
export F77="x86_64-poky-linux-g77 -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export USER="sailaja"
export QTDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/qt2"
export RANLIB="x86_64-poky-linux-ranlib"
export LDFLAGS="-Wl,-O1 -lpthread"
export MAKE="make"
export OPIEDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
unset TARGET_ARCH
export CCACHE_DIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/ccache/x86_64-poky-linux/krb5"
export SHELLCMDS="bash"
export BUILD_CCLD="gcc"
export QPEDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export BUILD_CPP="cpp"
export BUILD_CFLAGS="-isystem/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe"
export docdir="/usr/share/doc"
export infodir="/usr/share/info"
export TERM="xterm"
export base_sbindir="/sbin"
export PKG_CONFIG_SYSROOT_DIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export PKG_CONFIG_PATH="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay//usr/lib/pkgconfig:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/pkgconfig"
export AS="x86_64-poky-linux-as"
export AR="x86_64-poky-linux-ar"
export BUILD_CPPFLAGS="-isystem/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/include"
export CPP="x86_64-poky-linux-gcc -E --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export CONFIG_SITE="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/endian-little /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-linux /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-glibc /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/x86_64-linux /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/eglibc_config /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/zlib_config /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/ncurses_config"
export BUILD_CXXFLAGS="-isystem/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -fpermissive"
export HOME="/home/sailaja"
export USERNAME="sailaja"
export PATCH_GET="0"
export exec_prefix="/usr"
export NM="x86_64-poky-linux-nm"
export LC_ALL="C"
export base_libdir="/lib"
export LOGNAME="sailaja"
export PATH="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-poky-linux:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/bin/crossscripts:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/bin:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/sbin:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux//bin:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/scripts:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/bitbake/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/scripts"
export TARGET_CFLAGS="-O2 -pipe -g -feliminate-unused-debug-types"
unset MACHINE
export BUILD_AR="ar"
export sharedstatedir="/com"
export OBJDUMP="x86_64-poky-linux-objdump"
unset DISTRO
export PKG_CONFIG_DIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay//usr/lib/pkgconfig"
export libdir="/usr/lib"
export SHELL="/bin/bash"
export palmqtdir="/usr/lib/opie"
export palmtopdir="/usr/lib/opie"
export BUILD_STRIP="strip"
do_configure() {
oe_runconf
}
oe_runconf() {
if [ -x /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//configure ] ; then
cfgcmd="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//configure \
--build=x86_64-linux --host=x86_64-poky-linux --target=x86_64-poky-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --with-libtool-sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay --without-tcl krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes ac_cv_file__etc_TIMEZONE=no --with-system-et $@"
bbnote "Running $cfgcmd..."
$cfgcmd || bbfatal "oe_runconf failed"
else
bbfatal "no configure script found"
fi
}
bbfatal() {
echo "ERROR: $*"
exit 1
}
bbnote() {
echo "NOTE: $*"
}
cd /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/
do_configure
^ permalink raw reply [flat|nested] 4+ messages in thread
* Configuration error while pulling krb5 package.
2011-08-24 11:52 v sailaja
@ 2011-08-25 9:46 ` v sailaja
0 siblings, 0 replies; 4+ messages in thread
From: v sailaja @ 2011-08-25 9:46 UTC (permalink / raw)
To: poky
[-- Attachment #1.1: Type: text/plain, Size: 1428 bytes --]
Hi,
I am pulling *krb5* package from openembedded to poky.
I am building the poky source on "remotes/origin/1.1_M3" branch for
"sugarbay" machine.
I am facing an error in configuration.
|configure: loading site script
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/ncurses_config
| configure: loading cache ../../.././config.cache
configure: error: `CC' has changed since the previous run:
| configure: former value: x86_64-poky-linux-gcc -m64
--sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
| configure: current value: x86_64-poky-linux-gcc -m64
--sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
| configure: error: changes in the environment can compromise the build
| configure: error: run `make distclean' and/or `rm ../../.././config.cache'
and start over
| configure: error: /bin/sh
'/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/plugins/preauth/pkinit/configure'
failed for plugins/preauth/pkinit
| ERROR: oe_runconf failed
I am sending the *krb5_1.6.3.bb , log.do_configure *and* run.do_configure
files.*
Please find the attached files.
Can anyone please tell me how to track this error and what is the reason for
this error??
--
Thanks & Regards,
SAI
[-- Attachment #1.2: Type: text/html, Size: 1954 bytes --]
[-- Attachment #2: krb5_1.6.3.bb --]
[-- Type: application/octet-stream, Size: 3975 bytes --]
DESCRIPTION = "A network authentication protocol"
HOMEPAGE = "http://web.mit.edu/Kerberos/"
SECTION = "console/network"
PR = "r6"
LICENSE = "MIT"
DEPENDS = "perl-native ncurses util-linux e2fsprogs-native"
LIC_FILES_CHKSUM = "file://util/send-pr/COPYING;md5=000b65ddc97c37adf9de4b9d9a043d38"
inherit autotools binconfig
SRC_URI = "http://web.mit.edu/kerberos/dist/krb5/1.6/krb5-1.6.3-signed.tar \
file://fix-uclibc-ruserpass-collision.patch;apply=no \
file://copyperms.patch;apply=no"
S = "${WORKDIR}/${PN}-${PV}/src/"
export TARGET_LDFLAGS = "-Wl,-O1"
#Will clean this up...
EXTRA_OECONF += " --without-tcl krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes \
ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes \
ac_cv_file__etc_TIMEZONE=no --with-system-et"
CFLAGS_append += "-DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et"
LDFLAGS_append += "-lpthread"
FILES_${PN}-doc += /usr/share/examples
krb5_do_unpack() {
tar xzf ${WORKDIR}/krb5-1.6.3.tar.gz -C ${WORKDIR}/
patch -d ${S} -p1 < ${WORKDIR}/fix-uclibc-ruserpass-collision.patch
patch -d ${S} -p1 < ${WORKDIR}/copyperms.patch
}
python do_unpack() {
bb.build.exec_func('base_do_unpack', d)
bb.build.exec_func('krb5_do_unpack', d)
}
do_configure() {
oe_runconf
}
do_install_append () {
mv ${D}${bindir}/ftp ${D}${bindir}/ftp.${PN}
mv ${D}${sbindir}/ftpd ${D}${sbindir}/ftpd.${PN}
mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN}
mv ${D}${sbindir}/telnetd ${D}${sbindir}/telnetd.${PN}
}
pkg_postinst_${PN} () {
#!/bin/sh
update-alternatives --install ${bindir}/ftp ftp ftp.${PN} 100
update-alternatives --install ${sbindir}/ftpd ftpd ftpd.${PN} 100
update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100
update-alternatives --install ${sbindir}/telnetd telnetd telnetd.${PN} 100
}
pkg_prerm_${PN} () {
#!/bin/sh
update-alternatives --remove ftp ftp.${PN} 100
update-alternatives --remove ftpd ftpd.${PN} 100
update-alternatives --remove telnet telnet.${PN} 100
update-alternatives --remove telnetd telnetd.${PN} 100
}
do_insatll() {
oe_libinstall -so -C util/support libkrb5support ${STAGING_LIBDIR}
oe_libinstall -so -C util/et libcom_err ${STAGING_LIBDIR}
oe_libinstall -so -C lib/crypto libk5crypto ${STAGING_LIBDIR}
oe_libinstall -so -C lib/krb5 libkrb5 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/des425 libdes425 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/krb4 libkrb4 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/gssapi libgssapi_krb5 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/rpc libgssrpc ${STAGING_LIBDIR}
oe_libinstall -so -C lib/kdb libkdb5 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/kadm5/clnt libkadm5clnt ${STAGING_LIBDIR}
oe_libinstall -so -C lib/kadm5/srv libkadm5srv ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/krb5
for X in krb5.h locate_plugin.h
do
install -m 0644 ${S}/include/krb5/$X ${STAGING_INCDIR}/krb5/$X
done
install -d ${STAGING_INCDIR}/gssapi
for X in gssapi_generic.h gssapi.h gssapi_krb5.h
do
install -m 0644 ${S}/include/gssapi/$X ${STAGING_INCDIR}/gssapi/$X
done
install -m 0644 ${S}/lib/gssapi/mechglue/mechglue.h ${STAGING_INCDIR}/gssapi/mechglue.h
install -d ${STAGING_INCDIR}/kerberosIV
for X in krb.h des.h mit-copyright.h krb_err.h kadm_err.h
do
install -m 0644 ${S}/include/kerberosIV/$X ${STAGING_INCDIR}/kerberosIV/$X
done
install -d ${STAGING_INCDIR}/gssrpc
for X in auth.h auth_gss.h auth_gssapi.h auth_unix.h clnt.h netdb.h pmap_clnt.h pmap_prot.h pmap_rmt.h rename.h rpc.h rpc_msg.h svc.h svc_auth.h xdr.h types.h
do
install -m 0644 ${S}/include/gssrpc/$X ${STAGING_INCDIR}/gssrpc/$X
done
# com_err.h needs to be added here if you choose to use this builtin
for X in krb5.h profile.h gssapi.h
do
install -m 0644 ${S}/include/$X ${STAGING_INCDIR}/$X
done
}
SRC_URI[md5sum] = "2dc1307686eb1c2bf1ab08ea805dad46"
SRC_URI[sha256sum] = "7a1bd7d4bd326828c8ee382ed2b69ccd6c58762601df897d6a32169d84583d2a"
[-- Attachment #3: log.do_configure.5780 --]
[-- Type: application/octet-stream, Size: 23128 bytes --]
NOTE: Running /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//configure --build=x86_64-linux --host=x86_64-poky-linux --target=x86_64-poky-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --with-libtool-sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay --without-tcl krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes ac_cv_file__etc_TIMEZONE=no --with-system-et ...
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/endian-little
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-linux
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-glibc
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/x86_64-linux
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/eglibc_config
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/zlib_config
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/ncurses_config
configure: creating cache ./config.cache
checking for x86_64-poky-linux-gcc... x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay accepts -g... yes
checking for x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay option to accept ANSI C... none needed
checking how to run the C preprocessor... x86_64-poky-linux-gcc -E --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-poky-linux-gnu
checking for egrep... grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for GNU linker... yes
configure: not adding extra gcc warning flags because CFLAGS was set
configure: enabling built in krb4 support
checking which version of com_err to use... system
checking for add_error_table in -lcom_err... yes
checking for remove_error_table in -lcom_err... yes
checking for compile_et... compile_et
checking whether compile_et is useful... yes
checking which version of subsystem package to use... krb5
checking for an ANSI C-conforming const... yes
checking for gethostbyname... (cached) yes
checking for socket... (cached) yes
checking for main in -lresolv... yes
checking for res_ninit... yes
checking for res_nclose... yes
checking for res_ndestroy... no
checking for res_nsearch... yes
checking for ns_initparse... yes
checking for ns_name_uncompress... yes
checking for dn_skipname... yes
checking for res_search... yes
checking whether pragma weak references are supported... yes
checking for constructor/destructor attribute support... (cached) yes
configure: enabling thread support
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
configure: PTHREAD_CC = x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
configure: PTHREAD_CFLAGS =
configure: PTHREAD_LIBS =
checking for pthread_once... yes
checking for pthread_rwlock_init... yes
configure: rechecking with PTHREAD_... options
checking for pthread_rwlock_init in -lc... yes
checking for library containing dlopen... -ldl
checking keyutils.h usability... no
checking keyutils.h presence... no
checking for keyutils.h... no
configure: disabling static libraries
configure: enabling shared libraries
checking for memmove... (cached) yes
checking whether ln -s works... yes
checking for x86_64-poky-linux-ranlib... x86_64-poky-linux-ranlib
checking for ar... ar cqv
checking for ar... ar cruv
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... x86_64-poky-linux-ar
checking for perl... perl
checking for working regcomp... (cached) yes
checking for mode_t... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking if daemon needs a prototype provided... no
checking if getsockname() takes arguments struct sockaddr * and size_t *... no
checking if getsockname() takes arguments struct sockaddr * and int *... no
checking if getsockname() takes arguments struct sockaddr * and socklen_t *... yes
checking for main in -lutil... yes
checking for syslog.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/select.h... (cached) yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for ifaddrs.h... (cached) yes
checking for unistd.h... (cached) yes
checking for openlog... (cached) yes
checking for syslog... (cached) yes
checking for closelog... (cached) yes
checking for strftime... (cached) yes
checking for vsprintf... (cached) yes
checking for vasprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking if swab needs a prototype provided... yes
checking for gawk... gawk
checking for struct sockaddr.sa_len... no
checking for type struct sockaddr_storage... yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for netdb.h... (cached) yes
checking for inet_ntop... (cached) yes
checking for inet_pton... (cached) yes
checking for getnameinfo... (cached) yes
checking for getaddrinfo... (cached) yes
checking for IPv6 compile-time support... yes
checking for struct sockaddr.sa_len... (cached) no
checking for sigprocmask... (cached) yes
checking for sigset_t and POSIX_SIGNALS... yes
checking return type of signal handlers... void
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... (cached) gawk
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for an ANSI C-conforming const... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for strdup... (cached) yes
checking for setvbuf... (cached) yes
checking for inet_ntoa... (cached) yes
checking for inet_aton... (cached) yes
checking for seteuid... (cached) yes
checking for setresuid... (cached) yes
checking for setreuid... (cached) yes
checking for setegid... (cached) yes
checking for setresgid... (cached) yes
checking for setregid... (cached) yes
checking for setsid... (cached) yes
checking for flock... (cached) yes
checking for fchmod... (cached) yes
checking for chmod... (cached) yes
checking for strftime... (cached) yes
checking for strptime... (cached) yes
checking for geteuid... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for getenv... (cached) yes
checking for gethostbyname2... (cached) yes
checking for getifaddrs... (cached) yes
checking for gmtime_r... (cached) yes
checking for localtime_r... (cached) yes
checking for pthread_mutex_lock... (cached) yes
checking for sched_yield... (cached) yes
checking for bswap16... no
checking for bswap64... no
checking for mkstemp... (cached) yes
checking for getusershell... (cached) yes
checking for lstat... (cached) yes
checking for access... (cached) yes
checking for ftime... (cached) yes
checking for getcwd... (cached) yes
checking for srand48... (cached) yes
checking for srand... (cached) yes
checking for srandom... (cached) yes
checking for stat... (cached) yes
checking for strchr... (cached) yes
checking for strerror... (cached) yes
checking for strerror_r... (cached) yes
checking for strstr... (cached) yes
checking for timezone... (cached) yes
checking for umask... (cached) yes
checking for waitpid... (cached) yes
checking for sem_init... yes
checking for sem_trywait... yes
checking for daemon... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys_errlist declaration... yes
checking for unistd.h... (cached) yes
checking for paths.h... (cached) yes
checking for regex.h... (cached) yes
checking regexpr.h usability... no
checking regexpr.h presence... no
checking for regexpr.h... no
checking for fcntl.h... (cached) yes
checking for memory.h... (cached) yes
checking for ifaddrs.h... (cached) yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for sched.h... (cached) yes
checking for byteswap.h... (cached) yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking machine/byte_order.h usability... no
checking machine/byte_order.h presence... no
checking for machine/byte_order.h... no
checking sys/bswap.h usability... no
checking sys/bswap.h presence... no
checking for sys/bswap.h... no
checking for endian.h... (cached) yes
checking for pwd.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for alloca.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for limits.h... (cached) yes
checking for pthread.h... (cached) yes
checking for semaphore.h... (cached) yes
checking krb_db.h usability... no
checking krb_db.h presence... no
checking for krb_db.h... no
checking kdc.h usability... no
checking kdc.h presence... no
checking for kdc.h... no
checking for regexp.h... yes
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr.sa_len... (cached) no
checking for struct stat.st_mtimensec... no
checking for struct stat.st_mtimespec.tv_nsec... no
checking for struct stat.st_mtim.tv_nsec... yes
checking for re_comp... (cached) yes
checking for re_exec... (cached) yes
checking for regexec... (cached) yes
checking for off_t... yes
checking for perror declaration... no
checking if strptime needs a prototype provided... yes
checking if argument to wait is int *... no
checking for use of sigprocmask... yes
checking for uid_t in sys/types.h... (cached) {ac_cv_type_uid_t=yes}
checking type of array argument to getgroups... gid_t
checking for sigsetjmp... no
checking return type of setrpcent... void
checking return type of endrpcent... void
checking for bswap_16... yes
checking for bswap_64... yes
checking for gethostbyname_r... (cached) yes
checking if gethostbyname_r returns an int... yes
checking if gethostbyname_r returns a pointer... no
checking for gethostbyaddr_r... (cached) yes
checking for getpwnam_r... (cached) yes
checking for getpwuid_r... (cached) yes
checking return type of getpwnam_r... int
checking number of arguments to getpwnam_r... 5
checking whether gmtime_r returns int... no
checking for getservbyname_r... (cached) yes
checking if getservbyname_r returns an int... yes
checking if getservbyname_r returns a pointer... no
checking for getservbyport_r... (cached) yes
checking for yylineno declaration... yes
checking for dirent.h... (cached) yes
checking for uid_t in sys/types.h... (cached) {ac_cv_type_uid_t=yes}
checking for mode_t... (cached) yes
checking for termios.h... (cached) yes
checking for tcsetattr... (cached) yes
checking POSIX signal handlers... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stddef.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/filio.h... (cached) no
checking for sys/select.h... (cached) yes
checking for time.h... (cached) yes
checking for paths.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for netdb.h... (cached) yes
checking for inet_ntop... (cached) yes
checking for inet_pton... (cached) yes
checking for getnameinfo... (cached) yes
checking for getaddrinfo... (cached) yes
checking for IPv6 compile-time support... (cached) yes
checking for in6addr_any definition in library... yes
checking for ANSI stdio... yes
checking whether time.h and sys/time.h may both be included... yes
checking for time_t... yes
checking for replay cache directory... /var/tmp
checking for socklen_t... yes
checking for struct lifconf... no
checking for struct if_laddrconf... no
checking for h_errno in netdb.h... yes
configure: Kerberos 4 compatibility enabled
checking for inline... inline
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for uint32_t... yes
checking for int32_t... yes
checking for uint64_t... yes
checking for int64_t... yes
checking for uint_least32_t... yes
checking for uintptr_t... yes
checking for uintmax_t... yes
checking for long long... yes
checking for POSIX printf positional specification support... (cached) yes
checking for bison... bison -y
checking for runtest... no
checking for perl... perl
checking for perl... /usr/bin/perl
checking for expect... no
checking whether to use priocntl hack... no
checking for runtest... no
checking for perl... (cached) perl
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking xom.h usability... no
checking xom.h presence... no
checking for xom.h... no
checking where struct rpcent is declared... rpc/netdb.h
checking for sys/select.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for MAXHOSTNAMELEN in sys/param.h... yes
checking for MAXHOSTNAMELEN in netdb.h... no
checking for uint32_t in sys/types.h... no
checking for uint32_t in stdint.h... yes
checking for uint32_t in inttypes.h... yes
checking for BSD type aliases... yes
checking for struct sockaddr_in.sin_len... (cached) no
checking for struct sockaddr.sa_len... (cached) no
checking return type of setrpcent... (cached) void
checking return type of endrpcent... (cached) void
checking for a recent enough OpenSSL... yes
checking for PKCS7_get_signer_info in -lcrypto... yes
checking for gethostbyname_r... (cached) yes
checking for getservbyname_r... (cached) yes
checking for gmtime_r... (cached) yes
checking for localtime_r... (cached) yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating kadmin/testing/scripts/env-setup.sh
config.status: creating include/gssrpc/types.h
config.status: creating lib/krb4/Makefile
config.status: creating krb5-config
config.status: creating ./Makefile
config.status: creating util/Makefile
config.status: creating util/support/Makefile
config.status: creating util/profile/Makefile
config.status: creating util/send-pr/Makefile
config.status: creating lib/Makefile
config.status: creating lib/des425/Makefile
config.status: creating lib/kdb/Makefile
config.status: creating lib/crypto/Makefile
config.status: creating lib/crypto/crc32/Makefile
config.status: creating lib/crypto/des/Makefile
config.status: creating lib/crypto/dk/Makefile
config.status: creating lib/crypto/enc_provider/Makefile
config.status: creating lib/crypto/hash_provider/Makefile
config.status: creating lib/crypto/keyhash_provider/Makefile
config.status: creating lib/crypto/md4/Makefile
config.status: creating lib/crypto/md5/Makefile
config.status: creating lib/crypto/old/Makefile
config.status: creating lib/crypto/raw/Makefile
config.status: creating lib/crypto/sha1/Makefile
config.status: creating lib/crypto/arcfour/Makefile
config.status: creating lib/crypto/yarrow/Makefile
config.status: creating lib/crypto/aes/Makefile
config.status: creating lib/krb5/Makefile
config.status: creating lib/krb5/error_tables/Makefile
config.status: creating lib/krb5/asn.1/Makefile
config.status: creating lib/krb5/ccache/Makefile
config.status: creating lib/krb5/keytab/Makefile
config.status: creating lib/krb5/krb/Makefile
config.status: creating lib/krb5/rcache/Makefile
config.status: creating lib/krb5/os/Makefile
config.status: creating lib/gssapi/Makefile
config.status: creating lib/gssapi/generic/Makefile
config.status: creating lib/gssapi/krb5/Makefile
config.status: creating lib/gssapi/mechglue/Makefile
config.status: creating lib/gssapi/spnego/Makefile
config.status: creating lib/rpc/Makefile
config.status: creating lib/rpc/unit-test/Makefile
config.status: creating lib/kadm5/Makefile
config.status: creating lib/kadm5/clnt/Makefile
config.status: creating lib/kadm5/srv/Makefile
config.status: creating lib/kadm5/unit-test/Makefile
config.status: creating kdc/Makefile
config.status: creating slave/Makefile
config.status: creating krb524/Makefile
config.status: creating config-files/Makefile
config.status: creating gen-manpages/Makefile
config.status: creating include/Makefile
config.status: creating include/kerberosIV/Makefile
config.status: creating clients/Makefile
config.status: creating clients/klist/Makefile
config.status: creating clients/kinit/Makefile
config.status: creating clients/kvno/Makefile
config.status: creating clients/kdestroy/Makefile
config.status: creating clients/kpasswd/Makefile
config.status: creating clients/ksu/Makefile
config.status: creating kadmin/Makefile
config.status: creating kadmin/cli/Makefile
config.status: creating kadmin/dbutil/Makefile
config.status: creating kadmin/passwd/Makefile
config.status: creating kadmin/passwd/unit-test/Makefile
config.status: creating kadmin/ktutil/Makefile
config.status: creating kadmin/server/Makefile
config.status: creating kadmin/testing/Makefile
config.status: creating kadmin/testing/scripts/Makefile
config.status: creating kadmin/testing/util/Makefile
config.status: creating include/autoconf.h
configure: configuring in plugins/preauth/pkinit
configure: running /bin/sh '/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/plugins/preauth/pkinit/configure' --prefix=/usr '--build=x86_64-linux' '--host=x86_64-poky-linux' '--target=x86_64-poky-linux' '--prefix=/usr' '--exec_prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/libexec' '--datadir=/usr/share' '--sysconfdir=/etc' '--sharedstatedir=/com' '--localstatedir=/var' '--libdir=/usr/lib' '--includedir=/usr/include' '--oldincludedir=/usr/include' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--disable-silent-rules' '--with-libtool-sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay' '--without-tcl' 'krb5_cv_attr_constructor_destructor=yes' 'ac_cv_func_regcomp=yes' 'ac_cv_printf_positional=yes' 'ac_cv_file__etc_environment=yes' 'ac_cv_file__etc_TIMEZONE=no' '--with-system-et' 'CC=x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay' 'CFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -DDESTRUCTOR_ATTR_WORKS=1 -I/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/include/et' 'CPPFLAGS=' 'CPP=x86_64-poky-linux-gcc -E --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay' 'LDFLAGS=-Wl,-O1 -lpthread' 'LD=x86_64-poky-linux-ld --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay' 'build_alias=x86_64-linux' 'host_alias=x86_64-poky-linux' 'target_alias=x86_64-poky-linux' --cache-file=../../.././config.cache --srcdir=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/plugins/preauth/pkinit
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/endian-little
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-linux
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-glibc
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/x86_64-linux
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/eglibc_config
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/zlib_config
configure: loading site script /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/ncurses_config
configure: loading cache ../../.././config.cache
configure: error: `CC' has changed since the previous run:
configure: former value: x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
configure: current value: x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ../../.././config.cache' and start over
configure: error: /bin/sh '/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/plugins/preauth/pkinit/configure' failed for plugins/preauth/pkinit
ERROR: oe_runconf failed
ERROR: Function 'do_configure' failed (see /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/temp/log.do_configure.5780 for further information)
[-- Attachment #4: run.do_configure.5780 --]
[-- Type: application/octet-stream, Size: 7735 bytes --]
#!/bin/sh -e
export STRIP="x86_64-poky-linux-strip"
export STAGING_SIPDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/sip"
export localstatedir="/var"
export BUILD_CC="gcc"
export prefix="/usr"
export datadir="/usr/share"
export BUILD_CXX="g++"
export LD="x86_64-poky-linux-ld --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export bindir="/usr/bin"
export TARGET_CXXFLAGS="-O2 -pipe -g -feliminate-unused-debug-types -fpermissive"
export includedir="/usr/include"
export BUILD_LDFLAGS="-L/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1"
export BUILD_LD="ld"
export oldincludedir="/usr/include"
export STAGING_IDLDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/idl"
export QMAKE_MKSPEC_PATH="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/qmake"
export CC="x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export libexecdir="/usr/libexec"
export CXX="x86_64-poky-linux-g++ -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export BUILD_RANLIB="ranlib"
export BUILD_NM="nm"
export mandir="/usr/share/man"
export OBJCOPY="x86_64-poky-linux-objcopy"
export servicedir="/srv"
export sysconfdir="/etc"
export CCLD="x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export base_bindir="/bin"
export PKG_CONFIG_LIBDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay//usr/lib/pkgconfig"
export sbindir="/usr/sbin"
export CFLAGS="-O2 -pipe -g -feliminate-unused-debug-types -DDESTRUCTOR_ATTR_WORKS=1 -I/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/include/et"
export TARGET_LDFLAGS="-Wl,-O1"
export BUILD_F77="g77"
export PKG_CONFIG_DISABLE_UNINSTALLED="yes"
export CXXFLAGS="-O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden"
export F77="x86_64-poky-linux-g77 -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export USER="sailaja"
export QTDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/qt2"
export RANLIB="x86_64-poky-linux-ranlib"
export LDFLAGS="-Wl,-O1 -lpthread"
export MAKE="make"
export OPIEDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
unset TARGET_ARCH
export CCACHE_DIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/ccache/x86_64-poky-linux/krb5"
export SHELLCMDS="bash"
export BUILD_CCLD="gcc"
export QPEDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export BUILD_CPP="cpp"
export BUILD_CFLAGS="-isystem/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe"
export docdir="/usr/share/doc"
export infodir="/usr/share/info"
export TERM="xterm"
export base_sbindir="/sbin"
export PKG_CONFIG_SYSROOT_DIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export PKG_CONFIG_PATH="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay//usr/lib/pkgconfig:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/pkgconfig"
export AS="x86_64-poky-linux-as"
export AR="x86_64-poky-linux-ar"
export BUILD_CPPFLAGS="-isystem/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/include"
export CPP="x86_64-poky-linux-gcc -E --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export CONFIG_SITE="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/endian-little /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-linux /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-glibc /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/x86_64-linux /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/eglibc_config /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/zlib_config /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/ncurses_config"
export BUILD_CXXFLAGS="-isystem/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -fpermissive"
export HOME="/home/sailaja"
export USERNAME="sailaja"
export PATCH_GET="0"
export exec_prefix="/usr"
export NM="x86_64-poky-linux-nm"
export LC_ALL="C"
export base_libdir="/lib"
export LOGNAME="sailaja"
export PATH="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-poky-linux:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/bin/crossscripts:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/bin:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/sbin:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux//bin:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/scripts:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/bitbake/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/scripts"
export TARGET_CFLAGS="-O2 -pipe -g -feliminate-unused-debug-types"
unset MACHINE
export BUILD_AR="ar"
export sharedstatedir="/com"
export OBJDUMP="x86_64-poky-linux-objdump"
unset DISTRO
export PKG_CONFIG_DIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay//usr/lib/pkgconfig"
export libdir="/usr/lib"
export SHELL="/bin/bash"
export palmqtdir="/usr/lib/opie"
export palmtopdir="/usr/lib/opie"
export BUILD_STRIP="strip"
do_configure() {
oe_runconf
}
oe_runconf() {
if [ -x /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//configure ] ; then
cfgcmd="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//configure \
--build=x86_64-linux --host=x86_64-poky-linux --target=x86_64-poky-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --with-libtool-sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay --without-tcl krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes ac_cv_file__etc_TIMEZONE=no --with-system-et $@"
bbnote "Running $cfgcmd..."
$cfgcmd || bbfatal "oe_runconf failed"
else
bbfatal "no configure script found"
fi
}
bbfatal() {
echo "ERROR: $*"
exit 1
}
bbnote() {
echo "NOTE: $*"
}
cd /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/
do_configure
^ permalink raw reply [flat|nested] 4+ messages in thread
* Configuration error while pulling krb5 package
@ 2011-08-26 7:46 v sailaja
2011-08-26 18:52 ` Saul Wold
0 siblings, 1 reply; 4+ messages in thread
From: v sailaja @ 2011-08-26 7:46 UTC (permalink / raw)
To: poky
[-- Attachment #1.1: Type: text/plain, Size: 3697 bytes --]
Hi,
I am pulling krb5 package from openembedded to poky.
I am building the poky source on "remotes/origin/1.1_M3" branch for
"sugarbay" machine.
I am facing an error in configuration.
-------------
ERROR: Function 'do_configure' failed (see
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/temp/log.do_configure.6813
for further information)
ERROR: Logfile of failure stored in:
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/temp/log.do_configure.6813
Log data follows:
| automake (GNU automake) 1.11.1
| Copyright (C) 2009 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <
http://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
|
| Written by Tom Tromey <tromey@redhat.com>
| and Alexandre Duret-Lutz <adl@gnu.org>.
| AUTOV is 1.11
| NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint
-I
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/util/
-I/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11
-I
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//aclocal-copy/
| autoreconf: Entering directory `.'
| autoreconf: configure.in: not using Gettext
| autoreconf: running: aclocal -I
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/util/
-I
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11
-I
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//aclocal-copy/
-I
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/util/
-I
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11
-I
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//aclocal-copy/
--force --warnings=cross
| aclocal: unknown warning category `cross'
| configure.in:15: *error: AC_LANG_COMPILER: unknown language: _AC_LANG*
| ../../lib/autoconf/lang.m4:330: AC_LANG_COMPILER_REQUIRE is expanded
from...
| ../../lib/autoconf/lang.m4:373: AC_LANG_PREPROC_REQUIRE is expanded
from...
| ../../lib/autoconf/lang.m4:382: AC_REQUIRE_CPP is expanded from...
| configure.in:15: the top level
| autom4te:
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/bin/m4
failed with exit status: 1
| aclocal:
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/bin/autom4te
failed with exit status: 1
| autoreconf: aclocal failed with exit status: 1
| ERROR: autoreconf execution failed.
| ERROR: Function 'do_configure' failed (see
/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/temp/log.do_configure.6813
for further information)
NOTE: package krb5-1.6.3-r6: task do_configure: Failed
ERROR: Task 863
(/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/recipes-support/krb/
krb5_1.6.3.bb, do_configure) failed with exit code '1'
I am sending the *krb5_1.6.3.bb , log.do_configure *and* run.do_configure
files.*
Please find the attached files.
Can anyone please tell me how to track this error and what is the reason for
this error??
--
Thanks & Regards,
SAI
[-- Attachment #1.2: Type: text/html, Size: 4926 bytes --]
[-- Attachment #2: log.do_configure.18024 --]
[-- Type: application/octet-stream, Size: 2239 bytes --]
automake (GNU automake) 1.11.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <tromey@redhat.com>
and Alexandre Duret-Lutz <adl@gnu.org>.
AUTOV is 1.11
NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/util/ -I/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//aclocal-copy/
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/util/ -I /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//aclocal-copy/ -I /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/util/ -I /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//aclocal-copy/ --force --warnings=cross
aclocal: unknown warning category `cross'
configure.in:15: error: AC_LANG_COMPILER: unknown language: _AC_LANG
../../lib/autoconf/lang.m4:330: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/lang.m4:373: AC_LANG_PREPROC_REQUIRE is expanded from...
../../lib/autoconf/lang.m4:382: AC_REQUIRE_CPP is expanded from...
configure.in:15: the top level
ERROR: Function 'do_configure' failed (see /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/temp/log.do_configure.18024 for further information)
autom4te: /home/sailaja/poky/gi
[-- Attachment #3: run.do_configure.18024 --]
[-- Type: application/octet-stream, Size: 12618 bytes --]
#!/bin/sh -e
export localstatedir="/var"
export prefix="/usr"
export STAGING_SIPDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/sip"
export LD="x86_64-poky-linux-ld --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export palmtopdir="/usr/lib/opie"
export RANLIB="x86_64-poky-linux-ranlib"
export CXX="x86_64-poky-linux-g++ -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export servicedir="/srv"
export PKG_CONFIG_DISABLE_UNINSTALLED="yes"
export NM="x86_64-poky-linux-nm"
export USER="sailaja"
export QPEDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export BUILD_CFLAGS="-isystem/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe"
export CPP="x86_64-poky-linux-gcc -E --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export CONFIG_SITE="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/endian-little /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-linux /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common-glibc /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/x86_64-linux /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/site/common /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/eglibc_config /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/zlib_config /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/x86_64-poky-linux_config_site.d/ncurses_config"
export LOGNAME="sailaja"
export STRIP="x86_64-poky-linux-strip"
export datadir="/usr/share"
export PKG_CONFIG_SYSROOT_DIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export bindir="/usr/bin"
export mandir="/usr/share/man"
export PATCH_GET="0"
export LDFLAGS="-Wl,-O1 -lpthread"
export MAKE="make"
export infodir="/usr/share/info"
export PKG_CONFIG_PATH="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay//usr/lib/pkgconfig:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/pkgconfig"
export AS="x86_64-poky-linux-as"
export AR="x86_64-poky-linux-ar"
export exec_prefix="/usr"
export base_libdir="/lib"
export PATH="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-poky-linux:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/bin/crossscripts:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/sbin:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/bin:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/sbin:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux//bin:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/scripts:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/bitbake/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/scripts"
export BUILD_AR="ar"
export libdir="/usr/lib"
export palmqtdir="/usr/lib/opie"
export BUILD_CC="gcc"
export BUILD_CXX="g++"
export BUILD_LDFLAGS="-L/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1"
export BUILD_CCLD="gcc"
export CC="x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export OBJCOPY="x86_64-poky-linux-objcopy"
export LC_ALL="C"
export PKG_CONFIG_DIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay//usr/lib/pkgconfig"
export CCLD="x86_64-poky-linux-gcc -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export base_bindir="/bin"
export PKG_CONFIG_LIBDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay//usr/lib/pkgconfig"
export sbindir="/usr/sbin"
export CFLAGS="-O2 -pipe -g -feliminate-unused-debug-types -DDESTRUCTOR_ATTR_WORKS=1 -I/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/include/et"
export CXXFLAGS="-O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden"
export OPIEDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export BUILD_CPP="cpp"
export docdir="/usr/share/doc"
export TARGET_LDFLAGS="-Wl,-O1"
export TERM="xterm"
export BUILD_CXXFLAGS="-isystem/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -fpermissive"
export HOME="/home/sailaja"
export BATCH="yes"
unset MACHINE
export BUILD_STRIP="strip"
export libexecdir="/usr/libexec"
export TARGET_CXXFLAGS="-O2 -pipe -g -feliminate-unused-debug-types -fpermissive"
export includedir="/usr/include"
export BUILD_LD="ld"
export oldincludedir="/usr/include"
export QMAKE_MKSPEC_PATH="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/qmake"
export BUILD_RANLIB="ranlib"
export sharedstatedir="/com"
export BUILD_NM="nm"
export BUILD_F77="g77"
export F77="x86_64-poky-linux-g77 -m64 --sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay"
export QTDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/qt2"
export SHELLCMDS="bash"
unset TARGET_ARCH
export CCACHE_DIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/ccache/x86_64-poky-linux/krb5"
export sysconfdir="/etc"
export SHELL="/bin/bash"
export base_sbindir="/sbin"
export BUILD_CPPFLAGS="-isystem/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/include"
export USERNAME="sailaja"
export STAGING_IDLDIR="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/idl"
export TARGET_CFLAGS="-O2 -pipe -g -feliminate-unused-debug-types"
export OBJDUMP="x86_64-poky-linux-objdump"
unset DISTRO
do_configure() {
autotools_do_configure
}
autotools_do_configure() {
case krb5 in
autoconf*)
;;
automake*)
;;
*)
# WARNING: gross hack follows:
# An autotools built package generally needs these scripts, however only
# automake or libtoolize actually install the current versions of them.
# This is a problem in builds that do not use libtool or automake, in the case
# where we -need- the latest version of these scripts. e.g. running a build
# for a package whose autotools are old, on an x86_64 machine, which the old
# config.sub does not support. Work around this by installing them manually
# regardless.
( for ac in `find /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/ -name configure.in -o -name configure.ac`; do
rm -f `dirname $ac`/configure
done )
if [ -e /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//configure.in -o -e /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//configure.ac ]; then
olddir=`pwd`
cd /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/
if [ x"default" = xdefault ]; then
acpaths=
for i in `find /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/ -maxdepth 2 -name \*.m4|grep -v 'aclocal.m4'| \
grep -v 'acinclude.m4' | sed -e 's,\(.*/\).*$,\1,'|sort -u`; do
acpaths="$acpaths -I $i"
done
else
acpaths="default"
fi
AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"`
automake --version
echo "AUTOV is $AUTOV"
if [ -d /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-$AUTOV ]; then
acpaths="$acpaths -I/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-$AUTOV"
fi
# The aclocal directory could get modified by other processes
# uninstalling data from the sysroot. See Yocto #861 for details.
# We avoid this by taking a copy here and then files cannot disappear.
if [ -d /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/aclocal ]; then
mkdir -p /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//aclocal-copy/
cp /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/aclocal/* /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//aclocal-copy/
acpaths="$acpaths -I /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//aclocal-copy/"
fi
# autoreconf is too shy to overwrite aclocal.m4 if it doesn't look
# like it was auto-generated. Work around this by blowing it away
# by hand, unless the package specifically asked not to run aclocal.
if ! echo --exclude=autopoint | grep -q "aclocal"; then
rm -f aclocal.m4
fi
if [ -e configure.in ]; then
CONFIGURE_AC=configure.in
else
CONFIGURE_AC=configure.ac
fi
if ! echo --without-tcl krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes ac_cv_file__etc_TIMEZONE=no --with-system-eti with-libtool --enable-nls | grep -q "\-\-disable-nls"; then
if grep "^[[:space:]]*AM_GLIB_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then
if grep "sed.*POTFILES" $CONFIGURE_AC >/dev/null; then
: do nothing -- we still have an old unmodified configure.ac
else
bbnote Executing glib-gettextize --force --copy
echo "no" | glib-gettextize --force --copy
fi
else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then
cp /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay/usr/share/gettext/config.rpath /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//
fi
fi
fi
mkdir -p m4
if grep "^[[:space:]]*[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then
bbnote Executing intltoolize --copy --force --automake
intltoolize --copy --force --automake
fi
bbnote Executing autoreconf --verbose --install --force --exclude=autopoint $acpaths
autoreconf -Wcross --verbose --install --force --exclude=autopoint $acpaths || bbfatal "autoreconf execution failed."
cd $olddir
fi
;;
esac
if [ -e /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//configure ]; then
oe_runconf
else
bbnote "nothing to configure"
fi
}
bbfatal() {
echo "ERROR: $*"
exit 1
}
bbnote() {
echo "NOTE: $*"
}
oe_runconf() {
if [ -x /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//configure ] ; then
cfgcmd="/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//configure \
--build=x86_64-linux --host=x86_64-poky-linux --target=x86_64-poky-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --with-libtool-sysroot=/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/sugarbay --without-tcl krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes ac_cv_file__etc_TIMEZONE=no --with-system-eti with-libtool --enable-nls $@"
bbnote "Running $cfgcmd..."
$cfgcmd || bbfatal "oe_runconf failed"
else
bbfatal "no configure script found"
fi
}
cd /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/
do_configure
[-- Attachment #4: krb5_1.6.3.bb --]
[-- Type: application/octet-stream, Size: 4000 bytes --]
DESCRIPTION = "A network authentication protocol"
HOMEPAGE = "http://web.mit.edu/Kerberos/"
SECTION = "console/network"
PR = "r6"
LICENSE = "MIT"
DEPENDS = "perl-native ncurses util-linux e2fsprogs-native"
LIC_FILES_CHKSUM = "file://util/send-pr/COPYING;md5=000b65ddc97c37adf9de4b9d9a043d38"
inherit autotools binconfig gettext pkgconfig
SRC_URI = "http://web.mit.edu/kerberos/dist/krb5/1.6/krb5-1.6.3-signed.tar \
file://fix-uclibc-ruserpass-collision.patch;apply=no \
file://copyperms.patch;apply=no"
S = "${WORKDIR}/${PN}-${PV}/src/"
export TARGET_LDFLAGS = "-Wl,-O1"
#Will clean this up...
EXTRA_OECONF += " --without-tcl krb5_cv_attr_constructor_destructor=yes ac_cv_func_regcomp=yes \
ac_cv_printf_positional=yes ac_cv_file__etc_environment=yes \
ac_cv_file__etc_TIMEZONE=no --with-system-et \
"
CFLAGS_append += "-DDESTRUCTOR_ATTR_WORKS=1 -I${STAGING_INCDIR}/et"
LDFLAGS_append += "-lpthread"
FILES_${PN}-doc += /usr/share/examples
krb5_do_unpack() {
tar xzf ${WORKDIR}/krb5-1.6.3.tar.gz -C ${WORKDIR}/
patch -d ${S} -p1 < ${WORKDIR}/fix-uclibc-ruserpass-collision.patch
patch -d ${S} -p1 < ${WORKDIR}/copyperms.patch
}
python do_unpack() {
bb.build.exec_func('base_do_unpack', d)
bb.build.exec_func('krb5_do_unpack', d)
}
#do_configure() {
# oe_runconf
#}
do_install_append () {
mv ${D}${bindir}/ftp ${D}${bindir}/ftp.${PN}
mv ${D}${sbindir}/ftpd ${D}${sbindir}/ftpd.${PN}
mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN}
mv ${D}${sbindir}/telnetd ${D}${sbindir}/telnetd.${PN}
}
pkg_postinst_${PN} () {
#!/bin/sh
update-alternatives --install ${bindir}/ftp ftp ftp.${PN} 100
update-alternatives --install ${sbindir}/ftpd ftpd ftpd.${PN} 100
update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100
update-alternatives --install ${sbindir}/telnetd telnetd telnetd.${PN} 100
}
pkg_prerm_${PN} () {
#!/bin/sh
update-alternatives --remove ftp ftp.${PN} 100
update-alternatives --remove ftpd ftpd.${PN} 100
update-alternatives --remove telnet telnet.${PN} 100
update-alternatives --remove telnetd telnetd.${PN} 100
}
do_insatll() {
oe_libinstall -so -C util/support libkrb5support ${STAGING_LIBDIR}
oe_libinstall -so -C util/et libcom_err ${STAGING_LIBDIR}
oe_libinstall -so -C lib/crypto libk5crypto ${STAGING_LIBDIR}
oe_libinstall -so -C lib/krb5 libkrb5 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/des425 libdes425 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/krb4 libkrb4 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/gssapi libgssapi_krb5 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/rpc libgssrpc ${STAGING_LIBDIR}
oe_libinstall -so -C lib/kdb libkdb5 ${STAGING_LIBDIR}
oe_libinstall -so -C lib/kadm5/clnt libkadm5clnt ${STAGING_LIBDIR}
oe_libinstall -so -C lib/kadm5/srv libkadm5srv ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}/krb5
for X in krb5.h locate_plugin.h
do
install -m 0644 ${S}/include/krb5/$X ${STAGING_INCDIR}/krb5/$X
done
install -d ${STAGING_INCDIR}/gssapi
for X in gssapi_generic.h gssapi.h gssapi_krb5.h
do
install -m 0644 ${S}/include/gssapi/$X ${STAGING_INCDIR}/gssapi/$X
done
install -m 0644 ${S}/lib/gssapi/mechglue/mechglue.h ${STAGING_INCDIR}/gssapi/mechglue.h
install -d ${STAGING_INCDIR}/kerberosIV
for X in krb.h des.h mit-copyright.h krb_err.h kadm_err.h
do
install -m 0644 ${S}/include/kerberosIV/$X ${STAGING_INCDIR}/kerberosIV/$X
done
install -d ${STAGING_INCDIR}/gssrpc
for X in auth.h auth_gss.h auth_gssapi.h auth_unix.h clnt.h netdb.h pmap_clnt.h pmap_prot.h pmap_rmt.h rename.h rpc.h rpc_msg.h svc.h svc_auth.h xdr.h types.h
do
install -m 0644 ${S}/include/gssrpc/$X ${STAGING_INCDIR}/gssrpc/$X
done
# com_err.h needs to be added here if you choose to use this builtin
for X in krb5.h profile.h gssapi.h
do
install -m 0644 ${S}/include/$X ${STAGING_INCDIR}/$X
done
}
SRC_URI[md5sum] = "2dc1307686eb1c2bf1ab08ea805dad46"
SRC_URI[sha256sum] = "7a1bd7d4bd326828c8ee382ed2b69ccd6c58762601df897d6a32169d84583d2a"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Configuration error while pulling krb5 package
2011-08-26 7:46 Configuration error while pulling krb5 package v sailaja
@ 2011-08-26 18:52 ` Saul Wold
0 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-08-26 18:52 UTC (permalink / raw)
To: v sailaja; +Cc: poky
On 08/26/2011 12:46 AM, v sailaja wrote:
> Hi,
>
> I am pulling krb5 package from openembedded to poky.
> I am building the poky source on "remotes/origin/1.1_M3" branch for
> "sugarbay" machine.
>
> I am facing an error in configuration.
>
It might be helpful to also get your config.log from with in the
krb5-1.6.3-r6 directory.
Thanks
Sau!
>
>
> -------------
>
> ERROR: Function 'do_configure' failed (see
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/temp/log.do_configure.6813
> for further information)
> ERROR: Logfile of failure stored in:
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/temp/log.do_configure.6813
> Log data follows:
> | automake (GNU automake) 1.11.1
> | Copyright (C) 2009 Free Software Foundation, Inc.
> | License GPLv2+: GNU GPL version 2 or later
> <http://gnu.org/licenses/gpl-2.0.html>
> | This is free software: you are free to change and redistribute it.
> | There is NO WARRANTY, to the extent permitted by law.
> |
> | Written by Tom Tromey <tromey@redhat.com <mailto:tromey@redhat.com>>
> | and Alexandre Duret-Lutz <adl@gnu.org <mailto:adl@gnu.org>>.
> | AUTOV is 1.11
> | NOTE: Executing autoreconf --verbose --install --force
> --exclude=autopoint -I
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/util/
> -I/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11
> -I
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//aclocal-copy/
> | autoreconf: Entering directory `.'
> | autoreconf: configure.in <http://configure.in>: not using Gettext
> | autoreconf: running: aclocal -I
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/util/
> -I
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11
> -I
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//aclocal-copy/
> -I
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src/util/
> -I
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11
> -I
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/krb5-1.6.3/src//aclocal-copy/
> --force --warnings=cross
> | aclocal: unknown warning category `cross'
> | configure.in:15 <http://configure.in:15>: */error: AC_LANG_COMPILER:
> unknown language: _AC_LANG/*
> | ../../lib/autoconf/lang.m4:330: AC_LANG_COMPILER_REQUIRE is expanded
> from...
> | ../../lib/autoconf/lang.m4:373: AC_LANG_PREPROC_REQUIRE is expanded
> from...
> | ../../lib/autoconf/lang.m4:382: AC_REQUIRE_CPP is expanded from...
> | configure.in:15 <http://configure.in:15>: the top level
> | autom4te:
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/bin/m4
> failed with exit status: 1
> | aclocal:
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/sysroots/x86_64-linux/usr/bin/autom4te
> failed with exit status: 1
> | autoreconf: aclocal failed with exit status: 1
> | ERROR: autoreconf execution failed.
> | ERROR: Function 'do_configure' failed (see
> /home/sailaja/poky/gigabyte/yocto-sugarbay/poky/build/tmp/work/x86_64-poky-linux/krb5-1.6.3-r6/temp/log.do_configure.6813
> for further information)
> NOTE: package krb5-1.6.3-r6: task do_configure: Failed
> ERROR: Task 863
> (/home/sailaja/poky/gigabyte/yocto-sugarbay/poky/meta/recipes-support/krb/krb5_1.6.3.bb
> <http://krb5_1.6.3.bb>, do_configure) failed with exit code '1'
>
>
>
>
> I am sending the /krb5_1.6.3.bb <http://krb5_1.6.3.bb/> ,
> log.do_configure /and/ run.do_configure files./
> Please find the attached files.
>
> Can anyone please tell me how to track this error and what is the reason
> for this error??
>
>
> --
> Thanks & Regards,
> SAI
>
>
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-26 18:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-26 7:46 Configuration error while pulling krb5 package v sailaja
2011-08-26 18:52 ` Saul Wold
-- strict thread matches above, loose matches on Subject: below --
2011-08-24 11:52 v sailaja
2011-08-25 9:46 ` v sailaja
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.