Seamonkey port?

Jan Beich jbeich at vfemail.net
Mon Nov 9 17:25:31 UTC 2015


"Marat N.Afanasyev" <amarat at li.ru> writes:

> Jan Beich wrote:
>
>> "Marat N.Afanasyev" <amarat at li.ru> writes:
>>
>>> /usr/bin/ld: libxul.so: hidden symbol `downmix_int' isn't defined
>>
>> Adding -lopus won't be enough. Firefox hides any symbol not explicitly
>> listed as system with pragma visibility, see config/system-headers. However,
>> downmix_int isn't really a public symbol. So, you either have to disable
>> system opus via USE_MOZILLA=-opus like r386162 or apply the following hack
>
> if I set
>
> USE_MOZILLA=-opus
>
> then it doesn't build at all.

www/seamonkey shares most patches with www/firefox, so if they were
rebased correctly it should build fine just like firefox. Rebase can
be simplified to:
- replace files/ with the one from firefox
- restore the few specific to seamonkey
- merge Makefile changes from updates

So, try building with USE_MOZILLA=-opus again after

  $ sed 's,^[-+]\{3\} ,&mozilla/,' \
    ../firefox/files/patch-z-bug517422 \
    >files/patch-z-bug517422

or

  $ rm files/patch-z-bug517422

>
>>
>> Index: audio/opus/Makefile
>> ===================================================================
>> --- audio/opus/Makefile	(revision 401065)
>> +++ audio/opus/Makefile	(working copy)
>> ...
>>
> I applied this patch to opus, rebuilt and reinstalled it, but no luck
> as yet :(
>
> the same error in the same place

Make sure the object file that references downmix_int uses default visibility.
Either track it manually and remove or restart the build by cleaning WRKDIR.

It's quite likely libxul.so wants more than just that symbol which
makes using system libopus (and libcelt) hard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-gecko/attachments/20151109/374227f6/attachment.bin>


More information about the freebsd-gecko mailing list