error: undefined symbol: main in poudriere jail

Lorenzo Salvadore phascolarctos at protonmail.ch
Mon Sep 24 14:02:34 UTC 2018


> I am trying to update cad/brlcad there's an open issue on the Bugzilla that
> I'd like to resolve.
>
> I'm getting this error both in poudriere but now it's also showing up when
> 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 have a
slow computer, this will take some time (if someone else with a more powerful
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+= -DBRLCAD_BUNDLED_LIBS=ON. Bundled libraries often bring problems
and, since you are having a linking problem, this might be the cause; anyway, you should
avoid using them if you can
(see https://www.freebsd.org/doc/en/books/porters-handbook/bundled-libs.html ).

If someone else wants to help, it might be useful to give the link to the bug 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=211921

Lorenzo Salvadore.


More information about the freebsd-ports mailing list