Mailinglist Archive: opensuse-buildservice (199 mails)

< Previous Next >
Re: [opensuse-buildservice] Accepteted request results in empty package
Ok, unfortunately I don't have enough resources to dig into that, but I think
the validator does have problems with the following construct:

%{!?pear_phpdir: %{expand: %%global pear_phpdir %(pear config-get php_dir
2> /dev/null)}}
%{!?pear_xmldir: %{expand: %%global pear_xmldir /var/lib/pear}}
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}

which should allow usage of the Fedora-based pre-defines, and which actually
seem to work. I'll simplify that...

Johannes


Am 16.06.11 15:18, schrieb Adrian Schröter:
Am Thursday, 16. June 2011, 14:30:59 schrieb Johannes Weberhofer:
There is nothing I can do to make it running, is there?

Everything is open source, so everybody has every chance ;)

The question here is what the goal is. The validators do fail on this spec file
that means it will in this way never be accepted to openSUSE:Factory.

So you have three possibilities:

* Adapt your spec file in a way so they don't fail.

* Adapt validators to accept the used features (Rudi needs to review that)

* Decide that you never plan to make it an official openSUSE package and
disable the services by not branching for example. But since you submit
to an official devel package of Factory I doubt that this is the right
way here.


Johannes

Am 16.06.11 10:07, schrieb Stephan Kulow:
Am Donnerstag, 16. Juni 2011 schrieb Johannes Weberhofer:
Dear all,

the request https://build.opensuse.org/request/show/73634 has been accepted
but the resulting package is empty. How can the problem be solved?


The package is not empty, the webui just doesn't show the error unless you
hover the "broken" status.

<serviceinfo code="failed" error="service source_validator failed:
+ echo Running /usr/lib/obs/service/source_validator --outdir /lxc.tmp/out
Running /usr/lib/obs/service/source_validator --outdir /lxc.tmp/out
+ /usr/lib/obs/service/source_validator --outdir /lxc.tmp/out
/usr/lib/osc/source_validators/20-files-present-and-referenced: line 41:
/dev/fd/62: No such file or directory
grep: write error: Broken pipe
/usr/lib/osc/source_validators/20-files-present-and-referenced: line 41:
/dev/fd/62: No such file or directory
grep: write error: Broken pipe
error: mentioned in spec file does not exist.
Macro mentioned in spec file does not exist.
%pear_phpdir mentioned in spec file does not exist.
has mentioned in spec file does not exist.
empty mentioned in spec file does not exist.
body mentioned in spec file does not exist.
error: mentioned in spec file does not exist.
Macro mentioned in spec file does not exist.
%pear_phpdir mentioned in spec file does not exist.
has mentioned in spec file does not exist.
empty mentioned in spec file does not exist.
body mentioned in spec file does not exist.
error: mentioned in spec file does not exist.
Macro mentioned in spec file does not exist.
%pear_phpdir mentioned in spec file does not exist.
has mentioned in spec file does not exist.
empty mentioned in spec file does not exist.
body mentioned in spec file does not exist.
error: mentioned in spec file does not exist.
Macro mentioned in spec file does not exist.
%pear_phpdir mentioned in spec file does not exist.
has mentioned in spec file does not exist.
empty mentioned in spec file does not exist.
body mentioned in spec file does not exist.
Attention, .errors is not mentioned in spec files as source or patch.
###ASK /lxc.tmp/src/.errors
Attention, .tmp is not mentioned in spec files as source or patch.
!! .tmp is a directory !!
###ASK -r /lxc.tmp/src/.tmp
/usr/lib/osc/source_validators/60-spec-filelist: line 12: /dev/fd/62: No such
file or directory
/usr/lib/osc/source_validators/60-spec-filelist: line 12: echo: write error:
Broken pipe
/usr/lib/osc/source_validators/60-spec-filelist: line 12: /dev/fd/62: No such
file or directory
/usr/lib/osc/source_validators/60-spec-filelist: line 12: echo: write error:
Broken pipe"


This looks like a bug in the source service actually.

Greetings, Stephan




--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >