Bug#951329: FTBFS in buster with linux-source-4.19 4.19.98-1

2020-03-05 Thread Ritesh Raj Sarraf
Hi Santiago,

On Thu, 2020-03-05 at 09:41 +0100, Santiago R.R. wrote:
> 
> Hi Ritesh,
> 
> When trying to upload I realized the format of the package is that of
> a
> native package, but the version has a revision at the same time.
> Which I
> think it is unusual.
> I don't understand how the package is built (at least using gbp).
> Could
> you please tell me how to do you build the package? And even, fell
> free
> to upload it yourself, to avoid duplicating work.

For Buster, I need to add debian/gbp.conf but meanwhile  you can build
it like this:

rrs@priyasi:~/rrs-home/Community/Packaging/uml/user-mode-linux (buster)$ 
pdebuild --debbuildopts "-i.git -I.git -S"
dpkg-checkbuilddeps: error: Unmet build dependencies: linux-source-4.19 
docbook-to-man libvdeplug2-dev libpcap-dev libssl-dev
W: Unmet build-dependency in source
dpkg-query: no packages found matching linux-source-4.19
(cd linux-source-4.19 && 
QUILT_PATCHES=/home/rrs/NoBackup/Community/Packaging/uml/user-mode-linux/debian/patches
 quilt pop -a || /bin/true)
/bin/sh: 1: cd: can't cd to linux-source-4.19
rm -rf patch-stamp linux-source-4.19/.pc
dh_testdir
dh_testroot
rm -f unpack-stamp build-stamp configure-stamp
rm -rf linux-source-4.19 linux.uml.1 
/home/rrs/NoBackup/Community/Packaging/uml/user-mode-linux/debian/uml-modules 
changelog
dh_clean
dpkg-source: warning: no source format specified in debian/source/format, see 
dpkg-source(1)
dpkg-source: warning: source directory 'user-mode-linux' is not 
- 'user-mode-linux-4.19-1um'
dpkg-source: info: using source format '1.0'
dpkg-source: info: building user-mode-linux in 
user-mode-linux_4.19-1um-1+deb10u1.tar.gz
dpkg-source: info: building user-mode-linux in 
user-mode-linux_4.19-1um-1+deb10u1.dsc
I: Generating source changes file for original dsc
dpkg-genchanges: info: including full source code in upload
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded 
(cannot open shared object file): ignored.
I: pbuilder: network access will be disabled during build
I: Current time: Thu Mar  5 18:37:58 IST 2020
I: pbuilder-time-stamp: 1583413678
I: Building the build Environment


On the other hand, for the master branch it already has debian/gbp.conf
. So a simple gbp buildpackage will work there.

rrs@priyasi:~/rrs-home/Community/Packaging/uml/user-mode-linux (master)$ gbp 
buildpackage -S
gbp:info: Performing the build
dpkg-checkbuilddeps: error: Unmet build dependencies: linux-source-5.4 
docbook-to-man libvdeplug2-dev libpcap-dev libssl-dev gcc-multilib
W: Unmet build-dependency in source
dpkg-query: no packages found matching linux-source-5.4
(cd linux-source-5.4 && 
QUILT_PATCHES=/home/rrs/NoBackup/Community/Packaging/uml/user-mode-linux/debian/patches
 quilt pop -a || /bin/true)
/bin/sh: 1: cd: can't cd to linux-source-5.4
rm -rf patch-stamp linux-source-5.4/.pc
dh_testdir
dh_testroot
rm -f unpack-stamp build-stamp configure-stamp
rm -rf linux-source-5.4 linux.uml.1 
/home/rrs/NoBackup/Community/Packaging/uml/user-mode-linux/debian/uml-modules 
changelog
dh_clean
dpkg-source: warning: no source format specified in debian/source/format, see 
dpkg-source(1)
dpkg-source: warning: source directory 'user-mode-linux' is not 
- 'user-mode-linux-5.4-1um'
dpkg-source: info: using source format '1.0'
dpkg-source: info: building user-mode-linux in user-mode-linux_5.4-1um-2.tar.gz
dpkg-source: info: building user-mode-linux in user-mode-linux_5.4-1um-2.dsc
I: Generating source changes file for original dsc
dpkg-genchanges: info: including full source code in upload
ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded 
(cannot open shared object file): ignored.
[sudo] password for rrs: 
I: pbuilder: network access will be disabled during build
I: Current time: Thu Mar  5 18:35:49 IST 2020
I: pbuilder-time-stamp: 1583413549
I: Building the build Environment


