Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#61297 closed defect (fixed)

mariadb-10.4: missing build dep

Reported by: iefdev (Eric F) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: mariadb-10.4

Description

This is basically the same error as in #61290. The Boost files are hidden in trace mode since boost isn't added as build dep.

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_databases_mariadb-10.4/mariadb-10.4/work/server-mariadb-10.4.15/storage/oqgraph/graphcore-config.h:37:10: fatal error: 'boost/config.hpp' file not found
:info:build #include <boost/config.hpp>
:info:build          ^~~~~~~~~~~~~~~~~~
:info:build 1 error generated.

// ...

:warn:build The following existing files were hidden from the build system by trace mode:
// ... //
:msg:build   /opt/local/include/boost/config.hpp

Adding boost solved it:

         move ${workpath}/${wsrep_api_distname} ${worksrcpath}/wsrep-lib/wsrep-API/v26
     }
 
+    depends_build-append \
+                        port:boost
+
     depends_lib-append  port:zlib port:tcp_wrappers port:ncurses port:judy \
                         path:lib/libssl.dylib:openssl port:libxml2
     depends_run-append  port:mysql_select


It's prob the same for the other mariadb ports as well, I guess.

Attachments (1)

mariadb-10.4._missing_boost_main.log.tar.xz (79.6 KB) - added by iefdev (Eric F) 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by iefdev (Eric F)

comment:1 Changed 3 years ago by michaelld (Michael Dickens)

Looking into this once I get PCRE2 dependency dealt with ... at first look guessing Boost is required for 10.4 to current ... also guessing Boost is a dependency of some other MDB dependency which is why the buildbot systems work at all with the MBD ports!

comment:2 Changed 3 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

In 6bad8f7d9a9272b25a87ea81c14cf9c60355957e/macports-ports (master):

mariadb-10.[4-6]: build depends on Boost

Closes: #61297

comment:3 Changed 3 years ago by michaelld (Michael Dickens)

I checked MDB 10.3 and prior and while some of the code does use Boost I don't think those parts are being included in the MP build. I might be wrong of course ... will try to look at the buildbots to see if I'm correct here ... but at least 10.4 10.5 and 10.6 are corrected now! Thx!

Note: See TracTickets for help on using tickets.