Re: error: More than one file on a line

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

 



On Sat, Aug 3, 2019 at 3:27 PM Elliott Sales de Andrade
<quantum.analyst@xxxxxxxxx> wrote:
>
>
>
> On Sat, Aug 3, 2019, 3:49 PM Christoph Junghans, <junghans@xxxxxxxxx> wrote:
>>
>> Hi,
>>
>> related to https://src.fedoraproject.org/rpms/kim-api/pull-request/1
>> I am getting a strange error:
>>
>> RPM build errors:
>> BUILDSTDERR:     More than one file on a line: /_kim-api-collections-management
>> BUILDSTDERR:     More than one file on a line:
>> /kim-api-collections-management.bash
>> (see https://koji.fedoraproject.org/koji/taskinfo?taskID=36767148)
>> I remember I have seen this before for bash-completion files, but I
>> can unfortunately not remember what the solution was.
>>
>> the lines in the spec triggering this install are:
>> %files
>> ...
>> %{z_compdir}/_kim-api-collections-management
>> %{z_compdir}/kim-api-collections-management.bash
>> with:
>> %global z_compdir "%{_datadir}/zsh/site-functions"
>> which is given to CMake
>> %{cmake3} .... -DZSH_COMPLETION_COMPLETIONSDIR=%{z_compdir} ..
>> and picked up correctly:
>> -- Installing: /builddir/build/BUILDROOT/kim-api-2.1.2-1.fc31.i386/usr/share/zsh/site-functions/_kim-api-collections-management
>> -- Installing: /builddir/build/BUILDROOT/kim-api-2.1.2-1.fc31.i386/usr/share/zsh/site-functions/kim-api-collections-management.bash
>> nagement
>>
>> Any ideas?
>
>
> Remove the quotes on the %global and only use them for the shell invocations (or not at all because there won't be any spaces in the path anyway.)
Thanks, that did the trick!

Christoph
>
>> Christoph
>>
>>
>>
>> --
>> Christoph Junghans
>> Web: http://www.compphys.de
>> _______________________________________________
>> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
>> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
>
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx



-- 
Christoph Junghans
Web: http://www.compphys.de
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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