About the revision format, I agree that it is a confusing one. I have
no context why Mattia Dongli (previous UML maintainer, now retired)
chose that format, or the maintainer before him. So far I had been
carrying it forward as is. But I guess, some day, I'd want to get away
from it. My wild guess is is that it must have been done so for ABI
checks; something that I never cared for since I took up the
maintenance.



-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System


signature.asc
Description: This is a digitally signed message part


Bug#951329: FTBFS in buster with linux-source-4.19 4.19.98-1

2020-03-05 Thread Santiago R.R.
El 26/02/20 a las 11:10, Santiago R.R. escribió:
> Hi Ritesh,
> 
> I've just made another MR to modify the changelog entry.
> 
> Also, please, remember to create a tag for the release once it get
> approved (and uploaded).

Hi Ritesh,

When trying to upload I realized the format of the package is that of a
native package, but the version has a revision at the same time. Which I
think it is unusual.
I don't understand how the package is built (at least using gbp). Could
you please tell me how to do you build the package? And even, fell free
to upload it yourself, to avoid duplicating work.

Thanks,

 -- Santiago


signature.asc
Description: PGP signature


Bug#951329: FTBFS in buster with linux-source-4.19 4.19.98-1

2020-02-26 Thread Santiago R.R.
Hi Ritesh,

I've just made another MR to modify the changelog entry.

Also, please, remember to create a tag for the release once it get
approved (and uploaded).

Cheers,

 -- Santiago


signature.asc
Description: PGP signature


Bug#951329: FTBFS in buster with linux-source-4.19 4.19.98-1

2020-02-24 Thread Santiago R.R.
El 24/02/20 a las 15:29, Ritesh Raj Sarraf escribió:
> Sorry. I hadn't realized that you already had MRs on Salsa. But I
> wasn't aware of the extra configuration needed for notifications.

Mmm, maybe I had to continue using the BTS, instead of the MR. At least
for communicating with you.

> 
> Please go ahead with the upload.

Thanks! I've just filed a bug report against release.d.o to ask for an
OK from the RMs.

...
> On Mon, 2020-02-24 at 15:16 +0530, Ritesh Raj Sarraf wrote:
> > Hi Santiago,
> > 
> > Do you have the MR ready ?
> > 
> > Your bug report against the package in Buster has caused a trigger to
> > auto-remove UML from Debian Testing. I don't know how removing the
> > package from testing solves any problem with the package in Buster.
...

Good question. But anyway, I hope I will be able to upload before the
automatic auto-removal deadline.


Cheers,

 - srr



signature.asc
Description: PGP signature


Bug#951329: FTBFS in buster with linux-source-4.19 4.19.98-1

2020-02-24 Thread Ritesh Raj Sarraf
Sorry. I hadn't realized that you already had MRs on Salsa. But I
wasn't aware of the extra configuration needed for notifications.

Please go ahead with the upload.


Thanks,
Ritesh


On Mon, 2020-02-24 at 15:16 +0530, Ritesh Raj Sarraf wrote:
> Hi Santiago,
> 
> Do you have the MR ready ?
> 
> Your bug report against the package in Buster has caused a trigger to
> auto-remove UML from Debian Testing. I don't know how removing the
> package from testing solves any problem with the package in Buster.
> 
> 
> If you have the MR done, can we please get it merged and get done
> with
> this bug report ?
> 
> Thanks,
> Ritesh
-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System


