Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 177047

Summary: Cernlib-2006-r1 fails to compile, bad path
Product: Gentoo Linux Reporter: Pablo Barros <pmbarros>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pablo Barros 2007-05-04 16:01:51 UTC
Small oops on the ebuild. It searches for the directory:
/var/tmp/portage/sci-physics/cernlib-2006-r1/work/cernlib_2006.dfsg.2.orig

While the actual cernlib_2006.dfsg.2.orig.tar.gz is unpacked at:
/var/tmp/portage/sci-physics/cernlib-2006-r1/work/cernlib-2006.dfsg.2.orig

(note the hyphen/underscore at cernlib-2006.dfsg.2.orig). cernlib-montecarlo-2006-r1 seems to be affected by the same bug.

Reproducible: Always

Actual Results:  
 * checking cernlib_2006.dfsg.2.orig.tar.gz ;-) ...                                                                                            [ ok ]
 * checking cernlib_2006.dfsg.2-1.diff.gz ;-) ...                                                                                              [ ok ]
 * You need one of these Fortran Compilers: gfortran g77 ifc
 * Installed are:  g77
 * Using g77
>>> Unpacking source...
>>> Unpacking cernlib_2006.dfsg.2.orig.tar.gz to /var/tmp/portage/sci-physics/cernlib-2006-r1/work
>>> Unpacking cernlib_2006.dfsg.2-1.diff.gz to /var/tmp/portage/sci-physics/cernlib-2006-r1/work
 * Applying cernlib_2006.dfsg.2-1.diff ...                                                                                                     [ ok ]
mv: impossível fazer stat em `cernlib-2006.dfsg.2/debian': Arquivo ou diretório não encontrado
/usr/portage/local/layman/science/sci-physics/cernlib/cernlib-2006-r1.ebuild: line 13: cd: /var/tmp/portage/sci-physics/cernlib-2006-r1/work/cernlib_2006.dfsg.2.orig: Arquivo ou diretório não encontrado

# ls /var/tmp/portage/sci-physics/cernlib-2006-r1/work/
cernlib-2006.dfsg.2.orig
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-04 16:04:30 UTC
No such thing in the official tree.


*** This bug has been marked as a duplicate of bug 65708 ***
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2007-05-04 16:24:22 UTC
Thanks for the warning, Pablo. I'm still testing the cernlib.eclass in the gentooscience overlay, please test it and report in the duplicated bug.
Also note that this version of cernlib should compile with gfortran.