[Bug 535974] New: osc build --no-init - gratuitous package refresh ...
http://bugzilla.novell.com/show_bug.cgi?id=535974 Summary: osc build --no-init - gratuitous package refresh ... Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mmeeks@novell.com QAContact: adrian@novell.com Found By: --- For my project on IBS: home:michael_meeks:win32/ext2tool I was trying to build with some repos from obs: <project name="home:michael_meeks:win32"> <title></title> <description></description> <person role="maintainer" userid="michael_meeks"/> <person role="bugowner" userid="michael_meeks"/> <repository name="SUSE_SLE-11_Update"> <path repository="SLE_11" project="openSUSE.org:windows:mingw:win32:test"/> <path repository="SLE_11" project="openSUSE.org:windows:mingw"/> <path repository="standard" project="SUSE:SLE-11:Update"/> <arch>x86_64</arch> <arch>i586</arch> </repository> </project> Unfortunately - each time I did build - *even* if I use --no-init - it would download the same set of packages, which (I strongly suspect) did not change in the last few minutes: osc build --no-init --no-verify SUSE_SLE-11_Update i586 Building ext2tool.spec for SUSE_SLE-11_Update/i586 Getting buildinfo from server Updating cache of required packages Trying openSUSE Build Service server for autoconf (openSUSE.org:windows:mingw), since it is not on download.suse.de. (openSUSE.org:windows:mingw) autoconf-None-None.i586.rpm 100% |===============================| 642 kB 00:15 Trying openSUSE Build Service server for automake (openSUSE.org:windows:mingw), since it is not on download.suse.de. (openSUSE.org:windows:mingw) automake-None-None.i586.rpm 100% |===============================| 662 kB 00:06 Trying openSUSE Build Service server for libltdl7 (openSUSE.org:windows:mingw), since it is not on download.suse.de. (openSUSE.org:windows:mingw) libltdl7-None-None.i586.rpm 100% |===============================| 22 kB 00:00 Trying openSUSE Build Service server for libmpfr1 (openSUSE.org:windows:mingw), since it is not on download.suse.de. (openSUSE.org:windows:mingw) libmpfr1-None-None.i586.rpm 100% |===============================| 143 kB 00:01 Trying openSUSE Build Service server for libtool (openSUSE.org:windows:mingw), since it is not on download.suse.de. (openSUSE.org:windows:mingw) libtool-None-None.i586.rpm 100% |===============================| 433 kB 00:05 Trying openSUSE Build Service server for mingw32-binutils (openSUSE.org:windows:mingw:win32:test), since it is not on download.suse.de. (openSUSE.org:windows:mingw:win32:test) mingw32-binutils-None-N 100% |===============================| 1.7 MB 00:53 Trying openSUSE Build Service server for mingw32-cpp (openSUSE.org:windows:mingw:win32:test), since it is not on download.suse.de. (openSUSE.org:windows:mingw:win32:test) mingw32-cpp-None-None.i 100% |===============================| 7.2 MB 03:08 Trying openSUSE Build Service server for mingw32-filesystem (openSUSE.org:windows:mingw:win32:test), since it is not on download.suse.de. (openSUSE.org:windows:mingw:win32:test) mingw32-filesystem-None 100% |===============================| 16 kB 00:04 Trying openSUSE Build Service server for mingw32-gcc (openSUSE.org:windows:mingw:win32:test), since it is not on download.suse.de. (openSUSE.org:windows:mingw:win32:test) mingw32-gcc-None-None.i 100% |===============================| 769 kB 00:43 Trying openSUSE Build Service server for mingw32-headers (openSUSE.org:windows:mingw:win32:test), since it is not on download.suse.de. (openSUSE.org:windows:mingw:win32:test) mingw32-headers-None-No 100% |===============================| 2.7 MB 02:55 Trying openSUSE Build Service server for mingw32-runtime (openSUSE.org:windows:mingw:win32:test), since it is not on download.suse.de. (openSUSE.org:windows:mingw:win32:test) mingw32-runtime-None-No 100% |===============================| 807 kB 00:46 Trying openSUSE Build Service server for mingw32-zlib-devel (openSUSE.org:windows:mingw:win32:test), since it is not on download.suse.de. (openSUSE.org:windows:mingw:win32:test) mingw32-zlib-devel-None 100% |===============================| 25 kB 00:00 Trying openSUSE Build Service server for libpython2_6-1_0 (openSUSE.org:windows:mingw), since it is not on download.suse.de. (openSUSE.org:windows:mingw) libpython2_6-1_0-None-None.i586.rp 87% |=========================== | 512 kB 00:00 ETA ^Z Each time I re-ran 'osc build' it would do the same thing; which (needless to say) substantially slowed things down. Why is any checking or downloading done at all when --no-init is passed ? I have: $ osc --version 0.120.90 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535974
shuang qiu
http://bugzilla.novell.com/show_bug.cgi?id=535974
User dominique.leuenberger@tmf-group.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535974#c1
Dominique Leuenberger
http://bugzilla.novell.com/show_bug.cgi?id=535974
User mmeeks@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=535974#c2
Michael Meeks
http://bugzilla.novell.com/show_bug.cgi?id=535974
User suse-tux@gmx.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=535974#c3
Marcus Hüwe
Why is any checking or downloading done at all when --no-init is passed ?
The --no-init stuff seems to be a different bug but downloading all the rpms is due to a bug/problem with remoteprojects (the buildinfo doesn't contain "version", "release" and "arch" attributes which are needed by osc to determine if a package already exists in osc's packagecache or not). I committed a patch which should fix this problem (see r7997). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535974 Bug 535974 depends on bug 373055, which changed state. Bug 373055 Summary: osc build --no-init does to much http://bugzilla.novell.com/show_bug.cgi?id=373055 What |Old Value |New Value ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=535974
https://bugzilla.novell.com/show_bug.cgi?id=535974#c4
Sascha Peilicke
participants (1)
-
bugzilla_noreply@novell.com