Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Nov 2015 18:17:46 +0100
From:      Jan Beich <jbeich@vfemail.net>
To:        "Marat N.Afanasyev" <amarat@li.ru>
Cc:        Steve Wills <swills@freebsd.org>, Louis Epstein <le@main.put.com>, gecko@freebsd.org
Subject:   Re: Seamonkey port?
Message-ID:  <1tbz-5byd-wny@vfemail.net>
In-Reply-To: <5640B0D1.1050302@li.ru> (Marat N. Afanasyev's message of "Mon, 09 Nov 2015 17:42:25 %2B0300")
References:  <20151104230905.Q98665-100000@main.put.com> <563B6A1E.9000806@li.ru> <563BA5F1.2080503@FreeBSD.org> <563C9BA8.7010006@li.ru> <563F155E.7030705@li.ru> <bnb4-behu-wny@vfemail.net> <5640B0D1.1050302@li.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

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

> Jan Beich wrote:
>
>> "Marat N.Afanasyev" <amarat@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.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJWQNU7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bMwIH/A6Cq7yVfLw926zdNA55ioFA
Qa4c9vEJQGnG7AonxOsslSEmkq9UMlBRTO0H1srZoDcFcp9Jfb3fIa3Ot/RjQRlu
J1Ry24twok4TKVWc8/g6i1EFP8ryQDis0nGW3w/kCVMaKxXHFamoJm1Sm8P/ppE2
nCxBHCkF6TIh83qwjB1kkVZ5yKjO+oJ/qyuaOB5SPDoFWYPF6kBs4vnp55q9SsWW
QL08f6xAhD6tttLUJvL1h07MpZqp+/Pj0DDqQL12p7kHOqkRyBf69S+W8RlTt/GI
h0O2N3Ro4c5U8ovqoZj8nwvgifSmD0J2OW3YQ7SFMiND9zKhBgCY/a+ZuX1U8wU=
=GS27
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1tbz-5byd-wny>