Bug 35

Summary: libyang need rpm-config 187 and 194 block build
Product: Circle Linux SIG Reporter: Bella Zhang <bella>
Component: CoreAssignee: James Xie <james>
Status: CONFIRMED ---    
Severity: enhancement CC: mike
Priority: ---    
Version: Circle Linux 9   
Hardware: PC   
OS: Linux   
See Also: https://bugzilla.cclinux.org/show_bug.cgi?id=36

Description Bella Zhang 2022-07-17 16:55:28 CST
gmake[2]: Leaving directory '/builddir/build/BUILD/libyang-2.0.7/redhat-linux-build'
[100%] Built target yanglint
gmake[1]: Leaving directory '/builddir/build/BUILD/libyang-2.0.7/redhat-linux-build'
/usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libyang-2.0.7/redhat-linux-build/CMakeFiles 0
+ mkdir build
+ cp ./src/libyang.h ./build/libyang.h
+ pushd x86_64-redhat-linux-gnu
/var/tmp/rpm-tmp.1rJv1v: line 68: pushd: x86_64-redhat-linux-gnu: No such file or directory
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.1rJv1v (%build)
    Bad exit status from /var/tmp/rpm-tmp.1rJv1v (%build)
Child return code was: 1

187 provide 
# rpm --eval %cmake_build
  /usr/bin/cmake --build "x86_64-redhat-linux-gnu" -j2 --verbose

194 provide 
# rpm --eval %cmake_build

  /usr/bin/cmake --build "redhat-linux-build" -j2 --verbose
Comment 1 mike chen 2022-07-24 12:23:24 CST
we now provide 187 version to provide expect macros.