Re: rpmbuild issue?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Many thanks for having a look. See comments below.

Cheers

phantomjinx

> On Thu, 19 May 2011 22:34:53 +0100, P wrote:
>
>> Hi,
>>
>> Would someone mind casting an eye over the attached spec file, please?
>
> It doesn't even build (in Plague dist-f15 buildroot) due to missing
> BuildRequires,
>
>   checking for LIBGLADE... no
>   configure: error: in `/builddir/build/BUILD/gtkpod-2.0.0':
>   configure: error: *** No package 'libglade-2.0' found
>   See `config.log' for more details.
>   RPM build errors:

It wouldn't because the spec is designed for gtkpod 2.1.0, which no longer
uses libglade.

> and you haven't quoted any rpmbuild error details.

The difficulty is that there are no specific rpmbuild errors, other than
the "installed (but unpackaged file(s) found" errors. Everything compiles
correctly. See below.

> In several places,
> the spec file does not meet the Fedora Packaging Guidelines (e.g.
> the explicit "Requires: libid3tag" and others for webkitgtk3, gstreamer),
> the library and -devel package are in group "Applications/Multimedia"
> by mistake. The %files section are created lots of unowned directories,
> so they need some love anyway.

Quite possibly.

Would you mind explaining why the "Requires: libid3tag" is not correct,
given that the libgtkpod library does require that as a dependency?

Basically, I am creating 8 distinct rpm packages, single package and
several subpackages:

gtkpod.rpm
libgtkpod.rpm
libgtkpod-devel.rpm
gtkpod-plugin-coverweb.rpm
gtkpod-plugin-media-player.rpm
gtkpod-plugin-flac.rpm
gtkpod-plugin-ogg.rpm
gtkpod-plugin-mp4.rpm

>> I am trying to build rpms against it on Fedora 15 beta but it errors
>> saying that "Installed (but unpackaged) file(s) found". However, all the
>> files listed are those contained in the %files sections for the
>> sub-packages. rpm-check appears to be ignoring them. Adding them to the
>> %files for the package removes them from the error list but this seems
>> wrong.
>>
>> I can run the same spec file on fedora 14, with only rpm "build
>> requires" and "requires" versions being different, and it works fine.
>> Likewise, rpmlint seems to have no problems with it.
>>
>> Any advice would be greatly appreciated.
>
> Take another look at the $RPM_BUILD_ROOT directory contents and make
> sure that all files and directories are assigned to your various %files
> sections.

An example of the problem is the file:
/usr/lib/gtkpod/coverweb.plugin

This file is listed under the plugin coverweb %files section:
%files plugin-coverweb
%defattr(-,root,root,-)
%{_libdir}/%{name}/coverweb.plugin

Despite this, the file is one of this listed under "Installed (but
unpackaged) file(s) found".

Thus, I am really confused and wondering if some vital syntax change is
required in the spec file?

-- 
Laws are partly formed for the sake of good men, in order to instruct them
how they may live on friendly terms with one another, and partly for the
sake of those who refuse to be instructed, whose spirit cannot be subdued,
or softened, or hindered from plunging into evil. [The Laws, Plato]

You fiend! Never have I encountered such corrupt and foul-minded
perversity? Have you ever considered a career in the church?
Bishop of Bath and Wells (Blackadder II)

A clear conscience? When did you acquire such luxuries, Bernard? (Sir
Humphrey, Yes Prime Minister)

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux