Re: cvs commit: ports UPDATING ports/Mk bsd.python.mk ports/biology/pymol Makefile pkg-plist ports/cad/pythoncad Makefile pkg-plist ports/databases/gadfly Makefile pkg-plist ports/databases/skytools
2009/6/9 Martin Wilke m...@freebsd.org: miwi2009-06-08 22:30:55 UTC FreeBSD ports repository Modified files: .UPDATING [...] Log: - Update lang/python26 and make Python 2.6.2 to the default Python version Tested by: 3 pointyhat runs Thanks to: pav, gahr, lwhsu, mva, amdmi3 I successfully upgraded python25 to python26 using portmaster -o, but got stuck at the upgrade-site-packages step. When executing # cd /usr/ports/lang/python # make PORTUPGRADE_CMD=/usr/local/sbin/portmaster upgrade-site-packages it complains that it can't find pkg_which, which seems to be part of portupgrade. Is pkg_which the same as pkg_info -wq or pkg_info -oq ? Is there a real difference between make upgrade-site-packages and just updating all installed *py25* packages manually? Regards, Rene -- http://www.rene-ladan.nl/ GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) ___ 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: [MAINTAINER] devel/apr-gdbm-db42: apr-util 1.3.7 breaks dbd support
Bojan Smojver wrote: On Tue, 2009-06-09 at 03:18 -0400, Philip M. Gollucci wrote: libsvn_fs_base is compiled if BDB support is detected. I think it calls Berkeley DB API directly, not via APU. Hence, the fact that -ldb was part of apu-1-config --libs, was just a historical accident. If a program calls apr_dbm*(), APU will load relevant support as DSO, so user doesn't need to link directly to the actual underlying DB library. If that particular DB type is not supported (i.e. not compiled in), error will be returned. That's my understanding. PS. We do have a workaround for ldap along these lines, where we report ldap in --libs, unless --avoid-ldap is passed to the config script. Maybe we should do this here, to avoid breaking compilation compatibility. Opinions? I think you have to given the versioning rules. And for gdbm too et al too. Its certainly not ABI/API compatible. Speaking of which why wasn't this only in 1.4.x/trunk(2.x) ? Excellent, Bojan, now I've got the history and why, and understand whats happened. I don't think teaching subversion about this fact will be sufficient -- There are over 56 apps in the freebsd ports tree with over 900 depends that this breaks as is, though most of which indirectly depend on subversion. ___ 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: [MAINTAINER] devel/apr-gdbm-db42: apr-util 1.3.7 breaks dbd support
Bojan Smojver wrote: So, there are apps out there that specifically depend on -ldb being returned by apu-1-config? Can you give me an example so that I can get my head around this better? PS. Subversion itself depends on Berkeley DB directly, not through APU, so passing that to ./configure there should be sufficient to build it. At least it worked for me (although the syntax of the argument itself can be daunting: --with-berkeley-db=db.h:/path/to/includedir:/path/to/libdir:db). Yes, thats the one that is used when we add support to both subversion and apr. Though in fbsd its typically -- /usr/local/include/db46:/usr/local/lib/db46 I'll get you a list of the apps tomorrow, I don't have access to my box atm. ___ 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: [MAINTAINER] devel/apr-gdbm-db42: apr-util 1.3.7 breaks dbd support
On Tue, 2009-06-09 at 03:35 -0400, Philip M. Gollucci wrote: Excellent, Bojan, now I've got the history and why, and understand whats happened. I don't think teaching subversion about this fact will be sufficient -- There are over 56 apps in the freebsd ports tree with over 900 depends that this breaks as is, though most of which indirectly depend on subversion. So, there are apps out there that specifically depend on -ldb being returned by apu-1-config? Can you give me an example so that I can get my head around this better? PS. Subversion itself depends on Berkeley DB directly, not through APU, so passing that to ./configure there should be sufficient to build it. At least it worked for me (although the syntax of the argument itself can be daunting: --with-berkeley-db=db.h:/path/to/includedir:/path/to/libdir:db). -- Bojan ___ 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: [MAINTAINER] devel/apr-gdbm-db42: apr-util 1.3.7 breaks dbd support
Bojan Smojver wrote: PS. Subversion itself depends on Berkeley DB directly, not through APU, so passing that to ./configure there should be sufficient to build it. At least it worked for me (although the syntax of the argument itself can be daunting: --with-berkeley-db=db.h:/path/to/includedir:/path/to/libdir:db). Yes, this will definitely work; although woe to anyone who manages to link Subversion with a different BDB library than APR-Util. Shouldn't be a problem for packagers, though. -- Brane ___ 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
tcl 8.3 and patches needed
ports/135388 is killing me, as i have a lot of devices to monitor with rancid. i gather that, if i can revert tcl to 8.3, it should work. but i am having a hard time finding the source and the ports tree patches. could someone whack me with the clue by four? thanks. randy ___ 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: porting: Linux to Freebsd
Quoting Robert Huff roberth...@rcn.com (from Mon, 8 Jun 2009 16:36:58 -0400): Peter Jeremy writes: for ac_remove_CFLAG in -O1 -O2 -O3 ; do CFLAGS=${CFLAGS//${ac_remove_CFLAG}/} CPPFLAGS=${CPPFLAGS//${ac_remove_CFLAG}/} CXXFLAGS=${CXXFLAGS//${ac_remove_CFLAG}/} done Quick try: CFLAGS=`echo $CFLAGS | sed -e 's:-O[123]::g'` No change here either. Obvious question but if you edited configure.ac, you did remember to rerun autoconf afterwards didn't you? Uh ... no. (When I said complete novice, wasn't kidding. :-) Not knowing C/++ when you want to port a C/C++ program makes it very hard for you to reach your goal... Ran autoconf(-2.62). That seems to have fixed the configure stage. I'm into compilation, and: /usr/include/malloc.h:3:2: error: #error malloc.h has been replaced by stdlib.h You didn't provide enough info. There should have been a line or two more which referenced files in the src of what you want to compile. In those places you have to replace the '#include malloc.h' with '#include stdlib.h'. Bye, Alexander. Bye, Alexander. -- 1.79 x 10^12 furlongs per fortnight -- it's not just a good idea, it's the law! http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 ___ 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: porting: Linux to Freebsd
Alexander Leidinger writes: Obvious question but if you edited configure.ac, you did remember to rerun autoconf afterwards didn't you? Uh ... no. (When I said complete novice, wasn't kidding. :-) Not knowing C/++ when you want to port a C/C++ program makes it very hard for you to reach your goal... C, I know. (Though not as much as other folks.) GNU build tools ... not so much. :-) Anyway: many hours of compilation later, I hit this: /usr/bin/ld: cannot find -lttf Quick checking suggests libttf is a Linux-ism, replaced by libfreetype. Is this correct, and if so can I just (temporarily) make the change in the list of libraries? Robert Huff ___ 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: porting: Linux to Freebsd
Robert Huff wrote: Alexander Leidinger writes: Obvious question but if you edited configure.ac, you did remember to rerun autoconf afterwards didn't you? Uh ... no. (When I said complete novice, wasn't kidding. :-) Not knowing C/++ when you want to port a C/C++ program makes it very hard for you to reach your goal... C, I know. (Though not as much as other folks.) GNU build tools ... not so much. :-) Anyway: many hours of compilation later, I hit this: /usr/bin/ld: cannot find -lttf Quick checking suggests libttf is a Linux-ism, replaced by libfreetype. Is this correct, and if so can I just (temporarily) make the change in the list of libraries? Robert Huff ___ 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 Seems that way (http://fixunix.com/redhat/139735-fly-make-problem-fc3.html). Anyway, it will be sure to complain about not being able to find the symbols it's looking for if it's not the case. -Boris ___ 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: gnome-screensaver wirdness
On Tue, 2009-06-09 at 04:08 +0400, Dmitry Morozovsky wrote: Dear colleagues, on a couple of my workstations, after portupgrading, I've found that gnome-screensaver after activating renders X unusable, as it shows desktop with password dialog box for fraction of second, then blanks it back. Killing gnome-xscreensaver from other console helps, but it does not seem for me to be a solution. previously, I found it would be glitches with hald/dbus, and step-by-step shutdown of these services and then starting them helped, but now it's not the case: even reboot does not fix this. Any hints? Thanks! I see this periodically when doing port updates. I think that it has to do with re-installing either gnome-screensaver or consolekit. A reboot has always solved it for me. robert. -- Robert Noland rnol...@freebsd.org FreeBSD signature.asc Description: This is a digitally signed message part
Re: porting: Linux to Freebsd
Quoting Robert Huff roberth...@rcn.com (from Tue, 9 Jun 2009 08:34:46 -0400): Alexander Leidinger writes: Obvious question but if you edited configure.ac, you did remember to rerun autoconf afterwards didn't you? Uh ... no. (When I said complete novice, wasn't kidding. :-) Not knowing C/++ when you want to port a C/C++ program makes it very hard for you to reach your goal... C, I know. (Though not as much as other folks.) GNU build tools ... not so much. :-) Anyway: many hours of compilation later, I hit this: /usr/bin/ld: cannot find -lttf Quick checking suggests libttf is a Linux-ism, replaced by libfreetype. Is this correct, and if so can I just (temporarily) make the change in the list of libraries? Why not just try it? Note, there is/was freetype1 and freetype2... Bye, Alexander. -- Legalize free-enterprise murder: why should governments have all the fun? http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 ___ 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: request for exp-run, comments: eliminate USE_X_PREFIX
* Pav Lucistnik (p...@freebsd.org) wrote: Here's it: http://people.freebsd.org/~amdmi3/xprefix_obliterate.1.patch Thank you, queued. Ok, it's already finished and the only failure is x11/libsx which I've mistakingly patched in another working copy. I've checked in and two ports dependent on it locally. So, may I commit it? -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ruhttp://www.amdmi3.ru ___ 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: request for exp-run, comments: eliminate USE_X_PREFIX
* Dmitry Marakasov (amd...@hades.panopticon) wrote: Ok, it's already finished and the only failure is x11/libsx which I've s/already/almost/ -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ruhttp://www.amdmi3.ru ___ 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: request for exp-run, comments: eliminate USE_X_PREFIX
Dmitry Marakasov píše v út 09. 06. 2009 v 18:33 +0400: * Pav Lucistnik (p...@freebsd.org) wrote: Here's it: http://people.freebsd.org/~amdmi3/xprefix_obliterate.1.patch Thank you, queued. Ok, it's already finished and the only failure is x11/libsx which I've mistakingly patched in another working copy. I've checked in and two ports dependent on it locally. So, may I commit it? Where are you tracking the progress of it? I'm curious. There's still few hundreds to go. I will send you an email when it's really finished. -- Pav Lucistnik p...@oook.cz p...@freebsd.org Homer 1. American bonehead 2. Pull a Homer - to succeed despite idiocy signature.asc Description: Toto je digitálně podepsaná část zprávy
Re: request for exp-run, comments: eliminate USE_X_PREFIX
* Pav Lucistnik (p...@freebsd.org) wrote: Where are you tracking the progress of it? I'm curious. http://pointyhat.freebsd.org/errorlogs/amd64-7-exp-latest/ Btw, I remember there was some more useful view, something like `previously unknown failures list'. Was there really, and where? There's still few hundreds to go. I will send you an email when it's really finished. Ok. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ruhttp://www.amdmi3.ru ___ 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: request for exp-run, comments: eliminate USE_X_PREFIX
Dmitry Marakasov píše v út 09. 06. 2009 v 18:48 +0400: * Pav Lucistnik (p...@freebsd.org) wrote: Where are you tracking the progress of it? I'm curious. http://pointyhat.freebsd.org/errorlogs/amd64-7-exp-latest/ Btw, I remember there was some more useful view, something like `previously unknown failures list'. Was there really, and where? This page is as useful as it gets. -- Pav Lucistnik p...@oook.cz p...@freebsd.org Any sufficiently advanced technology is indistinguishable from magic. -- Arthur C. Clarke signature.asc Description: Toto je digitálně podepsaná část zprávy
Re: gnome-screensaver wirdness
On Tue, 2009-06-09 at 08:14 -0500, Robert Noland wrote: On Tue, 2009-06-09 at 04:08 +0400, Dmitry Morozovsky wrote: Dear colleagues, on a couple of my workstations, after portupgrading, I've found that gnome-screensaver after activating renders X unusable, as it shows desktop with password dialog box for fraction of second, then blanks it back. Killing gnome-xscreensaver from other console helps, but it does not seem for me to be a solution. previously, I found it would be glitches with hald/dbus, and step-by-step shutdown of these services and then starting them helped, but now it's not the case: even reboot does not fix this. Any hints? Thanks! I see this periodically when doing port updates. I think that it has to do with re-installing either gnome-screensaver or consolekit. A reboot has always solved it for me. Actually, it's gdm. Every time gdm gets updated, you need to logout of GNOME, restart gdm, then log back in. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: porting: Linux to Freebsd
Alexander Leidinger writes: Quick checking suggests libttf is a Linux-ism, replaced by libfreetype. Is this correct, and if so can I just (temporarily) make the change in the list of libraries? Why not just try it? Note, there is/was freetype1 and freetype2... True. I only have freetype2 installed; we'll see if that does the trick. Um - looks like not. Installing freetype1. AH-hah. print/freetype2 installs libfreetype; print/freetype installs libttf. That fixed it. The program compiles and installs. Before running (for which I may be back for more help) I'm going to re-initialize the code base and check to make sure my change notes work. Profuse thanks to everyone for the help. Robert Huff ___ 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: gnome-screensaver wirdness
On Tue, 9 Jun 2009, Joe Marcus Clarke wrote: JMC on a couple of my workstations, after portupgrading, I've found that JMC gnome-screensaver after activating renders X unusable, as it shows desktop with JMC password dialog box for fraction of second, then blanks it back. Killing JMC gnome-xscreensaver from other console helps, but it does not seem for me to be JMC a solution. JMC JMC previously, I found it would be glitches with hald/dbus, and step-by-step JMC shutdown of these services and then starting them helped, but now it's not the JMC case: even reboot does not fix this. JMC JMC Any hints? Thanks! JMC JMC I see this periodically when doing port updates. I think that it has to JMC do with re-installing either gnome-screensaver or consolekit. A reboot JMC has always solved it for me. JMC JMC Actually, it's gdm. Every time gdm gets updated, you need to logout of JMC GNOME, restart gdm, then log back in. Well, this scheme helped all the times before, but now it at least seems it does not. I'll try to test it again after returning home and report back the results. Thanks! -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: ma...@freebsd.org ] *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru *** ___ 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: gnome-screensaver wirdness
Dmitry Morozovsky wrote: On Tue, 9 Jun 2009, Joe Marcus Clarke wrote: JMC on a couple of my workstations, after portupgrading, I've found that JMC gnome-screensaver after activating renders X unusable, as it shows desktop with JMC password dialog box for fraction of second, then blanks it back. Killing JMC gnome-xscreensaver from other console helps, but it does not seem for me to be JMC a solution. JMC JMC previously, I found it would be glitches with hald/dbus, and step-by-step JMC shutdown of these services and then starting them helped, but now it's not the JMC case: even reboot does not fix this. JMC JMC Any hints? Thanks! JMC JMC I see this periodically when doing port updates. I think that it has to JMC do with re-installing either gnome-screensaver or consolekit. A reboot JMC has always solved it for me. JMC JMC Actually, it's gdm. Every time gdm gets updated, you need to logout of JMC GNOME, restart gdm, then log back in. Well, this scheme helped all the times before, but now it at least seems it does not. I'll try to test it again after returning home and report back the results. Thanks! I thought I would chime in with a me too. I updated ports yesterday, then rebooted the machine. I only observed this when the screen saver is password locked. ___ 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
Port of service command
Hello, I was wondering if there was a port of the Linux/UNIX service http://www.manpagez.com/man/8/service/, http://linux.die.net/man/8/service command? If not, is there any philosophical reason or roadblock to my creating one? Thanks, Edwin ___ 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: Port of service command
Edwin Shao wrote: Hello, I was wondering if there was a port of the Linux/UNIX service http://www.manpagez.com/man/8/service/, http://linux.die.net/man/8/service command? If not, is there any philosophical reason or roadblock to my creating one? I think you'd need to answer the question of how is this solution similar to just running '/etc/rc.d/foo start'? Doug -- This .signature sanitized for your protection ___ 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: Port of service command
On Tue, Jun 9, 2009 at 10:46 AM, Edwin Shao es...@ring0.org wrote: I was wondering if there was a port of the Linux/UNIX service http://www.manpagez.com/man/8/service/, http://linux.die.net/man/8/service command? If not, is there any philosophical reason or roadblock to my creating one? What's there to port? A simple shell script like the following will work: #!/bin/sh if [ -z $2 ]; then echo Missing action. echo Usage: $( basename ${0} ) {service} {start|stop|restart|reload|status} exit 2 elif [ -z $1 ]; then echo Missing service name. echo Usage: $( basename ${0} ) {service} {start|stop|restart|reload|status} exit 1 fi if [ -x /usr/local/etc/rc.d/${1}.sh ]; then runcmd=/usr/local/etc/rc.d/${1}.sh ${2} elif [ -x /usr/local/etc/rc.d/${1} ]; then runcmd=/usr/local/etc/rc.d/${1} ${2} elif [ -x /etc/rc.d/${1}.sh ]; then runcmd=/etc/rc.d/${1}.sh ${2} elif [ -x /etc/rc.d/${1} ]; then runcmd=/etc/rc.d/${1} ${2} else runcmd= fi if [ -n ${runcmd} ]; then echo Running command: ${runcmd} ${runcmd} retval=$? else echo No rc.d script found for ${1} retval=3 fi exit ${retval} I'm pretty sure something like this was discussed on one of the mailing lists in the past year, as well. You may want to search the archives for ports@, hackers@, and sta...@. -- Freddie Cash fjwc...@gmail.com ___ 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: Port of service command
Kevin Downey wrote: I have a similar shell function I am rather fond of: rc(){ find /etc/rc.d/$1 /usr/local/etc/rc.d/$1 -exec sudo {} `echo $*|cut -f 2- -d \ ` \; } Wow, that's painful. :) The only reason you don't notice how painful is because those two directories have only a few files. Much much more efficient would be something like: rc () { local script=$1 shift if [ -x /etc/rc.d/$script ]; then /etc/rc.d/$script $* elif [ -x /usr/local/etc/rc.d/$script ]; then /usr/local/etc/rc.d/$script $* else echo $script does not exist in /etc/rc.d or echo /usr/local/etc/rc.d return 1 fi } hth, Doug -- This .signature sanitized for your protection ___ 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: Port of service command
On Jun 9, 2009, at 1:46 PM, Edwin Shao wrote: Hello, I was wondering if there was a port of the Linux/UNIX service http://www.manpagez.com/man/8/service/, http://linux.die.net/man/8/service command? If not, is there any philosophical reason or roadblock to my creating one? Not to long ago I wrote a FreeBSD specific version of service. I have some additional things I want to add in at a later date, but this version works pretty well. http://www.exit2shell.com/~skreuzer/patches/service.diff -- Steven Kreuzer http://www.exit2shell.com/~skreuzer ___ 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: cvs commit: ports UPDATING ports/Mk bsd.python.mk ports/biology/pymol Makefile pkg-plist ports/cad/pythoncad Makefile pkg-plist ports/databases/gadfly Makefile pkg-plist ports/databases/skytool
On Tue, 9 Jun 2009 10:34:54 -0400 Wesley Shields w...@freebsd.org wrote: On Tue, Jun 09, 2009 at 09:12:32AM +0200, Rene Ladan wrote: 2009/6/9 Martin Wilke m...@freebsd.org: miwi2009-06-08 22:30:55 UTC FreeBSD ports repository Modified files: .UPDATING [...] Log: - Update lang/python26 and make Python 2.6.2 to the default Python version Tested by: 3 pointyhat runs Thanks to: pav, gahr, lwhsu, mva, amdmi3 I successfully upgraded python25 to python26 using portmaster -o, but got stuck at the upgrade-site-packages step. When executing # cd /usr/ports/lang/python # make PORTUPGRADE_CMD=/usr/local/sbin/portmaster upgrade-site-packages it complains that it can't find pkg_which, which seems to be part of portupgrade. Is pkg_which the same as pkg_info -wq or pkg_info -oq ? You can use pkg_info -qW but there are other subtleties involved. For example, the usage of pkg_which can take multiple arguments on the command line but pkg_info can not. This means you have to use -L 1 with xargs which drastically slows things down. I'm working on a patch which I hope to send out for review soon. Is there a real difference between make upgrade-site-packages and just updating all installed *py25* packages manually? Yes, as it's not just py25 packages that need to be updated. For example there are files in /usr/local/lib/python2.5/site-packages which pkg_info tells me came from a package that does not start with py25 (in this case it is pyblosxom). For now I have spoken with Martin and removed the portmaster instructions from UPDATING because of the issues you outline in this thread. FYI, we're testing a portmaster solution.Expect a commit tonight / tomorrow. -- IOnut - Un^d^dregistered ;) FreeBSD user Intellectual Property is nowhere near as valuable as Intellect FreeBSD committer - ite...@freebsd.org, PGP Key ID 057E9F8B493A297B signature.asc Description: PGP signature
Re: Port of service command
On Tue, 09 Jun 2009 12:30:44 -0700 Doug Barton do...@freebsd.org wrote: Kevin Downey wrote: I have a similar shell function I am rather fond of: rc(){ find /etc/rc.d/$1 /usr/local/etc/rc.d/$1 -exec sudo {} `echo $*|cut -f 2- -d \ ` \; } Wow, that's painful. :) The only reason you don't notice how painful is because those two directories have only a few files. Much much more efficient would be something like: rc () { local script=$1 shift if [ -x /etc/rc.d/$script ]; then /etc/rc.d/$script $* elif [ -x /usr/local/etc/rc.d/$script ]; then /usr/local/etc/rc.d/$script $* else echo $script does not exist in /etc/rc.d or echo /usr/local/etc/rc.d return 1 fi } This kind of thing is already implemented by the sysutils/bsdadminscripts port. ___ 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
emulators/open-vm-tools fails to build
The latest update of open-vm-tools is not compiling for me. Here's the error: mv -f .deps/pointer.Tpo .deps/pointer.Po c++ -DPACKAGE_NAME=\open-vm-tools\ -DPACKAGE_TARNAME=\open-vm-tools\ -DPACKAGE_VERSION=\2009.05.22\ -DPACKAGE_STRING=\open-vm-tools\ 2009.05.22\ -DPACKAGE_BUGREPORT=\open-vm-tools-de...@lists.sourcefor ge.net\ -DPACKAGE=\open-vm-tools\ -DVERSION=\2009.05.22\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAV E_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H =1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\.libs/\ -DHAVE_DLOPEN=1 -DNO_PROCP S=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_ SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 -DTIME_W ITH_SYS_TIME=1 -I. -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-2009.05.22-167859/lib/inclu de -I/usr/ports/emulators/open-vm-tools/work/open-vm-tools-2009.05.22-167859/lib/include -I/usr/local/inc lude -DUSING_AUTOCONF=1 -DOPEN_VM_TOOLS -I/usr/local/include -I/usr/local/include -DUSE_ICU -DHAVE_ICU_3 8 -DVMX86_TOOLS -DNO_CORE_ICU -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/includ e -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/inc lude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr /local/include/freetype2 -DGTK2-I../include -I../lib/dndGuest -DRESOLUTION_X11 -I../services/plugi ns/vix -O2 -fno-strict-aliasing -pipe -march=prescott -MT vmware-user.o -MD -MP -MF .deps/vmware-user.Tpo -c -o vmware-user.o vmware-user.cpp vmware-user.cpp: In function 'Bool VMwareUserRpcInSetOptionCB(const char**, size_t*, const char*, const c har*, size_t, void*)': vmware-user.cpp:551: warning: deprecated conversion from string constant to 'char*' vmware-user.cpp:557: warning: deprecated conversion from string constant to 'char*' vmware-user.cpp:560: warning: deprecated conversion from string constant to 'char*' vmware-user.cpp:577: warning: deprecated conversion from string constant to 'char*' vmware-user.cpp:594: warning: deprecated conversion from string constant to 'char*' vmware-user.cpp:598: warning: deprecated conversion from string constant to 'char*' vmware-user.cpp:603: warning: deprecated conversion from string constant to 'char*' mv -f .deps/vmware-user.Tpo .deps/vmware-user.Po make: don't know how to make ../lib/dndGuest/libDndGuest.la. Stop *** Error code 1 Stop in /usr/ports/emulators/open-vm-tools/work/open-vm-tools-2009.05.22-167859. *** Error code 1 Stop in /usr/ports/emulators/open-vm-tools. -- IRC nick: jrick Jabber: jr...@jabber.org http://identi.ca/jrick ___ 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: Port of service command
Thanks for all the replies. It just gets annoying doing the whole /etc/rc.d or /usr/local/etc/rc.d dance. I was loathe to create my own script because it seemed such details as where the rc.d / init.d / etc. directories were located should be abstracted to the operating system, and thus, the operating system's package distribution system or default binaries. Ie. I didn't feel like making an 'rc' script for each type of operating system I admin. On Tue, Jun 9, 2009 at 5:16 PM, RWrwmailli...@googlemail.com wrote: On Tue, 09 Jun 2009 12:30:44 -0700 Doug Barton do...@freebsd.org wrote: Kevin Downey wrote: I have a similar shell function I am rather fond of: rc(){ find /etc/rc.d/$1 /usr/local/etc/rc.d/$1 -exec sudo {} `echo $*|cut -f 2- -d \ ` \; } Wow, that's painful. :) The only reason you don't notice how painful is because those two directories have only a few files. Much much more efficient would be something like: rc () { local script=$1 shift if [ -x /etc/rc.d/$script ]; then /etc/rc.d/$script $* elif [ -x /usr/local/etc/rc.d/$script ]; then /usr/local/etc/rc.d/$script $* else echo $script does not exist in /etc/rc.d or echo /usr/local/etc/rc.d return 1 fi } This kind of thing is already implemented by the sysutils/bsdadminscripts port. ___ 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 ___ 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: AW: emulators/open-vm-tools fails to build
On Tue, 9 Jun 2009, Josh Rickmar wrote: On Wed, 10 Jun 2009, Blapp, Martin wrote: Hi, You forgot to mention some things: OS-Version and Level ? Port (NO-X11 or normal version) ? Ah, right. Sorry about that. % uname -a FreeBSD FGD135.localdomain 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Tue May 5 01:52:24 EDT 2009 jos...@fgd135.localdomain:/usr/obj/usr/src/sys/CUSTOM i386 I'm trying to build the normal port, not the no-x11 version. Forgot to CC to list. -- IRC nick: jrick Jabber: jr...@jabber.org http://identi.ca/jrick ___ 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: New port: sysutils/megacli waiting to commit
Sean McAfee writes: | Frank J. Laszlo wrote: | Philip M. Gollucci wrote: | Vladimir Ermakov wrote: | | Hi, all. | please appreciate my port *megacli* | | http://www.freebsd.org/cgi/query-pr.cgi?pr=133655 | | | Is that different from this the port, is it an update? | | Path: /usr/ports/sysutils/linux-megacli | | Since the megacli application now has a native binary, should be not | DEPRICATE the linux version? | | Regards, | Frank Laszlo | | Probably not. I noted this when I originally filed the PR for | linux-megacli2, but the 1.x, 2.x, and 4.x versions support dramatically | different hardware lines. | | As an example, this native version is 4.x and does not support the Dell | PERC5. I find this hard to believe and in my experience with a fresh download from LSI's web-site the FreeBSD and Linux variants work just fine on my PERC5's for things like -AdpAllInfo. There is no real firmware interface difference between between the PERC5 and PERC6. So I don't know where you get this from. Specifics in which things are broken could be nice so I can look at getting them fixed. I put in the management ioctl path that they use into FreeBSD a long time ago. They did find some bugs in some new management features that are fixed in 7.1 and I need to merge back to 6. Unfortunately, this work happened after the last 6.X version was released :-( | IMO, linux-megacli, linux-megacli2, and megacli should all exist as | independent ports. I would say not. Let's get rid of the Linux variant and use the FreeBSD native ones. The FreeBSD should be a lot easier to run then the Linux one and won't have the potential NFS hang issue that Linux does. It's nice to see the FreeBSD version and would be interesting to see how much my hand was involved in that ... My employer's FreeBSD native tool works across all of the MegaRAID SAS type cards and Dell servers that I've tried which pre-dates the MegaCLI for FreeBSD. Prior versions of MegaCLI also did. I can't say I've tried all options with the latest MegaCLI. Doug A. ___ 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: AW: AW: emulators/open-vm-tools fails to build
On Tue, 9 Jun 2009, Josh Rickmar wrote: On Wed, 10 Jun 2009, Blapp, Martin wrote: Hi, Strange. I sucessfully built the port on 7.2. Do you have any special /etc/make.conf settings ? Special gcc flags ? The only setting in my /etc/make.conf is that I'm building to a prescott processor. I'll try building the -nox11 version to see if that solves the problems, since I don't use any of the GUI tools. -nox11 builds and installs fine. -- IRC nick: jrick Jabber: jr...@jabber.org http://identi.ca/jrick ___ 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: emulators/open-vm-tools fails to build
On Tue, 9 Jun 2009 19:20:29 -0400 (EDT) Josh Rickmar joshua_rick...@eumx.net wrote: On Tue, 9 Jun 2009, Josh Rickmar wrote: On Wed, 10 Jun 2009, Blapp, Martin wrote: Hi, Strange. I sucessfully built the port on 7.2. Do you have any special /etc/make.conf settings ? Special gcc flags ? The only setting in my /etc/make.conf is that I'm building to a prescott processor. I'll try building the -nox11 version to see if that solves the problems, since I don't use any of the GUI tools. -nox11 builds and installs fine. It fails on QAT also, maintainer/committer ware notified by on-commit testing. -- IOnut - Un^d^dregistered ;) FreeBSD user Intellectual Property is nowhere near as valuable as Intellect FreeBSD committer - ite...@freebsd.org, PGP Key ID 057E9F8B493A297B signature.asc Description: PGP signature