#10989: Revert Berkeley DB to version 5. -------------------------+----------------------- Reporter: ken@… | Owner: ken@… Type: enhancement | Status: assigned Priority: normal | Milestone: 8.3 Component: BOOK | Version: SVN Severity: normal | Resolution: Keywords: | -------------------------+-----------------------
Comment (by ken@…): Replying to [comment:4 bdubbs]: > How about hosting version 5 on anduin? It's not like it is large (34M) or will change. Sounds good. Without any alterations, it looks as if current c++ breaks it. Lots of warnings about conflicting type for __atomic_compare (something) scrolled past (not logged) then {{{ In file included from ../src/dbinc/mutex_int.h:12, from ../src/dbinc/mutex.h:15, from ./db_int.h:1113, from ../lang/cxx/cxx_channel.cpp:11: ../src/dbinc/atomic.h:179:19: error: definition of ‘int __atomic_compare_exchange(db_atomic_t*, atomic_value_t, atomic_value_t)’ ambiguates built-in declaration ‘bool __atomic_compare_exchange(long unsigned int, volatile void*, void*, void*, int, int)’ static inline int __atomic_compare_exchange( ^~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:2417: cxx_channel.lo] Error 1 }}} Arch have a patch 'atomic.patch' to fix that, we can do the same with {{{ sed -i 's/\(__atomic_compare_exchange\)/\1_db/' src/dbinc/atomic.h }}} and that builds and DESTDIRs : I'm not going to downgrade my running system, or test bogofilter or evolution-data-server here and anyway this is still glibc-2.27, but looking ok. Assuming that I'm able to look at this in about a week's time (experimental build, glibc-2.28 plus icu, poppler), I will test the db part of those two (but probably trying to work around recommended deps for e-d-s). For php, the comment can go. For openldap, versions of DB >= 6 have a license incompatability according to upstream. They said that DB-5 is ok but deprecated, so change the comment to 'deprecated'. -- Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/10989#comment:5> BLFS Trac <http://wiki.linuxfromscratch.org/blfs> Beyond Linux From Scratch -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page