Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble installing sys-libs/tdb-1.2.9
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
aethelwyrd
n00b
n00b


Joined: 16 Apr 2012
Posts: 2
Location: Reno. NV

PostPosted: Mon Apr 16, 2012 2:00 pm    Post subject: Trouble installing sys-libs/tdb-1.2.9 Reply with quote

Trying to get Samaba install, but tdb keeps failing the compile phase.

Error:
Code:
"/var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9/buildtools/bin/waf" build 3
 error: No such command '3'
 * ERROR: sys-libs/tdb-1.2.9 failed (compile phase):
 *   build failed
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 4564:  Called waf-utils_src_compile
 *   environment, line 5044:  Called die
 * The specific snippet of code:
 *       "${WAF_BINARY}" ${jobs} || die "build failed"
 *
 * If you need support, post the output of 'emerge --info =sys-libs/tdb-1.2.9',
 * the complete build log and the output of 'emerge -pqv =sys-libs/tdb-1.2.9'.
 * The complete build log is located at '/var/tmp/portage/sys-libs/tdb-1.2.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/tdb-1.2.9/temp/environment'.
 * S: '/var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9'

>>> Failed to emerge sys-libs/tdb-1.2.9, Log file:

>>>  '/var/tmp/portage/sys-libs/tdb-1.2.9/temp/build.log'

 * Messages for package sys-libs/tdb-1.2.9:

 * ERROR: sys-libs/tdb-1.2.9 failed (compile phase):
 *   build failed
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 4564:  Called waf-utils_src_compile
 *   environment, line 5044:  Called die
 * The specific snippet of code:
 *       "${WAF_BINARY}" ${jobs} || die "build failed"
 *
 * If you need support, post the output of 'emerge --info =sys-libs/tdb-1.2.9',
 * the complete build log and the output of 'emerge -pqv =sys-libs/tdb-1.2.9'.
 * The complete build log is located at '/var/tmp/portage/sys-libs/tdb-1.2.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/tdb-1.2.9/temp/environment'.
 * S: '/var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9'


Output of emerge --info =sys-libs/tdb-1.2.7-r1
Code:

Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.2.12-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-AMD_Phenom-tm-_II_X2_565_Processor-with-gentoo-2.0.3
Timestamp of tree: Mon, 16 Apr 2012 04:45:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ rsync://mirror.mcs.anl.gov/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync24.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif git gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support qt4 readline sdl session socialweb spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Build Log
Code:
>>> Unpacking source...
>>> Unpacking tdb-1.2.9.tar.gz to /var/tmp/portage/sys-libs/tdb-1.2.9/work
>>> Source unpacked in /var/tmp/portage/sys-libs/tdb-1.2.9/work
>>> Preparing source in /var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9 ...
CCFLAGS="-march=native -O2 -pipe" LINKFLAGS="-Wl,-O1 -Wl,--as-needed" "/var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9/buildtools/bin/waf" --prefix=/usr --libdir=/usr/lib64 --disable-python configure
Checking for program gcc or cc           : x86_64-pc-linux-gnu-gcc
Checking for program ar                  : x86_64-pc-linux-gnu-ar
Checking for program ranlib              : x86_64-pc-linux-gnu-ranlib
Checking for gcc                         : ok 
Checking for program git                 : /usr/bin/git
Check for -MD                            : yes
Checking for program gdb                 : not found
Checking build system                    : Linux hal 3.2.12-gentoo #1 SMP Sun Apr 15 19:27:07 Local time zone must be set--see zic  x86_64 AMD Phenom(tm) II X2 565 Processor AuthenticAMD GNU/Linux
Checking for header sys/utsname.h        : yes
Checking uname sysname type              : Linux
Checking uname machine type              : x86_64
Checking uname release type              : 3.2.12-gentoo
Checking uname version type              : #1 SMP Sun Apr 15 19:27:07 Local time zone must be set--see zic 
Checking for header stdio.h              : yes
Checking simple C program                : ok 
Checking for building library support    : ok 
Checking for rpath library support       : ok 
Checking for -Wl,--version-script support  : ok 
Checking compiler accepts -fPIC            : yes
Checking for inline                        : inline
Checking for pkg-config version >= 0.0.0   : yes
Checking for header sys/types.h            : yes
Checking for header sys/stat.h             : yes
Checking for header stdlib.h               : yes
Checking for header stddef.h               : yes
Checking for header memory.h               : yes
Checking for header string.h               : yes
Checking for header strings.h              : yes
Checking for header inttypes.h             : yes
Checking for header stdint.h               : yes
Checking for header unistd.h               : yes
Checking for header minix/config.h         : no
Checking for header ctype.h                : yes
Checking for header standards.h            : no
Checking for header stdbool.h              : yes
Checking for header stdarg.h               : yes
Checking for header vararg.h               : no
Checking for header limits.h               : yes
Checking for header assert.h               : yes
Checking for large file support            : ok 
Checking for header sys/time.h             : yes
Checking for header time.h                 : yes
Checking for WORDS_BIGENDIAN               : not found
Checking for header signal.h               : yes
Checking if signal handlers return int     : not found
Checking for variable __FUNCTION__         : ok 
Checking for va_copy                       : ok 
Checking for HAVE__VA_ARGS__MACRO          : ok 
Checking for header crypt.h                : yes
Checking for header locale.h               : yes
Checking for header acl/libacl.h           : yes
Checking for header compat.h               : no
Checking for header attr/xattr.h           : yes
Checking for header dustat.h               : no
Checking for header fcntl.h                : yes
Checking for header fnmatch.h              : yes
Checking for header glob.h                 : yes
Checking for header history.h              : no
Checking for header krb5.h                 : no
Checking for header langinfo.h             : yes
Checking for header libaio.h               : no
Checking for header ndir.h                 : no
Checking for header pwd.h                  : yes
Checking for header shadow.h               : yes
Checking for header sys/acl.h              : yes
Checking for header sys/attributes.h       : no
Checking for header sys/capability.h       : yes
Checking for header sys/dir.h              : yes
Checking for header sys/epoll.h            : yes
Checking for header sys/fcntl.h            : yes
Checking for header sys/filio.h            : no
Checking for header sys/filsys.h           : no
Checking for header sys/fs/s5param.h       : no
Checking for header sys/fs/vx/quota.h      : no
Checking for header sys/id.h               : no
Checking for header sys/ioctl.h            : yes
Checking for header sys/ipc.h              : yes
Checking for header sys/mman.h             : yes
Checking for header sys/mode.h             : no
Checking for header sys/ndir.h             : no
Checking for header sys/priv.h             : no
Checking for header sys/resource.h         : yes
Checking for header sys/security.h         : no
Checking for header sys/shm.h              : yes
Checking for header sys/statfs.h           : yes
Checking for header sys/statvfs.h          : yes
Checking for header sys/termio.h           : no
Checking for header sys/vfs.h              : yes
Checking for header sys/xattr.h            : yes
Checking for header termio.h               : yes
Checking for header termios.h              : yes
Checking for header sys/file.h             : yes
Checking for header sys/wait.h             : yes
Checking for header malloc.h               : yes
Checking for header grp.h                  : yes
Checking for header sys/select.h           : yes
Checking for header setjmp.h               : yes
Checking for header utime.h                : yes
Checking for header sys/syslog.h           : yes
Checking for header syslog.h               : yes
Checking for header sys/mount.h            : yes
Checking for header mntent.h               : yes
Checking for header stropts.h              : yes
Checking for header unix.h                 : no
Checking for header sys/param.h            : yes
Checking for header sys/socket.h           : yes
Checking for header netinet/in.h           : yes
Checking for header netdb.h                : yes
Checking for header arpa/inet.h            : yes
Checking for header netinet/in_systm.h     : yes
Checking for header netinet/ip.h           : yes
Checking for header netinet/tcp.h          : yes
Checking for header netinet/in_ip.h        : no
Checking for header sys/sockio.h           : no
Checking for header sys/un.h               : yes
Checking for header sys/uio.h              : yes
Checking for header ifaddrs.h              : yes
Checking for header direct.h               : no
Checking for header dirent.h               : yes
Checking for header windows.h              : no
Checking for header winsock2.h             : no
Checking for header ws2tcpip.h             : no
Checking for header libintl.h              : yes
Checking for header errno.h                : yes
Checking for header gcrypt.h               : yes
Checking for header getopt.h               : yes
Checking for header iconv.h                : yes
Checking for header sys/inotify.h          : yes
Checking for header nss.h                  : yes
Checking for header sasl/sasl.h            : no
Checking for header security/pam_appl.h    : yes
Checking for header zlib.h                 : yes
Checking for header asm/unistd.h           : yes
Checking for header aio.h                  : yes
Checking for header sys/unistd.h           : yes
Checking for header rpc/rpc.h              : yes
Checking for header rpc/nettype.h          : no
Checking for header alloca.h               : yes
Checking for header float.h                : yes
Checking for header rpcsvc/nis.h           : yes
Checking for header rpcsvc/ypclnt.h        : yes
Checking for header sys/prctl.h            : yes
Checking for header sys/sysctl.h           : yes
Checking for header sys/fileio.h           : no
Checking for header sys/filesys.h          : no
Checking for header sys/dustat.h           : no
Checking for header sys/sysmacros.h        : yes
Checking for header xfs/libxfs.h           : no
Checking for header netgroup.h             : no
Checking for header rpcsvc/yp_prot.h       : yes
Checking for header valgrind.h             : no
Checking for header valgrind/valgrind.h    : no
Checking for header valgrind/memcheck.h    : no
Checking for header nss_common.h           : no
Checking for header nsswitch.h             : no
Checking for header ns_api.h               : no
Checking for header sys/extattr.h          : no
Checking for header sys/ea.h               : no
Checking for header sys/proplist.h         : no
Checking for header sys/cdefs.h            : yes
Checking for header utmp.h                 : yes
Checking for header utmpx.h                : yes
Checking for header lastlog.h              : yes
Checking for header syscall.h              : yes
Checking for header sys/syscall.h          : yes
Checking for long long                     : ok 
Checking for intptr_t                      : ok 
Checking for uintptr_t                     : ok 
Checking for ptrdiff_t                     : ok 
Checking for comparison_fn_t               : ok 
Checking for _Bool                         : ok 
Checking for bool                          : ok 
Checking for int8_t                        : ok 
Checking for uint8_t                       : ok 
Checking for int16_t                       : ok 
Checking for uint16_t                      : ok 
Checking for int32_t                       : ok 
Checking for uint32_t                      : ok 
Checking for int64_t                       : ok 
Checking for uint64_t                      : ok 
Checking for size_t                        : ok 
Checking for ssize_t                       : ok 
Checking for ino_t                         : ok 
Checking for loff_t                        : ok 
Checking for offset_t                      : not found
Checking for volatile int                  : ok 
Checking for uint_t                        : not found
Checking size of bool                      : 1
Checking size of char                      : 1
Checking size of int                       : 4
Checking size of long long                 : 8
Checking size of long                      : 8
Checking size of short                     : 2
Checking size of size_t                    : 8
Checking size of ssize_t                   : 8
Checking size of int8_t                    : 1
Checking size of uint8_t                   : 1
Checking size of int16_t                   : 2
Checking size of uint16_t                  : 2
Checking size of int32_t                   : 4
Checking size of uint32_t                  : 4
Checking size of int64_t                   : 8
Checking size of uint64_t                  : 8
Checking size of void*                     : 8
Checking size of off_t                     : 8
Checking size of dev_t                     : 8
Checking size of ino_t                     : 8
Checking size of time_t                    : 8
Checking for socklen_t                     : ok 
Checking for struct ifaddrs                : ok 
Checking for struct addrinfo               : ok 
Checking for struct sockaddr               : ok 
Checking for HAVE_STRUCT_SOCKADDR_IN6      : ok 
Checking for struct sockaddr_storage       : ok 
Checking for sa_family_t                   : ok 
Checking for sig_atomic_t                  : ok 
Checking for inet_ntoa                     : ok 
Checking for inet_aton                     : ok 
Checking for inet_ntop                     : ok 
Checking for inet_pton                     : ok 
Checking for connect                       : ok 
Checking for gethostbyname                 : ok 
Checking for getaddrinfo                   : ok 
Checking for getnameinfo                   : ok 
Checking for freeaddrinfo                  : ok 
Checking for gai_strerror                  : ok 
Checking for socketpair                    : ok 
Checking for variable IPV6_V6ONLY          : ok 
Checking for HAVE_IPV6                     : ok 
Checking for strdup                        : ok 
Checking for memmem                        : ok 
Checking for printf                        : ok 
Checking for memset                        : ok 
Checking for memcpy                        : ok 
Checking for memmove                       : ok 
Checking for strcpy                        : ok 
Checking for strncpy                       : ok 
Checking for bzero                         : ok 
Checking for shl_load                      : not found
Checking for shl_unload                    : not found
Checking for shl_findsym                   : not found
Checking for pipe                          : ok 
Checking for strftime                      : ok 
Checking for srandom                       : ok 
Checking for random                        : ok 
Checking for srand                         : ok 
Checking for rand                          : ok 
Checking for usleep                        : ok 
Checking for setbuffer                     : ok 
Checking for lstat                         : ok 
Checking for getpgrp                       : ok 
Checking for utime                         : ok 
Checking for utimes                        : ok 
Checking for seteuid                       : ok 
Checking for setresuid                     : ok 
Checking for setegid                       : ok 
Checking for setresgid                     : ok 
Checking for chroot                        : ok 
Checking for strerror                      : ok 
Checking for vsyslog                       : ok 
Checking for setlinebuf                    : ok 
Checking for mktime                        : ok 
Checking for ftruncate                     : ok 
Checking for chsize                        : not found
Checking for rename                        : ok 
Checking for waitpid                       : ok 
Checking for wait4                         : ok 
Checking for strlcpy                       : not found
Checking for strlcat                       : not found
Checking for initgroups                    : ok 
Checking for pread                         : ok 
Checking for pwrite                        : ok 
Checking for strndup                       : ok 
Checking for strcasestr                    : ok 
Checking for strtok_r                      : ok 
Checking for mkdtemp                       : ok 
Checking for dup2                          : ok 
Checking for dprintf                       : ok 
Checking for vdprintf                      : ok 
Checking for isatty                        : ok 
Checking for chown                         : ok 
Checking for lchown                        : ok 
Checking for link                          : ok 
Checking for readlink                      : ok 
Checking for symlink                       : ok 
Checking for realpath                      : ok 
Checking for snprintf                      : ok 
Checking for vsnprintf                     : ok 
Checking for asprintf                      : ok 
Checking for vasprintf                     : ok 
Checking for setenv                        : ok 
Checking for unsetenv                      : ok 
Checking for strnlen                       : ok 
Checking for strtoull                      : ok 
Checking for __strtoull                    : not found
Checking for strtouq                       : ok 
Checking for strtoll                       : ok 
Checking for __strtoll                     : not found
Checking for strtoq                        : ok 
Checking correct behavior of strtoll       : not found
Checking for if_nametoindex                : ok 
Checking for strerror_r                    : ok 
Checking for getdirentries                 : ok 
Checking for getdents                      : not found
Checking for syslog                        : ok 
Checking for gai_strerror                  : ok 
Checking for get_current_dir_name          : ok 
Checking for timegm                        : ok 
Checking for getifaddrs                    : ok 
Checking for freeifaddrs                   : ok 
Checking for mmap                          : ok 
Checking for setgroups                     : ok 
Checking for setsid                        : ok 
Checking for getgrent_r                    : ok 
Checking for getgrgid_r                    : ok 
Checking for getgrnam_r                    : ok 
Checking for getgrouplist                  : ok 
Checking for getpagesize                   : ok 
Checking for getpwent_r                    : ok 
Checking for getpwnam_r                    : ok 
Checking for getpwuid_r                    : ok 
Checking for epoll_create                  : ok 
Checking for dlopen                        : not found
Checking for dlsym                         : not found
Checking for dlerror                       : not found
Checking for dlclose                       : not found
Checking for library dl                    : yes
Checking for dlopen                        : ok 
Checking for dlsym                         : ok 
Checking for dlerror                       : ok 
Checking for dlclose                       : ok 
Checking for declaration of dlopen         : ok 
Checking C prototype for dlopen            : not found
Checking for fdatasync                     : ok 
Checking for declaration of fdatasync      : ok 
Checking for clock_gettime                 : not found
Checking for library rt                    : yes
Checking for clock_gettime                 : ok 
Checking for header net/if.h               : yes
Checking for header arpa/nameser.h         : yes
Checking for header resolv.h               : yes
Checking for res_search                    : not found
Checking for library resolv                : yes
Checking for res_search                    : ok 
Checking for gettext                       : ok 
Checking for library intl                  : not found
Checking for dgettext                      : ok 
Checking for pthread_create                : not found
Checking for library pthread               : yes
Checking for pthread_create                : ok 
Checking for crypt                         : not found
Checking for library crypt                 : yes
Checking for crypt                         : ok 
Checking for header readline.h             : no
Checking for header readline/readline.h    : yes
Checking for header readline/history.h     : yes
Checking for variable rl_event_hook        : ok 
Checking for declaration of snprintf       : ok 
Checking for declaration of vsnprintf      : ok 
Checking for declaration of asprintf       : ok 
Checking for declaration of vasprintf      : ok 
Checking for declaration of errno          : ok 
Checking for declaration of environ        : ok 
Checking for declaration of getgrent_r     : ok 
Checking for declaration of getpwent_r     : ok 
Checking for declaration of pread          : ok 
Checking for declaration of pwrite         : ok 
Checking for declaration of setenv         : ok 
Checking for declaration of setresgid      : ok 
Checking for declaration of setresuid      : ok 
Checking for working strptime              : ok 
Checking correct behavior of strptime      : not found
Checking for HAVE_GETTIMEOFDAY_TZ          : ok 
Checking for C99 vsnprintf                 : ok 
Checking for HAVE_IMMEDIATE_STRUCTURES     : ok 
Checking for HAVE_MKDIR_MODE               : ok 
Checking for member st_mtim.tv_nsec in struct stat : ok 
Checking for member st_rdev in struct stat         : ok 
Checking for member st_rdev in struct stat         : ok 
Checking for member ss_family in struct sockaddr_storage : ok 
Checking for member __ss_family in struct sockaddr_storage : not found
Checking for member sa_len in struct sockaddr              : not found
Checking for member sin_len in struct sockaddr_in          : not found
Checking for HAVE_UNIXSOCKET                               : ok 
Checking for HAVE_SECURE_MKSTEMP                           : ok 
Checking compiler accepts -fvisibility=hidden              : yes
Checking for HAVE_VISIBILITY_ATTR                          : ok 
Checking for HAVE_IFACE_GETIFADDRS                         : ok 
Checking for getpass                                       : ok 
Checking for getpassphrase                                 : not found
Checking for REPLACE_GETPASS                               : ok 
Checking for getpwnam_r                                    : ok 
Checking for getpwuid_r                                    : ok 
Checking for getpwent_r                                    : ok 
Checking for declaration of getpwent_r                     : ok 
Checking C prototype for getpwent_r                        : not found
Checking for declaration of getgrent_r                     : ok 
Checking C prototype for getgrent_r                        : not found
Checking C prototype for getpwent_r                        : not found
Checking C prototype for getgrent_r                        : not found
Checking for getgrouplist                                  : ok 
Checking for program xsltproc                              : /usr/bin/xsltproc
Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : ok
'configure' finished successfully (16.894s)
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9 ...
"/var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9/buildtools/bin/waf" build 3
 error: No such command '3'
 * ERROR: sys-libs/tdb-1.2.9 failed (compile phase):
 *   build failed
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 4565:  Called waf-utils_src_compile
 *   environment, line 5045:  Called die
 * The specific snippet of code:
 *       "${WAF_BINARY}" ${jobs} || die "build failed"
 *
 * If you need support, post the output of 'emerge --info =sys-libs/tdb-1.2.9',
 * the complete build log and the output of 'emerge -pqv =sys-libs/tdb-1.2.9'.
 * The complete build log is located at '/var/tmp/portage/sys-libs/tdb-1.2.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/tdb-1.2.9/temp/environment'.
 * S: '/var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9'
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9131

