Bitcoin Forum
December 02, 2016, 08:22:19 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Gentoo Linux Ebuild for Namecoin  (Read 3644 times)
mizerydearia
Hero Member
*****
Offline Offline

Activity: 574



View Profile
April 23, 2011, 09:59:30 PM
 #1

Ebuild here -> https://github.com/mizerydearia/bitcoin_gentoo_ebuild

It doesn't work yet.
Code:
# emerge namecoin

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-p2p/namecoin-9999 from necro
 * Package:    net-p2p/namecoin-9999
 * Repository: necro
 * USE:        amd64 doc elibc_glibc kernel_linux multilib nls sse2 userland_GNU
 * FEATURES:   sandbox
 * Creating namecoin user and group ...
>>> Unpacking source...
 * GIT update -->
 *    repository:               https://github.com/vinced/namecoin.git
 *    at the commit:            dd1e732add3394be26add22892bb948b17d1bc8b
 *    branch:                   master
 *    storage directory:        "/usr/portage/distfiles/git-src/namecoin"
Cloning into /var/tmp/portage/net-p2p/namecoin-9999/work/namecoin-9999/trunk...
done.
>>> Unpacked to /var/tmp/portage/net-p2p/namecoin-9999/work/namecoin-9999/trunk
>>> Source unpacked in /var/tmp/portage/net-p2p/namecoin-9999/work
>>> Preparing source in /var/tmp/portage/net-p2p/namecoin-9999/work/namecoin-9999/trunk ...
 * Applying namecoin-9999-Makefile.patch ...                                                                                                                                                                                          [ ok ]
 * Berkeley DB:
include version 4.8
 * Enabling SSE2 code
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-p2p/namecoin-9999/work/namecoin-9999/trunk ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-p2p/namecoin-9999/work/namecoin-9999/trunk ...
make -j2 -f makefile.unix namecoind
g++ -c -O2 -pipe -Wno-invalid-offsetof -Wformat -DFOURWAYSSE2 -I"/usr/include" -I"/usr/include/crypto++" -I"/usr/include/db4.8" -o obj/nogui/util.o util.cpp
g++ -c -O2 -pipe -Wno-invalid-offsetof -Wformat -DFOURWAYSSE2 -I"/usr/include" -I"/usr/include/crypto++" -I"/usr/include/db4.8" -o obj/nogui/script.o script.cpp
util.cpp: In function ‘void ShrinkDebugFile()’:
util.cpp:776: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
g++ -c -O2 -pipe -Wno-invalid-offsetof -Wformat -DFOURWAYSSE2 -I"/usr/include" -I"/usr/include/crypto++" -I"/usr/include/db4.8" -o obj/nogui/db.o db.cpp
g++ -c -O2 -pipe -Wno-invalid-offsetof -Wformat -DFOURWAYSSE2 -I"/usr/include" -I"/usr/include/crypto++" -I"/usr/include/db4.8" -o obj/nogui/net.o net.cpp
g++ -c -O2 -pipe -Wno-invalid-offsetof -Wformat -DFOURWAYSSE2 -I"/usr/include" -I"/usr/include/crypto++" -I"/usr/include/db4.8" -o obj/nogui/irc.o irc.cpp
g++ -c -O2 -pipe -Wno-invalid-offsetof -Wformat -DFOURWAYSSE2 -I"/usr/include" -I"/usr/include/crypto++" -I"/usr/include/db4.8" -o obj/nogui/main.o main.cpp
g++ -c -O2 -pipe -Wno-invalid-offsetof -Wformat -DFOURWAYSSE2 -I"/usr/include" -I"/usr/include/crypto++" -I"/usr/include/db4.8" -o obj/nogui/rpc.o rpc.cpp
g++ -c -O2 -pipe -Wno-invalid-offsetof -Wformat -DFOURWAYSSE2 -I"/usr/include" -I"/usr/include/crypto++" -I"/usr/include/db4.8" -o obj/nogui/init.o init.cpp
g++ -c -O2 -pipe -Wno-invalid-offsetof -Wformat -DFOURWAYSSE2 -I"/usr/include" -I"/usr/include/crypto++" -I"/usr/include/db4.8" -o obj/nogui/hook.o hook.cpp
g++ -c -O2 -pipe -Wno-invalid-offsetof -Wformat -DFOURWAYSSE2 -I"/usr/include" -I"/usr/include/crypto++" -I"/usr/include/db4.8" -msse2 -O3 -march=amdfam10 -o obj/sha256.o sha256.cpp
g++ -c -O2 -pipe -Wno-invalid-offsetof -Wformat -DFOURWAYSSE2 -I"/usr/include" -I"/usr/include/crypto++" -I"/usr/include/db4.8" -o obj/nogui/namecoin.o namecoin.cpp
g++ -O2 -pipe -Wno-invalid-offsetof -Wformat -DFOURWAYSSE2 -I"/usr/include" -I"/usr/include/crypto++" -I"/usr/include/db4.8" -o namecoind obj/nogui/util.o obj/nogui/script.o obj/nogui/db.o obj/nogui/net.o obj/nogui/irc.o obj/nogui/main.o obj/nogui/rpc.o obj/nogui/init.o obj/nogui/hook.o obj/sha256.o obj/nogui/namecoin.o -L"/usr/lib" -Wl,-O1 -Wl,--as-needed -dead_strip -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lcrypto -lcrypto++ -ldb_cxx -ldl -lgmp -lgthread-2.0 -lssl -lz
obj/nogui/namecoin.o: In function `GetDefaultPort()':
namecoin.cpp:(.text+0x160): multiple definition of `GetDefaultPort()'
obj/nogui/hook.o:hook.cpp:(.text+0x90): first defined here
obj/nogui/namecoin.o: In function `GetDefaultDataDirSuffix()':
namecoin.cpp:(.text+0x180): multiple definition of `GetDefaultDataDirSuffix()'
obj/nogui/hook.o:hook.cpp:(.text+0xb0): first defined here
obj/nogui/namecoin.o: In function `InitHook()':
namecoin.cpp:(.text+0x6270): multiple definition of `InitHook()'
obj/nogui/hook.o:hook.cpp:(.text+0x110): first defined here
obj/nogui/namecoin.o:(.bss+0x60): multiple definition of `pnSeed'
obj/nogui/hook.o:(.data+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: Warning: size of symbol `pnSeed' changed from 1284 in obj/nogui/hook.o to 4 in obj/nogui/namecoin.o
obj/nogui/namecoin.o:(.bss+0x68): multiple definition of `strDNSSeed'
obj/nogui/hook.o:(.data+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: Warning: size of symbol `strDNSSeed' changed from 24 in obj/nogui/hook.o to 8 in obj/nogui/namecoin.o
collect2: ld returned 1 exit status
make: *** [namecoind] Error 1
emake failed
 * ERROR: net-p2p/namecoin-9999 failed (compile phase):
 *   emake namecoind failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2817:  Called die
 * The specific snippet of code:
 *       emake -f makefile.unix namecoind || die "emake namecoind failed"
 *
 * If you need support, post the output of 'emerge --info =net-p2p/namecoin-9999',
 * the complete build log and the output of 'emerge -pqv =net-p2p/namecoin-9999'.
 * This ebuild is from an overlay named 'necro': '/var/lib/layman/necro/'
 * The complete build log is located at '/var/tmp/portage/net-p2p/namecoin-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/namecoin-9999/temp/environment'.
 * S: '/var/tmp/portage/net-p2p/namecoin-9999/work/namecoin-9999/trunk'

>>> Failed to emerge net-p2p/namecoin-9999, Log file:

>>>  '/var/tmp/portage/net-p2p/namecoin-9999/temp/build.log'

 * Messages for package net-p2p/namecoin-9999:

 * GIT update -->
 *    repository:               https://github.com/vinced/namecoin.git
 *    at the commit:            dd1e732add3394be26add22892bb948b17d1bc8b
 *    branch:                   master
 *    storage directory:        "/usr/portage/distfiles/git-src/namecoin"
 * ERROR: net-p2p/namecoin-9999 failed (compile phase):
 *   emake namecoind failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2817:  Called die
 * The specific snippet of code:
 *       emake -f makefile.unix namecoind || die "emake namecoind failed"
 *
 * If you need support, post the output of 'emerge --info =net-p2p/namecoin-9999',
 * the complete build log and the output of 'emerge -pqv =net-p2p/namecoin-9999'.
 * This ebuild is from an overlay named 'necro': '/var/lib/layman/necro/'
 * The complete build log is located at '/var/tmp/portage/net-p2p/namecoin-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/namecoin-9999/temp/environment'.
 * S: '/var/tmp/portage/net-p2p/namecoin-9999/work/namecoin-9999/trunk'

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Anyone able to assist to figure out why?

Also, feel free (or you can donate bitcoins) to join us in #bitcoin-gentoo on Freenode
1480710139
Hero Member
*
Offline Offline

Posts: 1480710139

View Profile Personal Message (Offline)

Ignore
1480710139
Reply with quote  #2

1480710139
Report to moderator
1480710139
Hero Member
*
Offline Offline

Posts: 1480710139

View Profile Personal Message (Offline)

Ignore
1480710139
Reply with quote  #2

1480710139
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480710139
Hero Member
*
Offline Offline

Posts: 1480710139

View Profile Personal Message (Offline)

Ignore
1480710139
Reply with quote  #2

1480710139
Report to moderator
1480710139
Hero Member
*
Offline Offline

Posts: 1480710139

View Profile Personal Message (Offline)

Ignore
1480710139
Reply with quote  #2

1480710139
Report to moderator
1480710139
Hero Member
*
Offline Offline

Posts: 1480710139

View Profile Personal Message (Offline)

Ignore
1480710139
Reply with quote  #2

1480710139
Report to moderator
dmp1ce
Member
**
Offline Offline

Activity: 69


View Profile WWW
April 24, 2011, 11:49:25 PM
 #2

Yeah, right now you need to make from the makefile, NOT makefile.unix.  That got me at first too.  Good Luck!

BTCmon - Support great bitcoin apps
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!