Mailinglist Archive: opensuse-packaging (106 mails)

< Previous Next >
Re: [opensuse-packaging] I'm having a problem building packages for openSUSE...


Am 5. Dezember 2015 14:39:43 GMT-03:00, schrieb "Lars Müller"
<lmuelle@xxxxxxxx>:
Hi Alan,

On Sat, Dec 05, 2015 at 10:14:10AM -0700, Alan Robertson wrote:

On 12/05/2015 09:29 AM, Lars Müller wrote:

On Sat, Dec 05, 2015 at 09:11:55AM -0700, Alan Robertson wrote:
On 12/03/2015 08:38 PM, Andrei Borzenkov wrote:
03.12.2015 23:34, Alan Robertson пишет:

Good point ;-). Thanks for reminding me.Not sure where my brain
was... I
guess I was into wishful thinking - this was a known problem
with a
simple workaround...
This is likely a common/known problem for people who use cmake and
start
their RPM spec files working on that red distribution or one of
its clones.

Apparently, on those distributions, they expect you to do the
mkdir+cd/pushd yourself - and SuSE does both for you.

But, it's now working quite nicely. The spec file is here:

https://github.com/assimilation/assimilation-official/blob/master/docker/CentOS6/assimilation-cma.spec
Create a project in the openSUSE Build Service (OBS) which pulls in
the
assimilation-cma.spec via git automatically.

Thanks to your help, the next Assimilation release will provide
openSUSE
13.2 and 42.1 RPMs.
How are you creating the packages? Have you consider to make use
of the
OBS?
I did at one point. After spending a few hours reading the documents,
I
couldn't figure it out. Also, I run tests on each platform. These
tests
require root permissions.

Even that should be possible to handle. There was a recent discussion
regarding this.

Also I need a few python packages for which
there are no corresponding RPMs. One for building, a couple for
testing,
and I think two for the installed CMA packages. None for the
nanoprobes.

Well, then they need to be packaged too.

I build them all on my desktop or laptop or whatever using Docker. It
works really well. It's quite fast, noticeably faster than a VM
environment. I have even rebuilt releases while traveling. My laptop
might be a half-hour slower than my desktop for the 10 versions of
Linux
that we release it for, but it's quite acceptable. Most of the time
is
spent running the tests. I build the software in two different ways,
then I install the package, and I run my tests. For 10 releases this
takes about 2 hours. Before putting out an official release, I run
some
system-level tests, validate the versions for consistency, checksum
the
packages, and other things.

Oh, you're on the docker wafe. Have a safe ride. ;)

I doubt OBS would be much if any faster than doing it on my own
hardware. There is an annoying Docker bug that keeps me from building
more than one at a time. I have plenty of resources to do it, but
Docker
gets confused. I need to document that bug for them...

OBS isn't about speed. It's about reproduceability.

...and If you need speed, build locally and check in once the result is
satisfying;

osc build....

Cheers
Axel
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >