Uploaded image for project: 'Validation'
  1. Validation
  2. VAL-100

os container image build fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Medium
    • None

    Description

      Following failures detected:

      checking for struct taskstats.freepages_count... yes
      checking for struct taskstats.nvcsw... yes
      checking for struct taskstats.read_bytes... yes
      ./configure: line 6788: syntax error near unexpected token `LIBTIRPC,'
      ./configure: line 6788: ` PKG_CHECK_MODULES(LIBTIRPC, libtirpc >= 0.2.4,'
      The command '/bin/sh -c make autotools && ./configure --prefix=/opt/ltp && make -j $(getconf _NPROCESSORS_ONLN) 2>&1 | tee ../build-log.txt && make install 2>&1 | tee ../install-log.txt' returned a non-zero code: 2
      ../build.mk:50: recipe for target '.build' failed
      make[1]: *** [.build] Error 2
      make[1]: Leaving directory '/home/jukosone/omat/akraino/git/validation/docker/os'
      Makefile:37: recipe for target 'os-build' failed
      make: *** [os-build] Error 2
      Cloning into 'go-cve-dictionary'...
      GO111MODULE=on go install -ldflags "-X 'main.version=v0.4.1' -X 'main.revision=4a02438'"
      go: downloading github.com/labstack/echo v3.3.10+incompatible
      go: downloading github.com/olekukonko/tablewriter v0.0.1
      go: downloading github.com/PuerkitoBio/goquery v1.5.0
      go: downloading golang.org/x/sys v0.0.0-20190909082730-f460065e899a
      go: extracting github.com/olekukonko/tablewriter v0.0.1
      go: extracting github.com/labstack/echo v3.3.10+incompatible
      go: extracting github.com/PuerkitoBio/goquery v1.5.0
      go: downloading golang.org/x/crypto v0.0.0-20190907121410-71b5226ff739
      go: downloading golang.org/x/net v0.0.0-20190909003024-a7b16738d86b
      go: downloading github.com/andybalholm/cascadia v1.0.0
      go: extracting github.com/andybalholm/cascadia v1.0.0
      go: extracting golang.org/x/crypto v0.0.0-20190907121410-71b5226ff739
      go: extracting golang.org/x/net v0.0.0-20190909003024-a7b16738d86b
      go: extracting golang.org/x/sys v0.0.0-20190909082730-f460065e899a
      mkdir: cannot create directory '/opt/akraino/validation/tests/os/vuls/': File exists
      The command '/bin/bash -c wget https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz -P /root/ && cd /root/ && tar -xzf go1.12.6.linux-amd64.tar.gz -C /root/ && export GOROOT=/root/go && export GOPATH=/root/go/src && export PATH=$PATH:/root/go/bin:/root/go/src/bin && mkdir -p /root/go/src/github.com/future-architect && cd /root/go/src/github.com/future-architect && git clone https://github.com/future-architect/vuls && cd vuls && make install && mkdir -p /root/go/src/github.com/kotakanbe && git -C /root/go/src/github.com/kotakanbe clone https://github.com/kotakanbe/go-cve-dictionary.git && cd /root/go/src/github.com/kotakanbe/go-cve-dictionary/ && make install && mkdir /opt/akraino/validation/tests/os/vuls/ && for i in $(seq 2002 "$(date +"%Y")"); do go-cve-dictionary fetchnvd -http-proxy=${HTTP_PROXY} -dbpath /opt/akraino/validation/tests/os/vuls/cve.sqlite3 -years "$i"; done && git -C /root/go/src/github.com/kotakanbe clone https://github.com/kotakanbe/goval-dictionary.git && cd /root/go/src/github.com/kotakanbe/goval-dictionary && make install && goval-dictionary fetch-ubuntu -http-proxy=${HTTP_PROXY} -dbpath=/opt/akraino/validation/tests/os/vuls/oval_ubuntu_16.sqlite3 16 && goval-dictionary fetch-ubuntu -http-proxy=${HTTP_PROXY} -dbpath=/opt/akraino/validation/tests/os/vuls/oval_ubuntu_18.sqlite3 18 && goval-dictionary fetch-redhat -http-proxy=${HTTP_PROXY} -dbpath=/opt/akraino/validation/tests/os/vuls/oval_centos.sqlite3 7 && mkdir -p /root/go/src/github.com/knqyf263 && git -C /root/go/src/github.com/knqyf263 clone https://github.com/knqyf263/gost.git && cd /root/go/src/github.com/knqyf263/gost && make install && gost fetch redhat --http-proxy=${HTTP_PROXY} --dbpath=/opt/akraino/validation/tests/os/vuls/gost_centos.sqlite3 && cd /opt/akraino/validation/tests/os/vuls && tar cvzf db.tar.gz *.sqlite3 && rm *.sqlite3' returned a non-zero code: 1
      ../build.mk:50: recipe for target '.build' failed
      make[1]: *** [.build] Error 1
      make[1]: Leaving directory '/home/jukosone/omat/akraino/git/validation/docker/os'
      Makefile:37: recipe for target 'os-build' failed
      make: *** [os-build] Error 2

      Attachments

        Activity

          People

            jukosone Juha Kosonen
            jukosone Juha Kosonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: