Usually .a's only get put into -devel RPMS, not runtime ones. I'm guessing that 
libjs.so isn't needed by any runtime part of freeswitch (maybe its statically 
linked now?) so it was removed. We don't package other .a's (or .h's) in this 
non-devel package so it seemed appropriate to just remove the .so from the 
files list.

-Eric

On Jan 13, 2010, at 10:14 AM, Scott Lawrence wrote:

> On Wed, 2010-01-13 at 10:07 -0600, Eric Varsanyi wrote:
>> Trying to build the freeswitch RPM @ their SVN 16266 and our SVN 17671
>> (very current) I get a packaging error after the build completes. It
>> appears that they no longer build a shared version of libjs (just
>> a .a).
> 
> Your patch appears to just remove the .so without adding the .a ...
> 
>> Processing files: sipx-freeswitch-spidermonkey-1.0.5-1.i686
>> error: File not found by glob: 
>> /home/sipxchange/rpmbuild/BUILDROOT/sipx-freeswitch-1.0.5-1.i386/usr/local/freeswitch/lib/libjs.so*
>> 
>> I fixed this with the diff below 
>> 
>> DEV firedog:freeswitch sipxchange$ svn diff
>> Index: Makefile.am
>> ===================================================================
>> --- Makefile.am      (revision 17671)
>> +++ Makefile.am      (working copy)
>> @@ -1,6 +1,6 @@
>> VERSION = 1.0.5
>> RELEASE = 1
>> -SVN_RELEASE = 16184
>> +SVN_RELEASE = 16266
>> 
>> SRC_DIR = $(srcdir)/src
>> SVN_URL = http://svn.freeswitch.org/svn/freeswitch/trunk
>> Index: sipx-freeswitch.spec
>> ===================================================================
>> --- sipx-freeswitch.spec     (revision 17671)
>> +++ sipx-freeswitch.spec     (working copy)
>> @@ -412,7 +412,6 @@
>> %files spidermonkey
>> %defattr(0644, %{fs_user},daemon, 0755)
>> %{prefix}/mod/mod_spidermonkey*.so*
>> -%{prefix}/lib/libjs.so*
>> %{prefix}/lib/libnspr4.so
>> %{prefix}/lib/libplds4.so
>> %{prefix}/lib/libplc4.so
>> 
>> -Eric
>> 
>> PS: If there is better etiquette than posting this to this list, please 
>> point me at the relevant FAQ page and I promise I'll follow it in the future.
> 
> Posting to the list is fine.
> 
> 

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to