While building port lang/ruby18 without pthreads error occurs: cc -I/usr/include -O2 -pipe -fno-strict-aliasing -fPIC -DRUBY_EXPORT -L. -rpath=/usr/lib:/usr/local/lib -rdynamic main.o libruby18-static.a -lrt -lcrypt -lm -L/usr/lib -rpath=/usr/lib:/usr/local/lib -o miniruby libruby18-static.a(process.o)(.text+0x1f40): In function `proc_exec_v': : undefined reference to `rb_thread_stop_timer_fake' libruby18-static.a(process.o)(.text+0x2a92): In function `rb_proc_exec': : undefined reference to `rb_thread_stop_timer_fake' *** Error code 1 full log in attachment Fix: Do not set WITHOUT_PTHREADS Patch attached with submission follows: How-To-Repeat: cd /usr/ports/lang/ruby18 env WITHOUT_PTHREADS=yes make
Responsible Changed From-To: freebsd-ports-bugs->stas Over to maintainer (via the GNATS Auto Assign Tool)
Also this error appears in FreeBSD 7.3 and 6.4, but in 6.4 ruby can't be built with pthreads
stas 2010-04-28 19:10:28 UTC FreeBSD ports repository Modified files: lang/ruby18/files patch-process.c Log: - Fix build without pthreads. PR: ports/146112 Reported by: Paul <Paul.Shepel@gmail.com> Revision Changes Path 1.4 +7 -4 ports/lang/ruby18/files/patch-process.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fixed.