Re: recent update breaks some ports

From: Stefan Grundmann <sg2342_at_googlemail.com>
Date: Tue, 10 Apr 2012 11:50:29 +0000
On Tue, 10 Apr 2012 08:31:53 +0200
Stefan Farfeleder <stefan_at_fafoe.narf.at> wrote:

> On Tue, Apr 10, 2012 at 01:44:02AM -0400, AN wrote:
> > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #7 r234042: Sun
> > Apr  8 17:36:38 EDT 2012
> > root_at_FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64
> > 
> > After a recent update on Sunday to r234042 I am having a problem
> > with 2 ports:
> > 
> > gedit
> > evince
> > (using Gnome2 - ports tree up to date)
> > 
> > My last update (before this past Sun build/install world) was 2
> > weeks ago, so it was definitely a change made in the last 2 weeks.
> > 
> > Gedit will not start from the command line, or the applications
> > menu. There is no error message on the command line.  Evince will
> > start, however when you try to open a document the program freezes.
> > 
> > I have tried to:
> > make deinstall
> > make clean
> > make install clean
> > 
> > for both ports but they are still broken.  I would appreciate any
> > help.
> 
> I'm experiencing that too (r234038), xine also no longer starts (hangs
> at splash screen).

this might be related (or not, i did not have time to dig very deep).
The issue i experienced is: ports/lang/erlang is not able to start
it's wxgtk application. it boiled down to: any attempt to
dlopen(3) /usr/lib/stdc++.so.6 from within the erlang vm results in a
frozen erlang VM. 

how to repeat: 
# cd /usr/ports/lang/erlang
# make -DWITHOUT_JAVA -DWITHOUT_X11 -DWITHOUT_ODBC -DWITHOUT_WX
-DWITH_SMP install

# erl
1> erl_ddll:load("/usr/lib", "libstdc++").

it hangs here.

i attached gdb to a (debug enabled) erlang beam process, set some break
points and saw that the
the above erlang call results in dlopen(dlname, RTL_NOW), where
dlname points to "/usr/lib/libstdc++.so.6". 

since the problem goes away when using libstdc++ from the gcc48 port (i
suspect it goes away when using _any_ libstdc++ except the base system
one). i stopped investigating an put the relevant line into
my /etc/libmap.conf

best regards 

stefan grundmann
Received on Tue Apr 10 2012 - 09:50:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC