[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging python-xrayutilities



Hi there,

I'm not really deep into packaging but it sounds like the build process is looking for https links on the uscan target.

Try to replace all http links to https in your package.

Cheers
Flo

Am 18.03.19 um 10:36 schrieb MARIE Alexandre:
Hello,

I'm sorry if this is in the wrong place.
I've already asked for help but I had not explained well how I was encountering my problem and couldn't answer before today.
So here it is, i'm trying to update the debian package of python-xrayutilities.

The problem is when I run:    ```gbp import-orig --uscan --pristine-tar```

I get this error :
__________________________________________________________________________________________________________________________________________________________
uscan warn: In directory ., downloading
   https://qa.debian.org/watch/sf.php/xrayutilities/xrayutilities-testdata-20171020.tar.gz failed: 500 SSL upgrade failed: SSL wants a read first
uscan warn: No upstream tarball downloaded. No further processing with mk_origtargz ...
gbp:error: Uscan failed: In directory ., downloading
   https://qa.debian.org/watch/sf.php/xrayutilities/xrayutilities-testdata-20171020.tar.gz failed: 500 SSL upgrade failed: SSL wants a read first</warnings>
<warnings>No upstream tarball downloaded. No further processing with mk_origtargz ...
__________________________________________________________________________________________________________________________________________________________

So what I've done is update d/watch from :

```version=3 opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \ http://sf.net/xrayutilities/xrayutilities-(.+)\.tar\.gz```

to :

```version=4
opts="uversionmangle=s/-pre/~pre/, \
       filenamemangle=s%(?:.*)xrayutilities-(.+)\.tar\.gz/download%\
                       xrayutilities-$1.tar.gz%" \
       http://sourceforge.net/projects/xrayutilities/files/v([\d\.]+)/ \
       (?:.*)xrayutilities-([\d\.]+)\.tar\.gz/download debian uupdate
```

that I got in the uscan man.

Thus I can run again : ```gbp import-orig --uscan --pristine-tar```

And then the command is able to find the right version.

The fact is when I choose the latest version to update debian's one, I get this error :
___________________________________________________________________________________________________________
What is the upstream version? [1.5.1] 1.5.1
gbp:info: Importing '../python-xrayutilities_1.5.1.orig.tar.gz' to branch 'upstream'...
gbp:info: Source package is python-xrayutilities
gbp:info: Upstream version is 1.5.1
Branch pristine-tar set up to track remote branch pristine-tar from origin.
gbp:info: Merging to 'master'
gbp:error: Automatic merge failed.
gbp:error: Error detected, Will roll back changes.
gbp:info: Rolling back branch upstream by resetting it to 5ce1c0bf0d95a9ffd7321a5065041596f05a8fe0
gbp:info: Rolling back branch pristine-tar by deleting it
gbp:info: Rolling back tag upstream/1.5.1 by deleting it
gbp:info: Rolling back branch master by resetting it to 121347cb1309a8ce3821ed3efdd3646442e59ca3
gbp:info: Rolling back failed merge of upstream/1.5.1
gbp:error: Rolled back changes after import error.
___________________________________________________________________________________________________________

Here is where I am stuck and where I am asking for some help please !

Thanks in advance for a response.

Cheers,

Alexandre Marie



Reply to: