Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 171120
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 146592
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Wei Hu <weihu@cs.virginia.edu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 171120 depends on: Show dependency tree
Bug 171120 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-16 04:53 0000
I was attempting to do a full system testing by automatically run "make check"
on each package.
When I did 'emerge -eD system', the build process failed on autoconf-2.13, due
to three errors in its test suite.
I'm new to the Gentoo project, so please tell me if an ebuild developer is
supposed to make sure a package passes its own tests?

Reproducible: Always

Steps to Reproduce:
USE="test" emerge =automake-2.13

Not that Fortran support should not be installed in gcc.
Actual Results:  
                === autoconf tests ===
... (omitted)
AC_PROG_ECHO_N
AC_PROG_CC
AC_PROG_CXX
AC_PROG_F77
FAIL: AC_PROG_F77, problem with executing
AC_PROG_CC_WORKS
AC_PROG_CXX_WORKS
AC_PROG_F77_WORKS
FAIL: AC_PROG_F77_WORKS, problem with executing
...
AC_F77_LIBRARY_LDFLAGS
FAIL: AC_F77_LIBRARY_LDFLAGS, problem with executing
...
                === autoconf Summary ===

# of expected passes            256
# of unexpected failures        3
/var/tmp/portage/sys-devel/autoconf-2.13/work/autoconf-2.13/autoconf version
2.13

make[1]: *** [check] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sys-devel/autoconf-2.13/work/autoconf-2.13/testsuite'
make: *** [check] Error 2

!!! ERROR: sys-devel/autoconf-2.13 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_test
  ebuild.sh, line 1026:   Called qa_call 'src_test'
  environment, line 3225:   Called src_test
  ebuild.sh, line 653:   Called die

!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/sys-devel/autoconf-2.13/temp/build.log'.


Expected Results:  
I suppose the tests related fortran should be skipped, if fortran compiler is
not installed.

I did a few things to factor out other factors.
1. I did a clean stage3 install from Gentoo 2006.1.

2. I think I have safe flags in my /etc/make.conf:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="test"
FEATURES="sandbox userpriv usersandbox test noclean parallel-fetch"
LDFLAGS="-Wl,-O1,--sort-common"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

3. rebuilt the system to bring it up to date:
   emerge --sync && emerge portage && USE="-test" emerge -eD system

4. fully run the testsuites:
   emerge -eD system

------- Comment #1 From Jakub Moc (RETIRED) 2007-03-16 08:10:25 0000 -------

*** This bug has been marked as a duplicate of bug 146592 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug