list element in braces followed by } instead of space

2008-09-22 Thread Darren Weber
I have a local port repository under my home path where I am testing a
new port for libpqxx (see attached).  When I try to install this port,
I get the following:

[ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx
Password:
Portfile changed since last build; discarding previous state.
---  Fetching libpqxx
---  Verifying checksum(s) for libpqxx
---  Extracting libpqxx
---  Configuring libpqxx
---  Building libpqxx with target all
---  Staging libpqxx into destroot
---  Installing libpqxx 2.6.9_0
list element in braces followed by } instead of space
Error: Status 1 encountered during processing.


Thereafter, I can't do anything with this port, eg:

[ [EMAIL PROTECTED] ~/ports ]$ sudo port lint libpqxx
list element in braces followed by } instead of space
Error: Status 1 encountered during processing.
[ [EMAIL PROTECTED] ~/ports ]$ sudo port clean --all libpqxx
Portfile changed since last build; discarding previous state.
list element in braces followed by } instead of space
Error: Status 1 encountered during processing.
[ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx
list element in braces followed by } instead of space
Error: Status 1 encountered during processing.


Is this a sign of corruption somewhere in the macport registry or something?

For instance:

[ [EMAIL PROTECTED] ~/ports ]$ port -v installed
Error: port installed failed: list element in braces followed by }
instead of space
No ports are installed.

If so, how do I fix this?

Thanks, Darren


Portfile
Description: Binary data
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: list element in braces followed by } instead of space

2008-09-22 Thread Darren Weber
I've also run this debug command:

[ [EMAIL PROTECTED] ~/ports ]$ port -d installed
DEBUG: list element in braces followed by } instead of space
while executing
array set receipt_$ref $receipt_contents
(procedure receipt_flat::open_entry line 84)
invoked from within
${macports::registry.format}::open_entry $name $version $revision $variants
(procedure open_entry line 4)
invoked from within
open_entry $iname $iversion $irevision $ivariants
(procedure registry::installed line 13)
invoked from within
registry::installed
Error: port installed failed: list element in braces followed by }
instead of space
No ports are installed.



On Mon, Sep 22, 2008 at 1:06 PM, Darren Weber
[EMAIL PROTECTED] wrote:
 I have a local port repository under my home path where I am testing a
 new port for libpqxx (see attached).  When I try to install this port,
 I get the following:

 [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx
 Password:
 Portfile changed since last build; discarding previous state.
 ---  Fetching libpqxx
 ---  Verifying checksum(s) for libpqxx
 ---  Extracting libpqxx
 ---  Configuring libpqxx
 ---  Building libpqxx with target all
 ---  Staging libpqxx into destroot
 ---  Installing libpqxx 2.6.9_0
 list element in braces followed by } instead of space
 Error: Status 1 encountered during processing.


 Thereafter, I can't do anything with this port, eg:

 [ [EMAIL PROTECTED] ~/ports ]$ sudo port lint libpqxx
 list element in braces followed by } instead of space
 Error: Status 1 encountered during processing.
 [ [EMAIL PROTECTED] ~/ports ]$ sudo port clean --all libpqxx
 Portfile changed since last build; discarding previous state.
 list element in braces followed by } instead of space
 Error: Status 1 encountered during processing.
 [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx
 list element in braces followed by } instead of space
 Error: Status 1 encountered during processing.


 Is this a sign of corruption somewhere in the macport registry or something?

 For instance:

 [ [EMAIL PROTECTED] ~/ports ]$ port -v installed
 Error: port installed failed: list element in braces followed by }
 instead of space
 No ports are installed.

 If so, how do I fix this?

 Thanks, Darren

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: list element in braces followed by } instead of space

2008-09-22 Thread Ryan Schmidt
On Sep 22, 2008, at 3:06 PM, Darren Weber wrote:

 I have a local port repository under my home path where I am testing a
 new port for libpqxx (see attached).  When I try to install this port,
 I get the following:

 [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx
 Password:
 Portfile changed since last build; discarding previous state.
 ---  Fetching libpqxx
 ---  Verifying checksum(s) for libpqxx
 ---  Extracting libpqxx
 ---  Configuring libpqxx
 ---  Building libpqxx with target all
 ---  Staging libpqxx into destroot
 ---  Installing libpqxx 2.6.9_0
 list element in braces followed by } instead of space
 Error: Status 1 encountered during processing.


 Thereafter, I can't do anything with this port, eg:

 [ [EMAIL PROTECTED] ~/ports ]$ sudo port lint libpqxx
 list element in braces followed by } instead of space
 Error: Status 1 encountered during processing.
 [ [EMAIL PROTECTED] ~/ports ]$ sudo port clean --all libpqxx
 Portfile changed since last build; discarding previous state.
 list element in braces followed by } instead of space
 Error: Status 1 encountered during processing.
 [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx
 list element in braces followed by } instead of space
 Error: Status 1 encountered during processing.


 Is this a sign of corruption somewhere in the macport registry or  
 something?

Yes, this sounds like something wrong got written to the registry. Is  
it even called the registry? I don't know.

Check the file /opt/local/var/macports/receipts/libpqxx/receipt.bz2  
-- copy it somewhere else, decompress it, look into it, see if it  
looks like valid Tcl. Or attach it here and I'll look at it.

My first guess would be the newlines in your long_description. I'm  
building it now myself to see what's happening, but it will take  
awhile to build the postgresql83 dependency and its dependencies.


 For instance:

 [ [EMAIL PROTECTED] ~/ports ]$ port -v installed
 Error: port installed failed: list element in braces followed by }
 instead of space
 No ports are installed.

 If so, how do I fix this?


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: list element in braces followed by } instead of space

2008-09-22 Thread Darren Weber
Yes, Ryan, the receipt contained a syntax problem, related to the
long_description.  I created a ticket about that problem, where I
noted my solution (#16619).

I've now created a new ticket to incorporate a port for libpqxx, Ticket #16621.

It installs and uninstalls for me.  It should be fully tested for
functional integrity against the postgresql83 port.  I've not had time
to configure and run the functional tests.

Thanks!


On Mon, Sep 22, 2008 at 2:22 PM, Ryan Schmidt [EMAIL PROTECTED] wrote:
 On Sep 22, 2008, at 3:06 PM, Darren Weber wrote:

 I have a local port repository under my home path where I am testing a
 new port for libpqxx (see attached).  When I try to install this port,
 I get the following:

 [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx
 Password:
 Portfile changed since last build; discarding previous state.
 ---  Fetching libpqxx
 ---  Verifying checksum(s) for libpqxx
 ---  Extracting libpqxx
 ---  Configuring libpqxx
 ---  Building libpqxx with target all
 ---  Staging libpqxx into destroot
 ---  Installing libpqxx 2.6.9_0
 list element in braces followed by } instead of space
 Error: Status 1 encountered during processing.


 Thereafter, I can't do anything with this port, eg:

 [ [EMAIL PROTECTED] ~/ports ]$ sudo port lint libpqxx
 list element in braces followed by } instead of space
 Error: Status 1 encountered during processing.
 [ [EMAIL PROTECTED] ~/ports ]$ sudo port clean --all libpqxx
 Portfile changed since last build; discarding previous state.
 list element in braces followed by } instead of space
 Error: Status 1 encountered during processing.
 [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx
 list element in braces followed by } instead of space
 Error: Status 1 encountered during processing.


 Is this a sign of corruption somewhere in the macport registry or
 something?

 Yes, this sounds like something wrong got written to the registry. Is it
 even called the registry? I don't know.

 Check the file /opt/local/var/macports/receipts/libpqxx/receipt.bz2 -- copy
 it somewhere else, decompress it, look into it, see if it looks like valid
 Tcl. Or attach it here and I'll look at it.

 My first guess would be the newlines in your long_description. I'm building
 it now myself to see what's happening, but it will take awhile to build the
 postgresql83 dependency and its dependencies.


 For instance:

 [ [EMAIL PROTECTED] ~/ports ]$ port -v installed
 Error: port installed failed: list element in braces followed by }
 instead of space
 No ports are installed.

 If so, how do I fix this?



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users