Package builds fine locally and fails on almost all targets on OBS

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

Package builds fine locally and fails on almost all targets on OBS

Robert Munteanu
Hi,

I just submitted a new version of the apache2-mod_pagespeed package to
Apache:Modules [1].

Currently the build fails for all targets except for
Apache_openSUSE_12.1 x86_64 . The error ( for instance
Apache_openSUSE_12.1 i586 [2] ) points to a missing file -
net/instaweb/http/http.proto: File not found.

The file exists in the archive and I've double-checked that the build
passes locally for me for both openSUSE_12.2 i586 and x86_64 .

One peculiar thing about this package is that the tarball is quite
large , 354M . Is that something which might trigger errors? If not,
where should I start looking for the cause of the failure?

Thanks,

Robert


[1]: https://build.opensuse.org/package/show?package=apache2-mod_pagespeed&project=Apache%3AModules
[2]: https://build.opensuse.org/package/live_build_log?arch=i586&package=apache2-mod_pagespeed&project=Apache%3AModules&repository=Apache_openSUSE_12.1
--
Sent from my (old) computer
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Package builds fine locally and fails on almost all targets on OBS

Claudio Freire
On Thu, Dec 6, 2012 at 11:07 AM, Robert Munteanu
<[hidden email]> wrote:
> One peculiar thing about this package is that the tarball is quite
> large , 354M . Is that something which might trigger errors? If not,
> where should I start looking for the cause of the failure?

While it might if, IE, the build host runs out of space, I don't think
354M is that big.

I have another package with a tarball that big and have never had
space problems.
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Package builds fine locally and fails on almost all targets on OBS

Andreas Schwab-2
In reply to this post by Robert Munteanu
Robert Munteanu <[hidden email]> writes:

> Currently the build fails for all targets except for
> Apache_openSUSE_12.1 x86_64 . The error ( for instance
> Apache_openSUSE_12.1 i586 [2] ) points to a missing file -
> net/instaweb/http/http.proto: File not found.

That looks like a race condition.  Try removing %{_smp_mflags}.

> The file exists in the archive

But probably not yet where the rule looks for it.

Andreas.

--
Andreas Schwab, SUSE Labs, [hidden email]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Package builds fine locally and fails on almost all targets on OBS

Robert Munteanu
On Thu, Dec 6, 2012 at 4:45 PM, Andreas Schwab <[hidden email]> wrote:
> Robert Munteanu <[hidden email]> writes:
>
>> Currently the build fails for all targets except for
>> Apache_openSUSE_12.1 x86_64 . The error ( for instance
>> Apache_openSUSE_12.1 i586 [2] ) points to a missing file -
>> net/instaweb/http/http.proto: File not found.
>
> That looks like a race condition.  Try removing %{_smp_mflags}.

That did the trick, thanks! Although %{_smp_mflags} resolves to '-j8'
on my machine it never failed.

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

Reply | Threaded
Open this post in threaded view
|

Re: Package builds fine locally and fails on almost all targets on OBS

Philipp Thomas-3
On Thu, 6 Dec 2012 17:41:59 +0200, Robert Munteanu
<[hidden email]> wrote:

>That did the trick, thanks! Although %{_smp_mflags} resolves to '-j8'
>on my machine it never failed.

That's the nature of a race condition :-) If something like this
happens, the make rules miss a dependency that would prevent one rule
to fire before the other.

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

Reply | Threaded
Open this post in threaded view
|

Re: Package builds fine locally and fails on almost all targets on OBS

Robert Munteanu
On Thu, Dec 6, 2012 at 11:52 PM, Philipp Thomas <[hidden email]> wrote:
> On Thu, 6 Dec 2012 17:41:59 +0200, Robert Munteanu
> <[hidden email]> wrote:
>
>>That did the trick, thanks! Although %{_smp_mflags} resolves to '-j8'
>>on my machine it never failed.
>
> That's the nature of a race condition :-) If something like this
> happens, the make rules miss a dependency that would prevent one rule
> to fire before the other.

Out of curiosity, would you classify this a tooling bug , or a package bug?

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



--
Sent from my (old) computer
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Package builds fine locally and fails on almost all targets on OBS

Philipp Thomas-3
On Fri, 7 Dec 2012 00:08:10 +0200, Robert Munteanu
<[hidden email]> wrote:

>Out of curiosity, would you classify this a tooling bug , or a package bug?

As I said, the real bug is in the Makefile that comes with the
sources. So I'd call this a package bug and would report it upstream
os that its creators get a chance to fix it.

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