Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11381

Re: Packaging python-xrayutilities

From Florian Pelgrim <fp@craneworks.de>
Newsgroups linux.debian.maint.python
Subject Re: Packaging python-xrayutilities
Date 2019-03-18 11:10 +0100
Message-ID <xCXns-9M-21@gated-at.bofh.it> (permalink)
References <xCWUp-8b8-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
> 

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-18 10:40 +0100
  Re: Packaging python-xrayutilities Florian Pelgrim <fp@craneworks.de> - 2019-03-18 11:10 +0100
    RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-18 16:30 +0100
      Re: Packaging python-xrayutilities Andrey Rahmatullin <wrar@debian.org> - 2019-03-18 16:30 +0100
        RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-18 16:50 +0100
          RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-19 14:10 +0100
            RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-21 11:10 +0100
              Re: Packaging python-xrayutilities Andrey Rahmatullin <wrar@debian.org> - 2019-03-21 11:30 +0100
                Re: Packaging python-xrayutilities Andreas Tille <andreas@an3as.eu> - 2019-03-21 11:50 +0100
                RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-21 12:00 +0100
                RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-21 11:50 +0100
                Re: Packaging python-xrayutilities Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2019-03-21 12:10 +0100
                RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-21 12:20 +0100
              Re: Packaging python-xrayutilities Dmitry Shachnev <mitya57@debian.org> - 2019-03-21 12:40 +0100
                Re: Packaging python-xrayutilities Dmitry Shachnev <mitya57@debian.org> - 2019-03-21 12:50 +0100

csiph-web