how to fix build fail

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

how to fix build fail

Christian
Hi,

trying to build gstreamer-plugins-bad on my instance, but running into
the following error and have no idea how to fix.

[  463s] + %make_build
[  463s] /var/tmp/rpm-tmp.GscvOa: line 62: fg: no job control
[  463s] error: Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
[  463s]
[  463s]
[  463s] RPM build errors:
[  463s]     Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
[  463s]
[  463s] s4y-01 failed "build gstreamer-plugins-bad.spec" at Sat Nov 18
19:44:25 UTC 2017.
[  463s]

having it for 42.2 and 42.3

Thank you :)

--

Christian
------------------------------------------------------------
   https://join.worldcommunitygrid.org?recruiterId=177038
------------------------------------------------------------
           http://www.sc24.de - Sportbekleidung
------------------------------------------------------------
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: how to fix build fail

Stephan Hemeier
Am Sonntag, 19. November 2017, 14:43:55 CET schrieb Christian:

> Hi,
>
> trying to build gstreamer-plugins-bad on my instance, but running into
> the following error and have no idea how to fix.
>
> [  463s] + %make_build
> [  463s] /var/tmp/rpm-tmp.GscvOa: line 62: fg: no job control
> [  463s] error: Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
> [  463s]
> [  463s]
> [  463s] RPM build errors:
> [  463s]     Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
> [  463s]
> [  463s] s4y-01 failed "build gstreamer-plugins-bad.spec" at Sat Nov 18
> 19:44:25 UTC 2017.
> [  463s]
>
> having it for 42.2 and 42.3
>
> Thank you :)
Without any Information?

Do you build it in OBS?
URL?

Only Thing:
> [  463s] error: Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
So look inside the %build


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

Reply | Threaded
Open this post in threaded view
|

Re: how to fix build fail

Christian
Am 19.11.2017 um 14:51 schrieb Stephan Hemeier:

> Am Sonntag, 19. November 2017, 14:43:55 CET schrieb Christian:
>> Hi,
>>
>> trying to build gstreamer-plugins-bad on my instance, but running into
>> the following error and have no idea how to fix.
>>
>> [  463s] + %make_build
>> [  463s] /var/tmp/rpm-tmp.GscvOa: line 62: fg: no job control
>> [  463s] error: Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
>> [  463s]
>> [  463s]
>> [  463s] RPM build errors:
>> [  463s]     Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
>> [  463s]
>> [  463s] s4y-01 failed "build gstreamer-plugins-bad.spec" at Sat Nov 18
>> 19:44:25 UTC 2017.
>> [  463s]
>>
>> having it for 42.2 and 42.3
>>
>> Thank you :)
> Without any Information?
Sorry, but the main info from 'Live Build Log' is NOT without any
information.


>
> Do you build it in OBS?
Yes, and I mentioned this in the beginning 'trying to build
gstreamer-plugins-bad on my instance' ...
obviuosly this wasn't clear enough.

> URL?
it is a copypac of:
https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-bad

>
> Only Thing:
>> [  463s] error: Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
> So look inside the %build
>
>
is it possible that the macro '%make_build' is causing:
/var/tmp/rpm-tmp.GscvOa: line 62: fg: no job control

prpbably cause the macro is not known ?

--

Christian
------------------------------------------------------------
   https://join.worldcommunitygrid.org?recruiterId=177038
------------------------------------------------------------
           http://www.sc24.de - Sportbekleidung
------------------------------------------------------------
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: how to fix build fail

Dmitriy Perlow-2
Sun, 19 Nov 2017 17:19:40 +0300 Christian <[hidden email]>  
напісаў(ла):

> Am 19.11.2017 um 14:51 schrieb Stephan Hemeier:
>> Am Sonntag, 19. November 2017, 14:43:55 CET schrieb Christian:
>>> Hi,
>>>
>>> trying to build gstreamer-plugins-bad on my instance, but running into
>>> the following error and have no idea how to fix.
>>>
>>> [  463s] + %make_build
>>> [  463s] /var/tmp/rpm-tmp.GscvOa: line 62: fg: no job control
>>> [  463s] error: Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
>>> [  463s]
>>> [  463s]
>>> [  463s] RPM build errors:
>>> [  463s]     Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
>>> [  463s]
>>> [  463s] s4y-01 failed "build gstreamer-plugins-bad.spec" at Sat Nov 18
>>> 19:44:25 UTC 2017.
>>> [  463s]
>>>
>>> having it for 42.2 and 42.3
>>>
>>> Thank you :)
>> Without any Information?
> Sorry, but the main info from 'Live Build Log' is NOT without any
> information.
>
>
>>
>> Do you build it in OBS?
> Yes, and I mentioned this in the beginning 'trying to build
> gstreamer-plugins-bad on my instance' ...
> obviuosly this wasn't clear enough.
>
>> URL?
> it is a copypac of:
> https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-bad
>
>>
>> Only Thing:
>>> [  463s] error: Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
>> So look inside the %build
>>
>>
> is it possible that the macro '%make_build' is causing:
> /var/tmp/rpm-tmp.GscvOa: line 62: fg: no job control
>
> prpbably cause the macro is not known ?

