Subject: admin/17146: qt3-libs - forces "pth-syscall" rather than native threads
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ptiJo@noos.fr>
List: netbsd-bugs
Date: 06/02/2002 14:08:44
>Number:         17146
>Category:       admin
>Synopsis:       qt3-libs - forces "pth-syscall" rather than native threads
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    netbsd-admin
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 02 14:09:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     ptiJo
>Release:        1.5.3_RC2
>Organization:
>Environment:
NetBSD atheria 1.5.3_RC2 NetBSD 1.5.3_RC2 (ATHERIA -- 1.0.3) #6: Sun Jun  2 15:54:07 CEST 2002     root@atheria:/dagobah/OS/NetBSD/src/sys/arch/i386/compile/ATHERIA i386
>Description:
when installing KDE 3, QT 3 libs seems to force the use "pth-syscall" rather than first try native threads...
I already had pth installed and QT3 didn't bother

===> Resuming update for kde-3.0.1
===> Extracting for kde-3.0.1
===> Required package kdeadmin-3.0.1: NOT found
===> Verifying update for ../../misc/kdeadmin3
===> Resuming update for kdeadmin-3.0.1
=> Checksum OK for kdeadmin-3.0.1.tar.bz2.
===> Extracting for kdeadmin-3.0.1
===> Required package qt3-libs>=3.0.3: NOT found
===> Verifying update for ../../x11/qt3-libs
===> Resuming update for qt3-libs-3.0.4nb1
=> Checksum OK for qt-x11-free-3.0.4.tar.gz.
===> Extracting for qt3-libs-3.0.4nb1
===> Required installed package jpeg-6b: jpeg-6b found
===> Required installed package mng>=1.0.0: mng-1.0.3 found
===> Required installed package lcms>=1.06: lcms-1.06 found
===> Required installed package png>=1.2.1: png-1.2.1 found
===> Required package pth-syscall>=1.4.1: NOT found
===> Verifying update for ../../devel/pth-syscall
===> Resuming update for pth-syscall-1.4.1
===> Installing for pth-syscall-1.4.1
===> pth-syscall-1.4.1 conflicts with installed package(s): pth-1.4.1  found.
*** They install the same files into the same place.
*** Please remove pth-1.4.1  first with pkg_delete(1).
*** Error code 1

>How-To-Repeat:
install /usr/pkgsrc/x11/kde3
>Fix:
I added the PHTREAD_TYPE in /usr/pkgsrc/x11/qt3-libs/Makefile

USE_PTHREAD=  native pth-syscall
+PTHREAD_TYPE=   native
.include "../../mk/bsd.prefs.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: