jepsen icon indicating copy to clipboard operation
jepsen copied to clipboard

centos install failed installing perl and dpkg

Open eskuai opened this issue 2 years ago • 0 comments

Hello,

Launching test againt centos env, i got problems to install perl and dpkg

It shows

checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether g++ supports C++11... yes
checking for flex... no
checking for lex... no
checking for doxygen... no
checking for dot... NO
checking for po4a... no
checking for perl... no
STDERR:
configure: error: cannot find the Perl interpreter
        at slingshot.support$stack_trace.invoke(support.clj:201)
        at jepsen.control.core$throw_on_nonzero_exit.invokeStatic(core.clj:160)
        at jepsen.control.core$throw_on_nonzero_exit.invoke(core.clj:155)
        at jepsen.control$exec_STAR_.invokeStatic(control.clj:141)
        at jepsen.control$exec_STAR_.doInvoke(control.clj:138)
        at clojure.lang.RestFn.applyTo(RestFn.java:137)
        at clojure.core$apply.invokeStatic(core.clj:665)
        at clojure.core$apply.invoke(core.clj:660)
        at jepsen.control$exec.invokeStatic(control.clj:157)
        at jepsen.control$exec.doInvoke(control.clj:151)
        at clojure.lang.RestFn.invoke(RestFn.java:436)
        at jepsen.os.centos$install_start_stop_daemon_BANG_.invokeStatic(centos.clj:117)
        at jepsen.os.centos$install_start_stop_daemon_BANG_.invoke(centos.clj:110)
        at jepsen.os.centos.CentOS.setup_BANG_(centos.clj:152)

and dpkg problem

make[3]: Leaving directory '/dpkg-1.17.27/dselect'
make[2]: Leaving directory '/dpkg-1.17.27/dselect'
make[1]: Leaving directory '/dpkg-1.17.27'
STDERR:
ar.c: In function 'dpkg_ar_member_put_header':
ar.c:114:56: warning: '%-10jd' directive writing between 10 and 20 bytes into a region of size between 0 and 13 [-Wformat-overflow=]
  114 |         n = sprintf(header, "%-16s%-12lu%-6lu%-6lu%-8lo%-10jd`\n",
      |                                                        ^~~~~~
ar.c:114:29: note: directive argument in the range [-9223372036854775808, 9999999999]
  114 |         n = sprintf(header, "%-16s%-12lu%-6lu%-6lu%-8lo%-10jd`\n",

I think, jepsen/src/jepsen/os/centos.clj could be fixed by add

     (install [:wget
                :gcc
                :gcc-c++
                :curl
                :vim-common
                :unzip
                :rsyslog
                :iptables
                :ncurses-devel
                :iproute
                :logrotate
                :perl
                :dpkg]))

eskuai avatar Aug 10 '22 12:08 eskuai