Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
builds fail after moving system to new drive
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
deathraccoon
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2015
Posts: 90

PostPosted: Wed Oct 07, 2015 8:32 pm    Post subject: builds fail after moving system to new drive Reply with quote

I recently moved my system to a new SSD. the drive booted and things looked good, until I tried to build a package, any package. it seems all of my packages are failing at the configure stage? any ideas?

Code:
ERROR: sys-process/htop-1.0.3::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line   93:  Called src_configure
 *             environment, line 4369:  Called autotools-utils_src_configure
 *             environment, line  737:  Called econf '--docdir=/usr/share/doc/htop-1.0.3' '--disable-openvz' '--enable-cgroup' '--disable-vserver' '--enable-unicode' '--disable-oom' '--enable-taskstats'
 *        phase-helpers.sh, line  662:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=sys-process/htop-1.0.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-process/htop-1.0.3::gentoo'`.
 * The complete build log is located at '/var/log/portage/sys-process:htop-1.0.3:20151007-202612.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-process/htop-1.0.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-process/htop-1.0.3/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-process/htop-1.0.3/work/htop-1.0.3'
 * S: '/var/tmp/portage/sys-process/htop-1.0.3/work/htop-1.0.3'


Code:
cat /var/tmp/portage/sys-process/htop-1.0.3/work/htop-1.0.3/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by htop configure 1.0.3, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ /var/tmp/portage/sys-process/htop-1.0.3/work/htop-1.0.3/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --docdir=/usr/share/doc/htop-1.0.3 --disable-openvz --enable-cgroup --disable-vserver --enable-unicode --disable-oom --enable-taskstats

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

hostname = syd
uname -m = x86_64
uname -r = 4.2.3
uname -s = Linux
uname -v = #1 SMP Wed Oct 7 03:40:00 EDT 2015

/usr/bin/uname -p = AMD Phenom(tm) II X6 1100T Processor
/bin/uname -X     = unknown

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

PATH: /var/tmp/portage/sys-process/htop-1.0.3/temp/python2.7/bin
PATH: /usr/lib/portage/python3.4/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.8.5
PATH: /opt/nvidia-cg-toolkit/bin


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

configure:2359: checking for x86_64-pc-linux-gnu-gcc
configure:2375: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:2386: result: x86_64-pc-linux-gnu-gcc
configure:2655: checking for C compiler version
configure:2664: x86_64-pc-linux-gnu-gcc --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo 4.8.5 p1.3, pie-0.6.2) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2675: $? = 0
configure:2664: x86_64-pc-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.5/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.5/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.8.5/work/gcc-4.8.5/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.5 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.5 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.5/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.5/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.5/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.5/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.8.5 p1.3, pie-0.6.2' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --enable-lto --without-cloog --enable-libsanitizer
Thread model: posix
gcc version 4.8.5 (Gentoo 4.8.5 p1.3, pie-0.6.2)
configure:2675: $? = 0
configure:2664: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:2675: $? = 1
configure:2664: x86_64-pc-linux-gnu-gcc -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:2675: $? = 1
configure:2695: checking whether the C compiler works
configure:2717: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:2721: $? = 0
configure:2769: result: yes
configure:2772: checking for C compiler default output file name
configure:2774: result: a.out
configure:2780: checking for suffix of executables
configure:2787: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:2791: $? = 0
configure:2813: result:
configure:2835: checking whether we are cross compiling
configure:2843: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
In file included from /usr/include/stdio.h:27:0,
                 from conftest.c:9:
/usr/include/features.h:366:25: fatal error: sys/cdefs.h: No such file or directory
 #  include <sys/cdefs.h>
                         ^
compilation terminated.
configure:2847: $? = 1
configure:2854: ./conftest
/var/tmp/portage/sys-process/htop-1.0.3/work/htop-1.0.3/configure: line 2856: ./conftest: No such file or directory
configure:2858: $? = 127
configure:2865: error: in `/var/tmp/portage/sys-process/htop-1.0.3/work/htop-1.0.3':
configure:2867: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

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

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=native -O2 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_NCURSES_CFLAGS_set=
ac_cv_env_NCURSES_CFLAGS_value=
ac_cv_env_NCURSES_LIBS_set=
ac_cv_env_NCURSES_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/var/tmp/portage/sys-process/htop-1.0.3/temp/python2.7/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc

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

ACLOCAL=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR=''
AM_BACKSLASH=''
AM_DEFAULT_V=''
AM_DEFAULT_VERBOSITY=''
AM_V=''
AR=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
CC='x86_64-pc-linux-gnu-gcc'
CCDEPMODE=''
CFLAGS='-march=native -O2 -pipe'
CPP=''
CPPFLAGS=''
CYGPATH_W=''
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_STRIP_PROGRAM=''
LD=''
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO=''
MANIFEST_TOOL=''
MKDIR_P=''
NCURSES_CFLAGS=''
NCURSES_LIBS=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE=''
PACKAGE_BUGREPORT='hisham@gobolinux.org'
PACKAGE_NAME='htop'
PACKAGE_STRING='htop 1.0.3'
PACKAGE_TARNAME='htop'
PACKAGE_URL=''
PACKAGE_VERSION='1.0.3'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/var/tmp/portage/sys-process/htop-1.0.3/temp/python2.7/pkgconfig'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot=''
am__nodep=''
am__quote=''
am__tar=''
am__untar=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='/usr/share/doc/htop-1.0.3'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh=''
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target=''
target_alias=''
target_cpu=''
target_os=''
target_vendor=''

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

/* confdefs.h */
#define PACKAGE_NAME "htop"
#define PACKAGE_TARNAME "htop"
#define PACKAGE_VERSION "1.0.3"
#define PACKAGE_STRING "htop 1.0.3"
#define PACKAGE_BUGREPORT "hisham@gobolinux.org"
#define PACKAGE_URL ""

configure: exit 1
procyon@syd / $
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Wed Oct 07, 2015 9:47 pm    Post subject: Reply with quote

Quote:

/usr/bin/uname -p = AMD Phenom(tm) II X6 1100T Processor
/bin/uname -X = unknown

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


It seems you either missed something when you was adjusting the configs to use the new drive or or forgot something major as the system is not seeing your system. I'd take a look at either your /dev or /proc directory and your mounts in general.
Back to top
View user's profile Send private message
deathraccoon
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2015
Posts: 90

PostPosted: Thu Oct 08, 2015 5:14 am    Post subject: Reply with quote

odd to note that once in the past, this happened following the use of rsync to migrate the system to a new drive. /prc /sys /dev mountpoints are all there and populated at boot. I didn't touch my cflags, or /etc/portage at all for that matter. it was a straightforward back-up/restore but something got lost in the translation.

I have no idea why this happened.. twice.

and to be thorough, no packages would compile, but I thought to spare you all of the examples. I am lost for a clue about this. I even tried changing my gcc profile. the system works fine, just won't build software.
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