SPECS: tcl.spec - /proc is currently needed for building and using...

arekm arekm at pld-linux.org
Wed Oct 24 22:36:50 CEST 2007


Author: arekm                        Date: Wed Oct 24 20:36:50 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- /proc is currently needed for building and using tcl with threads enabled (waiting for upstream solution).

---- Files affected:
SPECS:
   tcl.spec (1.122 -> 1.123) 

---- Diffs:

================================================================
Index: SPECS/tcl.spec
diff -u SPECS/tcl.spec:1.122 SPECS/tcl.spec:1.123
--- SPECS/tcl.spec:1.122	Sun Oct 21 14:02:33 2007
+++ SPECS/tcl.spec	Wed Oct 24 22:36:45 2007
@@ -117,6 +117,13 @@
 %patch6 -p1
 
 %build
+# Make sure we have /proc mounted - otherwise pthread_getattr_np will fail
+# https://sourceforge.net/tracker/index.php?func=detail&aid=1815573&group_id=10894&atid=110894
+if [ ! -r /proc/self/maps ]; then
+        echo "You need to have /proc mounted in order to build this package!"
+        exit 1
+fi
+
 cd unix
 sed -i -e "s/^CFLAGS_OPTIMIZE.*/CFLAGS_OPTIMIZE=%{rpmcflags} -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_REENTRANT/" \
 	Makefile.in
@@ -337,6 +344,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.123  2007/10/24 20:36:45  arekm
+- /proc is currently needed for building and using tcl with threads enabled (waiting for upstream solution).
+
 Revision 1.122  2007/10/21 12:02:33  qboosh
 - bcond header
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tcl.spec?r1=1.122&r2=1.123&f=u



More information about the pld-cvs-commit mailing list