%make_jobs doesn't work

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

%make_jobs doesn't work

Sascha Manns-3
Hello list,

i have prepared that Spec [1]. But a build breaks with "%make_jobs
/var/tmp/rpm-tmp.JYZHOQ: line 33: fg: no job control". See [2].

Maybe i missed a dependency?

[1]
https://build.opensuse.org/package/view_file/Documentation:Publican/wkhtmltopdf/wkhtmltopdf.spec?expand=1
[2]
https://build.opensuse.org/package/live_build_log/Documentation:Publican/wkhtmltopdf/openSUSE_Leap_42.2/x86_64

Greetings
Sascha
--
Sascha Manns
Maifeldstraße 10
56727 Mayen

P: +49-2651-4014045
W: http://saigkill.tuxfamily.org



--
Sascha Manns
openSUSE member
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: %make_jobs doesn't work

Axel Braun-2
Am Dienstag, 9. Mai 2017, 07:04:15 CEST schrieb Sascha Manns:
> Maybe i missed a dependency?

Did you try
BuildRequires:  gcc-c++
?
CHeers
Axel
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: %make_jobs doesn't work

Martin Pluskal-2
In reply to this post by Sascha Manns-3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, 2017-05-09 at 07:04 +0200, Sascha Manns wrote:
> Hello list,
>
> i have prepared that Spec [1]. But a build breaks with "%make_jobs
> /var/tmp/rpm-tmp.JYZHOQ: line 33: fg: no job control". See [2].
>
> Maybe i missed a dependency?
Yes - you are removing qt5 packages dependency which pulls macro
defining %make_jobs

As a side note I wonder why you are defining
"Release:        0.patched" and operating with package names like
"%{name}%{?_isa}"

Martin
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwQnJ+Ps8HqIKhK3yWyRdZ/3eaFcFAlkRbnsACgkQWyRdZ/3e
aFdbjhAAnwxVJhekG7d5m8uPqlCIg9LRDCROd2LauPql1MjahLZPa3znbqwKESVa
C+EjZw4wbY3lkLusvCBOCdDhx1agyQ2NYFVUifGf6MHwWWWUEP6ZMpuXNFv9nvgS
IlRcFqCqfTRrXZev45zPaWVeX9Y7q5T8+OpETHPMbYEbzsrpkcE/rcYTDDGYW+/X
h6PkaPSoSvbPgBqS2JnoHuNCBFcaYKJkREXmUrx2alAoWdUZhfw73exvuu2/gf0n
8Ag212/bwf8/Ka7hPPRVfHlPM/3zGv9rJnT503Xe0bLmb7a6/Da+ED3xYmQUmIoH
vrTuzqhfj7UlA0uD4/eVmvCjcgavE89jc59bpd39MZA0qFMq1iEoCgTVKDzn45F3
orx1ahVpetes3iyTGgsvB3OcduWKnwhF9gltSdguWQB6aQ/SXlLOqxTZ7Ha9wCL1
eXYvvgK1SN8wlBNrMGk3n5XuFmLc8IlOxtVHuOJjHMfhfBu5+sT494tI+9+lHWQu
hrUh/iXgTjOQ9Oz3QdcF4t1s+pZ3p4klbmUkM5ABeYSftCgZSR032DC+o4KUskSe
n4L794eHjsjrDSfWXEGVv747m1fHql3ohyF5vWe41iOqw1sZ5dP0ZXBdktqviHPK
M2mTlgS/zG2ti3VEszvkIPWRquI9Z8KuBXB8YZxIyc1nnAYj+T0=
=M9F9
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: %make_jobs doesn't work

Sascha Manns-3
Hello list, hello Martin,

On 09.05.2017 09:23, Martin Pluskal wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On Tue, 2017-05-09 at 07:04 +0200, Sascha Manns wrote:
>> Hello list,
>>
>> i have prepared that Spec [1]. But a build breaks with "%make_jobs
>> /var/tmp/rpm-tmp.JYZHOQ: line 33: fg: no job control". See [2].
>>
>> Maybe i missed a dependency?
> Yes - you are removing qt5 packages dependency which pulls macro
> defining %make_jobs
For now i have used make %{?_smp_mflags}, and that works.

> As a side note I wonder why you are defining
> "Release:        0.patched" and operating with package names like
> "%{name}%{?_isa}"
Yes, this is a difficult thing. The software "publican" in that
repository needs a wkhtmltopdf, which is build against a patched qt
version [1].

So i realized that through defining a Release: 0.patched which is
requested as BuildRequires and Requires from publican. And the
wkhtmltopdf itself requires the wkhtmltopdf-qt.

I thought so i can differ the wkhtmltopdf version who depends on the
patched qt from the "normal" wkhtmltopdf in Publishing and Factory.

But i removed the %{?_isa} thing what you mentioned.

Greetings
Sascha

[1] https://github.com/wkhtmltopdf/qt

--
Sascha Manns
openSUSE member
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: %make_jobs doesn't work

Martin Pluskal-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, 2017-05-09 at 19:35 +0200, Sascha Manns wrote:

