[opensuse-buildservice] build a package locally using "build" and bs-packagecache
Hi, I've tried to build a package on my local system using "build" and reusing the bs-packagecache as RPM repository. That fails most probably because these ugly directory names containing ':'. build --root=/var/tmp/build-root cairo.spec --norootforbuild --rpms /local/build/bs-packagecache/openSUSE\:10.3/standard/x86_64 fails to find the RPMs there. I guess I tried every type of quoting for the colon but everything failed. To see if it's really the colon I've created a symlink w/o a colon to that directory and there it works. Worth a bugreport against build? Wolfgang --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-02-11 15:16:59 +0100, Wolfgang Rosenauer wrote:
I've tried to build a package on my local system using "build" and reusing the bs-packagecache as RPM repository.
That fails most probably because these ugly directory names containing ':'.
build --root=/var/tmp/build-root cairo.spec --norootforbuild --rpms /local/build/bs-packagecache/openSUSE\:10.3/standard/x86_64
fails to find the RPMs there. I guess I tried every type of quoting for the colon but everything failed. To see if it's really the colon I've created a symlink w/o a colon to that directory and there it works.
why not use osc build?
Worth a bugreport against build?
yes please. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Marcus Rueckert wrote:
On 2008-02-11 15:16:59 +0100, Wolfgang Rosenauer wrote:
I've tried to build a package on my local system using "build" and reusing the bs-packagecache as RPM repository.
That fails most probably because these ugly directory names containing ':'.
build --root=/var/tmp/build-root cairo.spec --norootforbuild --rpms /local/build/bs-packagecache/openSUSE\:10.3/standard/x86_64
fails to find the RPMs there. I guess I tried every type of quoting for the colon but everything failed. To see if it's really the colon I've created a symlink w/o a colon to that directory and there it works.
why not use osc build?
Because I wasn't able to do that as well ;-) (probably just because I'm too stupid). I wanted to build a package from/for 10.3 with an additional patch just to test it and not to distribute it through the buildservice. I haven't found a way to check it out from OBS and therefore I did't know how to build it with osc build and so I decided to test "build" and given that I already have quite some RPM cache I wanted to reuse it. Wolfgang --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, 2008-02-11 at 15:21 +0100, Marcus Rueckert wrote:
On 2008-02-11 15:16:59 +0100, Wolfgang Rosenauer wrote:
I've tried to build a package on my local system using "build" and reusing the bs-packagecache as RPM repository.
That fails most probably because these ugly directory names containing ':'.
build --root=/var/tmp/build-root cairo.spec --norootforbuild --rpms /local/build/bs-packagecache/openSUSE\:10.3/standard/x86_64
fails to find the RPMs there. I guess I tried every type of quoting for the colon but everything failed. To see if it's really the colon I've created a symlink w/o a colon to that directory and there it works.
why not use osc build?
Probably because osc needs to phone home every time. I have a patch that applied to older versions of osc that made it phone home less often. But it only worked in limited cases; if you changed BuildRequires:, it would fail. So it was of limited use in practice -- a speed hack instead of genuine new functionality -- so I haven't bothered respinning it yet. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Feb 11, 2008 at 12:48:59PM -0600, Michael Wolf wrote:
On Mon, 2008-02-11 at 15:21 +0100, Marcus Rueckert wrote:
On 2008-02-11 15:16:59 +0100, Wolfgang Rosenauer wrote:
I've tried to build a package on my local system using "build" and reusing the bs-packagecache as RPM repository.
That fails most probably because these ugly directory names containing ':'.
build --root=/var/tmp/build-root cairo.spec --norootforbuild --rpms /local/build/bs-packagecache/openSUSE\:10.3/standard/x86_64
fails to find the RPMs there. I guess I tried every type of quoting for the colon but everything failed. To see if it's really the colon I've created a symlink w/o a colon to that directory and there it works.
why not use osc build?
Probably because osc needs to phone home every time.
I have a patch that applied to older versions of osc that made it phone home less often. But it only worked in limited cases; if you changed BuildRequires:, it would fail. So it was of limited use in practice -- a speed hack instead of genuine new functionality -- so I haven't bothered respinning it yet.
Yes, it would be nice to revisit this. At least as an option (which doesn't honor changed buildrequires) it would be useful in many situations, I guess. Peter -- "WARNING: This bug is visible to non-employees. Please be respectful!" SUSE LINUX Products GmbH Research & Development
Hi! Am Montag, 11. Februar 2008 15:16 schrieb Wolfgang Rosenauer:
That fails most probably because these ugly directory names containing ':'.
Worth a bugreport against build?
You might want to check whether this is another varient of this bug: https://bugzilla.novell.com/show_bug.cgi?id=358623 As a workaround you could also check whether my patch (attached to the bug) solves the problem. Regards, Matthias --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Matthias Bach wrote:
Am Montag, 11. Februar 2008 15:16 schrieb Wolfgang Rosenauer:
That fails most probably because these ugly directory names containing ':'.
Worth a bugreport against build?
You might want to check whether this is another varient of this bug: https://bugzilla.novell.com/show_bug.cgi?id=358623
As a workaround you could also check whether my patch (attached to the bug) solves the problem.
That's a different problem. The colon problem is https://bugzilla.novell.com/show_bug.cgi?id=346113 cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Matthias Bach wrote:
Hi!
Am Montag, 11. Februar 2008 15:16 schrieb Wolfgang Rosenauer:
That fails most probably because these ugly directory names containing ':'.
Worth a bugreport against build?
You might want to check whether this is another varient of this bug: https://bugzilla.novell.com/show_bug.cgi?id=358623
I don't think so. This is more a feature than a bug in build: $ /usr/bin/build --help ... --rpms path1:path2:... Specify path where to find the RPMs for the build system ... :-/ Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (7)
-
Dr. Peter Poeml
-
Ludwig Nussel
-
Marcus Rueckert
-
Matthias Bach
-
Michael Wolf
-
Michal Marek
-
Wolfgang Rosenauer