pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39350: FTBFS: pwlib on sparc64

>Number:         39350
>Category:       pkg
>Synopsis:       FTBFS: pwlib on sparc64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 14 11:05:00 +0000 2008
>Originator:     Martin Emrich
>Release:        4.0
NetBSD  4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 02:17:35 PST 2007  

Building pkgsr/devel/pwlib does not work. (I did a cvs update before).
Looks like a 64bit-specific problem, maybe it casts a 64bit pointer to a 32bit 

This is error message:

-bash-3.2# make
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/download-vulnerability-list'.
===> Building for pwlib-1.8.3nb8
set -e; /usr/pkg/bin/gmake -C src/ptlib/unix opt;
gmake[1]: Entering directory `/usr/pkgsrc/devel/pwlib/work/pwlib/src/ptlib/unix'
libtool --mode=compile --tag=CXX c++ -D_REENTRANT -fno-exceptions -Wall  
-I/usr/pkgsrc/devel/pwlib/work/pwlib/include -Os  -O2 -I/usr/include 
-felide-constructors -x c++ -c svcproc.cxx -o 
 c++ -D_REENTRANT -fno-exceptions -Wall 
-I/usr/pkgsrc/devel/pwlib/work/pwlib/include -Os -O2 -felide-constructors -x 
c++ -c svcproc.cxx  -fPIC -DPIC -o 
svcproc.cxx: In static member function 'static void 
PSystemLog::Output(PSystemLog::Level, const char*)':
svcproc.cxx:380: error: cast from '__pthread_st*' to 'unsigned int' loses 
svcproc.cxx: In member function 'virtual void 
svcproc.cxx:926: error: cast from '__pthread_st*' to 'unsigned int' loses 
gmake[1]: *** 
[/usr/pkgsrc/devel/pwlib/work/pwlib/lib/obj_NetBSD_sparc64_r/svcproc.o] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/devel/pwlib/work/pwlib/src/ptlib/unix'
gmake: *** [opt] Error 2
*** Error code 2

make: stopped in /usr/pkgsrc/devel/pwlib
*** Error code 1

make: stopped in /usr/pkgsrc/devel/pwlib

1. Install NetBSD/sparc64
2. Install current pkgsrc
3. Try to build devel/pwlib

Home | Main Index | Thread Index | Old Index