Building ompl, in salsa I got this error:

https://salsa.debian.org/science-team/ompl/-/jobs/10528973

Checking it locally (just clone the repo) if I do:

$ uscan --no-download --verbose; echo "Exit status: $?"

I got a 0. No error but,

$ uscan --download-current-version --no-download; echo "Exit status: $?"

I got a 1.

Asking AI (chatgpt) it proposes to patch this file:

/usr/share/perl5/Devscripts/Uscan/WatchSource.pm

with this:

 sub BUILD {
     my ($self, $args) = @_;
     if ($self->watch_version > 3) {
         $self->type($self->watchSource->{versionschema});
+        $self->versionmode('ignore')
+          if ($self->watchSource->{versionschema} // '') eq 'ignore';
     }
     return $self;
 }

I have to admit that it works, but I don't know if it is valid or not.

Best regards,

Leopold

--
--
GPG: 05F4A7A949A2D9AA
Catalonia
-----------------------------------------------------------
Si us plau, escriviu la resposta després del text original.

Please write your reply below the original message.

Reply via email to