Subject: pkg/31440: MesaLib-6.2.1nb2 fails to build on Tru64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <rumi@rtfm.hu>
List: pkgsrc-bugs
Date: 10/01/2005 15:26:01
>Number:         31440
>Category:       pkg
>Synopsis:       MesaLib-6.2.1nb2 fails to build on Tru64
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 01 15:26:00 +0000 2005
>Originator:     Rumi Szabolcs
>Release:        Tru64 5.1B-3 (PK5)
>Organization:
>Environment:
# uname -a
OSF1 obelix V5.1 2650 alpha
# sizer -v
Compaq Tru64 UNIX V5.1B (Rev. 2650); Sun Sep 25 20:31:58 CEST 2005
>Description:
MesaLib-6.2.1nb2 does not build on Tru64:
(a dependency of meta-pkgs/kde3, currently only tested on 2005Q3):

===> Building for MesaLib-6.2.1nb2
cd /home/admin/pkgsrc-work/graphics/MesaLib/work/Mesa-6.2.1 && /bin/rm -fr src/glu src/glut progs
(cd configs && rm -f current && ln -s pkgsrc current)
/usr/pkg/bin/bmake default
Making sources for pkgsrc
mkdir ../lib
libtool  --mode=compile cc -c -I../../include  -I../../src/mesa  -I../../src/mesa/main  -I../../src/mesa/glapi  -I../../src/mesa/math  -I../../src/mesa/tnl  -I../../src/mesa/shader  -I../../src/mesa/swrast  -I../../src/mesa/swrast_setup -O2 -ieee -I/usr/pkg/include -I/usr/include -DUSE_XSHM -DPTHREADS main/api_arrayelt.c -o main/api_arrayelt.o
mkdir main/.libs
 cc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -O2 -ieee -I/home/admin/pkgsrc-work/graphics/MesaLib/work/.buildlink/include -DUSE_XSHM -DPTHREADS main/api_arrayelt.c  -DPIC -o main/.libs/api_arrayelt.o
cc: Error: /usr/include/pthread.h, line 326: #error "Please compile the module including pthread.h with -pthread" (errormessage)
#  error "Please compile the module including pthread.h with -pthread"
---^
*** Error code 1

Stop.
>How-To-Repeat:
./bootstrap on Tru64
cd /usr/pkgsrc/graphics/MesaLib
bmake
>Fix:
Please someone confirm this still exists on pkgsrc-current.
Most probably it does.