Bug 2733

Summary: eglibc-2.15 compiling fails in poky-tiny core-image-minimal
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Laurentiu Serban <laurentiu.serban>
Component: coreAssignee: Saul Wold <sgw>
Status: VERIFIED WONTFIX QA Contact:
Severity: normal    
Priority: Medium CC: dvhart, meta.mr.watcher, meta.watcher, mihai.lindner, poky.bs.watcher, poky.watcher, sgw, sstncr, todoesverso
Version: 1.3   
Target Milestone: 1.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
config.log
none
log do compile for eglibc poky-tiny
none
log.do_compile for eglibc with distro poky
none
log.do_compile for eglibc on x86-64 and poky-tiny from old clone
none
log.do_compile for eglibc on x86-64 poky-tiny fresh master clone none

Description Laurentiu Serban 2012-07-10 21:16:59 UTC
Created attachment 629 [details]
config.log

eglibc-2.15-r12+svnr19294 compiling fails in poky-tiny core-image-minimal
commit id 5142a1e95ed7db7e09ef31f645d45bb7e380d1d6

I attach the config.log
Comment 1 Saul Wold 2012-07-11 00:46:39 UTC
you attached the config.log, but not the compile failure itself, we need to know what failed to compile to understand how to fix this.

Please attach more details.  poky-tiny was build correctly on the autobuilder, so please verify what version of master you are using.
Comment 2 Todoesverso 2012-07-11 15:18:49 UTC
I have the same issue with the master. The package cant be fetched, looks like the svn revision does not exist.

DEBUG: Mirror fetch failure for url http://downloads.yoctoproject.org/mirror/sources/eglibc-2_15_www.eglibc.org_.svn.branches._19294_.tar.gz;module=eglib    c-2_15;proto=http (original url: svn://www.eglibc.org/svn/branches/;module=eglibc-2_15;proto=http)
...
STDERR: http://downloads.yoctoproject.org/mirror/sources/eglibc-2_15_www.eglibc.org_.svn.branches._19294_.tar.gz:
258 2012-07-11 11:16:10 ERROR 404: Not Found.
...

STDERR: svn: E175002: Unable to connect to a repository at URL 'http://www.eglibc.org/svn/branches/eglibc-2_15'
273 svn: E175002: OPTIONS of 'http://www.eglibc.org/svn/branches/eglibc-2_15': could not connect to server (http://www.eglibc.org)
274 
275 DEBUG: Python function base_do_fetch finished
276 DEBUG: Python function do_fetch finished
277 ERROR: Function failed: Fetcher failure for URL: 'svn://www.eglibc.org/svn/branches/;module=eglibc-2_15;proto=http'. Unable to fetch URL from any source
Comment 3 Laurentiu Serban 2012-07-17 12:06:32 UTC
Created attachment 637 [details]
log do compile for eglibc poky-tiny
Comment 4 Laurentiu Serban 2012-07-17 12:07:26 UTC
Hello Saul,
I attached the compile log
The commit used for testing is:
eb0cb7e8234f5d2e5623406e9660be91cf52f65e

on an Ubuntu 12.04
Comment 5 Saul Wold 2012-07-19 17:57:09 UTC
todoesverso:
The download issue for eglibc is different than the build failure, can you confirm that the SVN download is still failing with master?
Comment 6 Todoesverso 2012-07-19 22:30:27 UTC
(In reply to comment #5)
> todoesverso:
> The download issue for eglibc is different than the build failure, can you
> confirm that the SVN download is still failing with master?

I can confirm that the SVN version works and compiles just fine :)
Comment 7 Stefan Stanacar 2012-07-20 09:32:13 UTC
Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky-tiny"
DISTRO_VERSION    = "1.2+snapshot-20120720"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              
meta-yocto        = "master:64f7feb5c37d06e1985c59106cf2f7cd286fd0b8"

It works for me too with the current master.
Comment 8 Stefan Stanacar 2012-07-20 13:09:38 UTC
(In reply to comment #7)
> Build Configuration:
> BB_VERSION        = "1.15.3"
> TARGET_ARCH       = "i586"
> TARGET_OS         = "linux"
> MACHINE           = "qemux86"
> DISTRO            = "poky-tiny"
> DISTRO_VERSION    = "1.2+snapshot-20120720"
> TUNE_FEATURES     = "m32 i586"
> TARGET_FPU        = ""
> meta              
> meta-yocto        = "master:64f7feb5c37d06e1985c59106cf2f7cd286fd0b8"
> 
> It works for me too with the current master.

Build fails (same error) for a x86-64 target

Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "x86_64"
TARGET_OS         = "linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky-tiny"
DISTRO_VERSION    = "1.2+snapshot-20120720"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta              
meta-yocto        = "master:64f7feb5c37d06e1985c59106cf2f7cd286fd0b8"

And it fails for DISTRO="poky" too 

Host Fedora 17
Comment 9 Stefan Stanacar 2012-07-20 13:11:19 UTC
Created attachment 647 [details]
log.do_compile for eglibc with distro poky
Comment 10 Mihai Lindner 2012-07-20 13:13:04 UTC
Meaning:

MACHINE ??= "qemux86-64"
DISTRO ?= "poky-tiny"
Comment 11 Saul Wold 2012-07-20 17:48:24 UTC
So, it's really important to include the build config summary information in the first bug entry, that really helps, I was trying with x86 at first.  It also seems that the issue that Stefan is seeing is different that Laurentiu for poky-tiny vs poky.

Given that we build eglibc as a core item for Poky all the time, I am wondering if there is a machine or configuration issue in Stefan's setup that is triggering his failure. Possibly Fedora 17, but we have tested with that release. Can you provide more details about this build environment and configuration, possibly even file a different bug.

In comment #7, that means it's working for qemux86 OK, but not for qemux86-64, which btw is a new test, I am not sure if we have built it for x86-64 before.
Comment 12 Darren Hart 2012-07-20 18:16:09 UTC
It should work for poky-tiny, although my testing has just been with qemux86. Note that with tiny it is important to build in a different tmp dir than the poky build.
Comment 13 Stefan Stanacar 2012-07-23 11:09:58 UTC
Hello,

So I decided to start from scratch with my build env and did two more builds (for x86-64) for poky-tiny: one for poky-tiny from a clone with the last commit (64f7feb5c37d06e1985c59106cf2f7cd286fd0b8) from Friday and one from a fresh master clone (315d52934693b14f08b62f3f5f361d834484e180). 

Some host details:

Fedora 17
Linux firebird 3.4.5-2.fc17.x86_64 #1 SMP Mon Jul 16 20:52:08 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.7.0/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --disable-build-with-cxx --disable-build-poststage1-with-cxx --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC) 


make -v
GNU Make 3.82
Built for x86_64-redhat-linux-gnu


automake --version
automake (GNU automake) 1.11.3

autoconf --version
autoconf (GNU Autoconf) 2.68


rpm -qa | grep glibc
glibc-2.15-51.fc17.x86_64
glibc-devel-2.15-51.fc17.x86_64
glibc-common-2.15-51.fc17.x86_64
glibc-2.15-51.fc17.i686
glibc-headers-2.15-51.fc17.x86_64

I've used this config 

egrep -v '^#|^$' conf/local.conf 
BB_NUMBER_THREADS = "8"
PARALLEL_MAKE = "-j 8"
MACHINE ?= "qemux86-64"
MACHINE ??= "qemux86"
DISTRO ?= "poky-tiny"
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
CONF_VERSION = "1"

----
x86-64, poky-tiny

Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "x86_64"
TARGET_OS         = "linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky-tiny"
DISTRO_VERSION    = "1.2+snapshot-20120723"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta              
meta-yocto        = "master:64f7feb5c37d06e1985c59106cf2f7cd286fd0b8"


----
x86-64, poky-tiny, fresh master clone

Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "x86_64"
TARGET_OS         = "linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky-tiny"
DISTRO_VERSION    = "1.2+snapshot-20120723"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta              
meta-yocto        = "master:315d52934693b14f08b62f3f5f361d834484e180"



I'll add the compile logs for each build.

HTH,
Stefan
Comment 14 Stefan Stanacar 2012-07-23 11:15:02 UTC
Created attachment 654 [details]
log.do_compile for eglibc on  x86-64 and poky-tiny from old clone
Comment 15 Stefan Stanacar 2012-07-23 11:15:37 UTC
Created attachment 655 [details]
log.do_compile for eglibc on  x86-64  poky-tiny fresh master clone
Comment 16 Saul Wold 2012-07-26 07:08:01 UTC
Since this is new platform testing and we are going to move to eglibc 2.16, I am going to close this bug as will not fix.  If this problem appears in the 2.16 eglibc, then let's open a new bug against x86-64, also if we plan to test other arches (arm, mips, ...) create new bugs for each.
Comment 17 Laurentiu Serban 2012-08-13 21:34:12 UTC
Setting this to verified