sox package adoption

Felipe Sateler fsateler at debian.org
Sun Nov 5 14:50:04 UTC 2017


On Sun, Nov 5, 2017 at 11:29 AM, Jaromír Mikeš <mira.mikes at gmail.com> wrote:

>
>
> 2017-11-05 14:55 GMT+01:00 Ross Gammon <debian at the-gammons.net>:
>
>>
>>
>> On 05/11/17 10:29, Jaromír Mikeš wrote:
>> >
>> >
>> > 2017-11-04 17:36 GMT+01:00 Jaromír Mikeš <mira.mikes at gmail.com
>> > <mailto:mira.mikes at gmail.com>>:
>> >
>> >
>> >
>> >     2017-11-04 17:30 GMT+01:00 Sebastian Ramacher <sramacher at debian.org
>> >     <mailto:sramacher at debian.org>>:
>> >
>> >         On 2017-11-04 14:25:18, Jaromír Mikeš wrote:
>> >         > Hi,
>> >         >
>> >         > I am about to adopt sox package which I think will suite
>> perfectly in
>> >         > pkg-multimedia team.
>> >         >
>> >         > At the moment I am having problem with import dscs ... this
>> comand failed :(
>> >         >
>> >         > $ gbp import-dscs --debsnap  --pristine-tar sox
>> >         >
>> >         > Any idea what to do about it?
>> >
>> >         What's the error?
>> >
>> >
>> >     ​Here is output with --verbose option
>> >
>> >     ​$  gbp import-dscs --debsnap  --pristine-tar --verbose sox
>> >
>> >
>> > ​Any progress with this? I forgot to mention that I tried same for
>> > different packages with success.
>> >
>> > mira​
>>
>> You could just do it manually by taking the latest dsc from the archive:
>> $ dget http://httpredir.debian.org/debian/pool/main/s/sox/sox_14.4.
>> 1-5.dsc
>>
>> And then doing a normal dsc import:
>> $ gbp import-dsc --pristine-tar sox_14.4.1-5.dsc
>>
>> That worked for me. Of course there is no history. You could also import
>> the version in old-old stable first, but there doesn't seem much point
>> in that.
>>
>
> ​Hi Ross,
>
> I was thinking the same but wanted try all possibilities first.
> Anyway I filled a bug against the git-buildpackage
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880878>
>
> ​Is there any way to import dscs files later if I will start this way and
> this bug will be fixed latter?
>
>
It appears the problem is that the changelog has some invalid lines near
the end. I imported the first version manually:

git init sox
cd sox
gbp import-dsc ../sox_11gamma-cb3-5.dsc #this fails
cd ..
dpkg-source -x sox_11gamma-cb3-5.dsc
cp -a sox-11gama-cb3/* sox/
cd sox
git add .
git commit --date="26 Feb 1998 8:50:00 +0100" \
 --author "Geiger Guenter <geiger at iem.mhsg.ac.at>" \
 -m "Import Debian changes 11gamma-cb3-5"

I was then able to use gbp import-dscs on that repo, because the faulty
changelog lines are already in the repo and gbp no longer tries to read
them.

I have pushed my results to
https://anonscm.debian.org/git/users/fsateler/sox.git if you want to use
them.

-- 

Saludos,
Felipe Sateler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20171105/ed1eef72/attachment.html>


More information about the pkg-multimedia-maintainers mailing list