[RDD] @libexecdir@ not expanding correctly in rivendell.spec.in

Brooks Whiteford brooks at whitefordsound.com
Sun Jul 18 16:05:43 EDT 2010


On 7/18/10, Antonio Cardoso Martins <digiplan.pt at gmail.com> wrote:
>   Hello,
>
> I am trying to setup the opensuse build service, in order to have a
> rivendell repository with rpm binaries available for the most recent
> openSuSE versions. The easiest way to build rpms seemed to be your 'make
> rpm' script.
>
> The following was tested with rivendell version 1.7.2 taken directly
> from cvs
>
> When you execute ./configure, whithout specifying --libexecdir option,
> rivendell.spec.in is read resulting in a rivendell.spec file with
> ${exec_prefix}/libexec instead of the default /srv/www/rd-bin.
>
> This results in the following error when 'make rpm':
>
> ...
> Processing files: rivendell-web-1.7.2-1
> error: File must begin with "/": ${exec_prefix}/libexec/rdfeed.xml
> error: File must begin with "/": ${exec_prefix}/libexec/rdfeed.mp3
> error: File must begin with "/": ${exec_prefix}/libexec/rdcastmanager.cgi
> error: File must begin with "/": ${exec_prefix}/libexec/rdcastmanager.js
> error: File must begin with "/": ${exec_prefix}/libexec/greencheckmark.png
> error: File must begin with "/": ${exec_prefix}/libexec/redx.png
> error: File must begin with "/": ${exec_prefix}/libexec/greenball.png
> error: File must begin with "/": ${exec_prefix}/libexec/redball.png
> error: File must begin with "/": ${exec_prefix}/libexec/whiteball.png
> error: File must begin with "/": ${exec_prefix}/libexec/progressbar.gif
> Processing files: rivendell-devel-1.7.2-1
> Finding  Provides: /usr/lib/rpm/find-provides rivendell
> Finding  Requires: /usr/lib/rpm/find-requires rivendell
> Finding  Supplements: /usr/lib/rpm/find-supplements rivendell
> Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> rpmlib(CompressedFileNames) <= 3.0.4-1
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /var/tmp/rivendell-1.7.2
> error: Installed (but unpackaged) file(s) found:
>     /libexec/greenball.png
>     /libexec/greencheckmark.png
>     /libexec/progressbar.gif
>     /libexec/rdcastmanager.cgi
>     /libexec/rdcastmanager.js
>     /libexec/rdfeed.mp3
>     /libexec/rdfeed.xml
>     /libexec/redball.png
>     /libexec/redx.png
>     /libexec/whiteball.png
>
>
> RPM build errors:
>      File must begin with "/": ${exec_prefix}/libexec/rdfeed.xml
>      File must begin with "/": ${exec_prefix}/libexec/rdfeed.mp3
>      File must begin with "/": ${exec_prefix}/libexec/rdcastmanager.cgi
>      File must begin with "/": ${exec_prefix}/libexec/rdcastmanager.js
>      File must begin with "/": ${exec_prefix}/libexec/greencheckmark.png
>      File must begin with "/": ${exec_prefix}/libexec/redx.png
>      File must begin with "/": ${exec_prefix}/libexec/greenball.png
>      File must begin with "/": ${exec_prefix}/libexec/redball.png
>      File must begin with "/": ${exec_prefix}/libexec/whiteball.png
>      File must begin with "/": ${exec_prefix}/libexec/progressbar.gif
>      Installed (but unpackaged) file(s) found:
>     /libexec/greenball.png
>     /libexec/greencheckmark.png
>     /libexec/progressbar.gif
>     /libexec/rdcastmanager.cgi
>     /libexec/rdcastmanager.js
>     /libexec/rdfeed.mp3
>     /libexec/rdfeed.xml
>     /libexec/redball.png
>     /libexec/redx.png
>     /libexec/whiteball.png
> make: *** [rpm] Error 1
>
> This error does not occur when you explicitly specify the --libexecdir
> option with a path in ./configure because this way libexecdir does not
> depend on ${exec_prefix}.
>
> I think this could be fixed with the attached patch, that essentially
> avoids using @libexecdir@ in favour of @LOCAL_PREFIX@/libexec.
>
> Hope what i said makes sense.
>
> Thank you
>
> --
> -----------------------------------------
> Antonio Cardoso Martins
>          digiplan.pt at gmail.com
> 	antonio.martins at sectra.com
> Homepage: http://digiplan.eu.org
> -----------------------------------------
>
>

-- 
Sent from my mobile device


More information about the Rivendell-dev mailing list