Hi,
can we also create a package of the no_x11 flavor?
diff --git a/net/Makefile b/net/Makefile
index 57cfb4eec35..b8781538c32 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -27,6 +27,7 @@
SUBDIR += bird
SUBDIR += bird,v6
SUBDIR += bitcoin
+ SUBDIR += bitcoin,no_x11
SUBDIR += bitlbee
SUBDIR += bitlbee,libpurple
SUBDIR += bitlbee,otr
Cheers,
Fabian
Am So., 8. Juli 2018 um 20:05 Uhr schrieb Kirill Bychkov <
[email protected]>:
> On Sun, July 8, 2018 20:13, Rafael Sadowski wrote:
> > On Sun Jul 08, 2018 at 05:39:33PM +0300, Kirill Bychkov wrote:
> >> On Wed, July 4, 2018 23:28, Rafael Sadowski wrote:
> >> > HI ports@, Hi Fabian Raetz!
> >> >
> >> > Thanks for testing over two weeks and tweaks/feedback. Your rc changes
> >> > works fine for me.
> >> >
> >> > @ports: Attached new tarball with rc tweaks from Fabian Raetz.
> >> >
> >> > Could I get an okay (ports-wise) to import?
> >>
> >> Hi! Not an OK yet, sorry.
> >> I guess better comment is needed to explain why this could be
> >> built with clang only.
> >
> > Added "Undefined reference to boost and db4 with GCC" over COMPILER.
> > Better ideas?
>
> OK kirby@
> BTW you can use --disable-tests instead of @comments in PLIST
>
> >
> > Complete output:
> >
> > /usr/bin/ar cr leveldb/libmemenv.a
> > leveldb/helpers/memenv/leveldb_libmemenv_a-memenv.o
> > /usr/bin/ranlib leveldb/libmemenv.a
> > /usr/bin/libtool --tag=CXX --mode=link eg++ -Wstack-protector
> > -fstack-protector-all -fPIE -O2 -pipe -std=c++11 -pthread
> -Wl,-z,relro
> > -Wl,-z,now -L/usr/X11R6/lib -L/usr/local/lib -o bitcoind
> bitcoind-bitcoind.o
> > libbitcoin_server.a libbitcoin_common.a univalue/libunivalue.la
> > libbitcoin_util.a libbitcoin_wallet.a libbitcoin_zmq.a
> libbitcoin_consensus.a
> > crypto/libbitcoin_crypto.a leveldb/libleveldb.a
> leveldb/libleveldb_sse42.a
> > leveldb/libmemenv.a secp256k1/libsecp256k1.la -pthread -L/usr/local/lib
> > -lboost_system -lboost_filesystem -lboost_program_options-mt
> -lboost_thread-mt
> > -lboost_chrono-mt -ldb_cxx -lssl -lcrypto -lcrypto -lminiupnpc
> > -L/usr/local/lib -levent_pthreads -levent_extra -levent_core
> -L/usr/local/lib
> > -levent_extra -levent_core -L/usr/local/lib -lzmq
> > libtool: link: eg++ -o .libs/bitcoind -pthread -Wstack-protector
> > -fstack-protector-all -fPIE -O2 -pipe -std=c++11 -Wl,-z -Wl,relro -Wl,-z
> > -Wl,now bitcoind-bitcoind.o libbitcoin_server.a libbitcoin_common.a
> > libbitcoin_util.a libbitcoin_wallet.a libbitcoin_zmq.a
> libbitcoin_consensus.a
> > crypto/libbitcoin_crypto.a leveldb/libleveldb.a
> leveldb/libleveldb_sse42.a
> > leveldb/libmemenv.a -L.libs -lunivalue -lsecp256k1 -lboost_system -lc++
> > -lc++abi -lpthread -lm -lboost_filesystem -lboost_program_options-mt
> > -lboost_thread-mt -lboost_system-mt -lboost_chrono-mt -ldb_cxx -lssl
> -lcrypto
> > -lminiupnpc -levent_pthreads -levent_extra -levent_core -lzmq -lsodium
> > -Wl,-rpath-link,/usr/local/lib
> > .libs/libzmq.so.4.2: warning: strcat() is almost always misused, please
> use
> > strlcat()
> > .libs/libdb_cxx.so.6.0: warning: rand() may return deterministic values,
> is
> > that what you want?
> > .libs/libboost_filesystem.so.8.0: warning: strcpy() is almost always
> misused,
> > please use strlcpy()
> > .libs/libzmq.so.4.2: warning: sprintf() is often misused, please use
> > snprintf()
> > .libs/libevent_core.so.1.1: warning: random() may return deterministic
> values,
> > is that what you want?
> > libbitcoin_util.a(libbitcoin_util_a-util.o): In function
> `SetupEnvironment()':
> > util.cpp:(.text+0x12ca): undefined reference to
> > `boost::filesystem::path::imbue(std::locale const&)'
> > util.cpp:(.text+0x12d5): undefined reference to
> > `boost::filesystem::path::imbue(std::locale const&)'
> > libbitcoin_util.a(libbitcoin_util_a-util.o): In function
> >
> `boost::program_options::detail::basic_config_file_iterator<char>::getline(std::string&)':
> >
> util.cpp:(.text._ZN5boost15program_options6detail26basic_config_file_iteratorIcE7getlineERSs[_ZN5boost15program_options6detail26basic_config_file_iteratorIcE7getlineERSs]+0x98):
> > undefined reference to `boost::program_options::to_internal(std::string
> > const&)'
> > libbitcoin_util.a(libbitcoin_util_a-util.o): In function
> >
> `boost::program_options::detail::basic_config_file_iterator<char>::basic_config_file_iterator(std::istream&,
> > std::set<std::string, std::less<std::string>,
> std::allocator<std::string> >
> > const&, bool)':
> >
> util.cpp:(.text._ZN5boost15program_options6detail26basic_config_file_iteratorIcEC2ERSiRKSt3setISsSt4lessISsESaISsEEb[_ZN5boost15program_options6detail26basic_config_file_iteratorIcEC5ERSiRKSt3setISsSt4lessISsESaISsEEb]+0x21):
> > undefined reference to
> >
> `boost::program_options::detail::common_config_file_iterator::common_config_file_iterator(std::set<std::string,
> > std::less<std::string>, std::allocator<std::string> > const&, bool)'
> > libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): In function
> > `CDBEnv::Verify(std::string const&, bool (*)(std::string const&,
> > std::string&), std::string&)':
> > db.cpp:(.text+0x6812): undefined reference to `Db::verify(char const*,
> char
> > const*, std::ostream*, unsigned int)'
> > libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): In function
> > `CDBEnv::Salvage(std::string const&, bool,
> > std::vector<std::pair<std::vector<unsigned char, std::allocator<unsigned
> char>
> > >, std::vector<unsigned char, std::allocator<unsigned char> > >,
> > std::allocator<std::pair<std::vector<unsigned char,
> std::allocator<unsigned
> > char> >, std::vector<unsigned char, std::allocator<unsigned
> > char> > > > >&)':
> > db.cpp:(.text+0x6e81): undefined reference to `Db::verify(char const*,
> char
> > const*, std::ostream*, unsigned int)'
> > collect2: error: ld returned 1 exit status
> > Error while executing eg++ -o .libs/bitcoind -pthread -Wstack-protector
> > -fstack-protector-all -fPIE -O2 -pipe -std=c++11 -Wl,-z -Wl,relro -Wl,-z
> > -Wl,now bitcoind-bitcoind.o libbitcoin_server.a libbitcoin_common.a
> > libbitcoin_util.a libbitcoin_wallet.a libbitcoin_zmq.a
> libbitcoin_consensus.a
> > crypto/libbitcoin_crypto.a leveldb/libleveldb.a
> leveldb/libleveldb_sse42.a
> > leveldb/libmemenv.a -L.libs -lunivalue -lsecp256k1 -lboost_system -lc++
> > -lc++abi -lpthread -lm -lboost_filesystem -lboost_program_options-mt
> > -lboost_thread-mt -lboost_system-mt -lboost_chrono-mt -ldb_cxx -lssl
> -lcrypto
> > -lminiupnpc -levent_pthreads -levent_extra -levent_core -lzmq -lsodium
> > -Wl,-rpath-link,/usr/local/lib
> > gmake[2]: *** [Makefile:3678: bitcoind] Error 2
> > gmake[2]: Leaving directory
> > '/usr/ports/pobj/bitcoin-0.16.1/bitcoin-0.16.1/src'
> > gmake[1]: *** [Makefile:9467: all-recursive] Error 1
> > gmake[1]: Leaving directory
> > '/usr/ports/pobj/bitcoin-0.16.1/bitcoin-0.16.1/src'
> > gmake: *** [Makefile:735: all-recursive] Error 1
> > *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2703
> > '/usr/ports/pobj/bitcoin-0.16.1/.build_done')
> > *** Error 2 in /usr/ports/net/bitcoin
> > (/usr/ports/infrastructure/mk/bsd.port.mk:2382 'all')
> >
> >> And since almost all @tag bits are in, it would be nice to use it
> >> in new ports instead of @exec.
> >
> > Of course, but it's not worth sending an extra tarball for, is it?
> > Anyway new tarball attached.
> >
>
>
>
diff --git a/net/Makefile b/net/Makefile
index 57cfb4eec35..b8781538c32 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -27,6 +27,7 @@
SUBDIR += bird
SUBDIR += bird,v6
SUBDIR += bitcoin
+ SUBDIR += bitcoin,no_x11
SUBDIR += bitlbee
SUBDIR += bitlbee,libpurple
SUBDIR += bitlbee,otr