[opensuse-buildservice] Where does "build" look for SOURCES
I'm trying to setup a local chrooted build system using "build" so far I get a duplication of what obs build does but it fails to find the sources. I use my local rpmbuild directory, the one containing SOURCES and SPECS etc as the specified --root, it's created a /home/abuild/rpmbuild directory with a SOURCES directory that contains the contents of my SPECS directory, the recipe file specified on the command line is SPECS/kicad-doc.spec. See home:plater/kicad-doc The full command line from my local rpmbuild "%_topdir /data/packages" build --repo /var/cache/zypp/packages/ --repo /data/packages/RPMS/ --repo /mnt --repo ftp://ftp.up.ac.za/mirrors/opensuse/opensuse/update/leap/42.2/oss --repo http://download.opensuse.org/distribution/leap/42.2/repo/oss/suse/ --root /data/packages/ SPECS/kicad-doc.spec What do I need to create for build to find the sources? I've limited disk space and internet bandwidth otherwise I would just use osc build. Thanks Dave Plater -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, Jan 11, 2017 at 11:47:53AM +0200, Dave Plater wrote:
The full command line from my local rpmbuild "%_topdir /data/packages"
build --repo /var/cache/zypp/packages/ --repo /data/packages/RPMS/ --repo /mnt --repo ftp://ftp.up.ac.za/mirrors/opensuse/opensuse/update/leap/42.2/oss --repo http://download.opensuse.org/distribution/leap/42.2/repo/oss/suse/ --root /data/packages/ SPECS/kicad-doc.spec
What do I need to create for build to find the sources?
The "build" script wants a single directory that contains both the sources and the spec file. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 11/01/2017 14:51, Michael Schroeder wrote:
The full command line from my local rpmbuild "%_topdir /data/packages"
build --repo /var/cache/zypp/packages/ --repo /data/packages/RPMS/ --repo /mnt --repo ftp://ftp.up.ac.za/mirrors/opensuse/opensuse/update/leap/42.2/oss --repo http://download.opensuse.org/distribution/leap/42.2/repo/oss/suse/ --root /data/packages/ SPECS/kicad-doc.spec
What do I need to create for build to find the sources? The "build" script wants a single directory that contains both the
On Wed, Jan 11, 2017 at 11:47:53AM +0200, Dave Plater wrote: sources and the spec file.
Cheers, Michael.
Thanks I hacked that out for myself, got the build to work the same as online obs but when I chroot into the failed build and execute the failed command it succeeds. Any ideas why that would happen? Thanks Dave P -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Dave Plater
-
Michael Schroeder