Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign uplibvchan-xen debian package fails to build on a clean unstable builder #2739
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
santiagorr
Apr 7, 2017
Note: this was under the current libvchan-xen git master HEAD, f988f143fb2e266cf96bf80d1ed782256abe653e
santiagorr
commented
Apr 7, 2017
|
Note: this was under the current libvchan-xen git master HEAD, f988f143fb2e266cf96bf80d1ed782256abe653e |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Apr 7, 2017
Member
Upstream Debian Xen packages lack of libxenvchan library - you need those from our repository:
https://github.com/qubesos/qubes-vmm-xen (or use apt repo at https://deb.qubes-os.org/r3.2/vm).
|
Upstream Debian Xen packages lack of libxenvchan library - you need those from our repository: |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
santiagorr
Apr 7, 2017
santiagorr
commented
Apr 7, 2017
|
El 07/04/17 a las 05:39, Marek Marczykowski-Górecki escribió:
Upstream Debian Xen packages lack of libxenvchan library - you need those
from our repository:
[1]https://github.com/qubesos/qubes-vmm-xen (or use apt repo at
[2]https://deb.qubes-os.org/r3.2/vm).
Thanks, that works.
Maybe, have you already asked Xen Debian maintainers to include that library?
I found nothing about it at
https://bugs.debian.org/cgi-bin/pkgreport.cgi?archive=both;src=xen
Lazy question: what changes/patches would be needed?
Cheers!
Santiago
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Apr 7, 2017
Member
Maybe, have you already asked Xen Debian maintainers to include that library?
@h01ger have made some effort, as part of https://wiki.debian.org/Qubes/Devel, but not sure if Xen Debian maintainer was involved. Xen Debian package is very complex (for example debian/control file is generated...), so I can't provide a patch.
Lazy question: what changes/patches would be needed?
For this case, probably just don't remove the library - it is installed by default by upstream Xen install scripts. But in more general case - see here:
https://github.com/QubesOS/qubes-vmm-xen/blob/xen-4.6/series-debian-vm.conf
And if you'd like to package also things needed in dom0, then things get even more complex - because of Debian policy "one upstream tarball, one source package" (at least I understand it this way) - stubdomain is built using multiple 3rd-party components with Xen-specific patches applied.
@h01ger have made some effort, as part of https://wiki.debian.org/Qubes/Devel, but not sure if Xen Debian maintainer was involved. Xen Debian package is very complex (for example debian/control file is generated...), so I can't provide a patch.
For this case, probably just don't remove the library - it is installed by default by upstream Xen install scripts. But in more general case - see here: And if you'd like to package also things needed in dom0, then things get even more complex - because of Debian policy "one upstream tarball, one source package" (at least I understand it this way) - stubdomain is built using multiple 3rd-party components with Xen-specific patches applied. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
h01ger
Apr 7, 2017
h01ger
commented
Apr 7, 2017
|
On Fri, Apr 07, 2017 at 07:43:02AM -0700, Marek Marczykowski-Górecki wrote:
because of Debian policy "one upstream tarball, one source package" (at
least I understand it this way) - stubdomain is built using multiple
3rd-party components with Xen-specific patches applied.
with debian/source format 3.0 you can have several tarballs in one source package.
…--
cheers,
Holger
|
andrewdavidwong
added
the
C: Debian
label
Apr 8, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
Apr 8, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Apr 8, 2017
Member
@santiagorr: Has your issue been resolved, or is there still something actionable here?
|
@santiagorr: Has your issue been resolved, or is there still something actionable here? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
santiagorr
Apr 10, 2017
santiagorr
commented
Apr 10, 2017
|
El 07/04/17 a las 20:22, Andrew David Wong escribió:
***@***.***: Has your issue been resolved, or is there still something
actionable here?
Well, if it is being able to build the qubes-core-vchan-xen package on a
pure debian, my issue is still unresolved.
Qubes specific changes have to be applied to the Xen package, and let me
try to give you an argument why it is important to include those changes
directly on Debian.
I have updated my debian-8 based VM to debian-9. Now, I have two
"conflicting" libxen-dev packages from different repositories:
qubes' repo is version 4.6.4-26+deb9u1, that is lower than the
stretch (or sid) repo's: 4.8.1~pre.2017.01.23-1, so apt prefers the
latter.
This is maybe out of the scope of the original issue, but from my debian
user point of view, I would need to fix this first.
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Apr 10, 2017
Member
Well, if it is being able to build the qubes-core-vchan-xen package on a
pure debian, my issue is still unresolved.
What does "it" refer to here?
By "pure" Debian do you mean baremetal (non-Qubes) Debian?
Qubes specific changes have to be applied to the Xen package, and let me
try to give you an argument why it is important to include those changes
directly on Debian.
I have updated my debian-8 based VM to debian-9. Now, I have two
"conflicting" libxen-dev packages from different repositories:
qubes' repo is version 4.6.4-26+deb9u1, that is lower than the
stretch (or sid) repo's: 4.8.1~pre.2017.01.23-1, so apt prefers the
latter.
This is maybe out of the scope of the original issue, but from my debian
user point of view, I would need to fix this first.
So, this is a problem that arises when you upgrade a Qubes TemplateVM from Debian 8 to Debian 9, then try to build Qubes in an AppVM based on that TemplateVM?
What does "it" refer to here? By "pure" Debian do you mean baremetal (non-Qubes) Debian?
So, this is a problem that arises when you upgrade a Qubes TemplateVM from Debian 8 to Debian 9, then try to build Qubes in an AppVM based on that TemplateVM? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
santiagorr
Apr 10, 2017
santiagorr
commented
Apr 10, 2017
|
El 10/04/17 a las 06:15, Andrew David Wong escribió:
Well, if it is being able to build the qubes-core-vchan-xen package on a
pure debian, my issue is still unresolved.
What does "it" refer to here?
The issue. Sorry if my writing is not clear.
By "pure" Debian do you mean baremetal (non-Qubes) Debian?
Yes. To be precise, on the cowbuilder chroot that I use to build
packages to be uploaded to Debian.
Qubes specific changes have to be applied to the Xen package, and let me
try to give you an argument why it is important to include those changes
directly on Debian.
I have updated my debian-8 based VM to debian-9. Now, I have two
"conflicting" libxen-dev packages from different repositories:
qubes' repo is version 4.6.4-26+deb9u1, that is lower than the
stretch (or sid) repo's: 4.8.1~pre.2017.01.23-1, so apt prefers the
latter.
This is maybe out of the scope of the original issue, but from my debian
user point of view, I would need to fix this first.
So, this is a problem that arises when you upgrade a Qubes TemplateVM from
Debian 8 to Debian 9, then try to build Qubes in an AppVM based on that
TemplateVM?
It seems I am mixing different things here.
I reported this issue after looking at how to close the Intend To
Package (ITP) Debian bug for the Qubes vchan libraries:
https://bugs.debian.org/837905
which means uploading the package to Debian.
To answer your question: no, it is not a problem that arises on my
upgraded vm. At least, it is no longer the case. It was maybe a bad
example, that I am not able to re-reproduce right now (apt does take
into account the 2001 version epoch). So, forget about it :-P
I was trying to give reasons for including the qubes-specific changes
into the Xen Debian package, needed to build qubes-core-vchan-xen.
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Ok, thanks! |
santiagorr commentedApr 7, 2017
Hi,
First of all, thanks for this amazing OS :-)
I'm taking a look to the debian packaging of Qubes-OS core components, beginning with libvchan-xen.
My cowbuilder fails to build it on a debian unstable base. It seems gcc flags are not correctly configured, at least an -I flag is missing. Full build log attached, this is the relevant part:
Cheers,
Santiago
libvchan-xen_3.2.0-1.log.txt
Related issues:
#1919