Bug 35 - libyang need rpm-config 187 and 194 block build
Summary: libyang need rpm-config 187 and 194 block build
Status: CONFIRMED
Alias: None
Product: Circle Linux SIG
Classification: Circle
Component: Core (show other bugs)
Version: Circle Linux 9
Hardware: PC Linux
: --- enhancement
Assignee: James Xie
URL:
Depends on:
Blocks:
 
Reported: 2022-07-17 16:55 CST by Bella Zhang
Modified: 2022-07-24 12:24 CST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.