Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Dec 2010 11:00:39 -0600
From:      Jeremy Messenger <mezz.freebsd@gmail.com>
To:        "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>
Cc:        gnome@freebsd.org, mezz@freebsd.org
Subject:   Re: ports/153266: net-im/libnice: Does not install libnice.so.0 properly (missing: nice.0)
Message-ID:  <AANLkTinyPuSUaL%2Bqh49oL_tJxLD3F1%2Bjuiqr8WM4pR9P@mail.gmail.com>
In-Reply-To: <4D148A67.5000707@mail.zedat.fu-berlin.de>
References:  <201012182020.oBIKKL9N047379@freefall.freebsd.org> <4D0DF887.2010802@mail.zedat.fu-berlin.de> <AANLkTikchTbgSh83sa43WOCr%2BTGarQP-RyDLxE2j5wBM@mail.gmail.com> <4D148A67.5000707@mail.zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 24, 2010 at 5:56 AM, O. Hartmann
<ohartman@mail.zedat.fu-berlin.de> wrote:
> On 12/19/10 17:55, Jeremy Messenger wrote:
>>
>> On Sun, Dec 19, 2010 at 6:20 AM, O. Hartmann
>> <ohartman@mail.zedat.fu-berlin.de> =A0wrote:
>>>
>>> On 12/18/10 21:20, mezz@FreeBSD.org wrote:
>>>>
>>>> Synopsis: net-im/libnice: Does not install libnice.so.0 properly
>>>> (missing:
>>>> nice.0)
>>>>
>>>> State-Changed-From-To: open->feedback
>>>> State-Changed-By: mezz
>>>> State-Changed-When: Sat Dec 18 20:19:47 UTC 2010
>>>> State-Changed-Why:
>>>> It looks like your libtool got broke or something. You need to make su=
re
>>>> you
>>>> have libtool installation fixed by follow in the /usr/ports/UPDATING o=
r
>>>> just
>>>> reinstall your libtool and try it again. If you still get same result,
>>>> please
>>>> follow this:
>>>>
>>>> =A0 =A0 =A0 =A0http://www.freebsd.org/gnome/docs/bugging.html
>>>>
>>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D153266
>>>
>>> I made it my habit following /usr/ports/UPDATING before updating the
>>> ports.
>>> So I foloowed the instructions updating all the autotools ports as
>>> recommended with in the appropriate entry of that file.
>>>
>>> Well, I'm a little bit confused. On all boxes I run with FreeBSD 8/9
>>> libnice
>>> gets installed as 'libnice.so.9', but, for instance, farsight2 checks f=
or
>>> the dependency of nice.0 instead of nice.9. Adjusting this 'typeo' from=
 0
>>> ->
>>> 9 makes things run well.
>>>
>>> Well, I thought this is an error in libnice, maybe I'm wrong and it is =
a
>>> typo in farsight2. If libnice.so.9 is correct, then I suggest moving th=
e
>>> whole thing over to an error report for net-im/farsight2 and my
>>> apologies,
>>> if it is so ...
>>
>> It installs as libnice.so.0 and farsight2 checks for nice.0 are
>> correct, not 9. Umm... It sounds like somehow your ports tree's
>> USE_GNOME=3Dltverhack is broke. Without that, it will installing as
>> libnice.so.9. The USE_GNOME=3Dltverhack is coming from
>> /usr/ports/Mk/bsd.gnome.mk. Is your bsd.gnome.mk up to date? Or maybe
>> your libtool is broke too. I am not sure why your ports tree's
>> USE_GNOME=3Dltverhack doesn't work though. How does your make.conf looks
>> like?
>>
>> Cheers,
>> Mezz
>>
>>
>>> Regards,
>>> Oliver
>>
>>
>
> Hello Mezz,
>
> My OS on all boxes in questions are upt to date, even the ports-tree is u=
pd
> to date. To be sure, I deleted the whole tree and reinstalled everything.
> But it doesn't help. Attached you'll find the console output of the
> net-im/farsight2 build, below this messages those reports directed to
> stderr.

The messages below is exactly what problem that causes it doesn't
install as .so.0. It creates new libtool and other files by overwrote
our patches. I am not sure why this line in Makefile doesn't work for
others and you.

---------------------
post-patch:
	[...]
	@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f
---------------------

> As I wrote earlier - it doesn't seem to make any difference whether I use
> the original (or none) make.conf or the one I use for configuration some
> special ports. I even tried on a fresh installation in a VirtuelBox of
> FreeBSD 9.0-CURRENT/amd64. But to make things clear, I will attach make.c=
onf
> also.

Can you point me which iso file that you have installed FreeBSD
9.0-CURRENT/amd64? For I can download it then install in VirtualBox.
Gotta install Virtualbox....

Happy Holiday too!
Mezz

> Merry Christmas,
> Oliver
>
> ----
> aclocal.m4:16: warning: this file was generated for autoconf 2.65.
> You have another version of autoconf. =A0It may work, but is not guarante=
ed
> to.
> If you have problems, you may need to regenerate the build system entirel=
y.
> To do so, use the procedure documented by the package, typically
> `autoreconf'.
> configure.ac:48: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detect=
ed
> in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
> aclocal.m4:1099: _LT_SYS_MODULE_PATH_AIX is expanded from...
> aclocal.m4:4247: _LT_LINKER_SHLIBS is expanded from...
> aclocal.m4:5330: _LT_LANG_C_CONFIG is expanded from...
> aclocal.m4:221: _LT_SETUP is expanded from...
> aclocal.m4:150: LT_INIT is expanded from...
> aclocal.m4:185: AC_PROG_LIBTOOL is expanded from...
> configure.ac:48: the top level
> configure.ac:48: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detect=
ed
> in body
> ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
> ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
> ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
> aclocal.m4:4247: _LT_LINKER_SHLIBS is expanded from...
> aclocal.m4:5330: _LT_LANG_C_CONFIG is expanded from...
> aclocal.m4:221: _LT_SETUP is expanded from...
> aclocal.m4:150: LT_INIT is expanded from...
> aclocal.m4:185: AC_PROG_LIBTOOL is expanded from...
> configure.ac:48: the top level
> agent.c:123: warning: missing initializer
> agent.c:123: warning: (near initialization for 'agent_mutex.depth')
> interfaces.c: In function 'nice_interfaces_get_local_ips':
> interfaces.c:184: warning: unused variable 'ret'
> pseudotcp.c: In function 'attempt_send':
> pseudotcp.c:1281: warning: format '%d' expects type 'int', but argument 1=
0
> has type 'long unsigned int'
> libtool: install: warning: relinking `libgstnice.la'


--=20
mezz.freebsd@gmail.com - mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinyPuSUaL%2Bqh49oL_tJxLD3F1%2Bjuiqr8WM4pR9P>