Hello all,
For use in libreoffice, chromium and others I've created macro that
should allow you to limit jobs based on some constraints you can set
later on in the spec to avoid OOM crashes.
The usage is pretty straight forward (Once it is accepted in
Tumbleweed):
===
BuildRequires: memory-constraints
%build
# require 2GB mem per thread
%limit_build -m 2000
make %{?_smp_mflags}
====
Here the _smp_mflags vaule for 8GB machine would be 4 while default is
number of cores (lets say 16)...
Both macros %jobs and %_smp_mflags are overriden as such the
integration should be really painless if you need to do something like
this.
Tom
I am trying to disable tests due to a missing dependency on aarch64.
I try to do this:
%ifnarch aarch64
BuildRequires: python3-xarray
%endif
However, I get the following error when I try to build the package:
error: Failed build dependencies:
python3-xarray is needed by python-traittypes-0.2.1-17.1.noarch
How can I disable the BuildRequires: for that architecture without
triggering this error?
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org
http://download.opensuse.org/repositories/X11:/Utilities/openSUSE_Leap_15.1/
It's there for all other supported releases.
--
Evolution as taught in public schools is religion, not science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org
Hi,
is anyone firm in packaging Nodejs-stuff?
I have a package
https://build.opensuse.org/package/show/home:DocB:Orthanc/cornerstone
which is a requirement for a webviewer plugin. But I have basically no idea
how to package it.
Anyone able/willing to help with packaging?
Thanks
Axel
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org
Hi *,
https://build.opensuse.org/package/live_build_log/home:berny:branches:fromg…
my package fails to build on OBS right when "booting kvm":
[ 5s] booting kvm...
[ 5s] ### VM INTERACTION START ###
[ 5s] /usr/bin/qemu-kvm -nodefaults [...]
...
[ 8s] /bin/bash: error while loading shared libraries: libreadline.so.8: \
cannot open shared object file: No such file or directory
[ 8s] [ 1.878750] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
...
Is there anything I can do in my project, or is this a general issue?
Thanks & have a nice day,
Berny
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org
Guys,
I'm trying to package pngquant that relies on:
Source0:
https://github.com/kornelski/%{name}/archive/pngquant-%{version}.tar.gz
Source1:
https://github.com/ImageOptim/libimagequant/archive/libimagequant-%{version…
What needs to happen is for pngquant-%{version}.tar.gz alone to be unzipped.
It creates a pngquant-%{version}/lib directory that I need to unzip Source1 into.
I've tried
%setup -q -a 0
%setup -q -a 1 -n pngquant-%{version}/lib
which unzips in the correct order, but does not provide a way to
--strip-components=1 to get rid of the libimagequant-%{version} default directory.
When I manually put the sources together to build, I simply
tar -xzf pngquant-2.12.2.tar.gz
cd pngquant-2.12.2
tar -xz --directory=./pngquant-2.12.2/lib --strip-components=1 -f
~/apps/src/libimagequant-2.12.2.tar.gz
How do I tell setup to do that in a spec?
--
David C. Rankin, J.D.,P.E.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org
Hi,
since /usr/lib/rpm/macros.d was not mentioned in our packaging conventions yet,
I adjusted https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros
now. /etc/rpm is for local adjustments by system administrators
following the FHS, applications should install their macros into
/usr/lib/rpm/macros.d
Thorsten
--
Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
GF: Felix Imendoerffer, Mary Higgins, Sri Rasiah, HRB 21284 (AG Nuernberg)
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org
Hi all,
I want to ask for your recommendations to build a sources package, resp. to
include the sources in the development package.
First of all, is there a standard path where it should go? like /usr/src/
<package>?
Second, the idea to create the source package is 'just' to copy the source to
the target folder,
cp -r build/* /usr/src/<package>/.
and then install it in the %files section. Any better proposal?
Thanks
Axel
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org