Re: tcl 101

2011-12-21 Thread Ryan Schmidt
On Dec 21, 2011, at 19:22, Mark Brethen wrote: > This line in my portfile: > >set builddir[system -W ${topdir}/scripts "./findhost.sh $(exec > ${topdir}/config.guess)"] > > is giving an error > > :error:activate Target org.macports.activate returned: can't read "(exec > /opt/local/li

Re: MP trunk sql.c COLLATE VERSION

2011-12-21 Thread Bradley Giesbrecht
On Dec 21, 2011, at 10:27 PM, Bradley Giesbrecht wrote: >> On 12/21/2011 08:21 PM, Bradley Giesbrecht wrote: >>> With port from trunk I do not have VERSION collation available in >>> registry.db. >> >> This has always been the case. There is an sqlite3 extensions available >> in base (only in th

Re: MP trunk sql.c COLLATE VERSION

2011-12-21 Thread Bradley Giesbrecht
> On 12/21/2011 08:21 PM, Bradley Giesbrecht wrote: >> With port from trunk I do not have VERSION collation available in >> registry.db. > > This has always been the case. There is an sqlite3 extensions available > in base (only in the source tree, it is not distributed) which can be > loaded to d

Re: buildbot failure in MacPorts on buildports-snowleopard-x86_64

2011-12-21 Thread Ryan Schmidt
On Dec 21, 2011, at 22:44, Ryan Stonecipher wrote: > Why does the buildbot fail when maintainers change, and should it really > notify the blame-ee of such a fragile failure? It does not fail when maintainers change; it fails when you change a port, and the buildbot then cannot build it. In th

Re: The static library discussion

2011-12-21 Thread Jeremy Huddleston
On Dec 21, 2011, at 16:33, Marin Saric wrote: > Hi everyone, > > An issue has been raised in a ticket recently of whether the static > libraries should be (if possible) dealt away with entirely in > MacPorts. > > Here's some examples of cases against doing away with them, in no > particular ord

Fwd: buildbot failure in MacPorts on buildports-snowleopard-x86_64

2011-12-21 Thread Ryan Stonecipher
Why does the buildbot fail when maintainers change, and should it really notify the blame-ee of such a fragile failure? -- Forwarded message -- From: nore...@macports.org Date: Wednesday, December 21, 2011 Subject: buildbot failure in MacPorts on buildports-snowleopard-x86_64 To: "

Re: tcl 101

2011-12-21 Thread Marin Saric
Long story short, you probably want something like "./findhost.sh \$(exec ${topdir}/config.guess)" where the second "$" character is not escaped so that tcl can replace topdir with the right directory name. Marin On Thu, Dec 22, 2011 at 2:48 AM, Marin Saric wrote: > I think you need to escape

Re: tcl 101

2011-12-21 Thread Marin Saric
I think you need to escape the "$" character to "\$" inside the command or use the curly braces '{' and '}' instead of double quotes. When using quotes, tcl catches the $ sign and thinks that what follows is a variable. This is a language feature known as "interpolation". It then attempts to find

tcl 101

2011-12-21 Thread Mark Brethen
This line in my portfile: set builddir[system -W ${topdir}/scripts "./findhost.sh $(exec ${topdir}/config.guess)"] is giving an error :error:activate Target org.macports.activate returned: can't read "(exec /opt/local/libexec/reduce-algebra/config.guess)": no such variable I'm trying

The static library discussion

2011-12-21 Thread Marin Saric
Hi everyone, An issue has been raised in a ticket recently of whether the static libraries should be (if possible) dealt away with entirely in MacPorts. Here's some examples of cases against doing away with them, in no particular order of importance: Example 1: ABI incompatibilities x264 is a g

Re: MP trunk sql.c COLLATE VERSION

2011-12-21 Thread Rainer Müller
On 12/21/2011 08:21 PM, Bradley Giesbrecht wrote: With port from trunk I do not have VERSION collation available in registry.db. This has always been the case. There is an sqlite3 extensions available in base (only in the source tree, it is not distributed) which can be loaded to define this co

MP trunk sql.c COLLATE VERSION

2011-12-21 Thread Bradley Giesbrecht
With port from trunk I do not have VERSION collation available in registry.db. $ sqlite3 registry.db SQLite version 3.7.9 2011-11-01 00:52:41 sqlite> PRAGMA collation_list; 0|NOCASE 1|RTRIM 2|BINARY sqlite> .schema CREATE TABLE dependencies (id INTEGER, name TEXT, variants TEXT, FOREIGN KEY(id

Re: Strange Behavior

2011-12-21 Thread James Berry
On Dec 21, 2011, at 8:46 AM, Jeremy Lavergne wrote: >> If you want to enforce having a local port override the tree, what if you >> were to do that by enforcing that the database search for category:kde, >> etc, return only the first of any such items found? > > It's not so much a local port as

Re: [88173] trunk/dports/math/eigen3/Portfile

2011-12-21 Thread Eric A. Borisch
On Wed, Dec 21, 2011 at 9:40 AM, Ryan Schmidt wrote: > > On Dec 21, 2011, at 08:37, ebori...@macports.org wrote: > >> Revision: 88173 >>          http://trac.macports.org/changeset/88173 >> Author:   ebori...@macports.org >> Date:     2011-12-21 06:37:40 -0800 (Wed, 21 Dec 2011) >> Log Message: >>

Re: Strange Behavior

2011-12-21 Thread Jeremy Lavergne
> If you want to enforce having a local port override the tree, what if you > were to do that by enforcing that the database search for category:kde, > etc, return only the first of any such items found? It's not so much a local port as it is a local repository, where they're controlled in sources

Re: maintainer timeout: subport py-mysql

2011-12-21 Thread Ryan Schmidt
On Dec 19, 2011, at 11:18, Bradley Giesbrecht wrote: > I would like to claim maintainer timeout for #32518. > http://trac.macports.org/ticket/32518 > > I do not use py-mysql directly but am working on ports that require it and I > wanted a newer version. > Not being familiar with py-mysql I am f

Re: Strange Behavior

2011-12-21 Thread James Berry
On Dec 21, 2011, at 6:24 AM, Jeremy Lavergne wrote: >> This code is in opIntersection in base/src/port/port.tcl [1]. First, it >> creates a map from the port names to the list index in $b. If a port >> appears multiple times in this list, the last index is stored in the >> array. This is clearly

Re: [88173] trunk/dports/math/eigen3/Portfile

2011-12-21 Thread Ryan Schmidt
On Dec 21, 2011, at 08:37, ebori...@macports.org wrote: > Revision: 88173 > http://trac.macports.org/changeset/88173 > Author: ebori...@macports.org > Date: 2011-12-21 06:37:40 -0800 (Wed, 21 Dec 2011) > Log Message: > --- > eigen3: Update checksum change. Fixes #32613 Only

Re: Strange Behavior

2011-12-21 Thread Jeremy Lavergne
> This code is in opIntersection in base/src/port/port.tcl [1]. First, it > creates a map from the port names to the list index in $b. If a port > appears multiple times in this list, the last index is stored in the > array. This is clearly wrong as we would want to keep the first entry. I'd recom

Re: Strange Behavior

2011-12-21 Thread Rainer Müller
On 2011-12-21 01:53 , Jeremy Lavergne wrote: > Specifically, I have my own repo and macports in sources.conf, with > my repo first and marked as default. If i run a command against > specific port names, it uses those portfiles. If I use something like > "install categorky:kde and maintainer:snc" t

Re: Need someone to check the new Portfile

2011-12-21 Thread 에센 사그노브
> ln -s ${prefix}/libexec/${name}/${name}.app ${destroot}${applications_dir}/${name}.app I missed the documentation where it mentioned ${applications_dir}. Thanks for mentioning. > This is still assuming that the other files in this directory are essential to the app's functioning, and that

Re: Need someone to check the new Portfile

2011-12-21 Thread Ryan Schmidt
On Dec 21, 2011, at 03:16, 에센 사그노브 wrote: > In fact, my first trial was ${destroot}${prefix}/bin. However, the result > would be incorrect symlink, i.e. it would link to > ${portbuildpath}/work/destroot/opt/local, which is obviously not what I > want. Moreover, after port installation the

Re: Need someone to check the new Portfile

2011-12-21 Thread 에센 사그노브
> Because you made it directly in ${prefix}; you need to make it in ${destroot}${prefix}. In fact, my first trial was ${destroot}${prefix}/bin. However, the result would be incorrect symlink, i.e. it would link to ${portbuildpath}/work/destroot/opt/local, which is obviously not what I wan

Re: Need someone to check the new Portfile

2011-12-21 Thread Ryan Schmidt
On Dec 21, 2011, at 02:55, 에센 사그노브 wrote: > My name is Esen Sagynov. I have just developed a port for CUBRID Manager, a > GUI based database administration tool for CUBRID. CUBRID is a very popular > open source SQL database management system in Asia. The community site can be > found at http:

Re: orphaned my ports

2011-12-21 Thread Vincent Lefevre
On 2011-12-21 00:34:48 -0600, Ryan Schmidt wrote: > I've marked you as retired on the list of MacPorts developers: > > https://trac.macports.org/wiki/MacPortsDevelopers#retired > > And I'll unassign your one remaining ticket: > > https://trac.macports.org/ticket/25151 OK. Thanks, -- Vincent L

Need someone to check the new Portfile

2011-12-21 Thread 에센 사그노브
Hello, My name is Esen Sagynov. I have just developed a port for CUBRID Manager, a GUI based database administration tool for CUBRID. CUBRID is a very popular open source SQL database management system in Asia. The community site can be found at http://www.cubrid.org. Before I proceed with r