jriguera / carbon-c-relay_packages Goto Github PK
View Code? Open in Web Editor NEWDebian, Centos and Docker packages for carbon-c-relay
Home Page: https://github.com/grobian/carbon-c-relay
License: Apache License 2.0
Debian, Centos and Docker packages for carbon-c-relay
Home Page: https://github.com/grobian/carbon-c-relay
License: Apache License 2.0
after update src folder to current carbon-c-relay master
git submodule update --init
make distclean && DEBEMAIL="test@email" DEBFULLNAME="Test Build" make debuild
failed with following errors
make[1]: Entering directory `/opt/carbon-c-relay_packages/sources'
# do nothing, no ./configure
make[1]: Leaving directory `/opt/carbon-c-relay_packages/sources'
dh_auto_build
make -j1
make[1]: Entering directory `/opt/carbon-c-relay_packages/sources'
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DGIT_VERSION=\"v1.11-53-ga8efd4-dirty\" `pkg-config openssl --cflags` -pthread -c src/aggregator.c -o obj/aggregator.o
Compiled src/aggregator.c successfully!
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DGIT_VERSION=\"v1.11-53-ga8efd4-dirty\" `pkg-config openssl --cflags` -pthread -c src/allocator.c -o obj/allocator.o
Compiled src/allocator.c successfully!
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DGIT_VERSION=\"v1.11-53-ga8efd4-dirty\" `pkg-config openssl --cflags` -pthread -c src/collector.c -o obj/collector.o
Compiled src/collector.c successfully!
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DGIT_VERSION=\"v1.11-53-ga8efd4-dirty\" `pkg-config openssl --cflags` -pthread -c src/conffile.tab.c -o obj/conffile.tab.o
Compiled src/conffile.tab.c successfully!
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DGIT_VERSION=\"v1.11-53-ga8efd4-dirty\" `pkg-config openssl --cflags` -pthread -c src/conffile.yy.c -o obj/conffile.yy.o
Compiled src/conffile.yy.c successfully!
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DGIT_VERSION=\"v1.11-53-ga8efd4-dirty\" `pkg-config openssl --cflags` -pthread -c src/consistent-hash.c -o obj/consistent-hash.o
Compiled src/consistent-hash.c successfully!
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DGIT_VERSION=\"v1.11-53-ga8efd4-dirty\" `pkg-config openssl --cflags` -pthread -c src/dispatcher.c -o obj/dispatcher.o
Compiled src/dispatcher.c successfully!
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DGIT_VERSION=\"v1.11-53-ga8efd4-dirty\" `pkg-config openssl --cflags` -pthread -c src/md5.c -o obj/md5.o
Compiled src/md5.c successfully!
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DGIT_VERSION=\"v1.11-53-ga8efd4-dirty\" `pkg-config openssl --cflags` -pthread -c src/queue.c -o obj/queue.o
Compiled src/queue.c successfully!
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DGIT_VERSION=\"v1.11-53-ga8efd4-dirty\" `pkg-config openssl --cflags` -pthread -c src/receptor.c -o obj/receptor.o
Compiled src/receptor.c successfully!
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DGIT_VERSION=\"v1.11-53-ga8efd4-dirty\" `pkg-config openssl --cflags` -pthread -c src/relay.c -o obj/relay.o
src/relay.c: In function ‘do_version’:
src/relay.c:310:28: error: expected ‘)’ before ‘VERSION’
printf("carbon-c-relay v" VERSION " (" GIT_VERSION ")\n");
^
In file included from src/relay.c:35:0:
src/relay.c: In function ‘main’:
src/relay.c:678:4: error: ‘VERSION’ undeclared (first use in this function)
VERSION, GIT_VERSION, getpid());
^
src/relay.h:46:42: note: in definition of macro ‘logout’
#define logout(args...) relaylog(LOGOUT, args)
^
src/relay.c:678:4: note: each undeclared identifier is reported only once for each function it appears in
VERSION, GIT_VERSION, getpid());
^
src/relay.h:46:42: note: in definition of macro ‘logout’
#define logout(args...) relaylog(LOGOUT, args)
^
make[1]: *** [obj/relay.o] Error 1
make[1]: Leaving directory `/opt/carbon-c-relay_packages/sources'
dh_auto_build: make -j1 returned exit code 2
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -D -us -uc -sa -b -i -I.git -I.gitignore -Isbin -Iobj -Icarbon-c-relay-.tar.gz failed
make: *** [debuild] Error 29
what right way for build debian package for carbon-c-relay 3.0 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.