Hello. Yep, this macro is unknown.
You should buildrequire package that provides this macro or use some  
default macro.

--
Best regards,
Dmitriy Perlow
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: how to fix build fail

Christian
Am 19.11.2017 um 15:44 schrieb Dmitriy A. Perlow:
> You should buildrequire package that provides this macro or use some
> default macro.
that is strange ... does this 'macro' (%make_build) only exist for
Tumbleweed ? Isn't it known on Leap ?

--

Christian
------------------------------------------------------------
   https://join.worldcommunitygrid.org?recruiterId=177038
------------------------------------------------------------
           http://www.sc24.de - Sportbekleidung
------------------------------------------------------------
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: how to fix build fail

Simon Lees-3


On 20/11/17 06:25, Christian wrote:
> Am 19.11.2017 um 15:44 schrieb Dmitriy A. Perlow:
>> You should buildrequire package that provides this macro or use some
>> default macro.
> that is strange ... does this 'macro' (%make_build) only exist for
> Tumbleweed ? Isn't it known on Leap ?
>

Yes running  'rpm --eval "%make_build"' on both a Leap 42.3 box and on
tumbleweed shows that this macro is not in Leap 42.3 it seems like a new
macro. I didn't know it existed.

--

Simon Lees (Simotek)                            http://simotek.net

Emergency Update Team                           keybase.io/simotek
SUSE Linux                           Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B


signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: how to fix build fail

Christian
Am 20.11.2017 um 02:17 schrieb Simon Lees:
> Yes running  'rpm --eval "%make_build"' on both a Leap 42.3 box and on
> tumbleweed shows that this macro is not in Leap 42.3 it seems like a new
> macro. I didn't know it existed.

And which is the correct macro to use on Leap-42.2/3 ?
Then I could fix the spec to work also with Leap, and not only for
Tumbleweed ...

--

Christian
------------------------------------------------------------
   https://join.worldcommunitygrid.org?recruiterId=177038
------------------------------------------------------------
           http://www.sc24.de - Sportbekleidung
------------------------------------------------------------
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: how to fix build fail

Dave Plater lst


On 20/11/2017 11:56, Christian wrote:
> Am 20.11.2017 um 02:17 schrieb Simon Lees:
>> Yes running  'rpm --eval "%make_build"' on both a Leap 42.3 box and on
>> tumbleweed shows that this macro is not in Leap 42.3 it seems like a new
>> macro. I didn't know it existed.
>
> And which is the correct macro to use on Leap-42.2/3 ?
> Then I could fix the spec to work also with Leap, and not only for
> Tumbleweed ...
>
Just use the traditional "make %{?_smp_mflags}".
Dave P
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: how to fix build fail

Cristian Rodríguez-2
In reply to this post by Christian


El 19-11-2017 a las 10:43, Christian escribió:

> Hi,
>
> trying to build gstreamer-plugins-bad on my instance, but running into
> the following error and have no idea how to fix.
>
> [  463s] + %make_build
> [  463s] /var/tmp/rpm-tmp.GscvOa: line 62: fg: no job control
> [  463s] error: Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
> [  463s]
> [  463s]
> [  463s] RPM build errors:
> [  463s]     Bad exit status from /var/tmp/rpm-tmp.GscvOa (%build)
> [  463s]
> [  463s] s4y-01 failed "build gstreamer-plugins-bad.spec" at Sat Nov 18
> 19:44:25 UTC 2017.
> [  463s]
>
> having it for 42.2 and 42.3
>
> Thank you :)
>

osc chroot
$EDITOR /var/tmp/rpm-tmp.GscvOa
goto line 62
that's the command that failed.. now..in this case it is just that
make_build is not defined.
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: how to fix build fail

Christian
Hi Christian,

Am 20.11.2017 um 17:41 schrieb Cristian Rodríguez:
> osc chroot
> $EDITOR /var/tmp/rpm-tmp.GscvOa
> goto line 62
> that's the command that failed.. now..in this case it is just that
> make_build is not defined.

is this a proposed solution ?

%if 0%{?suse_version} > 1320
%make_build
%else
%make %{?_smp_mflags}
%endif

--

Christian
------------------------------------------------------------
   https://join.worldcommunitygrid.org?recruiterId=177038
------------------------------------------------------------
           http://www.sc24.de - Sportbekleidung
------------------------------------------------------------
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: how to fix build fail

Cristian Rodríguez-2


El 20-11-2017 a las 13:54, Christian escribió:

> Hi Christian,
>
> Am 20.11.2017 um 17:41 schrieb Cristian Rodríguez:
>> osc chroot
>> $EDITOR /var/tmp/rpm-tmp.GscvOa
>> goto line 62
>> that's the command that failed.. now..in this case it is just that
>> make_build is not defined.
>
> is this a proposed solution ?
>
> %if 0%{?suse_version} > 1320
> %make_build
> %else
> %make %{?_smp_mflags}
> %endif
>

%{!?make_build:%define make_build %{__make} -O %{?_smp_mflags}}

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