Re: VirtualBox, vboxwebsrv and VRDPAuth
On 02.01.2012 22:23, Marek Salwerowicz wrote: Hi all, My host is 9.0-RC3 amd64. I've installed VirtualBox from /usr/ports/emulation/virtualbox-ose port, with GUESTADDITIONS, DBUS, VNC and WEBSERVICE options. I have problem with authenticating user for using the VirtualBox web service. When I set: freebsde64# VBoxManage setproperty websrvauthlibrary null everything works - I am able to connect to webservice and manage machines (I tested phpvirtualbox also) But after setting: freebsde64# VBoxManage setproperty websrvauthlibrary default and running vboxwebsrv, I am not able to connect to web service (despite giving right credentials). The output from vboxwebsrv -v is as follows: 00:00:09.312 SQW01external authentication library is 'VBoxAuth' 00:00:09.312 SQW01authenticate(): Could not resolve import 'VRDPAuth2'. Error code: VERR_SYMBOL_NOT_FOUND 00:00:09.312 SQW01authenticate(): Could not resolve import 'VRDPAuth'. Error code: VERR_SYMBOL_NOT_FOUND 00:00:09.312 SQW01authenticate(): result of AuthEntry(): 0 00:00:09.312 SQW01-- leaving __vbox__IWebsessionManager_USCORElogon, rc: 0x80004005 As I got know, VRDPAuth is PAM library for authenticating users - but I can't find it in my host system - how can I install it? My second problem is (connected with the first one as I suppose) that even despite setting '--vrde on' option (and port also) I am not able to connect to guest machine from my other computer (Windows 7 RDP Client) Looking forward to hearing from you any suggestions. VRDP is closed source and included in the Oracle VM VirtualBox Extension Pack which is not available for FreeBSD. -- Bernhard Fröhlich http://www.bluelife.at/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: redports.org - The public FreeBSD ports development infrastructure
On 02.01.2012 23:32, Doug Barton wrote: Is there such a thing as a redports mailing list? No, currently not. There is no mail infrastructure for redports yet. If people want such a list or an IRC channel I could certainly do it but it's not high priority for me right now. -- Bernhard Froehlich http://www.bluelife.at/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
x11/nvidia-driver: crash with FreeBSD 9.0-STABLE/amd64 when module loaded via /boot/loader.conf
On one of my FreeBSD 9.0 boxes running FreeBSD 9.0-STABLE/amd64 (CLANG built), equipted with a nVidia GT760Ti graphics board, loading the nvidia module via /boot/loader.conf results in a page fault with random error messages before rebooting. Booting the box without the nvidia.ko module loaded in he preboot phase, results in a stable system. I can then load the module via kldload and the system jumps then into X11-screen as usual. I recompile x11/nvidia-driver on a regular basis when recompiling the kernel, so the module is always up to date and en par with the kernel sources. The problem occurs idendependently of having kernel module drm.ko loaded or not. I also tried falling back to the older nvidia driver 285.05.09 (I use at the moment successfully 290.10). Before issuing a PR and doing a full debug reconfiguration of my box, I'd like to ask whether this is a commong, well known problem since with FreeBSD 9.0, I'd like to stay with STABLE rather than with RELEASE. Regards, Oliver signature.asc Description: OpenPGP digital signature
Re: x11/nvidia-driver: crash with FreeBSD 9.0-STABLE/amd64 when module loaded via /boot/loader.conf
03.01.2012 12:15, O. Hartmann wrote: On one of my FreeBSD 9.0 boxes running FreeBSD 9.0-STABLE/amd64 (CLANG built), equipted with a nVidia GT760Ti graphics board, loading the nvidia module via /boot/loader.conf results in a page fault with random error messages before rebooting. 9-STABLE, amd64, clang world and ports, GeForce 8500 GT - works like a charm for me. -- Sphinx of black quartz judge my vow. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Ports with version numbers going backwards: chinese/tin
** The following ports have a version number that sorts before a previous one ** For many package tools to work correctly, it is of utmost importance that version numbers of a port form a monotonic increasing sequence over time. Refer to the FreeBSD Porter's Handbook, 'Package Naming Conventions' for more information. Tools that won't work include pkg_version, portupgrade and portaudit. A common error is an accidental deletion of PORTEPOCH. Please fix any errors as soon as possible. The ports tree was updated at Tue Jan 3 2012 12:00:26 UTC. - *chinese/tin* po...@freebsd.org: zh-tin-2.0.1 zh-tin-2.0.1_3 | revision 1.41 | date: 2012/01/02 15:34:21; author: leeym; state: Exp; lines: +2 -8 | - update to 2.0.1 | - drop maintainership | | PR:159863 | Submitted by: Yi-Rong Wang wan...@cs.nctu.edu.tw (master: news/tin) | revision 1.158 | date: 2011/12/29 08:21:56; author: johans; state: Exp; lines: +1 -1 | Update to tin 2.0.1 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Java Heap Space out of memory error Tomcat6 port
Hi, I'm running FreeBSD 8.2 x64 edition with 4GB RAM on a quad core machine. I keep getting this error: umbers=0rev=11.1 java.lang.OutOfMemoryError: Java heap space Exception in thread http-8180-Acceptor-0 java.lang.OutOfMemoryError: Java heap space and essentially due to it my webapp will simply die and not work - which is actually xwiki. In order to rectify the situation with the help of some Google'ing I added this to my Catalina.sh file: JAVA_OPTS=-Xmx1024m JAVA_OPTS=-Xms1024m #JAVA_OPTS=-XX:PermSize=64M #JAVA_OPTS=-XX:MaxPermSize=256m However, as I found out early this morning, it didn't work I had the same issue. I have asked on the xwiki mailing list for any advice but it seems the guys there are all Linux users and can't really help me out much although they suggested to use: CATALINA_OPTS instead of JAVA_OPTS. I have tried that and although it's still too early to tell what is going on since the last restart was only a few hours ago but I thought I'd just quickly ask here and see what could be done as CATALINA_OPTS and JAVA_OPTS seem to be more or less the same with JAVA_OPTS also being used at Tomcat stop as well as start. The odd thing is that I have tested the same webapp and DB combo on a PowerMac G4 running PPC edition of Fedora 11 which on a 733MHz machine with 384MB RAM did work fine for over a week if not a little slow. I also tested on Nexenta Core 3 (OpenSolaris) running Glassfishv3 on a VM inside my notebook with 2GB dedicated RAM and that was up for several months even though really slow again - a while back. Can anyone help me with figuring this out?? I mean I'm not even using swap space on my machine so it definitely has not run out of memory. It seems a Java option somewhere but I have no idea where or what. Thanks, Kaya ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
www/firefox - firefox-9.0.1,1 crashes during start up with invalid system call
Please CC: me. Submitter-Id: current-users Originator: Organization: organization of PR author (multiple lines) Confidential: no Synopsis: www/firefox - firefox-9.0.1,1 crashes during start up with invalid system call Severity: serious Priority: [ low | medium | high ] (one line) Category: ports Class: sw-bug Release: FreeBSD 8.2-STABLE i386 Environment: uname -a ... FreeBSD holstein.holy.cow 8.2-STABLE FreeBSD 8.2-STABLE #2: Fri Apr 22 12:33:32 HST 2011 r...@holstein.holy.cow:/misc/obj/misc/src/sys/T61-SMP.8 i386 ident www/firefox/Makefile ... $FreeBSD: ports/www/firefox/Makefile,v 1.259 2011/12/22 21:00:50 beat Exp $ sem has already been loaded/compiled. www/firefox was compiled with ... # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for firefox-9.0.1,1 _OPTIONS_READ=firefox-9.0.1,1 WITHOUT_DBUS=true WITHOUT_PGO=true WITH_DEBUG=true WITH_LOGGING=true WITH_OPTIMIZED_CFLAGS=true Description: Firefox 9.0 has been crashing for sometime now, either during startup or when opening a page. I had tried running with extensions turned off, and even without them to no avail. This particular time I moved existing ~/.mozilla out of way. On start up from xterm ... # firefox ... it crashed with message attached (I had a recent problem with long lines that caused PR to come out butchered on the web interface). Crash is consistently repeatable. How-To-Repeat: Compile www/firefox with above options environment, and have it crash after/during start up with invalid system call. Fix: Unknown. - parv -- nsStringStats = mAllocCount: 5 = mReallocCount:3 = mFreeCount: 3 -- LEAKED 2 !!! = mShareCount: 1 = mAdoptCount: 0 = mAdoptFreeCount: 0 WARNING: NS_ENSURE_TRUE(compMgr) failed: file /misc/work/ports/misc/ports/www/firefox/work/mozilla-release/xpcom/build/nsComponentManagerUtils.cpp, line 90 nsStringStats = mAllocCount: 5 = mReallocCount:3 = mFreeCount: 3 -- LEAKED 2 !!! = mShareCount: 1 = mAdoptCount: 0 = mAdoptFreeCount: 0 WARNING: dependent window created without a parent: file /misc/work/ports/misc/ports/www/firefox/work/mozilla-release/toolkit/components/startup/nsAppStartup.cpp, line 523 ++DOCSHELL 0x2d111600 == 1 ++DOMWINDOW == 1 (0x2d4cf688) [serial = 1] [outer = 0x0] pldhash: for the table at address 0x2e8e90d0, the given entrySize of 48 probably favors chaining over double hashing. ++DOMWINDOW == 2 (0x2d4cf308) [serial = 2] [outer = 0x2d4cf640] pldhash: for the table at address 0x2f16af54, the given entrySize of 44 probably favors chaining over double hashing. pldhash: for the table at address 0x2f16af74, the given entrySize of 44 probably favors chaining over double hashing. WARNING: OpenGL-accelerated layers are not supported on this system.: file /misc/work/ports/misc/ports/www/firefox/work/mozilla-release/widget/src/xpwidgets/nsBaseWidget.cpp, line 853 --DOCSHELL 0x2d111600 == 0 WARNING: 1 sort operation has occurred for the SQL statement '0x305f6b08'. See https://developer.mozilla.org/En/Storage/Warnings details.: file /misc/work/ports/misc/ports/www/firefox/work/mozilla-release/storage/src/mozStoragePrivateHelpers.cpp, line 144 ###!!! ASSERTION: mTempFile not equal to mTargetFile: 'Error', file /misc/work/ports/misc/ports/www/firefox/work/mozilla-release/netwerk/base/src/nsFileStreams.cpp, line 803 ++DOCSHELL 0x2d7cf800 == 1 ++DOMWINDOW == 3 (0x2d140708) [serial = 3] [outer = 0x0] zsh: invalid system call firefox ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Java Heap Space out of memory error Tomcat6 port
On 01/03/2012 06:49 PM, George Liaskos wrote: tomcat55_java_opts=-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC Thanks for that! I copied and pasted the java_opts of yours into my rc.conf and changed the tomcat55 to tomcat6 then restarted. Everything was fine until I tried to delete a photo album from within the wiki. It unfortunately gave me the same error again?? I'm not sure if I should increase the -Xms and Xmx to 2048m+? Kaya ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Java Heap Space out of memory error Tomcat6 port
On Tue, Jan 3, 2012 at 3:34 PM, Kaya Saman kayasa...@gmail.com wrote: Hi, I'm running FreeBSD 8.2 x64 edition with 4GB RAM on a quad core machine. I keep getting this error: umbers=0rev=11.1 java.lang.OutOfMemoryError: Java heap space Exception in thread http-8180-Acceptor-0 java.lang.OutOfMemoryError: Java heap space and essentially due to it my webapp will simply die and not work - which is actually xwiki. In order to rectify the situation with the help of some Google'ing I added this to my Catalina.sh file: JAVA_OPTS=-Xmx1024m JAVA_OPTS=-Xms1024m #JAVA_OPTS=-XX:PermSize=64M #JAVA_OPTS=-XX:MaxPermSize=256m However, as I found out early this morning, it didn't work I had the same issue. I have asked on the xwiki mailing list for any advice but it seems the guys there are all Linux users and can't really help me out much although they suggested to use: CATALINA_OPTS instead of JAVA_OPTS. I have tried that and although it's still too early to tell what is going on since the last restart was only a few hours ago but I thought I'd just quickly ask here and see what could be done as CATALINA_OPTS and JAVA_OPTS seem to be more or less the same with JAVA_OPTS also being used at Tomcat stop as well as start. The odd thing is that I have tested the same webapp and DB combo on a PowerMac G4 running PPC edition of Fedora 11 which on a 733MHz machine with 384MB RAM did work fine for over a week if not a little slow. I also tested on Nexenta Core 3 (OpenSolaris) running Glassfishv3 on a VM inside my notebook with 2GB dedicated RAM and that was up for several months even though really slow again - a while back. Can anyone help me with figuring this out?? I mean I'm not even using swap space on my machine so it definitely has not run out of memory. It seems a Java option somewhere but I have no idea where or what. Thanks, Kaya Hello, Try to set tomcat6_java_opts in your rc.conf, the rc script lists the available configuration options. I have the following in my home server: tomcat55_java_opts=-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Java Heap Space out of memory error Tomcat6 port
On Tue, Jan 3, 2012 at 7:07 PM, Kaya Saman kayasa...@gmail.com wrote: On 01/03/2012 06:49 PM, George Liaskos wrote: tomcat55_java_opts=-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC Thanks for that! I copied and pasted the java_opts of yours into my rc.conf and changed the tomcat55 to tomcat6 then restarted. ^^ From what i read in the rc script, this should be tomcat60_java_opts. Regards, George ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: www/firefox - firefox-9.0.1,1 crashes during start up with invalid system call
On Tue, Jan 03, 2012 at 03:41:05AM -1000, parv wrote: ++DOCSHELL 0x2d7cf800 == 1 ++DOMWINDOW == 3 (0x2d140708) [serial = 3] [outer = 0x0] zsh: invalid system call firefox Does this repeat if you change your shell to /bin/sh ? -- ;s =; ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Java Heap Space out of memory error Tomcat6 port
On 01/03/2012 07:31 PM, George Liaskos wrote: On Tue, Jan 3, 2012 at 7:07 PM, Kaya Samankayasa...@gmail.com wrote: On 01/03/2012 06:49 PM, George Liaskos wrote: tomcat55_java_opts=-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC Thanks for that! I copied and pasted the java_opts of yours into my rc.conf and changed the tomcat55 to tomcat6 then restarted. ^^ From what i read in the rc script, this should be tomcat60_java_opts. Regards, George Yeah, I got it working... I eventually added: tomcat60_java_opts=-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms3072m -Xmx3072m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC Basically the -Xms and -Xmx values needed to be set to 3GB.. Now all is fine even though swap is heavily used but I guess that's Java! Thanks :-) Regards, Kaya ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: x11/nvidia-driver: crash with FreeBSD 9.0-STABLE/amd64 when module loaded via /boot/loader.conf
On 2012-01-03 (Tuesday) 11:15:20 O. Hartmann wrote: On one of my FreeBSD 9.0 boxes running FreeBSD 9.0-STABLE/amd64 (CLANG built), equipted with a nVidia GT760Ti graphics board, loading the nvidia module via /boot/loader.conf results in a page fault with random error messages before rebooting. I have a Quatro NVS-300 and am running 9.0-STABLE/amd64 (clang world and x11/nvidia-drivers). Everything working here other then kldunload which ends up being blocked infinitely. I haven't tested it with gcc recently but it used to work about a month ago. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: x11/nvidia-driver: crash with FreeBSD 9.0-STABLE/amd64 when module loaded via /boot/loader.conf
## Schaich Alonso (alonsoscha...@gmx.de): On one of my FreeBSD 9.0 boxes running FreeBSD 9.0-STABLE/amd64 (CLANG built), equipted with a nVidia GT760Ti graphics board, loading the nvidia module via /boot/loader.conf results in a page fault with random error messages before rebooting. I have a Quatro NVS-300 and am running 9.0-STABLE/amd64 (clang world and x11/nvidia-drivers). Everything working here other then kldunload which ends up being blocked infinitely. I haven't tested it with gcc recently but it used to work about a month ago. Works even right now (just updated kernel+world, with gcc). Graphics adapter is reported as NVIDIA GPU NVS 4200M (GF119). Regards, Christoph -- Spare Space ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
kerTeX: get_mk_install script
Since my explanations in the README/LISEZ.MOI are probably less clear than a simple script, I have written it. get_mk_install.sh (for an Unix like OS; call it like this: $ sh get_mk_install.sh ) will do what is explained in length in the doc: retrieve a bundle, unpack, compiles (in SAVE_SPACE mode), install and generates the dumps and fonts. It's online: http://www.kergis.com/en/kertex.html (english) http://www.kergis.com/kertex.html (français) And please, if you try, do report success or failure! TIA. -- Thierry Laronde tlaronde +AT+ polynum +dot+ com http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C -- Thierry Laronde tlaronde +AT+ polynum +dot+ com http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
How to detect the version of a installed perl module during portbuild
Hi, I'm searching a solution to detect the version of p5-JSON-RPC during build time. JSON-RPC-1.01 is *not* backward compatible to 0.96 so I have to apply a fix to the port only if JSON-RPC 0.96 is installed. From http://cpansearch.perl.org/src/DMAKI/JSON-RPC-1.01/Changes 1.00_01 2011 Nov 16 - If you are using old JSON::RPC code (up to 0.96), DO NOT EXPECT YOUR CODE TO WORK. THIS VERSION IS BACKWARDS *INCOMPATIBLE* ...^^ -- olli ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: redports.org - The public FreeBSD ports development infrastructure
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/29/11 6:44 AM, Bernhard Froehlich wrote: Hi Porters! I am happy to announce that redports.org has finally reached the point where I think It's safe to be used by everybody! In case you never heard of it before redports is the result of an idea born at EuroBSDCon 2011 in Karlsruhe to give Port Maintainers and Port Committers a public service to test their new ports or ports patches during development or before submitting a ports PR. [...] Wow! Stellar job, Bernhard, and I'm looking forward to using redports.org for fixing ports that are broken under clang. I noticed one minor typo on https://redports.org/buildgroups: automaticaly - automatically Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8Dc+wACgkQ0sRouByUApDt0gCgmNYGJ/bA0adaETAiwUGzDJqx 5joAn19+4/ioBXGo4LwkSyUH5/GGmdWA =RnRh -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: How to detect the version of a installed perl module during portbuild
--On January 3, 2012 9:52:15 PM +0100 Olli Hauer oha...@freebsd.org wrote: Hi, I'm searching a solution to detect the version of p5-JSON-RPC during build time. JSON-RPC-1.01 is *not* backward compatible to 0.96 so I have to apply a fix to the port only if JSON-RPC 0.96 is installed. From http://cpansearch.perl.org/src/DMAKI/JSON-RPC-1.01/Changes 1.00_01 2011 Nov 16 - If you are using old JSON::RPC code (up to 0.96), DO NOT EXPECT YOUR CODE TO WORK. THIS VERSION IS BACKWARDS *INCOMPATIBLE* ...^^ This returns the installed package: pkg_info -qa | grep p5-JSON-RPC | sort | uniq so maybe you could do something like? JSON_VER=`pkg_info -qa | grep p5-JSON-RPC | sort | uniq | cut -d'-' -f4` .if ${JSON_VER} = 1 do this .else do this .endif -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead. Thomas Jefferson There are some ideas so wrong that only a very intelligent person could believe in them. George Orwell ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: How to detect the version of a installed perl module during portbuild
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jan 03, 2012 at 05:41:01PM -0600, Paul Schmehl thus spake: --On January 3, 2012 9:52:15 PM +0100 Olli Hauer oha...@freebsd.org wrote: Hi, I'm searching a solution to detect the version of p5-JSON-RPC during build time. JSON-RPC-1.01 is *not* backward compatible to 0.96 so I have to apply a fix to the port only if JSON-RPC 0.96 is installed. From http://cpansearch.perl.org/src/DMAKI/JSON-RPC-1.01/Changes 1.00_01 2011 Nov 16 - If you are using old JSON::RPC code (up to 0.96), DO NOT EXPECT YOUR CODE TO WORK. THIS VERSION IS BACKWARDS *INCOMPATIBLE* ...^^ This returns the installed package: pkg_info -qa | grep p5-JSON-RPC | sort | uniq so maybe you could do something like? JSON_VER=`pkg_info -qa | grep p5-JSON-RPC | sort | uniq | cut -d'-' -f4` .if ${JSON_VER} = 1 do this .else do this .endif This may be more clean: $ perl -MJSON::RPC -le 'print $JSON::RPC::VERSION' 1.01 - -jgh - -- Jason Helfman | FreeBSD Committer j...@freebsd.org | http://people.freebsd.org/~jgh -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBAgAGBQJPA9MDAAoJECBZmmNBUNPcpNwH/2sQp0rr0Nl0a7pfS99EV15y YAae3zfYoQcLEURO8bovAtYWWdPFlWpXTyvCwp85z/kXx+qm3BtgRLMh/37Nkoep qkkM3qj5j5SGQE9iqGUBKM7bSeoi4J2NJcQG+dJlFY8/uWQwby63WQt/a2P+pUb/ MxXIPkkLs3DkF+RWU63xrYIC7px4YNSpL3DZaetDEVM/O6tLod990qfVRkE+bRdj SPxdIkPOD0c9klzGEBkVoQlDBkMLKpgnMw2RVwG/T6G1L6uKdOe8xOmrVDowm1KS KT8Su29j89BR7NJdlr8OxNj0Y2JiUlsPihu2kZOGvddogjKZC3y6yZ5ckEbIBeg= =DfSK -END PGP SIGNATURE- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: www/firefox - firefox-9.0.1,1 crashes during start up with invalid system call
Please do CC: me. I had requested to be carbon copied originally... http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3546+0+current/freebsd-gecko I had to import the response below from ... http://docs.freebsd.org/cgi/getmsg.cgi?fetch=88783+0+current/freebsd-ports+raw. in message 20120103175105.ga10...@dataix.net, wrote Jason Hellenthal thusly... On Tue, Jan 03, 2012 at 03:41:05AM -1000, parv wrote: ++DOCSHELL 0x2d7cf800 == 1 ++DOMWINDOW == 3 (0x2d140708) [serial = 3] [outer = 0x0] zsh: invalid system call firefox Does this repeat if you change your shell to /bin/sh ? Yes (I had removed old ~/.mozilla changed the login shell, and tried in another shell+X11 session), firefox still crashes with the same messages as originally sent. - parv -- ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org