Date: Mon, 24 Sep 2018 14:02:19 +0000 From: Lorenzo Salvadore <phascolarctos@protonmail.ch> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: error: undefined symbol: main in poudriere jail Message-ID: <OdD0OcqjfcWKjW82n18JR1aYjNY3hTwTQOqL9Wdie2xGAx1MvMOphXeV106wtARfCdO0bKxrJ49_xaqWviBjketPgwaeCxwRK1e5k27w1s0=@protonmail.ch> In-Reply-To: <CALM2mEm9Y1VN_E2aewF1bjUvjf_M=LXCXG%2B_wTThbXibRPJLAQ@mail.gmail.com> References: <CALM2mEnTp2aPWCcBQ-zUrSo_vdfSU0b=pXoEuAto_kytPnvUgg@mail.gmail.com> <CDduIhEqP4vsAGt5p9RXp80UXqbhGB5dv_xW33IcdKyLT6_t2y0NYRlI5oS3zOViJwrPM_W36TWeD2HP2zH3Ho6wLDDFl_KFcZk9Iffe6B8=@protonmail.ch> <CALM2mEm9Y1VN_E2aewF1bjUvjf_M=LXCXG%2B_wTThbXibRPJLAQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I am trying to update cad/brlcad there's an open issue on the Bugzilla th= at > I'd like to resolve. > > I'm getting this error both in poudriere but now it's also showing up whe= n > trying to build outside of poudriere. > > Here is the build log > https://transfer.sh/bn41v/brlcad-7.26.4_8.log > > this is a .shar file with the changes > https://transfer.sh/wVh1c/brlcad-7.26.4.shar > > both my machine and poudriere are on r338902 > > Is this link error only affecting me? I am testing both the actual version of brlcad and your changes. Since I ha= ve a slow computer, this will take some time (if someone else with a more powerf= ul computer can perform the tests in less time it is welcomed). While we wait the results, here are two suggestions: - ask the mantainer: he is the probably the one that knows better the port = and hence the best person that can help you (since you are dealing with a bug report,= you might like to contact him through this same bug report); - I gave a quick look to your changes and seen the line CMAKE_ARGS+=3D -DBRLCAD_BUNDLED_LIBS=3DON. Bundled libraries often bring pr= oblems and, since you are having a linking problem, this might be the cause; anywa= y, you should avoid using them if you can (see https://www.freebsd.org/doc/en/books/porters-handbook/bundled-libs.htm= l ). If someone else wants to help, it might be useful to give the link to the b= ug report that you are working on. Probably this is the link (it is the only open issue on cad/brlcad that= I found): https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211921 Lorenzo Salvadore.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OdD0OcqjfcWKjW82n18JR1aYjNY3hTwTQOqL9Wdie2xGAx1MvMOphXeV106wtARfCdO0bKxrJ49_xaqWviBjketPgwaeCxwRK1e5k27w1s0=>