Re: compat-6x does not work when kernel has NO_KSE
Jiawei Ye wrote: On 9/11/07, LI Xin <[EMAIL PROTECTED]> wrote: Jiawei Ye wrote: Hi, This hit me when I tried bootstrapping JDK builds on a -current with Diablo JDK1.5. Running "java -version" returns Fatal error 'kse_create() failed ' at line 444 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 2) Any workarounds for this? Will mapping libpthread.so.2 to libthr.so.2 work? Cheers, -- Xin LI <[EMAIL PROTECTED]>http://www.delphij.net/ FreeBSD - The Power to Serve! Unfortunately no, because symbol versioning is already in the system. I guess this situation is quite stuck unless NO_KSE is removed. Jiawei How does symbol versioning affect this? Are you saying that libmap no longer works with pre-7 libraries? Kris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: INDEX build failed for 5.x
Sergey Matveychuk wrote: Erwin Lansing wrote: INDEX build failed with errors: Generating INDEX-5 - please wait..pkg_info: not found pkg_info: not found pkg_info: not found "Makefile", line 60: warning: "/usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | /usr/bin/grep Server- || /usr/sbin/pkg_info -O x11-servers/xorg-server 2>/dev/null | /usr/bin/grep server- || /usr/sbin/pkg_info -qO x11-servers/xorg-server-snap 2>/dev/null" returned non-zero status "/a/erwin/tindex/ports/x11/nvidia-driver-71xx/../nvidia-driver/Makefile", line 60: warning: "/usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | /usr/bin/grep Server- || /usr/sbin/pkg_info -O x11-servers/xorg-server 2>/dev/null | /usr/bin/grep server- || /usr/sbin/pkg_info -qO x11-servers/xorg-server-snap 2>/dev/null" returned non-zero status "/a/erwin/tindex/ports/x11/nvidia-driver-96xx/../nvidia-driver/Makefile", line 60: warning: "/usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | /usr/bin/grep Server- || /usr/sbin/pkg_info -O x11-servers/xorg-server 2>/dev/null | /usr/bin/grep server- || /usr/sbin/pkg_info -qO x11-servers/xorg-server-snap 2>/dev/null" returned non-zero status Done. Please add /usr/sbin/pkg_info to index-5 build server :) It is there, of course. Some of the errors appear to be because it's called without the full path, and the rest are pkg_info itself returning failure because of some bogus calls. Kris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compat-6x does not work when kernel has NO_KSE
On 9/12/07, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > How does symbol versioning affect this? Are you saying that libmap no > longer works with pre-7 libraries? > > Kris > This is what happens when I try to run diablo-jdk15 on a symbol-versioned -current with NO_KSE kernel. [EMAIL PROTECTED] /usr/ports/java/diablo-jdk15]$ /usr/local/diablo-jdk1.5.0/jre/bin/java -version Fatal error 'kse_create() failed ' at line 444 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 2) So I added this to /etc/libmap.conf (this will use libthr.so.3) [/usr/local/diablo-jdk1.5.0/jre/bin/java] libpthread.so.2 libthr.so [EMAIL PROTECTED] /etc]$ /usr/local/diablo-jdk1.5.0/jre/bin/java -version /libexec/ld-elf.so.1: /usr/lib/libthr.so: version LIBTHREAD_1_0 required by /usr/local/diablo-jdk1.5.0/jre/bin/java not found I am not sure what is the correct way to fix this. Jiawei -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant." ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: INDEX build failed for 5.x
Kris Kennaway пишет: Sergey Matveychuk wrote: Erwin Lansing wrote: INDEX build failed with errors: Generating INDEX-5 - please wait..pkg_info: not found pkg_info: not found pkg_info: not found "Makefile", line 60: warning: "/usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | /usr/bin/grep Server- || /usr/sbin/pkg_info -O x11-servers/xorg-server 2>/dev/null | /usr/bin/grep server- || /usr/sbin/pkg_info -qO x11-servers/xorg-server-snap 2>/dev/null" returned non-zero status "/a/erwin/tindex/ports/x11/nvidia-driver-71xx/../nvidia-driver/Makefile", line 60: warning: "/usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | /usr/bin/grep Server- || /usr/sbin/pkg_info -O x11-servers/xorg-server 2>/dev/null | /usr/bin/grep server- || /usr/sbin/pkg_info -qO x11-servers/xorg-server-snap 2>/dev/null" returned non-zero status "/a/erwin/tindex/ports/x11/nvidia-driver-96xx/../nvidia-driver/Makefile", line 60: warning: "/usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | /usr/bin/grep Server- || /usr/sbin/pkg_info -O x11-servers/xorg-server 2>/dev/null | /usr/bin/grep server- || /usr/sbin/pkg_info -qO x11-servers/xorg-server-snap 2>/dev/null" returned non-zero status Done. Please add /usr/sbin/pkg_info to index-5 build server :) It is there, of course. Some of the errors appear to be because it's called without the full path, and the rest are pkg_info itself returning failure because of some bogus calls. Kris Yes, I know. There was a smile there. My message meant "I give up". Just message directs to a wrong track. And as I could see nvidia-driver* were changed for a three weeks ago and there was no problem with them before. -- Dixi. Sem. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: openoffice crashes the whole system
h wrote: I've had this bug twice already ... When pasting from a selection made on a website (typically, a confirmation page after ordering something online, because I have no printer, and I'm too lazy to try to print from popups), openoffice first hangs, then eventually X goes black and the whole system reboots and gets in to a background filesystem check after the boot ... Here's my config: - FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Aug 22 00:24:58 CEST 2007 i386 openoffice.org-2.3.20070822 kde-3.5.7 768mb ram 1.5G swap is this error known? No. It could have various causes including a bug in your X driver, bad hardware on your system, or a bug in FreeBSD. Kris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compat-6x does not work when kernel has NO_KSE
On 9/12/07, Jiawei Ye <[EMAIL PROTECTED]> wrote: > [/usr/local/diablo-jdk1.5.0/jre/bin/java] > libpthread.so.2 libthr.so Changing this to libthr.so.2 fixes the problem. Sorry about the noise. Regards, Jiawei -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant." ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compat-6x does not work when kernel has NO_KSE
Jiawei Ye wrote: On 9/12/07, Jiawei Ye <[EMAIL PROTECTED]> wrote: [/usr/local/diablo-jdk1.5.0/jre/bin/java] libpthread.so.2 libthr.so Changing this to libthr.so.2 fixes the problem. Sorry about the noise. Regards, Jiawei Thanks, that's very useful to know. In the future we will be removing KSE support, so it is good to know that libthr is a suitable replacement. Well, I guess only for shared binaries :( Kris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
INDEX build failed for 5.x
INDEX build failed with errors: Generating INDEX-5 - please wait..pkg_info: not found pkg_info: not found pkg_info: not found "Makefile", line 60: warning: "/usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | /usr/bin/grep Server- || /usr/sbin/pkg_info -O x11-servers/xorg-server 2>/dev/null | /usr/bin/grep server- || /usr/sbin/pkg_info -qO x11-servers/xorg-server-snap 2>/dev/null" returned non-zero status "/a/erwin/tindex/ports/x11/nvidia-driver-71xx/../nvidia-driver/Makefile", line 60: warning: "/usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | /usr/bin/grep Server- || /usr/sbin/pkg_info -O x11-servers/xorg-server 2>/dev/null | /usr/bin/grep server- || /usr/sbin/pkg_info -qO x11-servers/xorg-server-snap 2>/dev/null" returned non-zero status "/a/erwin/tindex/ports/x11/nvidia-driver-96xx/../nvidia-driver/Makefile", line 60: warning: "/usr/sbin/pkg_info -O x11-servers/XFree86-4-Server 2>/dev/null | /usr/bin/grep Server- || /usr/sbin/pkg_info -O x11-servers/xorg-server 2>/dev/null | /usr/bin/grep server- || /usr/sbin/pkg_info -qO x11-servers/xorg-server-snap 2>/dev/null" returned non-zero status Done. make_index: tme-0.4_3: no entry for /usr/ports/x11-toolkits/gtk12 make_index: tme-0.4_3: no entry for /usr/ports/x11/xorg-libraries make_index: tme-0.4_3: no entry for /usr/ports/x11-toolkits/gtk12 make_index: tme-0.4_3: no entry for /usr/ports/x11/xorg-libraries make_index: alltray-0.69_2: no entry for /usr/ports/x11-toolkits/gtk20 make_index: alltray-0.69_2: no entry for /usr/ports/x11-toolkits/pango make_index: alltray-0.69_2: no entry for /usr/ports/x11-toolkits/gtk20 make_index: alltray-0.69_2: no entry for /usr/ports/x11-toolkits/pango make_index: geda-gschem-20070216_1: no entry for /usr/ports/x11-toolkits/gtk20 make_index: geda-gschem-20070216_1: no entry for /usr/ports/x11-toolkits/pango make_index: geda-gschem-20070216_1: no entry for /usr/ports/x11-toolkits/gtk20 make_index: geda-gschem-20070216_1: no entry for /usr/ports/x11-toolkits/pango make_index: gxmms2-0.6.5_1: no entry for /usr/ports/x11-toolkits/gtk20 make_index: gxmms2-0.6.5_1: no entry for /usr/ports/x11-toolkits/pango make_index: gxmms2-0.6.5_1: no entry for /usr/ports/x11-toolkits/gtk20 make_index: gxmms2-0.6.5_1: no entry for /usr/ports/x11-toolkits/pango make_index: qbrew-0.3.5_1: no entry for /usr/ports/x11-toolkits/qt33 make_index: qbrew-0.3.5_1: no entry for /usr/ports/x11-toolkits/qt33 make_index: klamav-0.41_3: no entry for /usr/ports/x11-toolkits/qt33 make_index: klamav-0.41_3: no entry for /usr/ports/x11/kdelibs3 [...] make_index: e17-module-devian-20060926_1,1: no entry for /usr/ports/x11-wm/enlightenment-devel make_index: e17-module-devian-20060926_1,1: no entry for /usr/ports/x11/ecore make_index: sr-kde-i18n-3.5.7: no entry for /usr/ports/x11-toolkits/qt33 make_index: sr-kde-i18n-3.5.7: no entry for /usr/ports/x11/kdelibs3 make_index: sr-kde-i18n-3.5.7: no entry for /usr/ports/x11-toolkits/qt33 make_index: sr-kde-i18n-3.5.7: no entry for /usr/ports/x11/kdelibs3 make_index: fusefs-wdfs-1.3.2_1: no entry for /usr/ports/www/neon make_index: fusefs-wdfs-1.3.2_1: no entry for /usr/ports/www/neon make_index: vyqchat-0.2.8_3: no entry for /usr/ports/x11-toolkits/qt33 make_index: vyqchat-0.2.8_3: no entry for /usr/ports/x11-toolkits/qt33 make_index: freeorion-0.3.1.20070909: no entry for /usr/ports/x11-toolkits/gigi make_index: freeorion-0.3.1.20070909: no entry for /usr/ports/x11-toolkits/gigi make_index: wmsolar-1.0_2: no entry for /usr/ports/x11/libXpm make_index: wmsolar-1.0_2: no entry for /usr/ports/x11/xorg-libraries make_index: wmsolar-1.0_2: no entry for /usr/ports/x11/libXpm make_index: wmsolar-1.0_2: no entry for /usr/ports/x11/xorg-libraries make_index: xipmsg-0.8088_1: no entry for /usr/ports/x11/xorg-libraries make_index: xipmsg-0.8088_1: no entry for /usr/ports/x11/xorg-libraries make_index: raop_play-0.5.1_1: no entry for /usr/ports/x11-toolkits/fltk make_index: raop_play-0.5.1_1: no entry for /usr/ports/x11-toolkits/fltk Committers on the hook: edwin miwi pav sat stas Most recent CVS update was: U devel/ruby-sdl/Makefile U devel/ruby-sdl/distinfo U games/pyawale/Makefile U games/pyawale/distinfo U graphics/nip2/pkg-plist U graphics/ruby-rmagick/Makefile U graphics/ruby-rmagick/distinfo U math/p5-Math-Random-MT-Auto/Makefile U math/p5-Math-Random-MT-Auto/distinfo U security/kopete-otr/Makefile U security/kopete-otr/distinfo U security/w3af/pkg-plist U www/p5-WebService-ISBNDB/Makefile U www/p5-WebService-ISBNDB/distinfo ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
INDEX now builds successfully on 5.x
___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: bsd.port.options.mk status
On Tue, Sep 11, 2007 at 02:00:14AM +0400, Andrew Pantyukhin wrote: > > So am I missing something or is it as trivial as using these four > lines instead of one: > > USEOPTIONSMK= yes > INOPTIONSMK= yes > .include "bsd.port.mk" > .undef INOPTIONSMK This is even uglier than our existing work-around solutions. :-) -- Shaun Amott // PGP: 0x6B387A9A "A foolish consistency is the hobgoblin of little minds." - Ralph Waldo Emerson pgpsvczyLMfZ0.pgp Description: PGP signature
Re: bsd.port.options.mk status
On Wed, Sep 12, 2007 at 01:18:31PM +0100, Shaun Amott wrote: > On Tue, Sep 11, 2007 at 02:00:14AM +0400, Andrew Pantyukhin wrote: > > > > So am I missing something or is it as trivial as using these four > > lines instead of one: > > > > USEOPTIONSMK= yes > > INOPTIONSMK=yes > > .include "bsd.port.mk" > > .undef INOPTIONSMK > > This is even uglier than our existing work-around solutions. :-) You snipped the question I was trying to answer, which was "is it possible?" Now IMHO the current way of handling options is ugly as a whole. We're trying to use paradigms from other languages in make. A make solution would look more like this: SOMELIST= FOO BAR BAZ WITH_FOO_CONFIGURE_ARGS= --with-foo WITHOUT_BAZ_PLIST_SUB+=BAZ="@comment " other BSD's have used this approach for some time now and it looks a lot cleaner than all the hacks we have, at least to my eyes. The reason I'm not rallying for cosmetics like that is that I fail to see make(1) as a future-proof base for ports. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: bsd.port.options.mk status
* Andrew Pantyukhin ([EMAIL PROTECTED]) wrote: > > > So am I missing something or is it as trivial as using these four > > > lines instead of one: > > > > > > USEOPTIONSMK= yes > > > INOPTIONSMK= yes > > > .include "bsd.port.mk" > > > .undef INOPTIONSMK > > This is even uglier than our existing work-around solutions. :-) > You snipped the question I was trying to answer, which was "is it > possible?" Now IMHO the current way of handling options is ugly > as a whole. We're trying to use paradigms from other languages in > make. A make solution would look more like this: > SOMELIST=FOO BAR BAZ > WITH_FOO_CONFIGURE_ARGS= --with-foo > WITHOUT_BAZ_PLIST_SUB+= BAZ="@comment " > other BSD's have used this approach for some time now and it > looks a lot cleaner than all the hacks we have, at least to my That seems a very bad solution for me. We'll have to introduce tons of WITH_{$FOO}_* variables, and we still won't support all ways .if defined(WITH_*) are used now. Just try: find /usr/ports -name Makefile | xargs -n100 cat | sed -n -e '/^\.if.*WITH_/,/^\.endif/ p' .if's are far more flexible. And for my eyes, if's look cleaner. > eyes. The reason I'm not rallying for cosmetics like that is that > I fail to see make(1) as a future-proof base for ports. That is unfortunately true. -- Best regards, Dmitry Marakasov mailto:[EMAIL PROTECTED] ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compat-6x does not work when kernel has NO_KSE
On Sep 12, 2007, at 5:37 AM, Jiawei Ye wrote: On 9/12/07, Jiawei Ye <[EMAIL PROTECTED]> wrote: [/usr/local/diablo-jdk1.5.0/jre/bin/java] libpthread.so.2 libthr.so Changing this to libthr.so.2 fixes the problem. Sorry about the noise. curious... on 6.1/6.2 I *must* use libpthread as the threading library for diablo jdk. it throws hotspot compiler errors at random if I map it to libthr. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[Fwd: Cannot compile desktopbsd-tools on x64, FreeBSD-CURRENT]
Тема: Cannot compile desktopbsd-tools on x64, FreeBSD-CURRENT Дата: Wed, 12 Sep 2007 14:45:49 +0200 От: Urankar Mikaël <[EMAIL PROTECTED]> Кому: [EMAIL PROTECTED] Hello, here is the patch I use : --- ./libdesktopbsd-ui/moddevinfo.ui.h.orig 2007-09-10 12:09:11.0 +0200 +++ ./libdesktopbsd-ui/moddevinfo.ui.h 2007-09-10 12:09:16.0 +0200 @@ -32,7 +32,7 @@ if(dev->dd_name[0] != '\0' && dev->dd_state >= DIS_ATTACHED) { Device device(dev->dd_name); - uint level = (uint) arg; + uint level = 0x000ff & (ulong) arg; /* Check the index in parents[], even if it is * highly unlikely that it is > 32. Bye ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compat-6x does not work when kernel has NO_KSE
On Wed, Sep 12, 2007 at 10:21:59AM -0400, Vivek Khera wrote: > On Sep 12, 2007, at 5:37 AM, Jiawei Ye wrote: > >On 9/12/07, Jiawei Ye <[EMAIL PROTECTED]> wrote: > > > >>[/usr/local/diablo-jdk1.5.0/jre/bin/java] > >>libpthread.so.2 libthr.so > >Changing this to libthr.so.2 fixes the problem. Sorry about the noise. > > curious... on 6.1/6.2 I *must* use libpthread as the threading library for > diablo jdk. it throws hotspot compiler errors at random if I map it to libthr. I second Vivek here - there are some weird problems with compiler on FreeBSD 6.x amd64 if you use libthr as a threading library. It's difficult to say - why, but the effect was noted both by me and Vivek. So, beware, there are dragons there. With regards, Timur. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compat-6x does not work when kernel has NO_KSE
Timur I. Bakeyev wrote: On Wed, Sep 12, 2007 at 10:21:59AM -0400, Vivek Khera wrote: On Sep 12, 2007, at 5:37 AM, Jiawei Ye wrote: On 9/12/07, Jiawei Ye <[EMAIL PROTECTED]> wrote: [/usr/local/diablo-jdk1.5.0/jre/bin/java] libpthread.so.2 libthr.so Changing this to libthr.so.2 fixes the problem. Sorry about the noise. curious... on 6.1/6.2 I *must* use libpthread as the threading library for diablo jdk. it throws hotspot compiler errors at random if I map it to libthr. I second Vivek here - there are some weird problems with compiler on FreeBSD 6.x amd64 if you use libthr as a threading library. It's difficult to say - why, but the effect was noted both by me and Vivek. So, beware, there are dragons there. But do they apply to a 6.x binary running on 7.0? i.e. are you describing a 6.x kernel bug or a 6.x libthr bug? Kris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compat-6x does not work when kernel has NO_KSE
On Sep 12, 2007, at 3:40 PM, Kris Kennaway wrote: But do they apply to a 6.x binary running on 7.0? i.e. are you describing a 6.x kernel bug or a 6.x libthr bug? Dunno which it is, but I don't have any 7.0 around here whatsoever. So it is a 6.x binary running on 6.x. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compat-6x does not work when kernel has NO_KSE
Vivek Khera wrote: On Sep 12, 2007, at 3:40 PM, Kris Kennaway wrote: But do they apply to a 6.x binary running on 7.0? i.e. are you describing a 6.x kernel bug or a 6.x libthr bug? Dunno which it is, but I don't have any 7.0 around here whatsoever. So it is a 6.x binary running on 6.x. OK, someone who can reproduce the problem will need to test it on 7.0. Kris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"