PostPosted: Mon Apr 16, 2012 10:32 pm    Post subject: Reply with quote

This is an unfortunate side effect of using build systems that do not understand the full range of GNU make options. It looks like the sed in /usr/portage/eclass/waf-utils.eclass mangled your $MAKEOPTS in a way that waf then tried to interpret it as a build target, rather than a build option. However, I do not see why it mishandled this case. Using the sed expression currently in my copy of the eclass, it works:
Code:
$ echo -j1 -j3 | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/--jobs=\2/"
--jobs=3


Edit: sync and try again. The waf eclass in the tree was temporarily broken, but I happened to consult a non-broken version. According to waf-utils.eclass is missing -j on jobs variable, comment #2, this break was introduced by vapier@g.o in http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/waf-utils.eclass?r1=1.7&r2=1.8.
Back to top
View user's profile Send private message
aethelwyrd
n00b
n00b


Joined: 16 Apr 2012
Posts: 2
Location: Reno. NV

PostPosted: Tue Apr 17, 2012 12:42 am    Post subject: Reply with quote

That worked :)
Thank you very much.
Back to top
View user's profile Send private message
dnebing
n00b
n00b


Joined: 17 Apr 2012
Posts: 1

PostPosted: Tue Apr 17, 2012 1:54 pm    Post subject: Doesn't always work... Reply with quote

So I too have problems w/ WAF and tdb, but not along the same lines...

I've got a nice little network running where I'm running distcc across all nodes. Therefore, my MAKEOPTS is -j9.

Unfortunately this throws WAF for a loop; I get a number of errors similar to:

Code:
[Errno 2] No such file or directory: '/var/tmp/portage/sys-libs/tdb-1.2.9/work/tdb-1.2.9/bin/default/lib/replace/getpass_2.d'


Fortunately this is resolved by editing /etc/make.conf, disabling the -j9 for the make opts, emerge tdb, restore the -j9 post-build (so other builds don't crawl).

Please if someone from GENTOO is listening, please create a separate (optional) thing in /etc/make.conf named WAFOPTS or something. If it has a value, then use it, if not then fall back to the MAKEOPTS handling...

BTW, this 'bug' also stopped my build of sys-libs/talloc-2.0.[5,7] for the same reason; same solution worked.
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9131

PostPosted: Wed Apr 18, 2012 1:19 am    Post subject: Reply with quote

That sounds like a generic problem with using waf and distcc together. Can you reproduce the problem with -j1 if you set distcc such that nothing is compiled locally?
Back to top
View user's profile Send private message
mocsokmike
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 80
Location: Budapest, Hungary

PostPosted: Fri Aug 10, 2012 7:02 pm    Post subject: Reply with quote

I had the same problem with tdb-1.2.9 and talloc-2.0.7.
Commenting out the MAKEOPTS line in my make.conf I was finally able to compile them.

To experiment, I did what Hu asked, set MAKEOPTS="-j1" and removed localhost from the distcc hosts file.
They compiled properly this way, too.
_________________
format c:
emerge system
Back to top
View user's profile Send private message
alexdu
n00b
n00b


Joined: 25 Oct 2005
Posts: 38
Location: Moscow, Russia

PostPosted: Sun Sep 22, 2013 3:35 pm    Post subject: Reply with quote

I had the same problem with talloc-2.0.8,
Code:
MAKEOPTS="-j1" emerge talloc
solved it.
I have not distcc neither waf installed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

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