Bug 617791

Summary: The tool "build" does not provide sl11.3.conf
Product: [openSUSE] openSUSE 11.3 Reporter: Rupert Horstkötter <rhorstkoetter>
Component: DevelopmentAssignee: Michael Schröder <mls>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: adrian.schroeter, lnussel
Version: FactoryFlags: coolo: SHIP_STOPPER-
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Rupert Horstkötter 2010-06-28 07:02:22 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 (.NET CLR 3.5.30729)

The tool "build" seems to be broken.

How it happens:

# build --rpms /mnt/suse gfxboot-4.1.39-5.16.src.rpm --arch i686
logging output to /var/tmp/build-root/.build.log...
Memory limit set to 5408532KB
Using BUILD_ROOT=/var/tmp/build-root
Using BUILD_RPMS=/mnt/suse
Using BUILD_ARCH=i686:i586:i486:i386

linux-lwny started "build gfxboot-4.1.39-5.16.src.rpm" at Fri Jun 25 18:52:01
UTC 2010.

processing src rpm /var/tmp/plasma-repo/gfxboot-4.1.39-5.16.src.rpm ...
processing specfile /var/tmp/build-root/.build-srcdir/gfxboot.spec ...
init_buildsystem --cachedir /var/cache/build
/var/tmp/build-root/.build-srcdir/gfxboot.spec ...
expanding package dependencies...
Warning: distribution not specified, assuming 'default' (see
/usr/lib/build/configs).
/usr/lib/build/configs/default.conf: No such file or directory

If you look at the directory /usr/lib/build/configs/, default.conf is a link to sl11.3.conf

 l /usr/lib/build/configs/
total 224
drwxr-xr-x 2 root root  4096 Jun 24 19:43 ./
drwxr-xr-x 4 root root  4096 Jun 25 18:15 ../
-rw-r--r-- 1 root root  7527 Jun 18 06:05 debian.conf
lrwxrwxrwx 1 root root    11 Jun 24 19:43 default.conf -> sl11.3.conf
-rw-r--r-- 1 root root  8354 Jun 18 06:05 sl10.0.conf
-rw-r--r-- 1 root root  8192 Jun 18 06:05 sl10.1.conf
-rw-r--r-- 1 root root  8558 Jun 18 06:05 sl10.2.conf
-rw-r--r-- 1 root root 12921 Jun 18 06:05 sl10.3.conf
...

If you ls sl11.3.conf, the file does not exist

# ls -l /usr/lib/build/configs/sl11.3.conf
ls: cannot access /usr/lib/build/configs/sl11.3.conf: No such file or directory

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
The tool "build" does not provide sl11.3.conf

Expected Results:  
The tool "build" should provide sl11.3.conf
Comment 1 Ludwig Nussel 2010-06-28 09:12:41 UTC
Michael added the configs in the past
Comment 2 Michael Schröder 2010-06-29 16:35:46 UTC
Fixed in Factory.