> Hello list, hello Martin,
>
> On 09.05.2017 09:23, Martin Pluskal wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > On Tue, 2017-05-09 at 07:04 +0200, Sascha Manns wrote:
> > > Hello list,
> > >
> > > i have prepared that Spec [1]. But a build breaks with
> > > "%make_jobs
> > > /var/tmp/rpm-tmp.JYZHOQ: line 33: fg: no job control". See [2].
> > >
> > > Maybe i missed a dependency?
> >
> > Yes - you are removing qt5 packages dependency which pulls macro
> > defining %make_jobs
>
> For now i have used make %{?_smp_mflags}, and that works.
>
> > As a side note I wonder why you are defining
> > "Release:        0.patched" and operating with package names like
> > "%{name}%{?_isa}"
>
> Yes, this is a difficult thing. The software "publican" in that
> repository needs a wkhtmltopdf, which is build against a patched qt
> version [1].
>
> So i realized that through defining a Release: 0.patched which is
> requested as BuildRequires and Requires from publican. And the
> wkhtmltopdf itself requires the wkhtmltopdf-qt.
Hi

I guess that you missed that release is overridden/automatically
generated by OBS anyways. In other words release is now at 17.1
regardless of what was set in spec file - see [1]

Cheers

M

1. https://build.opensuse.org/package/binaries/Documentation:Publican/wkhtmltopdf?repository=openSUSE_Leap_42.2
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwQnJ+Ps8HqIKhK3yWyRdZ/3eaFcFAlkS9NEACgkQWyRdZ/3e
aFeEDw//cqpvDvz6LGPbQeEAZNRVa1g/Fzwd3h2d8OrczUZJn4mK9KJJk8L9hQ/b
LCnDGAX/jX9WaIRI/kMTnyCU3F+3afploju3tq6Pyqfdh8HdTkmyeMlkgRSESzSb
39zPbBP689jNKpcG3FwyRje4rgNGOF8p1NlQmSTeyL67M/Ru+ggpMv8Kxx2vKbdE
E5rnUL66DlUvshmwTmvyafeyXiw0GXdI8F2sdn/GE1OFDHwIHy78lvVsEuv8mz+0
fzu0rO6oyxvIY4NpQTE7tLwDNCNiNFrKvjZI6unXM5E7/SNeKHvlt1ll5VV5DGpn
WPl0aQ4QjEqmkef6xdsDgQI2hBMZQAUeH7rvsRpoDVgjIoFtnh0ooH1Hf54A21Tg
LtpPShe5oQ0AdB39kI7fZhh4H/58a1LEIEbnY4sRL4yY+Kc8dPjxSr2qRtjfBmdg
qHtLUovlKTf2OyhUGWe8NcGLls0iGLZuEL5PtZF5Nuh9RXEL876GI+iUCe7WJSRQ
UfMItTF6I8edgywCfdjtJPKvWUakirC8+QqaQIdH8xIH0kw8gFgmr/rHIwEurn/J
SujxdrVHUFlHOgm9oav5pPMiwPnvOAmQuofl/Maqp0YpG5d11l4OXc6VqpMwLm/i
cjmXheGPF7rj7gmc6N/OZSVKz7HbGuVBN+aWxNCg/ljQCUnr5lo=
=6Eyw
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: %make_jobs doesn't work

Sascha Manns-3
Hi Martin,

On 10.05.2017 13:09, Martin Pluskal wrote:

> On Tue, 2017-05-09 at 19:35 +0200, Sascha Manns wrote:
>> Hello list, hello Martin,
>
>> On 09.05.2017 09:23, Martin Pluskal wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA256
>>>
>>> On Tue, 2017-05-09 at 07:04 +0200, Sascha Manns wrote:
>>>> Hello list,
>>>>
>>>> i have prepared that Spec [1]. But a build breaks with
>>>> "%make_jobs
>>>> /var/tmp/rpm-tmp.JYZHOQ: line 33: fg: no job control". See [2].
>>>>
>>>> Maybe i missed a dependency?
>>>
>>> Yes - you are removing qt5 packages dependency which pulls macro
>>> defining %make_jobs
>
>> For now i have used make %{?_smp_mflags}, and that works.
>
>>> As a side note I wonder why you are defining
>>> "Release:        0.patched" and operating with package names like
>>> "%{name}%{?_isa}"
>
>> Yes, this is a difficult thing. The software "publican" in that
>> repository needs a wkhtmltopdf, which is build against a patched qt
>> version [1].
>
>> So i realized that through defining a Release: 0.patched which is
>> requested as BuildRequires and Requires from publican. And the
>> wkhtmltopdf itself requires the wkhtmltopdf-qt.
> Hi
>
> I guess that you missed that release is overridden/automatically
> generated by OBS anyways. In other words release is now at 17.1
> regardless of what was set in spec file - see [1]
Thanks for that hint. I've forgotten that. Now i use the version tag for
that stuff.

Greetings
Sascha

--
Sascha Manns
Maifeldstraße 10
56727 Mayen

P: +49-2651-4014045
W: http://saigkill.tuxfamily.org



--
Sascha Manns
openSUSE member
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]