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

Repack Module Machenism #39

Merged
merged 18 commits into from
Sep 22, 2024

+

76fca63
Select commit
Loading
Failed to load commit list.
Merged

Repack Module Machenism #39

+
76fca63
Select commit
Loading
Failed to load commit list.
Garnix CI / package srs [x86_64-linux] succeeded Sep 22, 2024 in 3s

Run results

Build succeeded

Details

Last 100 lines of logs:

                 from ./src/app/srs_app_rtc_server.hpp:10,
                 from ./src/app/srs_app_rtc_server.cpp:7:
/nix/store/wlavaybjbzgllhq11lib6qgr7rm8imgp-glibc-2.39-52-dev/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  414 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
g++ -c -std=c++11 -Wall -g -O0 -fsanitize=address -fno-omit-frame-pointer   \
    -I./src/app -I./src/core -I./src/kernel -I./src/protocol \
    -I./objs -I./objs/openssl/include -I./objs/srtp2/include -I./objs/ffmpeg/include \
    -o ./objs/src/app/srs_app_rtc_source.o \
    ./src/app/srs_app_rtc_source.cpp
g++ -c -std=c++11 -Wall -g -O0 -fsanitize=address -fno-omit-frame-pointer   \
    -I./src/app -I./src/core -I./src/kernel -I./src/protocol \
    -I./objs -I./objs/openssl/include -I./objs/srtp2/include -I./objs/ffmpeg/include \
    -o ./objs/src/app/srs_app_rtc_api.o \
    ./src/app/srs_app_rtc_api.cpp
In file included from /nix/store/wlavaybjbzgllhq11lib6qgr7rm8imgp-glibc-2.39-52-dev/include/inttypes.h:25,
                 from ./src/core/srs_core_platform.hpp:28,
                 from ./src/core/srs_core.hpp:36,
                 from ./src/app/srs_app_rtc_source.hpp:10,
                 from ./src/app/srs_app_rtc_source.cpp:7:
/nix/store/wlavaybjbzgllhq11lib6qgr7rm8imgp-glibc-2.39-52-dev/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  414 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from /nix/store/wlavaybjbzgllhq11lib6qgr7rm8imgp-glibc-2.39-52-dev/include/inttypes.h:25,
                 from ./src/core/srs_core_platform.hpp:28,
                 from ./src/core/srs_core.hpp:36,
                 from ./src/app/srs_app_rtc_api.hpp:10,
                 from ./src/app/srs_app_rtc_api.cpp:7:
/nix/store/wlavaybjbzgllhq11lib6qgr7rm8imgp-glibc-2.39-52-dev/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  414 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
g++ -c -std=c++11 -Wall -g -O0 -fsanitize=address -fno-omit-frame-pointer   \
    -I./src/app -I./src/core -I./src/kernel -I./src/protocol \
    -I./objs -I./objs/openssl/include -I./objs/srtp2/include -I./objs/ffmpeg/include \
    -o ./objs/src/app/srs_app_rtc_codec.o \
    ./src/app/srs_app_rtc_codec.cpp
g++ -c -std=c++11 -Wall -g -O0 -fsanitize=address -fno-omit-frame-pointer   \
    -I./src/main -I./src/core -I./src/kernel -I./src/protocol -I./src/app \
    -I./objs -I./objs/openssl/include -I./objs/srtp2/include -I./objs/ffmpeg/include \
    -o ./objs/src/main/srs_main_server.o \
    ./src/main/srs_main_server.cpp
In file included from /nix/store/wlavaybjbzgllhq11lib6qgr7rm8imgp-glibc-2.39-52-dev/include/inttypes.h:25,
                 from ./src/core/srs_core_platform.hpp:28,
                 from ./src/core/srs_core.hpp:36,
                 from ./src/app/srs_app_rtc_codec.hpp:10,
                 from ./src/app/srs_app_rtc_codec.cpp:7:
/nix/store/wlavaybjbzgllhq11lib6qgr7rm8imgp-glibc-2.39-52-dev/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  414 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from /nix/store/wlavaybjbzgllhq11lib6qgr7rm8imgp-glibc-2.39-52-dev/include/inttypes.h:25,
                 from ./src/core/srs_core_platform.hpp:28,
                 from ./src/core/srs_core.hpp:36,
                 from ./src/main/srs_main_server.cpp:7:
/nix/store/wlavaybjbzgllhq11lib6qgr7rm8imgp-glibc-2.39-52-dev/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  414 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
g++ -o ./objs/srs ./objs/src/core/srs_core.o ./objs/src/core/srs_core_version.o ./objs/src/core/srs_core_version5.o ./objs/src/core/srs_core_autofree.o ./objs/src/core/srs_core_performance.o ./objs/src/core/srs_core_time.o ./objs/src/core/srs_core_platform.o ./objs/src/kernel/srs_kernel_error.o ./objs/src/kernel/srs_kernel_log.o ./objs/src/kernel/srs_kernel_buffer.o ./objs/src/kernel/srs_kernel_utility.o ./objs/src/kernel/srs_kernel_flv.o ./objs/src/kernel/srs_kernel_codec.o ./objs/src/kernel/srs_kernel_io.o ./objs/src/kernel/srs_kernel_consts.o ./objs/src/kernel/srs_kernel_aac.o ./objs/src/kernel/srs_kernel_mp3.o ./objs/src/kernel/srs_kerne…
/nix/store/81xsp348yfgmaan9r5055mcdjfw7a8wc-binutils-2.42/bin/ld: warning: md_linux.o: missing .note.GNU-stack section implies executable stack
/nix/store/81xsp348yfgmaan9r5055mcdjfw7a8wc-binutils-2.42/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
make[1]: Leaving directory '/build/trunk'
The build summary:
     +------------------------------------------------------------------------------------
     For SRS benchmark, gperf, gprof and valgrind, please read:
          https://www.jianshu.com/p/6d4a89359352
     +------------------------------------------------------------------------------------
     |The main server usage: ./objs/srs -c conf/srs.conf, start the srs server
     |     About HLS, please read https://ossrs.net/lts/zh-cn/docs/v4/doc/delivery-hls
     |     About DVR, please read https://ossrs.net/lts/zh-cn/docs/v4/doc/dvr
     |     About SSL, please read https://ossrs.net/lts/zh-cn/docs/v4/doc/rtmp-handshake
     |     About transcoding, please read https://ossrs.net/lts/zh-cn/docs/v4/doc/ffmpeg
     |     About ingester, please read https://ossrs.net/lts/zh-cn/docs/v4/doc/ingest
     |     About http-callback, please read https://ossrs.net/lts/zh-cn/docs/v4/doc/http-callback
     |     Aoubt http-server, please read https://ossrs.net/lts/zh-cn/docs/v4/doc/http-server
     |     About http-api, please read https://ossrs.net/lts/zh-cn/docs/v4/doc/http-api
     |     About stream-caster, please read https://ossrs.net/lts/zh-cn/docs/v4/doc/streamer
     |     (Disabled) About VALGRIND, please read https://github.com/ossrs/state-threads/issues/2
     +------------------------------------------------------------------------------------
binaries, please read https://ossrs.net/lts/zh-cn/docs/v4/doc/install
You can:
      ./objs/srs -c conf/srs.conf
                  to start the srs server, with config conf/srs.conf.
Running phase: installPhase
@nix {"action":"setPhase","phase":"installPhase"}
install flags: -j28 SHELL=/nix/store/izpf49b74i15pcr9708s3xdwyqs4jxwl-bash-5.2p32/bin/bash install
Now mkdir /nix/store/l0a9zmk0v9l8k9q1549hirz0sy78ynf6-srs-5.0-r2
Now make the http root dir
Now copy binary files
Now copy srs conf files
Now copy init.d script files
Now copy systemctl service files

@see: https://ossrs.net/lts/zh-cn/docs/v4/doc/service
Running phase: fixupPhase
@nix {"action":"setPhase","phase":"fixupPhase"}
shrinking RPATHs of ELF executables and libraries in /nix/store/l0a9zmk0v9l8k9q1549hirz0sy78ynf6-srs-5.0-r2
shrinking /nix/store/l0a9zmk0v9l8k9q1549hirz0sy78ynf6-srs-5.0-r2/objs/srs
checking for references to /build/ in /nix/store/l0a9zmk0v9l8k9q1549hirz0sy78ynf6-srs-5.0-r2...
patching script interpreter paths in /nix/store/l0a9zmk0v9l8k9q1549hirz0sy78ynf6-srs-5.0-r2
/nix/store/l0a9zmk0v9l8k9q1549hirz0sy78ynf6-srs-5.0-r2/etc/init.d/srs: interpreter directive changed from "#!/bin/bash" to "/nix/store/izpf49b74i15pcr9708s3xdwyqs4jxwl-bash-5.2p32/bin/bash"
stripping (with command strip and flags -S -p) in  /nix/store/l0a9zmk0v9l8k9q1549hirz0sy78ynf6-srs-5.0-r2/bin