Merge ~paelzer/ubuntu/+source/open-vm-tools:fix-FTFBS-gcc-10-glibc-2.32-GROOVY into ubuntu/+source/open-vm-tools:ubuntu/groovy-devel

Proposed by Christian Ehrhardt 
Status: Merged
Approved by: Christian Ehrhardt 
Approved revision: 85d4071672da716202363ad43109e22e83c72f07
Merged at revision: 85d4071672da716202363ad43109e22e83c72f07
Proposed branch: ~paelzer/ubuntu/+source/open-vm-tools:fix-FTFBS-gcc-10-glibc-2.32-GROOVY
Merge into: ubuntu/+source/open-vm-tools:ubuntu/groovy-devel
Diff against target: 93 lines (+59/-1)
4 files modified
debian/changelog (+8/-0)
debian/patches/fix-FTBFS-glibc2.32.patch (+49/-0)
debian/patches/series (+1/-0)
debian/rules (+1/-1)
Reviewer Review Type Date Requested Status
Andreas Hasenack Approve
Canonical Server Pending
git-ubuntu developers Pending
Review via email: mp+391518@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

+1. Curious about the no-nonnull error, though, did you find out what changed in gcc10 to flag it just now? https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html didn't say anything new

review: Approve
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Tagged and uploaded.
Probably held back by the beta freeze.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 592c2f4..afd04b6 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,11 @@
6+open-vm-tools (2:11.1.5-1ubuntu1) groovy; urgency=medium
7+
8+ * d/p/fix-FTBFS-glibc2.32.patch: fix tirpc flags to propagate correctly
9+ fixing an FTFBS with glibc >=2.32
10+ * d/rules: avoid FTBFS by ignoring nonnull errors for now
11+
12+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Tue, 29 Sep 2020 13:37:20 +0200
13+
14 open-vm-tools (2:11.1.5-1) unstable; urgency=medium
15
16 * [5515c98] Don't recommend xserver-xorg-input-vmmouse.
17diff --git a/debian/patches/fix-FTBFS-glibc2.32.patch b/debian/patches/fix-FTBFS-glibc2.32.patch
18new file mode 100644
19index 0000000..f7ca692
20--- /dev/null
21+++ b/debian/patches/fix-FTBFS-glibc2.32.patch
22@@ -0,0 +1,49 @@
23+Description: fix FTFBS with glibc2.32 due to rpc vs tirpc
24+ Found by the full groovy rebuild this FTBFS is due to
25+ glibc2.32 dropping the option to enable the outdated
26+ compat rpc support.
27+ That means finally everything has to use tirpc for real.
28+ In the case of open-vm-tools a few makefiles needed to
29+ get the right variables (already detected by pkg-config)
30+ propagated.
31+Forwarded: yes (https://github.com/vmware/open-vm-tools/pull/469)
32+Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
33+Last-Update: 2020-09-29
34+--- a/open-vm-tools/tests/testDebug/Makefile.am
35++++ b/open-vm-tools/tests/testDebug/Makefile.am
36+@@ -22,6 +22,7 @@ libtestDebug_la_CPPFLAGS =
37+ libtestDebug_la_CPPFLAGS += @CUNIT_CPPFLAGS@
38+ libtestDebug_la_CPPFLAGS += @GOBJECT_CPPFLAGS@
39+ libtestDebug_la_CPPFLAGS += @PLUGIN_CPPFLAGS@
40++libtestDebug_la_CPPFLAGS += @XDR_CPPFLAGS@
41+
42+ libtestDebug_la_LDFLAGS =
43+ libtestDebug_la_LDFLAGS += @PLUGIN_LDFLAGS@
44+@@ -30,6 +31,7 @@ libtestDebug_la_LIBADD =
45+ libtestDebug_la_LIBADD += @CUNIT_LIBS@
46+ libtestDebug_la_LIBADD += @GOBJECT_LIBS@
47+ libtestDebug_la_LIBADD += @VMTOOLS_LIBS@
48++libtestDebug_la_LIBADD += @XDR_LIBS@
49+ libtestDebug_la_LIBADD += ../vmrpcdbg/libvmrpcdbg.la
50+
51+ libtestDebug_la_SOURCES =
52+--- a/open-vm-tools/tests/testPlugin/Makefile.am
53++++ b/open-vm-tools/tests/testPlugin/Makefile.am
54+@@ -22,6 +22,7 @@ libtestPlugin_la_CPPFLAGS =
55+ libtestPlugin_la_CPPFLAGS += @CUNIT_CPPFLAGS@
56+ libtestPlugin_la_CPPFLAGS += @GOBJECT_CPPFLAGS@
57+ libtestPlugin_la_CPPFLAGS += @PLUGIN_CPPFLAGS@
58++libtestPlugin_la_CPPFLAGS += @XDR_CPPFLAGS@
59+
60+ libtestPlugin_la_LDFLAGS =
61+ libtestPlugin_la_LDFLAGS += @PLUGIN_LDFLAGS@
62+--- a/open-vm-tools/tests/vmrpcdbg/Makefile.am
63++++ b/open-vm-tools/tests/vmrpcdbg/Makefile.am
64+@@ -21,6 +21,7 @@ libvmrpcdbg_la_CPPFLAGS =
65+ libvmrpcdbg_la_CPPFLAGS += @CUNIT_CPPFLAGS@
66+ libvmrpcdbg_la_CPPFLAGS += @GMODULE_CPPFLAGS@
67+ libvmrpcdbg_la_CPPFLAGS += @VMTOOLS_CPPFLAGS@
68++libvmrpcdbg_la_CPPFLAGS += @XDR_CPPFLAGS@
69+ libvmrpcdbg_la_CPPFLAGS += -I$(top_srcdir)/lib/rpcChannel
70+
71+ libvmrpcdbg_la_LDFLAGS =
72diff --git a/debian/patches/series b/debian/patches/series
73index 8140b20..5ac1b8e 100644
74--- a/debian/patches/series
75+++ b/debian/patches/series
76@@ -1,3 +1,4 @@
77 debian/pam-use-common-auth-account
78 debian/max_nic_count
79 debian/scsi-udev-rule
80+fix-FTBFS-glibc2.32.patch
81diff --git a/debian/rules b/debian/rules
82index 7b965de..5f2cad2 100755
83--- a/debian/rules
84+++ b/debian/rules
85@@ -21,7 +21,7 @@ override_dh_auto_configure:
86 --enable-xmlsec1 \
87 --with-gtk3 \
88 --enable-servicediscovery \
89- CFLAGS="-fPIC -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member $(CFLAGS)" \
90+ CFLAGS="-fPIC -Wno-error=deprecated-declarations -Wno-error=address-of-packed-member -Wno-nonnull $(CFLAGS)" \
91 CUSTOM_PROCPS_NAME=procps
92
93 override_dh_auto_install:

Subscribers

People subscribed via source and target branches