Hi all, I prepared an update for open-vm-tools last week, checked the SR today and found something strange. My update as well as the older version in Virtualization:VMware are building fine for SLES15 SP5, but fail for Leap 15.5. It also fails for SLES15 SP4. The error is that configure does not find the C compiler (or rather it does not work).
[ 47s] + ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-kernel-modules --without-root-privileges --with-x --disable-dependency-tracking --with-gtk3 --enable-xmlsec1 --with-udev-rules-dir=/usr/lib/udev/rules.d --enable-resolutionkms --enable-servicediscovery --with-fuse=3 --enable-salt-minion --disable-static --enable-containerinfo=yes [ 47s] configure: WARNING: unrecognized options: --enable-xmlsec1 [ 47s] checking build system type... x86_64-suse-linux-gnu [ 47s] checking host system type... x86_64-suse-linux-gnu [ 47s] checking for x86_64-suse-linux-gnu-gcc... no [ 47s] checking for gcc... gcc [ 48s] checking whether the C compiler works... no [ 48s] configure: error: in `/home/abuild/rpmbuild/BUILD/open-vm-tools-12.5.0/open-vm-tools': [ 48s] configure: error: C compiler cannot create executables [ 48s] See `config.log' for more details
I compared the packages related to gcc and they looked the same on both builds. (The xmlsec1 error seems unrelated) Is there some other OBS magic involved, that is different on 15.5 and SP5? Kind Regards, Johannes