Just a quick update that I finally managed to get RPMs. I still have to
test installation / execution next week.

Here is what I had to do to get it working.

1) File not found by glob:
/home/mick/rpmbuild/BUILDROOT/rivendell-2.19.0int01-1.x86_64/usr/share/doc/packages/rivendell-2.19.0int01/*
was fixed by replacing

    %{_datadir}/doc/rivendell-%{version} ->
%{_datadir}/doc/packages/rivendell-%{version}

in rivendell.spec.in (36 occurrences). The build then progressed to the
second error that I already saw in my attempted master build:

2) File listed twice: /srv/www/rd-bin/rdxport.cgi
   Installed (but unpackaged) file(s) found:
   /usr/bin/rdalsaconfig-root

rdxport.cgi on line 397 is the only occurrence in rivendell.spec.in, so
I'm not sure what this warning means.

Checking the BUILDROOT:

    BUILDROOT/rivendell-2.19.0int01-1.x86_64/usr/bin/rdalsaconfig-root
-> /usr/bin/consolehelper

Again in rivendell.spec.in replacing (line 275)

    @CONSOLEHELPER_RDALSACONFIG@ -> @LOCAL_PREFIX@/bin/rdalsaconfig-root

Checking in configure.ac:

  AC_SUBST(CONSOLEHELPER_RDALSACONFIG,"")
  AC_SUBST(USERMODE_PKG,"")

This could be a missing dependency as /usr/bin/consolehelper does not
actually exist on this installation. (I couldn't find any rpm to install
consolehelper or usermode. Apparently libgnomesu provides consolehelper
but /usr/bin/consolehelper is still missing. Maybe this will change
during installation on an actual workstation with GUI, as this build was
done on a headless server).

I'll post back if I hit anything else interesting during installation /
execution.

Cheers,

Mick

On 22/03/18 01:08, Fred Gleason wrote:
> On Mar 21, 2018, at 08:56, Mick <[email protected]
> <mailto:[email protected]>> wrote:
>
>> The compile seems to work (although I haven't tried installing /
>> running), but the packaging is stuck at...
>>
>>
>>     Processing files: rivendell-2.19.0int01-1.x86_64
>>     error: File not found by glob:
>>     
>> /home/mick/rpmbuild/BUILDROOT/rivendell-2.19.0int01-1.x86_64/usr/share/doc/packages/rivendell-2.19.0int01/*
>>
>>     RPM build errors:
>>         File not found by glob:
>>     
>> /home/mick/rpmbuild/BUILDROOT/rivendell-2.19.0int01-1.x86_64/usr/share/doc/packages/rivendell-2.19.0int01/*
>>     Makefile:952: recipe for target 'rpm' failed
>>     make: *** [rpm] Error 1
>>
> Problem here is that RHEL and OpenSuSE handle package documentation
> slightly differently. OpenSuSE puts it in
> ‘/usr/share/doc/<pkg-name>-/‘, whereas RHEL uses
> ‘/usr/share/doc/<pkg-name>—<version>/‘. 
>
> Try making the following changes to ‘rivendell.spec.in’:
>
> On lines 412 and 453, remove the ‘’-%{version]” part of the string
> —e.g. change ‘%{_docdir}/rivendell-%{version}’ to ‘%{_docdir}/rivendell’.
>
>  Do a search and replace for ‘/%{_datadir}/doc/rivendell-%{version}’,
> replacing it with ‘/%{_datadir}/doc/rivendell’.
>
> Then run the configure script and ‘make rpm’ again.
>
> It’s been ages since I’ve tried generating RPMs on OpenSuSE! It’s
> quite likely that there will be some code rot in the package
> dependencies as well, due to the slightly different package naming
> conventions. You’ll know that if you get an ‘unsatisfied dependency’
> error when you go to install the resulting RPMs. Let me know what you
> run into. If we can make it go, we should be able to automate this so
> ‘make rpm’ will Just Work on both platforms.
>
>  Cheers!
>
>
> |----------------------------------------------------------------------|
> | Frederick F. Gleason, Jr. |              Chief Developer             |
> |                           |              Paravel Systems             |
> |----------------------------------------------------------------------|
> |          A room without books is like a body without a soul.         |
> |                                         -- Cicero                    |
> |----------------------------------------------------------------------|
>
>
>
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to