[aur-general] bes
Andrea Fagiani
andfagiani at gmail.com
Wed Aug 25 06:03:24 EDT 2010
On 08/25/2010 11:34 AM, Nathan O wrote:
> On Wed, Aug 25, 2010 at 4:07 AM, Nathan Wayde<kumyco at konnichi.com> wrote:
>
>> On 25/08/10 10:01, Nathan O wrote:
>>
>>> On Wed, Aug 25, 2010 at 3:00 AM, Nathan O<ndowens.aur at gmail.com> wrote:
>>>
>>>
>>>> On Tue, Aug 24, 2010 at 11:16 PM, Nathan O<ndowens.aur at gmail.com>
>>>> wrote:
>>>>
>>>> I have almost got BES packaged, the only problem is that namcap gives
>>>>> me:
>>>>>
>>>>> bes W: Referenced library 'libbes_dispatch.so.8' is an uninstalled
>>>>>
>>>>>> dependency
>>>>>> bes W: Referenced library 'libbes_ppt.so.4' is an uninstalled
>>>>>> dependency
>>>>>> bes W: Referenced library 'libbes_xml_command.so.1' is an uninstalled
>>>>>> dependency
>>>>>> bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file
>>>>>> ('usr/lib/bes/libbes_xml_command.so.1.0.3')
>>>>>> bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file
>>>>>> ('usr/lib/bes/libbes_ppt.so')
>>>>>> bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file
>>>>>> ('usr/lib/bes/libbes_ppt.so.4.0.3')
>>>>>> bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file
>>>>>> ('usr/lib/bes/libbes_ppt.so.4')
>>>>>> bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file
>>>>>> ('usr/lib/bes/libbes_xml_command.so')
>>>>>> bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file
>>>>>> ('usr/lib/bes/libbes_xml_command.so.1')
>>>>>> bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file
>>>>>> ('usr/bin/besstandalone')
>>>>>> bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file
>>>>>> ('usr/bin/bescmdln')
>>>>>> bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file
>>>>>> ('usr/bin/besdaemon')
>>>>>> bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file
>>>>>> ('usr/bin/beslistener')
>>>>>>
>>>>>> I figured out how to fix the rpath issue with cmake, but this one uses
>>>>>>
>>>>> ./configure and make system.
>>>>>
>>>>>
>>>>> Well I fixed the issues with namcap, though it doesn't run correctly :S
>>>> I
>>>> uploaded it to AUR if you want to check it out. When you try to do
>>>> /etc/rc.d/bes start, it was to find the besctl in /aur/pkg/usr/bin/besctl
>>>>
>>>> Is anybody interested in taking BES over? I fixed the compile issue, but
>>> not
>>> matter what I try to do to get it to run correctly, it doesn't work.
>>> Somebody else will probably have better luck then I am having :s
>>>
>>>
>> I only looked briefly at the pkgbuild but on the configure line
>> *=${pkgdir}* really stand out as being incorrect in most(if not all) cases
>> which would explain why /aur/pkg/usr/bin/besctl contains `/aur/pkg` i.e
>> ${pkgdir}
>>
>> additionally on the sed line, ${exec_prefix} and ${prefix} are undefined as
>> far as i can see so it's unlikely to work the way you intend it to.
>>
> I'll try again tomorrow, though don't know how much luck I will have then
>
Actually, there were a few other quirks :
- license variable was not an array
- the sed line was useless, as far as I'm aware
- the make install line should read DESTDIR=$pkgdir, not
prefix=$pkgdir, for the same reason as the ./configure
the PKGBUILD should look something like the attached one.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PKGBUILD
URL: <http://mailman.archlinux.org/pipermail/aur-general/attachments/20100825/e6ab4c38/attachment.ksh>
More information about the aur-general
mailing list