signature.asc
Description: This is a digitally signed message part


Bug#951329: FTBFS in buster with linux-source-4.19 4.19.98-1

2020-02-24 Thread Ritesh Raj Sarraf
Hi Santiago,

Do you have the MR ready ?

Your bug report against the package in Buster has caused a trigger to
auto-remove UML from Debian Testing. I don't know how removing the
package from testing solves any problem with the package in Buster.


If you have the MR done, can we please get it merged and get done with
this bug report ?

Thanks,
Ritesh


On Tue, 2020-02-18 at 13:33 +0530, Ritesh Raj Sarraf wrote:
> Hi Santiago,
> 
> On Fri, 2020-02-14 at 15:46 +0100, Santiago R.R. wrote:
> > BTW, I will prepare a git branch in my personal salsa namespace.
> > But
> > I
> > am not sure against which branch should I propose a MR.
> 
> Thank you for taking care of the packages in Buster. I just created a
> branch for Buster. You can prepare your changes against that branch.
> 
> https://salsa.debian.org/uml-team/user-mode-linux/tree/buster
> 
> 
-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System


signature.asc
Description: This is a digitally signed message part


Bug#951329: FTBFS in buster with linux-source-4.19 4.19.98-1

2020-02-18 Thread Ritesh Raj Sarraf
Hi Santiago,

On Fri, 2020-02-14 at 15:46 +0100, Santiago R.R. wrote:
> BTW, I will prepare a git branch in my personal salsa namespace. But
> I
> am not sure against which branch should I propose a MR.

Thank you for taking care of the packages in Buster. I just created a
branch for Buster. You can prepare your changes against that branch.

https://salsa.debian.org/uml-team/user-mode-linux/tree/buster


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System


signature.asc
Description: This is a digitally signed message part


Bug#951329: FTBFS in buster with linux-source-4.19 4.19.98-1

2020-02-14 Thread Santiago R.R.
Package: user-mode-linux
Version: 4.19-1um-1
Severity: serious
Tags: patch

Dear maintainer,

The current user-mode-linux package in buster fails to build the latest
linux kernel in buster due to the fix-port-helper-path.patch:

Applying patch 
/build/user-mode-linux-4.19-1um/debian/patches/fix-port-helper-path.patch
patching file arch/um/drivers/port_user.c
Hunk #1 FAILED at 168.
1 out of 1 hunk FAILED -- rejects in file arch/um/drivers/port_user.c
Patch /build/user-mode-linux-4.19-1um/debian/patches/fix-port-helper-path.patch 
can be reverse-applied
make: *** [debian/rules:54: patch-stamp] Error 1
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
I: copying local configuration
E: Failed autobuilding of package

Removing it solves the issue:

diff --git a/debian/patches/series b/debian/patches/series
index 5f98481..29faa0f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,4 +3,3 @@
 05_fix_static_build.patch
 06-fix-linkage-on-386-arch.patch
 07-remove-rpath.patch
-fix-port-helper-path.patch

BTW, I will prepare a git branch in my personal salsa namespace. But I
am not sure against which branch should I propose a MR.

Cheers,

 -- Santiago


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-3-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_CO.UTF-8, LC_CTYPE=es_CO.UTF-8 (charmap=UTF-8), 
LANGUAGE=es_CO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages user-mode-linux depends on:
ii  libc6  2.29-10

Versions of packages user-mode-linux recommends:
ii  uml-utilities  20070815.3-1

Versions of packages user-mode-linux suggests:
ii  rootstrap 0.3.25-1
ii  rxvt-unicode [x-terminal-emulator]9.22-6+b2
pn  slirp 
ii  terminator [x-terminal-emulator]  1.91-4
ii  user-mode-linux-doc   20060501-3
pn  vde2  
ii  xfce4-terminal [x-terminal-emulator]  0.8.9.1-1
ii  xterm [x-terminal-emulator]   353-1

-- no debconf information