Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2013 15:29:32 +0100 (CET)
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        webmaster@kibab.com
Subject:   ports/184473: 
Message-ID:  <201312031429.rB3ETWkh007148@lapr.js.berklix.net>
Resent-Message-ID: <201312031530.rB3FU1dE032907@freefall.freebsd.org>

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

>Number:         184473
>Category:       ports
>Synopsis:       
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 03 15:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Julian H. Stacey
>Release:        FreeBSD 10.0-BETA3 amd64
>Organization:
http://berklix.com
>Environment:
System: FreeBSD lapr.js.berklix.net 10.0-BETA3 FreeBSD 10.0-BETA3 #0: Wed Nov 6 12:58:49 CET 2013 jhs@lapr.js.berklix.net:/usr/src/sys/amd64/compile/GENERIC amd64


	
>Description:
	Library version mismatch & it wasnt clear what to build to fix

	<code/input/activities to reproduce the problem (multiple lines)>
>How-To-Repeat:
	cd /usr/ports/net/wpa_gui;make install;reash;wpa_gui
emitted one of these:
	Cannot mix incompatible Qt library (version 0x40804) with this library (version 0x40805)
	Cannot mix incompatible Qt library (version 0x40805) with this library (version 0x40804)
	Abort


>Fix:
Solved by:
	cd /usr/ports/x11-toolkits/qt4-gui; make install
but I also did:
	cd /usr/ports/devel/qt4-corelib; make install

	

I'm not sure this patch is optimal, but that can be reviewed by 
MAINTAINER=webmaster@kibab.com , cc'd.

Patch appended:
http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/gen/net/wpa_gui/Makefile.REL=ALL.diff

*** 10.0-BETA3/ports/net/wpa_gui/Makefile	Tue Dec  3 15:11:57 2013
--- new/ports/net/wpa_gui/Makefile	Tue Dec  3 15:12:36 2013
***************
*** 14,19 ****
--- 14,24 ----
  MAINTAINER=	webmaster@kibab.com
  COMMENT=	Qt-based frontend for wpa_supplicant
  
+ LIB_DEPENDS=    ${X11BASE}/lib/qt4/libQtCore.so:${PORTSDIR}/devel/qt4-corelib
+ # libQtCore.so@ -> libQtCore.so.4.8.5
+ # libQtCore.so.4.8@ -> libQtCore.so.4.8.5
+ LIB_DEPENDS=    ${PORTSDIR}/x11-toolkits/qt4-gui        # Might be needed.
+ 
  PLIST_FILES=	sbin/wpa_gui \
  		share/applications/wpa_gui.desktop \
  		share/pixmaps/wpa_gui.svg
>Release-Note:
>Audit-Trail:
>Unformatted:



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