Opened 2 years ago

Last modified 2 months ago

#58883 new defect

dsniff @2.4: error: Berkeley DB with 1.85 compatibility not found

Reported by: dgonyier (Dwaine Gonyier) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: mojave catalina bigsur Cc: drkp (Dan Ports), dlamija (Muhammed Ramiza)
Port: dsniff

Description (last modified by ryandesign (Ryan Schmidt))

Fails build:

checking for Berkeley DB with 1.85 compatibility... configure: error: Berkeley DB with 1.85 compatibility not found

See attached build log.

Attachments (1)

main.log (104.1 KB) - added by dgonyier (Dwaine Gonyier) 2 years ago.
main.log

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by dgonyier (Dwaine Gonyier)

Attachment: main.log added

main.log

comment:1 Changed 2 years ago by dgonyier (Dwaine Gonyier)

Description: modified (diff)

comment:2 Changed 2 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Summary: dsniff does not build on Mojave@2.4: error: Berkeley DB with 1.85 compatibility not found does not build on Mojave

This was reported before but could not be reproduced. Let us know if you can provide more details.

comment:3 Changed 2 years ago by dlamija (Muhammed Ramiza)

Got the same error. Dsniff falid to locate db.h for Berkely DB with 1.85 compatability. Previouslt it's provided by db44 (/opt/local/include/db44/db.h) ...Still clang failed to locate but can be fixed by creting symbolic link /opt/local/include/db.h into opt/local/include/db44/db.h .

Now with db48. got new error.

:info:build ./record.c:209:14: error: too few arguments to function call, expected 2, have 1
:info:build         db->close(db);
:info:build         ~~~~~~~~~   ^
:info:build 9 warnings and 4 errors generated.
:info:build make: *** [record.o] Error 1

comment:4 Changed 2 years ago by jmroot (Joshua Root)

Summary: @2.4: error: Berkeley DB with 1.85 compatibility not found does not build on Mojavedsniff @2.4: error: Berkeley DB with 1.85 compatibility not found does not build on Mojave

comment:5 Changed 2 months ago by ryandesign (Ryan Schmidt)

Cc: dlamija added

Has duplicate #59559.

Presumably the OS BerkeleyDB is no longer built with this option. The MacPorts db ports aren't either, except for the db46 port which has an optional +compat185 variant. I guess we should delete the +compat185 variant and just turn that feature on unconditionally, and in as many other db ports as we have that support it.

can be fixed by creting symbolic link /opt/local/include/db.h into opt/local/include/db44/db.h

That's not a good idea. You should delete the symlink you created.

comment:6 Changed 2 months ago by ryandesign (Ryan Schmidt)

Keywords: mojave catalina bigsur added
Summary: dsniff @2.4: error: Berkeley DB with 1.85 compatibility not found does not build on Mojavedsniff @2.4: error: Berkeley DB with 1.85 compatibility not found
Note: See TracTickets for help on using tickets.