Bug 45770

Summary: rpm-build: сборка без libselinux
Product: Sisyphus Reporter: Alexey Sheplyakov <asheplyakov>
Component: rpm-buildAssignee: Alexey Sheplyakov <asheplyakov>
Status: NEW --- QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P5 CC: arseny, asheplyakov, glebfm, imz, iv, ldv, nir, placeholder, sin, vt
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 45802    

Description Alexey Sheplyakov 2023-04-06 19:52:26 MSK
$ gear-hsh -v -- -v --rpmbuild-args='--without=selinux'

спотыкается на

/bin/sh ../libtool  --tag=CC   --mode=link x86_64-alt-linux-gcc  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -Werror=trampolines  -L/usr/src/RPM/BUILD/rpm-4.0.4.187-alt1/stub -o test-set test_set-set.o ../rpmio/librpmio.la 
libtool: link: x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_GNU_SOURCE -D_REENTRANT -fno-strict-aliasing -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -Werror=trampolines -o .libs/test-set test_set-set.o  -L/usr/src/RPM/BUILD/rpm-4.0.4.187-alt1/stub ../rpmio/.libs/librpmio.so
ld: ../rpmio/.libs/librpmio.so: undefined reference to `va_start'
ld: ../rpmio/.libs/librpmio.so: undefined reference to `va_end'
collect2: error: ld returned 1 exit status