Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 11:20:49 +0200
From:      Stijn Hoop <stijn@win.tue.nl>
To:        freebsd-ports@freebsd.org
Subject:   bbconf update & crashes - HELP NEEDED
Message-ID:  <20020624092049.GE82560@pcwin002.win.tue.nl>

next in thread | raw e-mail | index | archive | help

--Qrgsu6vtpU/OV/zm
Content-Type: multipart/mixed; boundary="RIYY1s2vRbPFwWeW"
Content-Disposition: inline


--RIYY1s2vRbPFwWeW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

over the past 2 weeks I've been spending time trying to upgrade bbconf
to the latest version (1.6), without any luck. I can get it to compile
& install cleanly using the attached patches, but it always fails to
start. gdb shows it crashing in an Xft X function about which I have
absolutely no clue -- and this is when creating the main window.

Furthermore, I've had a report in which someone reported that 1.6 ran
fine on his machine (although on -CURRENT). So I'm stuck, and looking
for help. If anyone can confirm that the attached patch either works
or exhibits the same behaviour I'd be happy. The patch is against
the latest port.

For the record, my machine is completely up to date wrt ports as of
today (24/6), uname FreeBSD 4.6-STABLE #0: Mon Jun 17 04:35:36 CEST 2002.

Thanks in advance,

--Stijn

--=20
There are of course many problems connected with life, of which some of
the most popular are 'Why are people born?', 'Why do they die?', and
`Why do they spend so much of the intervening time wearing digital
watches?'
		-- Douglas Adams, "The Hitchhikers Guide To The Galaxy"

--RIYY1s2vRbPFwWeW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="bbconf.patch"
Content-Transfer-Encoding: quoted-printable

diff -urN --exclude=3DCVS /usr/ports/x11-wm/bbconf/Makefile bbconf/Makefile
--- /usr/ports/x11-wm/bbconf/Makefile	Wed Jan 23 05:42:27 2002
+++ bbconf/Makefile	Mon Jun 24 11:13:32 2002
@@ -6,7 +6,7 @@
 #
=20
 PORTNAME=3D	bbconf
-PORTVERSION=3D	1.4
+PORTVERSION=3D	1.6
 CATEGORIES=3D	x11-wm
 MASTER_SITES=3D   http://bbconf.sourceforge.net/code/
=20
@@ -14,8 +14,13 @@
=20
 USE_X_PREFIX=3D	yes
 GNU_CONFIGURE=3D	yes
-USE_QT_VER=3D	2
+USE_QT_VER=3D	3
+CONFIGURE_ARGS=3D	--program-transform-name=3D''
=20
 MAN1=3D		bbconf.1
+
+post-patch:
+	@find ${WRKSRC} -name 'Makefile.in' -print | \
+	    xargs ${PERL} -pi.orig -e 's#lib/bbconf#libexec/bbconf#g'
=20
 .include <bsd.port.mk>
diff -urN --exclude=3DCVS /usr/ports/x11-wm/bbconf/distinfo bbconf/distinfo
--- /usr/ports/x11-wm/bbconf/distinfo	Wed Jan 23 05:42:27 2002
+++ bbconf/distinfo	Thu Jun 13 14:16:08 2002
@@ -1 +1 @@
-MD5 (bbconf-1.4.tar.gz) =3D bf094ec7f7b401828895082ce97d574c
+MD5 (bbconf-1.6.tar.gz) =3D e5f35f2c8f8332b9d997f829bf14d7b1
diff -urN --exclude=3DCVS /usr/ports/x11-wm/bbconf/files/patch-Makefile.in =
bbconf/files/patch-Makefile.in
--- /usr/ports/x11-wm/bbconf/files/patch-Makefile.in	Tue Nov  6 15:30:20 20=
01
+++ bbconf/files/patch-Makefile.in	Thu Jun 13 14:18:24 2002
@@ -1,8 +1,8 @@
 $FreeBSD: ports/x11-wm/bbconf/files/patch-Makefile.in,v 1.1 2001/11/06 14:=
30:20 petef Exp $
=20
---- Makefile.in.orig	Mon Nov  5 06:11:07 2001
-+++ Makefile.in	Mon Nov  5 06:11:27 2001
-@@ -218,7 +218,7 @@
+--- Makefile.in.orig	Mon May 27 20:42:54 2002
++++ Makefile.in	Thu Jun 13 14:17:29 2002
+@@ -234,7 +234,7 @@
 =20
  MAINTAINERCLEANFILES =3D subdirs configure.in acinclude.m4 configure.file=
s=20
 =20
@@ -11,17 +11,17 @@
 =20
  doc_DATA =3D AUTHORS COPYING ChangeLog README README.html TODO
 =20
-@@ -304,6 +304,7 @@
- 	-rm -f config.h
- uninstall-info-am:
+@@ -309,6 +309,7 @@
+ maintainer-clean-hdr:
+=20
  install-docDATA: $(doc_DATA)
 +.ifndef NOPORTDOCS
  	@$(NORMAL_INSTALL)
  	$(mkinstalldirs) $(DESTDIR)$(docdir)
  	@list=3D'$(doc_DATA)'; for p in $$list; do \
-@@ -312,6 +313,7 @@
- 	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(docdir)/$$f"; \
- 	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(docdir)/$$f; \
+@@ -320,6 +321,7 @@
+ 	    $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \
+ 	  fi; fi; \
  	done
 +.endif
 =20
diff -urN --exclude=3DCVS /usr/ports/x11-wm/bbconf/pkg-plist bbconf/pkg-pli=
st
--- /usr/ports/x11-wm/bbconf/pkg-plist	Tue Nov  6 15:30:19 2001
+++ bbconf/pkg-plist	Thu Jun 13 15:34:09 2002
@@ -1,8 +1,8 @@
 bin/bbconf
-share/bbconf/plugins/libbbconf.so
-share/bbconf/plugins/libkeybindings.so
-share/bbconf/plugins/libmenu.so
-share/bbconf/plugins/libthemes.so
+libexec/bbconf/plugins/libbbconf.so
+libexec/bbconf/plugins/libkeybindings.so
+libexec/bbconf/plugins/libmenu.so
+libexec/bbconf/plugins/libthemes.so
 %%PORTDOCS%%share/doc/bbconf/AUTHORS
 %%PORTDOCS%%share/doc/bbconf/COPYING
 %%PORTDOCS%%share/doc/bbconf/ChangeLog
@@ -10,5 +10,5 @@
 %%PORTDOCS%%share/doc/bbconf/README.html
 %%PORTDOCS%%share/doc/bbconf/TODO
 %%PORTDOCS%%@dirrm share/doc/bbconf
-@dirrm share/bbconf/plugins
-@dirrm share/bbconf
+@dirrm libexec/bbconf/plugins
+@dirrm libexec/bbconf

--RIYY1s2vRbPFwWeW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="bbconf.crash.log"
Content-Transfer-Encoding: quoted-printable

Program received signal SIGSEGV, Segmentation fault.
0x28914c68 in XftPatternFind () from /usr/X11R6/lib/libXft.so.1
(gdb) bt
#0  0x28914c68 in XftPatternFind () from /usr/X11R6/lib/libXft.so.1
#1  0x2891500c in XftPatternGet () from /usr/X11R6/lib/libXft.so.1
#2  0x28915164 in XftPatternGetString () from /usr/X11R6/lib/libXft.so.1
#3  0x281cdc0e in checkXftFont () from /usr/X11R6/lib/libqt-mt.so.3
#4  0x281cdde4 in QFontPrivate::findXftFont ()
   from /usr/X11R6/lib/libqt-mt.so.3
#5  0x281d1cf5 in QFontPrivate::load () from /usr/X11R6/lib/libqt-mt.so.3
#6  0x281d16e5 in QFontPrivate::loadUnicode ()
   from /usr/X11R6/lib/libqt-mt.so.3
#7  0x281d19e1 in QFontPrivate::load () from /usr/X11R6/lib/libqt-mt.so.3
#8  0x2822023b in QFontMetrics::QFontMetrics ()
   from /usr/X11R6/lib/libqt-mt.so.3
#9  0x283095f9 in QHeader::init () from /usr/X11R6/lib/libqt-mt.so.3
#10 0x283090ba in QHeader::QHeader () from /usr/X11R6/lib/libqt-mt.so.3
#11 0x2832cb69 in QListView::init () from /usr/X11R6/lib/libqt-mt.so.3
#12 0x2832ca62 in QListView::QListView () from /usr/X11R6/lib/libqt-mt.so.3
#13 0x80505bc in MainWindow::MainWindow (this=3D0xbfbff520, parent=3D0x0,=
=20
    name=3D0x0, fl=3D0) at win.cc:47
#14 0x8052929 in main (argc=3D1, argv=3D0xbfbff698) at main.cc:194
#15 0x804e949 in _start ()

--RIYY1s2vRbPFwWeW--

--Qrgsu6vtpU/OV/zm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9FuRxY3r/tLQmfWcRArdNAJ9E6DMCVjH6MDymzFDfqjoW30eEwwCdH435
xtAli9kxk54WrbrNuPS5FgA=
=SZ0z
-----END PGP SIGNATURE-----

--Qrgsu6vtpU/OV/zm--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020624092049.GE82560>