Did someone bork eval_variants?
I'm seeing this from any port and any operation, so it looks like something has gone south in ToT jkh@sam-> port -d -v livecheck DEBUG: Changing to port directory: . Can't map the URL 'file://.' to a port description file ("extra characters after close-quote"). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory. (you might also see this message if a pseudo-port such as outdated or installed expands to no ports). DEBUG: invalid command name "eval_variants" while executing "eval_variants variations livecheck" invoked from within "$workername eval eval_variants variations $target" (procedure "dportexec" line 7) invoked from within "dportexec $workername $target" Error: Unable to execute port: invalid command name "eval_variants"
On Apr 16, 2007, at 2:34 PM, Jordan K. Hubbard wrote:
I'm seeing this from any port and any operation, so it looks like something has gone south in ToT
jkh@sam-> port -d -v livecheck
Which port are you livechecking? BTW, I believe eval_variants is just on the stack trace, it's not where the bug lies. Paul
dports/lang/squeak But every target fails, as I said - not just livecheck. "build" does the same thing. - Jordan On Apr 15, 2007, at 10:57 PM, Paul Guyot wrote:
On Apr 16, 2007, at 2:34 PM, Jordan K. Hubbard wrote:
I'm seeing this from any port and any operation, so it looks like something has gone south in ToT
jkh@sam-> port -d -v livecheck
Which port are you livechecking?
BTW, I believe eval_variants is just on the stack trace, it's not where the bug lies.
Paul
On Apr 16, 2007, at 5:02 PM, Jordan K. Hubbard wrote:
dports/lang/squeak
But every target fails, as I said - not just livecheck. "build" does the same thing.
Are you running trunk? Could you please confirm that you have the latest code from trunk or 1.4.1, as well as the latest version of the portfile (and that nothing of that has local modifications)? I can livecheck squeak without any problem:
[17:06]/<5>lang/squeak(8)> sudo port -d -v livecheck DEBUG: Changing to port directory: . DEBUG: Changing to port directory: . DEBUG: Requested variant powerpc is not provided by port squeak. DEBUG: Requested variant darwin is not provided by port squeak. DEBUG: Requested variant macosx is not provided by port squeak. DEBUG: Executing variant quartz provides quartz DEBUG: Skipping completed com.apple.main (squeak) DEBUG: Executing com.apple.livecheck (squeak) DEBUG: Portfile modification date is Tue Mar 06 11:16:06 JST 2007 DEBUG: Port (livecheck) version is 3.9 DEBUG: Fetching http://freshmeat.net/projects-xml/squeak/squeak.xml DEBUG: The regex matched ><latest_release_version>3.9</ latest_release_version>< squeak seems to be up to date
Paul
Yes, as I noted in my original message:
I'm seeing this from any port and any operation, so it looks like something has gone south in ToT
Sorry, ToT (Top Of Tree) is how we refer to Trunk around here so I'm more accustomed to using that term. No local modifications. Confirmed on at least 2 machines, one of which never ran MP before and had a fresh install from ToT. Errr. Trunk. - Jordan On Apr 16, 2007, at 1:09 AM, Paul Guyot wrote:
On Apr 16, 2007, at 5:02 PM, Jordan K. Hubbard wrote:
dports/lang/squeak
But every target fails, as I said - not just livecheck. "build" does the same thing.
Are you running trunk? Could you please confirm that you have the latest code from trunk or 1.4.1, as well as the latest version of the portfile (and that nothing of that has local modifications)?
I can livecheck squeak without any problem:
[17:06]/<5>lang/squeak(8)> sudo port -d -v livecheck DEBUG: Changing to port directory: . DEBUG: Changing to port directory: . DEBUG: Requested variant powerpc is not provided by port squeak. DEBUG: Requested variant darwin is not provided by port squeak. DEBUG: Requested variant macosx is not provided by port squeak. DEBUG: Executing variant quartz provides quartz DEBUG: Skipping completed com.apple.main (squeak) DEBUG: Executing com.apple.livecheck (squeak) DEBUG: Portfile modification date is Tue Mar 06 11:16:06 JST 2007 DEBUG: Port (livecheck) version is 3.9 DEBUG: Fetching http://freshmeat.net/projects-xml/squeak/squeak.xml DEBUG: The regex matched ><latest_release_version>3.9</ latest_release_version>< squeak seems to be up to date
Paul
_______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-dev
On Apr 16, 2007, at 5:17 PM, Jordan K. Hubbard wrote:
Yes, as I noted in my original message:
I'm seeing this from any port and any operation, so it looks like something has gone south in ToT
Sorry, ToT (Top Of Tree) is how we refer to Trunk around here so I'm more accustomed to using that term.
No local modifications. Confirmed on at least 2 machines, one of which never ran MP before and had a fresh install from ToT. Errr. Trunk.
Do your boxes run an OS that is supposed to ship in October? I'm just trying to find a difference between your boxes and those I just tried to livecheck squeak on. In addition to my development machine, I successfully livechecked squeak on two 10.4 x86 boxes. More seriously, I think the problem may come from the configuration files in /opt/local/etc/ports/. James changed their parsing recently, and the error you get looks like a parsing error. Could you please paste the output of: diff base/doc/ports.conf /opt/local/etc/ports/ports.conf.in diff base/doc/sources.conf /opt/local/etc/ports/sources.conf diff base/doc/variants.conf /opt/local/etc/ports/variants.conf Paul
On Apr 16, 2007, at 1:31 AM, Paul Guyot wrote:
Do your boxes run an OS that is supposed to ship in October? I'm just trying to find a difference between your boxes and those I just tried to livecheck squeak on. In addition to my development machine, I successfully livechecked squeak on two 10.4 x86 boxes.
Well, yes, they do. But that should come as no surprise. :)
More seriously, I think the problem may come from the configuration files in /opt/local/etc/ports/. James changed their parsing recently, and the error you get looks like a parsing error.
Could you please paste the output of:
diff base/doc/ports.conf /opt/local/etc/ports/ports.conf.in [adjusted accordingly]
jkh@sam-> diff base/doc/ports.conf.in /opt/local/etc/ports/ports.conf 2c2 < prefix @prefix_expanded@ ---
prefix /opt/local 5c5 < portdbpath @localstatedir_expanded@/db/dports
portdbpath /opt/local/var/db/dports 18c18 < sources_conf @PORTCONFIGDIR_EXPANDED@/sources.conf
sources_conf /opt/local/etc/ports/sources.conf 21c21 < variants_conf @PORTCONFIGDIR_EXPANDED@/variants.conf
variants_conf /opt/local/etc/ports/variants.conf 27c27 < portarchivepath @localstatedir_expanded@/db/dports/packages
portarchivepath /opt/local/var/db/dports/packages 50c50 < rsync_options -rtzv --delete --delete-after
rsync_options "-rtzv --delete --delete-after"
diff base/doc/sources.conf /opt/local/etc/ports/sources.conf
jkh@sam-> diff base/doc/sources.conf /opt/local/etc/ports/sources.conf 7c7,8 < rsync://rsync.darwinports.org/dpupdate/dports ---
#rsync://rsync.darwinports.org/dpupdate/dports file:///Volumes/Honker/Users/jkh/Src/macports/dports
[ Obvious change to make things work locally ]
diff base/doc/variants.conf /opt/local/etc/ports/variants.conf
[ No changes ] - Jordan
On Apr 16, 2007, at 6:10 PM, Jordan K. Hubbard wrote:
Well, yes, they do. But that should come as no surprise. :)
Well, I have exactly the same diff with the configuration files (the file:/// url is different, but that's all). I'm out of clues. The error ("extra characters after close-quote") would come from a typo in trunk (but I don't experience it), a svn conflict (but you said no local modification) or a local file that gets evaluated. What is sure is that it is not coming from a particular portfile since you have that for all ports. Paul
Hi Jordan, Yes, I cannot tell lie. I did bork eval_variants in r24071. My change to option parsing suddenly allowed the malformed rsync_options to begin to be passed into the engine, which then broke. This option was apparently always silently ignored. Not long after I discovered this problem I checked in r24072, which I believe fixed the issue. It fortified the engine against such malformed options, and also put in a special case to fix the mailformed rsync_options option in your ports.conf. Let me know if the problem persists with ToT. And sorry I didn't see your email before I went to bed. James On Apr 15, 2007, at 10:34 PM, Jordan K. Hubbard wrote:
I'm seeing this from any port and any operation, so it looks like something has gone south in ToT
jkh@sam-> port -d -v livecheck DEBUG: Changing to port directory: . Can't map the URL 'file://.' to a port description file ("extra characters after close-quote"). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory. (you might also see this message if a pseudo-port such as outdated or installed expands to no ports). DEBUG: invalid command name "eval_variants" while executing "eval_variants variations livecheck" invoked from within "$workername eval eval_variants variations $target" (procedure "dportexec" line 7) invoked from within "dportexec $workername $target" Error: Unable to execute port: invalid command name "eval_variants"
_______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-dev
Hmm. And maybe the problem you describe was different than the one I fixed, in which case I can only say I'm not involved.... ;) -jdb On Apr 16, 2007, at 6:00 AM, James Berry wrote:
Hi Jordan,
Yes, I cannot tell lie. I did bork eval_variants in r24071. My change to option parsing suddenly allowed the malformed rsync_options to begin to be passed into the engine, which then broke. This option was apparently always silently ignored.
Not long after I discovered this problem I checked in r24072, which I believe fixed the issue. It fortified the engine against such malformed options, and also put in a special case to fix the mailformed rsync_options option in your ports.conf.
Let me know if the problem persists with ToT.
And sorry I didn't see your email before I went to bed.
James
On Apr 15, 2007, at 10:34 PM, Jordan K. Hubbard wrote:
I'm seeing this from any port and any operation, so it looks like something has gone south in ToT
jkh@sam-> port -d -v livecheck DEBUG: Changing to port directory: . Can't map the URL 'file://.' to a port description file ("extra characters after close-quote"). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory. (you might also see this message if a pseudo-port such as outdated or installed expands to no ports). DEBUG: invalid command name "eval_variants" while executing "eval_variants variations livecheck" invoked from within "$workername eval eval_variants variations $target" (procedure "dportexec" line 7) invoked from within "dportexec $workername $target" Error: Unable to execute port: invalid command name "eval_variants"
_______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-dev
_______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-dev
Well, the last couple of deltas to portutil.tcl (can't tell which yet) appear to have fixed it - it's all working now! - Jordan On Apr 16, 2007, at 1:09 AM, Paul Guyot wrote:
On Apr 16, 2007, at 5:02 PM, Jordan K. Hubbard wrote:
dports/lang/squeak
But every target fails, as I said - not just livecheck. "build" does the same thing.
Are you running trunk? Could you please confirm that you have the latest code from trunk or 1.4.1, as well as the latest version of the portfile (and that nothing of that has local modifications)?
I can livecheck squeak without any problem:
[17:06]/<5>lang/squeak(8)> sudo port -d -v livecheck DEBUG: Changing to port directory: . DEBUG: Changing to port directory: . DEBUG: Requested variant powerpc is not provided by port squeak. DEBUG: Requested variant darwin is not provided by port squeak. DEBUG: Requested variant macosx is not provided by port squeak. DEBUG: Executing variant quartz provides quartz DEBUG: Skipping completed com.apple.main (squeak) DEBUG: Executing com.apple.livecheck (squeak) DEBUG: Portfile modification date is Tue Mar 06 11:16:06 JST 2007 DEBUG: Port (livecheck) version is 3.9 DEBUG: Fetching http://freshmeat.net/projects-xml/squeak/squeak.xml DEBUG: The regex matched ><latest_release_version>3.9</ latest_release_version>< squeak seems to be up to date
Paul
_______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-dev
participants (3)
-
James Berry
-
Jordan K. Hubbard
-
Paul Guyot