From owner-freebsd-questions Wed Feb 12 5:17:44 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2995037B401 for ; Wed, 12 Feb 2003 05:17:41 -0800 (PST) Received: from sumter.awod.com (sumter.awod.com [63.246.96.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1239A43FCB for ; Wed, 12 Feb 2003 05:17:40 -0800 (PST) (envelope-from stanb@awod.com) Received: from teddy.fas.com (pcp01010374pcs.mplsnt01.sc.comcast.net [68.58.176.69]) by sumter.awod.com (8.8.7/8.12.2) with ESMTP id IAA75717 for ; Wed, 12 Feb 2003 08:18:54 -0500 (EST) (envelope-from stanb@awod.com) X-Authentication-Warning: sumter.awod.com: User sandib [pcp01010374pcs.mplsnt01.sc.comcast.net] popped 245 seconds ago Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 18iwle-0006Xb-00 for ; Wed, 12 Feb 2003 08:17:38 -0500 Date: Wed, 12 Feb 2003 08:17:38 -0500 From: stan To: FreeBSD User Questions List Subject: Re: Mozilla/Galeon broken after portupgrade Message-ID: <20030212131738.GA25098@teddy.fas.com> Mail-Followup-To: FreeBSD User Questions List References: <20030211230205.GB7394@teddy.fas.com> <3E498322.5060708@vagner.com> <20030211235035.GA8795@teddy.fas.com> <20030212011954.GA90935@tao.thought.org> <2030.10.0.0.2.1045013765.squirrel@mail.karamazov.org> <1045016579.89844.5.camel@shumai.marcuscom.com> <20030212024441.GA12824@teddy.fas.com> <1045017971.89844.9.camel@shumai.marcuscom.com> <20030212025555.GA13040@teddy.fas.com> <1045019512.89844.23.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1045019512.89844.23.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4i X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.17 X-Uptime: 08:11:41 up 24 days, 12:32, 1 user, load average: 0.00, 0.02, 0.00 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Feb 11, 2003 at 10:11:52PM -0500, Joe Marcus Clarke wrote: > On Tue, 2003-02-11 at 21:55, stan wrote: > > On Tue, Feb 11, 2003 at 09:46:12PM -0500, Joe Marcus Clarke wrote: > > > On Tue, 2003-02-11 at 21:44, stan wrote: > > > > On Tue, Feb 11, 2003 at 09:22:59PM -0500, Joe Marcus Clarke wrote: > > > > > On Tue, 2003-02-11 at 20:36, Scott A. Moberly wrote: > > > > > > > On Tue, Feb 11, 2003 at 06:50:35PM -0500, stan wrote: > > > > > > >> On Tue, Feb 11, 2003 at 06:11:30PM -0500, Laszlo Vagner wrote: > > > > > > >> > stan wrote: > > > > > > >> > > > > > > > >> > >I did a cvsup, make world, portupgrade sequence this weekend, and > > > > > > >> now both mozilla, and galeon die when started. > > > > > > >> > > > > > > > > >> > >Any sugestiosn as to how to fix this? > > > > > > >> > > > > > > > > >> > >I already tried "pritugrade -Rr galeon". Lots of stuff was > > > > > > >> rebuilt, but both browsers still core dump :-( > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > did you build and install a new kernel? did you do mergemaster? > > > > > > >> > > > > > > >> Yes, and yes. > > > > > > >> > > > > > > >> Does that narow it down? > > > > > > > > > > > > > > > > > > > > > As a point of imformation, both mozilla and mozilla-devel > > > > > > > segv for me since I upgraded. Right now I'm still > > > > > > > using the linux version of netscape-4.8 so that I can > > > > > > > use the audio plugins. But the more I use mozilla-- > > > > > > > and galeon too, BTW--the more I like both. > > > > > > > > > > > > > > Anybody here subscribed to -ports and know if > > > > > > > things are broken?? > > > > > > > > > > mozilla and mozilla-devel are not broken. They work just fine. If you > > > > > see a segfault in these ports, it is most likely a font problem. It > > > > > could be other things, but since I have no other information to go on, I > > > > > will assume a font problem. To rule out fonts, you should try building > > > > > mozilla without Xft support. To do this, specify -DWITHOUT_XFT when > > > > > building mozilla. If the problem goes away, and you still want to use > > > > > Xft for anti-aliasing support, you can try to track down any bad fonts > > > > > you may have installed. Usually, that involves making sure you have the > > > > > XFree86 scalable fonts port installed, and you do _not_ have the > > > > > mozilla-fonts port installed. From there, you usually have to go font > > > > > by font, running fc-cache after each font removal, to track down the > > > > > offending font. > > > > > > > > > > > > My problem does not look like a font problem. Let me be specific. When I > > > > start Galeon, it comes up, and waits 4 or 5 seconds, then pops up a warning > > > > that the connection was refused by the home page (which is working for > > > > other clients at that time), when I close this popup. I get a crash of > > > > Galeon. > > > > > > > > This does not loook like a font problem to me. > > > > > > Well, without a stacktrace or any logs, it's hard to make any other > > > guess. > > > > Considering that I just did "portugrade -fRR galeon" and after about 3 > > hours of crunching, I still have the exact same problem, could you tell me > > how to get any of this addiatioanl information that might lead to > > diagnosing this problem? > > Edit /etc/make.conf, and add the following lines: > > CFLAGS= -O -g -pipe > STRIP= > > Then, edit mozilla's Makefile, and remove the --enable-strip line. > Then, rebuild mozilla and galeon with the new CFLAGS. When it crashes, > you should be able to gdb on the core: > > gdb /usr/X11R6/bin/galeon-bin galeon-bin.core > > At the (gdb) prompt, type "bt". Send the trace. > K, I thin I;m on the track of something ehre. Let me expalin. I put those lines in /etc/make.conf, and decided to make certain my packages db was up to date, so I delted /var/db/pkg/pkg.db and ran pkgdb -u to rebuild it then I tried to do a portupgade -fRr galeon. I got the following error message: black# portupgrade -fRr galeon Stale dependency: galeon-1.2.7_1 --> fontconfig-2.1_2 -- manually run 'pkgdb -F' to fix (-O disallowed when -R is given). So, I thought I would go check on that I went to /usr/ports/x11-fonts/fontconfig and did a make install. At this point I was reminded of a proble that had come up a week or so ago during an upgrade, and I ahd ignored (yes I know a bad idea). In ant case what ahppens is thta the build goes fine, but the " Generating temporary packing list" step, ahngs forever! I left it runing over night the first time, just to be certain. So where do I go from here? Oh, I guess you were correct all along, it is a font problem of some sort. How can I straighten this out? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message