configure: checking setreuid...
configure: checking seteuid...
configure: checking select...
configure: checking fifos...
checking usable fifos... configure: error: in `/build/x86-mario/tmp/portage/app-misc/screen-4.0.3-r4/work/screen-4.0.3':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
!!! Please attach the following file when seeking support:
!!! /build/x86-mario/tmp/portage/app-misc/screen-4.0.3-r4/work/screen-4.0.3/config.log
* ERROR: app-misc/screen-4.0.3-r4 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 56: Called src_configure
* environment, line 3468: Called econf '--with-socket-dir=/tmp/screen' '--with-sys-screenrc=/usr/local/etc/screenrc' '--with-pty-mode=0620' '--with-pty-group=5' '--enable-rxvt_osc' '--enable-telnet' '--enable-colors256' '--disable-pam'
* ebuild.sh, line 561: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =app-misc/screen-4.0.3-r4',
* the complete build log and the output of 'emerge -pqv =app-misc/screen-4.0.3-r4'.
* This ebuild is from an overlay named 'x-gentoo-x86': '/home/ripps/trunk/src/third_party/gentoo-x86/'
* The complete build log is located at '/build/x86-mario/tmp/portage/logs/app-misc:screen-4.0.3-r4:20120519-054857.log'.
* The ebuild environment file is located at '/build/x86-mario/tmp/portage/app-misc/screen-4.0.3-r4/temp/environment'.
* S: '/build/x86-mario/tmp/portage/app-misc/screen-4.0.3-r4/work/screen-4.0.3'
On Fri, May 25, 2012 at 9:26 AM, Taylor LeMasurier-Wren
<ripp...@gmail.com> wrote:
> On Monday, May 21, 2012 10:37:11 AM UTC-5, Mike Frysinger wrote:
>>
>> On Sat, May 19, 2012 at 2:16 AM, Taylor LeMasurier-Wren wrote:
>> > I'm trying to build Gnu Screen to use on my Cr-48. It was easy to do
>> > before,
>> > I just had to run "sudo emerge screen" with standard ChromiumOS SDK (I
>> > did
>> > customize the ebuild to use /tmp/screen to store the socket and
>> > /usr/local/etc/screenrc for the config). But, now that Chrome OS is back
>> > on
>> > i686, I have to cross-compile it into /build/x86-mario, and it always
>> > fails.
>> > It seems that the configure can't use fifos when cross-compiling. Can
>> > someone lend me some help?
>> >
>> >> configure: checking fifos...
>> >> checking usable fifos... configure: error: in
>> >>
>> >> `/build/x86-mario/tmp/portage/app-misc/screen-4.0.3-r4/work/screen-4.0.3':
>> >> configure: error: cannot run test program while cross compiling
>> >> See `config.log' for more details
> On Monday, May 21, 2012 10:37:11 AM UTC-5, Mike Frysinger wrote:
>>
>> On Sat, May 19, 2012 at 2:16 AM, Taylor LeMasurier-Wren wrote:
>> > I'm trying to build Gnu Screen to use on my Cr-48. It was easy to do
>> > before,
>> > I just had to run "sudo emerge screen" with standard ChromiumOS SDK (I
>> > did
>> > customize the ebuild to use /tmp/screen to store the socket and
>> > /usr/local/etc/screenrc for the config). But, now that Chrome OS is back
>> > on
>> > i686, I have to cross-compile it into /build/x86-mario, and it always
>> > fails.
>> > It seems that the configure can't use fifos when cross-compiling. Can
>> > someone lend me some help?
>> >
>> >> configure: checking fifos...
>> >> checking usable fifos... configure: error: in
>> >>
>> >> `/build/x86-mario/tmp/portage/app-misc/screen-4.0.3-r4/work/screen-4.0.3':
>> >> configure: error: cannot run test program while cross compiling
>> >> See `config.log' for more detailsYou'll probably have to debug this at least a little yourself to find out more. Be aware that the configure death messages are commonly rather cryptic, and may not mean quite what they pretend to be from the outside. Go look at the config.log, find the test program that failed and attempt to reproduce the failure, the gcc error messages will probably be a lot more meaningful.
>>> Emerging (1 of 1) app-misc/screen-4.0.3-r4 for /build/x86-mario/
* screen-4.0.3.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* Running stacked hooks for pre_pkg_setup
* sysroot_build_bin_dir ... [ ok ]
* Running stacked hooks for pre_src_unpack
* python_multilib_setup ... [ ok ]
>>> Unpacking source...
>>> Unpacking screen-4.0.3.tar.gz to /build/x86-mario/tmp/portage/app-misc/screen-4.0.3-r4/work
>>> Source unpacked in /build/x86-mario/tmp/portage/app-misc/screen-4.0.3-r4/work
>>> Preparing source in /build/x86-mario/tmp/portage/app-misc/screen-4.0.3-r4/work/screen-4.0.3 ...
* Applying screen-4.0.1-int-overflow-fix.patch ... [ ok ]
* Applying screen-4.0.1-vsprintf.patch ... [ ok ]
* Applying 4.0.2-no-utempter.patch ... [ ok ]
* Applying 4.0.2-no-libelf.patch ... [ ok ]
* Applying 4.0.2-64bit-time.patch ... [ ok ]
* Applying 4.0.2-windowlist-multiuser-fix.patch ... [ ok ]
* Applying 4.0.2-nonblock.patch ... [ ok ]
* Applying screen-4.0.3-config.h-autoconf-2.62.patch ... [ ok ]
* Applying screen-4.0.3-crosscompile.patch ... [ ok ]
* Applying screen-4.0.3-setenv_autoconf.patch ... [ ok ]
* Applying 4.0.3-extend-d_termname-ng2.patch ... [ ok ]
* Running autoconf -I /build/x86-mario/usr/share/aclocal ... [ ok ]
>>> Source prepared.
>>> Configuring source in /build/x86-mario/tmp/portage/app-misc/screen-4.0.3-r4/work/screen-4.0.3 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-socket-dir=/tmp/screens --with-sys-screenrc=/usr/local/etc/screenrc --with-pty-mode=0620 --with-pty-group=5 --enable-rxvt_osc --enable-telnet --enable-colors256 --disable-pam
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
configure: loading site script /usr/share/crossdev/include/site/linux-gnu
configure: loading site script /usr/share/crossdev/include/site/i686-linux-gnu
this is screen version 4.0.3
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether i686-pc-linux-gnu-gcc needs -traditional... no
checking for library containing strerror... none required
checking for compiler sanity... configure: WARNING: skipping test due to crosscompilation
checking if compiler sets exit status... configure: WARNING: skipping test due to crosscompilation
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
configure: checking for buggy tools...
- sh is 'GNU bash, version 4.2.20(1)-release (x86_64-pc-linux-gnu)'.
- sed is 'GNU sed version 4.2.1'.
checking if a system-wide socket dir should be used... yes
configure: checking for MIPS...
configure: checking for Ultrix...
configure: checking for butterfly...
configure: checking for POSIX.1...
- you have a POSIX system
configure: checking for System V...
configure: checking for sequent/ptx...
configure: checking for Solaris 2.x...
configure: checking BSD job jontrol...
- you have jobcontrol
configure: checking setreuid...
configure: checking seteuid...
configure: checking select...
configure: checking fifos...