From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6795190720334397440 Date: Wed, 19 Feb 2020 08:30:11 -0800 (PST) From: "jlacvdr L." To: isar-users Message-Id: <13eb2b0d-f61c-47ad-b2c0-39d5e75427dc@googlegroups.com> In-Reply-To: References: Subject: Re: cannot patch upstream debian package MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5376_1019214429.1582129811592" X-Google-Token: EJPFtfIFidZgrfdaWnU0 X-Google-IP: 217.111.150.164 X-TUID: SRHAQMLkRv/q ------=_Part_5376_1019214429.1582129811592 Content-Type: multipart/alternative; boundary="----=_Part_5377_856885812.1582129811592" ------=_Part_5377_856885812.1582129811592 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable thanks it works fine Le mercredi 19 f=C3=A9vrier 2020 17:10:29 UTC+1, jlacvdr L. a =C3=A9crit : > > > Hi, > > I'm trying apply patch to an upstream debian package > > recipe looks like: > > inherit dpkg > > SRC_URI =3D "apt://${PN} \ > file://files/mypatch.patch \ > " > > > during do_dpkg_build, I've got the error: > > dpkg-source -I --before-build nano-2.9.3 > dpkg-buildpackage: info: host architecture amd64 > fakeroot debian/rules clean > dh clean --parallel > dh_clean -O--parallel > dpkg-source -I -b nano-2.9.3 > dpkg-source: info: using source format '3.0 (quilt)' > dpkg-source: info: building nano using existing ./nano_2.9.3.orig.tar.bz2 > dpkg-source: info: local changes detected, the modified files are: > nano-2.9.3/.applied_patches/.patch-commands > nano-2.9.3/.applied_patches/files/mypatch.patch > nano-2.9.3/src/utils.c > dpkg-source: error: aborting due to unexpected upstream changes, see=20 > /tmp/nano_2.9.3-1.diff.rSd68A > dpkg-source: info: you can integrate the local changes with dpkg-source= =20 > --commit > dpkg-buildpackage: error: dpkg-source -I -b nano-2.9.3 subprocess returne= d=20 > exit status 2 > WARNING: exit code 2 from a shell command. > > > > How fix it ?=20 > Can you confirm that patching an upstream package is supported ? > > Regards, > > > > > ------=_Part_5377_856885812.1582129811592 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
thanks

it works fine

Le mercre= di 19 f=C3=A9vrier 2020 17:10:29 UTC+1, jlacvdr L. a =C3=A9crit=C2=A0:

Hi,

I'm trying apply patch to an upstre= am debian package

recipe looks like:
inherit dpkg

SRC_URI =3D "apt://${PN} \
=09file://files/mypatch.patch \
=09"

during=C2= =A0 do_dpkg_build, I've got the error:

=C2=A0d= pkg-source -I --before-build nano-2.9.3
dpkg-buildpack= age: info: host architecture amd64
=C2=A0fakeroot debi= an/rules clean
dh clean --parallel
=C2=A0 =C2=A0dh_clean -O--parallel
=C2=A0dpkg-source= -I -b nano-2.9.3
dpkg-source: info: using source form= at '3.0 (quilt)'
dpkg-source: info: building n= ano using existing ./nano_2.9.3.orig.tar.bz2
dpkg-sour= ce: info: local changes detected, the modified files are:
<= div>=C2=A0nano-2.9.3/.applied_patches/.patch-commands
=
=C2=A0nano-2.9.3/.applied_patches/files/mypatch.patch
=
=C2=A0nano-2.9.3/src/utils.c
dpkg-source: er= ror: aborting due to unexpected upstream changes, see /tmp/nano_2.9.3-1.dif= f.rSd68A
dpkg-source: info: you can integrate the loca= l changes with dpkg-source --commit
dpkg-buildpackage:= error: dpkg-source -I -b nano-2.9.3 subprocess returned exit status 2
WARNING: exit code 2 from a shell command.


How fix it ?=C2=A0
Ca= n you confirm that patching an upstream package is supported ?
Regards,




------=_Part_5377_856885812.1582129811592-- ------=_Part_5376_1019214429.1582129811592--