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

rpm 打包报错 #113

Open
rayshen3 opened this issue Apr 6, 2021 · 0 comments
Open

rpm 打包报错 #113

rayshen3 opened this issue Apr 6, 2021 · 0 comments

Comments

@rayshen3
Copy link

rayshen3 commented Apr 6, 2021

一、
build脚本获取系统版本号有问题

[root@ops-monitor-185-168-sjz rpm]# cat /etc/redhat-release|cut -d " " -f 7|cut -d "." -f 1

[root@ops-monitor-185-168-sjz rpm]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)

我的是
[root@ops-monitor-185-168-sjz rpm]# cat /etc/redhat-release|cut -d " " -f 4|cut -d "." -f 1
7

二、

sh tsar-build.sh .. tsar 2.1.1 1

new subversion is:2.1.1
/etc/redhat-release:
CentOS Linux release 7.3.1611 (Core)
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.67CI0b

  • umask 022
  • cd /tmp/.rpm_create_tsar_root/BUILD
  • cd /tmp/.rpm_create_tsar_root/BUILD
  • rm -rf tsar-2.1.1
  • /usr/bin/gzip -dc /tmp/.rpm_create_tsar_root/SOURCES/tsar-2.1.1.tar.gz
  • /usr/bin/tar -xf -
  • STATUS=0
  • '[' 0 -ne 0 ']'
  • cd tsar-2.1.1
  • /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
  • exit 0
    Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8D5Nvk
  • umask 022
  • cd /tmp/.rpm_create_tsar_root/BUILD
  • cd tsar-2.1.1
  • make clean
    for i in src modules lualib; do cd $i;make clean;cd ..; done
    make[1]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src' rm -rf *.o *.d tsar obj; make[1]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src'
    make[1]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/modules' rm -f *.so; rm -f *.d; rm -rf *.dSYM; make[1]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/modules'
    make[1]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib' for i in lua-cjson-2.1.0 luasocket-2.0.2; do make -C $i clean; done make: Entering an unknown directory make: *** lua-cjson-2.1.0: No such file or directory. Stop. make: Leaving an unknown directory make: Entering an unknown directory make: *** luasocket-2.0.2: No such file or directory. Stop. make: Leaving an unknown directory make[1]: *** [clean] Error 2 make[1]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib'
  • make
    for i in src modules lualib; do make -C $i; done
    make[1]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src' Building LuaJIT... make[2]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/LuaJIT-2.0.4'
    ==== Building LuaJIT 2.0.4 ====
    make -C src
    make[3]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/LuaJIT-2.0.4/src' HOSTCC host/minilua.o HOSTLINK host/minilua DYNASM host/buildvm_arch.h HOSTCC host/buildvm.o HOSTCC host/buildvm_asm.o HOSTCC host/buildvm_peobj.o HOSTCC host/buildvm_lib.o HOSTCC host/buildvm_fold.o HOSTLINK host/buildvm BUILDVM lj_vm.s ASM lj_vm.o CC lj_gc.o BUILDVM lj_ffdef.h CC lj_err.o CC lj_char.o BUILDVM lj_bcdef.h CC lj_bc.o CC lj_obj.o CC lj_str.o CC lj_tab.o CC lj_func.o CC lj_udata.o CC lj_meta.o CC lj_debug.o CC lj_state.o CC lj_dispatch.o CC lj_vmevent.o CC lj_vmmath.o CC lj_strscan.o CC lj_api.o CC lj_lex.o CC lj_parse.o CC lj_bcread.o CC lj_bcwrite.o CC lj_load.o CC lj_ir.o CC lj_opt_mem.o BUILDVM lj_folddef.h CC lj_opt_fold.o CC lj_opt_narrow.o CC lj_opt_dce.o CC lj_opt_loop.o CC lj_opt_split.o CC lj_opt_sink.o CC lj_mcode.o CC lj_snap.o CC lj_record.o CC lj_crecord.o BUILDVM lj_recdef.h CC lj_ffrecord.o CC lj_asm.o CC lj_trace.o CC lj_gdbjit.o CC lj_ctype.o CC lj_cdata.o CC lj_cconv.o CC lj_ccall.o CC lj_ccallback.o CC lj_carith.o CC lj_clib.o CC lj_cparse.o CC lj_lib.o CC lj_alloc.o CC lib_aux.o BUILDVM lj_libdef.h CC lib_base.o CC lib_math.o CC lib_bit.o CC lib_string.o CC lib_table.o CC lib_io.o CC lib_os.o CC lib_package.o CC lib_debug.o CC lib_jit.o CC lib_ffi.o CC lib_init.o AR libluajit.a CC luajit.o BUILDVM jit/vmdef.lua LINK luajit OK Successfully built LuaJIT make[3]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/LuaJIT-2.0.4/src'
    ==== Successfully built LuaJIT 2.0.4 ====
    ==== Installing LuaJIT 2.0.4 to /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj ====
    mkdir -p /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/bin /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/lib /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/include/luajit-2.0 /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/share/man/man1 /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/lib/pkgconfig /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/share/luajit-2.0.4/jit /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/share/lua/5.1 /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/lib/lua/5.1
    cd src && install -m 0755 luajit /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/bin/luajit-2.0.4
    cd src && test -f libluajit.a && install -m 0644 libluajit.a /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/lib/libluajit-5.1.a || :
    rm -f /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/bin/luajit /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/lib/libluajit-5.1.so.2.0.4 /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/lib/libluajit-5.1.so /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/lib/libluajit-5.1.so
    cd src && test -f libluajit.so &&
    install -m 0755 libluajit.so /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/lib/libluajit-5.1.so.2.0.4 &&
    ldconfig -n /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/lib &&
    ln -sf libluajit-5.1.so.2.0.4 /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/lib/libluajit-5.1.so &&
    ln -sf libluajit-5.1.so.2.0.4 /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/lib/libluajit-5.1.so || :
    cd etc && install -m 0644 luajit.1 /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/share/man/man1
    cd etc && sed -e "s|^prefix=.|prefix=/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj|" -e "s|^multilib=.|multilib=lib|" luajit.pc > luajit.pc.tmp &&
    install -m 0644 luajit.pc.tmp /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/lib/pkgconfig/luajit.pc &&
    rm -f luajit.pc.tmp
    cd src && install -m 0644 lua.h lualib.h lauxlib.h luaconf.h lua.hpp luajit.h /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/include/luajit-2.0
    cd src/jit && install -m 0644 bc.lua v.lua dump.lua dis_x86.lua dis_x64.lua dis_arm.lua dis_ppc.lua dis_mips.lua dis_mipsel.lua bcsave.lua vmdef.lua /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/share/luajit-2.0.4/jit
    ln -sf luajit-2.0.4 /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/bin/luajit
    ==== Successfully installed LuaJIT 2.0.4 to /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj ====
    make[2]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src/obj/LuaJIT-2.0.4' gcc -MD -g -O2 -Wall -I../include -Iobj/include -c -o tsar.o tsar.c gcc -MD -g -O2 -Wall -I../include -Iobj/include -c -o config.o config.c gcc -MD -g -O2 -Wall -I../include -Iobj/include -c -o debug.o debug.c gcc -MD -g -O2 -Wall -I../include -Iobj/include -c -o framework.o framework.c framework.c: In function 'load_modules': framework.c:70:13: warning: implicit declaration of function 'load_lua_module' [-Wimplicit-function-declaration] load_lua_module(L, mod); ^ gcc -MD -g -O2 -Wall -I../include -Iobj/include -c -o output_file.o output_file.c gcc -MD -g -O2 -Wall -I../include -Iobj/include -c -o output_print.o output_print.c output_print.c: In function 'running_print_live': output_print.c:264:5: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] gettimeofday(&tv_begin, NULL); ^ gcc -MD -g -O2 -Wall -I../include -Iobj/include -c -o output_db.o output_db.c gcc -MD -g -O2 -Wall -I../include -Iobj/include -c -o output_tcp.o output_tcp.c gcc -MD -g -O2 -Wall -I../include -Iobj/include -c -o output_nagios.o output_nagios.c gcc -MD -g -O2 -Wall -I../include -Iobj/include -c -o common.o common.c gcc -MD -g -O2 -Wall -I../include -Iobj/include -c -o tsar_lua_util.o tsar_lua_util.c LINK tsar gcc tsar.o config.o debug.o framework.o output_file.o output_print.o output_db.o output_tcp.o output_nagios.o common.o tsar_lua_util.o -o tsar -I -MD -g -O2 -Wall -I../include -Iobj/include -Lobj/lib -lluajit-5.1 -lm -ldl -rdynamic make[1]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/src'
    make[1]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/modules' gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_apache.c -o mod_apache.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_cpu.c -o mod_cpu.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_haproxy.c -o mod_haproxy.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_io.c -o mod_io.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_load.c -o mod_load.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_swap.c -o mod_swap.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_lvs.c -o mod_lvs.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_mem.c -o mod_mem.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_ncpu.c -o mod_ncpu.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_nginx.c -o mod_nginx.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_partition.c -o mod_partition.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_pcsw.c -o mod_pcsw.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_percpu.c -o mod_percpu.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_pernic.c -o mod_pernic.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_proc.c -o mod_proc.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_squid.c -o mod_squid.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_tcp.c -o mod_tcp.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_tcpx.c -o mod_tcpx.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_traffic.c -o mod_traffic.so gcc -I../include -I../src/obj/include -MD -Wall -fPIC --shared -g -O2 -Wno-strict-aliasing mod_udp.c -o mod_udp.so make[1]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/modules'
    make[1]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib' for i in lua-cjson-2.1.0 luasocket-2.0.2; do tar --no-same-owner -zxf $i.tar.gz; done make -C lua-cjson-2.1.0 LUA_INCLUDE_DIR=/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 make[2]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/lua-cjson-2.1.0'
    cc -c -O3 -Wall -pedantic -DNDEBUG -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -fpic -o lua_cjson.o lua_cjson.c
    cc -c -O3 -Wall -pedantic -DNDEBUG -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -fpic -o strbuf.o strbuf.c
    cc -c -O3 -Wall -pedantic -DNDEBUG -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -fpic -o fpconv.o fpconv.c
    cc -shared -o cjson.so lua_cjson.o strbuf.o fpconv.o
    make[2]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/lua-cjson-2.1.0' make -C luasocket-2.0.2 LUAINC=-I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 make[2]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/luasocket-2.0.2'
    cd src; make all
    make[3]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/luasocket-2.0.2/src' gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o luasocket.o luasocket.c gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o timeout.o timeout.c gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o buffer.o buffer.c gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o io.o io.c gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o auxiliar.o auxiliar.c gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o options.o options.c gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o inet.o inet.c gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o tcp.o tcp.c gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o udp.o udp.c gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o except.o except.c gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o select.o select.c gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o usocket.o usocket.c gcc -O -shared -fpic -o socket.so.2.0.2 luasocket.o timeout.o buffer.o io.o auxiliar.o options.o inet.o tcp.o udp.o except.o select.o usocket.o gcc -I/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/../src/obj/include/luajit-2.0 -DLUASOCKET_DEBUG -pedantic -Wall -O2 -fpic -c -o mime.o mime.c gcc -O -shared -fpic -o mime.so.1.0.2 mime.o make[3]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/luasocket-2.0.2/src'
    make[2]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/luasocket-2.0.2' make[1]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib'
  • exit 0
    Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Whywqe
  • umask 022
  • cd /tmp/.rpm_create_tsar_root/BUILD
  • '[' /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64 '!=' / ']'
  • rm -rf /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64
    ++ dirname /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64
  • mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT
  • mkdir /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64
  • cd tsar-2.1.1
  • rm -rf /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64
  • mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/
  • mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/modules/
  • mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/conf/
  • mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/man/man8/
  • mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/etc/logrotate.d/
  • mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/etc/tsar/
  • mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/etc/cron.d/
  • mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/bin
  • install -p -D -m 0755 src/tsar /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/bin/tsar
  • install -p -D -m 0644 conf/tsar.conf /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/etc/tsar/tsar.conf
  • install -p -D -m 0644 modules/mod_apache.so modules/mod_cpu.so modules/mod_haproxy.so modules/mod_io.so modules/mod_load.so modules/mod_lvs.so modules/mod_mem.so modules/mod_ncpu.so modules/mod_nginx.so modules/mod_partition.so modules/mod_pcsw.so modules/mod_percpu.so modules/mod_pernic.so modules/mod_proc.so modules/mod_squid.so modules/mod_swap.so modules/mod_tcp.so modules/mod_tcpx.so modules/mod_traffic.so modules/mod_udp.so /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/modules/
  • install -p -D -m 0644 conf/tsar.cron /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/etc/cron.d/tsar
  • install -p -D -m 0644 conf/tsar.logrotate /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/etc/logrotate.d/tsar
  • install -p -D -m 0644 conf/tsar.8 /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/man/man8/tsar.8
  • make -C lualib INSTALL_DIR=/tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib install
    make: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib' make[1]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/lua-cjson-2.1.0'
    mkdir -p //tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib
    cp cjson.so //tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib
    chmod 755 //tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/cjson.so
    make[1]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/lua-cjson-2.1.0' make[1]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/luasocket-2.0.2'
    cd src; make all
    make[2]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/luasocket-2.0.2/src' make[2]: Nothing to be done for all'.
    make[2]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/luasocket-2.0.2/src' cd src; mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib cd src; cp ltn12.lua socket.lua mime.lua /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib cd src; mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/socket cd src; cp http.lua url.lua tp.lua ftp.lua smtp.lua /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/socket cd src; mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/socket cd src; cp socket.so.2.0.2 /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/socket/core.so #cd src; mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/mime #cd src; cp /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/mime cd src; mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/mime cd src; cp mime.so.1.0.2 /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/mime/core.so make[1]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/luasocket-2.0.2'
    make: Leaving directory `/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib'
  • install -p -D -m 0755 luadevel/tsarluadevel /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/bin/tsarluadevel
  • install -p -D -m 0644 luadevel/mod_lua_test.lua /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/luadevel/mod_lua_test.lua
  • install -p -D -m 0644 luadevel/mod_lua_test.conf /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/luadevel/mod_lua_test.conf
  • install -p -D -m 0644 luadevel/Makefile.test /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/luadevel/Makefile.test
  • make -C lualib INSTALL_DIR=/tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib install
    make: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib' make[1]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/lua-cjson-2.1.0'
    mkdir -p //tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib
    cp cjson.so //tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib
    chmod 755 //tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/cjson.so
    make[1]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/lua-cjson-2.1.0' make[1]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/luasocket-2.0.2'
    cd src; make all
    make[2]: Entering directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/luasocket-2.0.2/src' make[2]: Nothing to be done for all'.
    make[2]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/luasocket-2.0.2/src' cd src; mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib cd src; cp ltn12.lua socket.lua mime.lua /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib cd src; mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/socket cd src; cp http.lua url.lua tp.lua ftp.lua smtp.lua /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/socket cd src; mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/socket cd src; cp socket.so.2.0.2 /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/socket/core.so #cd src; mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/mime #cd src; cp /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/mime cd src; mkdir -p /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/mime cd src; cp mime.so.1.0.2 /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64/usr/local/tsar/lualib/mime/core.so make[1]: Leaving directory /tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib/luasocket-2.0.2'
    make: Leaving directory `/tmp/.rpm_create_tsar_root/BUILD/tsar-2.1.1/lualib'
  • /usr/lib/rpm/check-buildroot
  • /usr/lib/rpm/redhat/brp-compress
  • /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
  • /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
  • /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
  • /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
  • /usr/lib/rpm/redhat/brp-python-hardlink
  • /usr/lib/rpm/redhat/brp-java-repack-jars
    Processing files: tsar-2.1.1-1.14c1392.el7.x86_64
    Provides: config(tsar) = 2.1.1-1.14c1392.el7 tsar = 2.1.1-1.14c1392.el7 tsar(x86-64) = 2.1.1-1.14c1392.el7
    Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.7)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) rtld(GNU_HASH)
    Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/.rpm_create_tsar_root/BUILDROOT/tsar-2.1.1-1.14c1392.el7.x86_64
    error: Installed (but unpackaged) file(s) found:
    /usr/bin/tsarluadevel
    /usr/local/tsar/luadevel/Makefile.test
    /usr/local/tsar/luadevel/mod_lua_test.conf
    /usr/local/tsar/luadevel/mod_lua_test.lua

RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/bin/tsarluadevel
/usr/local/tsar/luadevel/Makefile.test
/usr/local/tsar/luadevel/mod_lua_test.conf
/usr/local/tsar/luadevel/mod_lua_test.lua
dir: /tmp/.rpm_create_tsar_root

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