logo       

Re: depends code problem???: msg#00628

Subject: Re: depends code problem???
Hi Paul,

Thanks for looking into this. I am using HEAD, but for some reason it's not finding my package receipt any longer (it used to work just fine). I really don't understand why this is not working now. From what you said it sounds like the HEAD code was not changed, but it apparently has in some form, someplace because it is broken for me now.

I'll go ahead and update my ports to use "path: ..." instead since that is apparently the new "correct" way. It bothers me why this was changed and the list was not warned of this. We should probably locate all the ports that have this problem and post something to the list or Bugzilla to make port maintainers aware and have them fix their ports.

Maybe I should switch over to the port images branch instead. Do we have a plan when that will go mainstream? I remember a lot of discussion about that happening soon, but that was a couple weeks ago now.

-Robert

On Feb 28, 2004, at 11:21 PM, Paul Guyot wrote:

À (At) 7:46 +0100 29/02/04, Paul Guyot écrivait (wrote) :
OK. I could reproduce some problem on my box, but it was only there because I merged PortImages+HEAD. I'm going to see if this problem lays in PortImages branch or is just a side effect of the merge. It's not in HEAD.

It is a side-effect of the merge.
I cannot reproduce the problem you're having with HEAD. If ruby is installed, port install rb-sqlite won't install ruby.

Instead, it says:

DEBUG: Found Dependency: receipt: /opt/local/var/db/dports/receipts/ruby-1.8.1.bz2

As far as the merge of HEAD with PortImages is concerned, you may want to do the following:

----
--- darwinports.tcl.orig        Sun Feb 29 08:19:08 2004
+++ darwinports.tcl     Sun Feb 29 08:19:29 2004
@@ -458,8 +458,8 @@
        # Check for the presense of the port in the registry
        set workername [ditem_key $dport workername]
set res [$workername eval registry_exists \${portname} \${portversion}]
-       if {$res != ""} {
-               ui_debug "Found Dependency: receipt: $res"
+       if {$res != 0} {
+ ui_debug "Found Dependency: receipt: ${portname} ${portversion}"
                return 1
        } else {
                return 0
@@ -478,7 +478,7 @@
        set workername [ditem_key $dport workername]
set res [$workername eval registry_exists \${portname} \${portversion}]
        if {$res != 0} {
-               ui_debug "Found Dependency: receipt: $res"
+ ui_debug "Found Dependency: receipt: ${portname} ${portversion}"
                return 1
        } else {
# The receipt test failed, use one of the depspec regex mechanisms
----

Paul
--
Philosophie de baignoire - consultations sur rendez-vous.

NPDS/NewtonOS: http://newton.kallisys.net:8080/
Apache/FreeBSD: http://www.kallisys.com/


<Prev in Thread] Current Thread [Next in Thread>