Skip to contentSkip to conversation

runstatedir matters when using debhelper tools in Artful

DISCUSSION Mark Pryor 3 participants 3 messages Oct 19, 2017 – Oct 20, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mark Pryor

author
#1 lore raw

Hello,
When finishing a debianised build of xen-4.10~rc1 in Artful I had no extra patches, so I left outthis patch below that I used to build xen-4.9 in Artful:

https://lists.xen.org/archives/html/xen-devel/2017-09/msg01424.html
When dpkg -i xen_4.10~rc1-artful2_amd64.deb is run, the systemd symlink links should get written to /etc/systemd/system/multi*, but now this failed, unlike the xen-4.9 equivalent package. When it works (patch is applied) it looks like below
paste.debian.net/plain/991667
When it fails there are no systemd symlinks written and the package install is broken.
Nobody might notice if the runstatedir variable is missing from config/Paths.mk, but if you build Xen with a debian-delta and use debhelper it matters (in Artful or Buster). PryMar56##xen-packaging

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw

CC Ian who know debhelper better.

Quoted 10 lines · Mark Pryor

Hello,
When finishing a debianised build of xen-4.10~rc1 in Artful I had no extra patches, so I left outthis patch below that I used to build xen-4.9 in Artful:

https://lists.xen.org/archives/html/xen-devel/2017-09/msg01424.html
When dpkg -i xen_4.10~rc1-artful2_amd64.deb is run, the systemd symlink links should get written to /etc/systemd/system/multi*, but now this failed, unlike the xen-4.9 equivalent package. When it works (patch is applied) it looks like below
paste.debian.net/plain/991667
When it fails there are no systemd symlinks written and the package install is broken.
Nobody might notice if the runstatedir variable is missing from config/Paths.mk, but if you build Xen with a debian-delta and use debhelper it matters (in Artful or Buster). PryMar56##xen-packaging

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#3 lore raw

Wei Liu writes ("Re: runstatedir matters when using debhelper tools in Artful"):

Quoted 10 lines · Mark Pryor
Quoted 9 lines

Hello,
When finishing a debianised build of xen-4.10~rc1 in Artful I had no extra patches, so I left outthis patch below that I used to build xen-4.9 in Artful:

https://lists.xen.org/archives/html/xen-devel/2017-09/msg01424.html
When dpkg -i xen_4.10~rc1-artful2_amd64.deb is run, the systemd symlink links should get written to /etc/systemd/system/multi*, but now this failed, unlike the xen-4.9 equivalent package. When it works (patch is applied) it looks like below
paste.debian.net/plain/991667
When it fails there are no systemd symlinks written and the package install is broken.
Nobody might notice if the runstatedir variable is missing from config/Paths.mk, but if you build Xen with a debian-delta and use debhelper it matters (in Artful or Buster).

This is mysterious to me. Nothing in the upstream tree mentions "runstatedir", according to git-grep. I'm not sure how your 4.10~rc1 was constructed, though.

And runstatedir is surely something in /var, anyway.

Are you sure about the cause and effect here ?

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel