Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#43362 closed defect (wontfix)

bitcoind 0.8.6.08b93f9a65ce70e650244f94725fcd042d97f0ee fails config (libdb_cxx missing)

Reported by: posita (Matt Bogosian) Owned by: easye
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: bitcoind

Description

main.log attached

Attachments (5)

bitcoind_main.log (41.5 KB) - added by posita (Matt Bogosian) 10 years ago.
bitcoind_main_after_select.log (42.2 KB) - added by posita (Matt Bogosian) 10 years ago.
bitcoind_config_after_select.log (64.6 KB) - added by posita (Matt Bogosian) 10 years ago.
bitcoind_Portfile-43362.patch (326 bytes) - added by posita (Matt Bogosian) 10 years ago.
Patch to address the second of two issues identified in this ticket.
bitcoin-0.9.1-main.log (50.7 KB) - added by posita (Matt Bogosian) 10 years ago.

Download all attachments as: .zip

Change History (14)

Changed 10 years ago by posita (Matt Bogosian)

Attachment: bitcoind_main.log added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: easieste@… removed
Owner: changed from macports-tickets@… to easieste@…

comment:2 Changed 10 years ago by posita (Matt Bogosian)

FYI, if it helps, I have both db46 and db48 installed already, but they put their libraries in [[PREFIX]]/lib/db{46,48}/... (respectively), neither of which appear to be searched by config.

If I do (e.g.,) port select --set db db48 && port install bitcoind, then config finds them (but fails on checking the boostlib version), but this seems like it probably shouldn't be a build requirement.

Changed 10 years ago by posita (Matt Bogosian)

Changed 10 years ago by posita (Matt Bogosian)

comment:3 Changed 10 years ago by posita (Matt Bogosian)

Just to clarify, the attached bitcoind_main.log is the main.log file from the build attempt before selecting any db version. The attached bitcoind_main_after_select.log is the main.log file from the build attempt after running port select --set db db48. The attached bitcoind_config_after_select.log is the config.log from that same post-select attempt. My apologies for any confusion.

comment:4 Changed 10 years ago by posita (Matt Bogosian)

Okay, I think I understand. First (as described above), unless a version of Berkeley DB is port selected, configuration fails. Second, even if one is port selected, configuration fails for prefix builds, because it can't find Boost. That second issue is remedied by adding --with-boost=[[PREFIX]] to ./configure (which should be harmless for default installations).

I'm attaching a Portfile patch that addresses only the second issue. The first remains (I do not know the preferred way to properly address that).

Last edited 10 years ago by posita (Matt Bogosian) (previous) (diff)

Changed 10 years ago by posita (Matt Bogosian)

Patch to address the second of two issues identified in this ticket.

comment:5 Changed 10 years ago by posita (Matt Bogosian)

This is intended as a search-engine friendly comment to highlight the errors seen in both cases (for anyone coming in behind me who is experiencing similar issues):

The first error emitted by configure (can't find dbXX) is:

...
:info:configure checking for main in -ldb_cxx... no
:info:configure configure: error: libdb_cxx missing
...

The second error emitted by configure (can't find boost) is:

...
:info:configure checking whether the Boost::System library is available... yes
:info:configure configure: error: Could not find a version of the library!
...

My apologies for the spam. (I usually put these in the description or the first comment.)

Last edited 10 years ago by posita (Matt Bogosian) (previous) (diff)

comment:6 Changed 10 years ago by anddam (Andrea D'Amore)

Since port bitcoin is now at version >0.9 is this issue still actual?

Changed 10 years ago by posita (Matt Bogosian)

Attachment: bitcoin-0.9.1-main.log added

comment:7 Changed 10 years ago by posita (Matt Bogosian)

Yes, bitcoin-0.9.1 appears to be similarly affected with respect to the boost libraries (log attached).

Last edited 10 years ago by posita (Matt Bogosian) (previous) (diff)

comment:8 Changed 10 years ago by easye

Resolution: wontfix
Status: newclosed

bitcoind is basically obsolete at this point: it should be made a synonym for

   osx$ port install bitcoin +daemon

finance/bitcoin-0.9.2.1 has recently been added in r124023. Please check if your problem remains.

Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:9 Changed 10 years ago by posita (Matt Bogosian)

Opened #44693 to cover the same issue in bitcoin 0.9.2.1.

Note: See TracTickets for help on using tickets.