Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile #15

Open
hexicans opened this issue Jul 19, 2024 · 0 comments
Open

Unable to compile #15

hexicans opened this issue Jul 19, 2024 · 0 comments

Comments

@hexicans
Copy link

hexicans commented Jul 19, 2024

Hi,

I have an issue with bgpfs2acl, I am unable to compile ACL.

Anyone can help me? There nothing in log, I have disk space..

`root@wanguard:~/xr-appmgr-build# ./appmgr_build -b bgpfs/build.yaml
Build version: 0dda1e1ffa6fbb6472530b50ef411b503432f298
Starting to build package: bgpfs2acl
---> bgpfs2acl
Building docker image arhashem/xr-wrl7...
docker build docker -f docker/WRL7.Dockerfile -t arhashem/xr-wrl7
[+] Building 0.5s (7/7) FINISHED docker:default
=> [internal] load build definition from WRL7.Dockerfile 0.0s
=> => transferring dockerfile: 94B 0.0s
=> [internal] load metadata for docker.io/akshshar/xr-wrl7:latest 0.3s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 34B 0.0s
=> [1/2] FROM docker.io/akshshar/xr-wrl7:latest@sha256:3f8eb541488ffb288d25fc812136895275484445cadb6916579b6fd020b75928 0.0s
=> CACHED [2/2] COPY build_rpm.sh /usr/sbin/ 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:b40719999236579ee7da540c679db00536f6a84277e030afcdc12eeadc31eeaa 0.0s
=> => naming to docker.io/arhashem/xr-wrl7 0.0s
Adding sources...
Adding configs...
---> bgpfs2acl
Adding data...
---> bgpfs2acl
Creating source archive...
Generating spec file: bgpfs2acl-1.0.0-eXR_7.3.1.spec
Building RPM...
/usr/sbin/build_rpm.sh --spec-file /usr/src/rpm/SPECS/bgpfs2acl-1.0.0-eXR_7.3.1.spec --source-dir /usr/src/rpm/SOURCES --rpm-dir /usr/src/rpm/RPMS --output-dir /root/RPMS --verbose

  • [[ '' == '' ]]
  • log_file=/tmp/rpmbuild.log
  • [[ /usr/src/rpm/SPECS/bgpfs2acl-1.0.0-eXR_7.3.1.spec == '' ]]
  • [[ /usr/src/rpm/SOURCES == '' ]]
  • [[ /usr/src/rpm/RPMS == '' ]]
  • [[ /root/RPMS == '' ]]
  • mkdir -p /root/RPMS
  • chown -Rf root:root /root/RPMS
  • chown -Rf root:root /usr/src/rpm/SOURCES/bgpfs2acl-1.0.0-eXR_7.3.1.tar.gz
    ++ dirname /usr/src/rpm/SPECS/bgpfs2acl-1.0.0-eXR_7.3.1.spec
  • chown -Rf root:root /usr/src/rpm/SPECS/bgpfs2acl-1.0.0-eXR_7.3.1.spec
  • [[ '' != '' ]]
  • /usr/bin/rpmbuild --verbose -bb /usr/src/rpm/SPECS/bgpfs2acl-1.0.0-eXR_7.3.1.spec
  • rpm_build_ec=1
  • [[ 1 -eq 0 ]]
  • echo 'Failed to build RPM. Check logfile for errors'
  • exit 1
    Failed to build RPM. Check logfile for errors

`

++

root@wanguard:/xr-appmgr-build# cat bgpfs/
bgpfs2acl.py build.yaml dev_configs/ .git/ iosxr_grpc/ requirements.txt tests/
bgpfs2acl.tar.gz conf/ Dockerfile .gitignore README.md src/ vagrant/
root@wanguard:
/xr-appmgr-build# cat bgpfs/build.yaml
packages:

  • name: "bgpfs2acl"
    release: "eXR_7.3.1"
    version: "1.0.0"
    sources:
    • name: bgpfs2acl
      file: bgpfs/bgpfs2acl.tar.gz
      copy_hostname: true
      copy_ems_cert: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant