While trying to update llpp i ran into the following error >>> Compiling source in /var/tmp/portage/app-text/llpp-7/work/llpp ... link.o: In function `trylock': link.c:(.text+0x2ab9): undefined reference to `pthread_mutex_trylock' link.o: In function `ml_init': link.c:(.text+0x4f21): undefined reference to `pthread_create' collect2: ld returned 1 exit status File "caml_startup", line 1, characters 0-1: Error: Error during linking * ERROR: app-text/llpp-7 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 91: Called src_compile * environment, line 2215: Called die * The specific snippet of code: * ocamlopt -o llpp -I +lablGL str.cmxa unix.cmxa lablgl.cmxa lablglut.cmxa link.o -cclib "${mycclib}" help.cmx parser.cmx main.cmx || die * * If you need support, post the output of 'emerge --info =app-text/llpp-7', * the complete build log and the output of 'emerge -pqv =app-text/llpp-7'. * The complete build log is located at '/var/tmp/portage/app-text/llpp-7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/llpp-7/temp/environment'. * S: '/var/tmp/portage/app-text/llpp-7/work/llpp'
> * If you need support, post the output of 'emerge --info =app-text/llpp-7', > * the complete build log and the output of 'emerge -pqv =app-text/llpp-7'. > * The complete build log is located at > '/var/tmp/portage/app-text/llpp-7/temp/build.log'. Hi, can you please post/attach the output of emerge --info emerge -pv dev-lang/ocaml dev-ml/lablgl app-text/llpp complete build.log thanks
Created attachment 289047 [details] llpp build log
Created attachment 289049 [details] emerge --info
Created attachment 289051 [details] emerge -pv dev-lang/ocaml dev-ml/lablgl app-text/llpp
so no news on this?
can you recompile lablgl? emerge -av1 lablgl llpp
Hi, good guess :) thank you! regards, fabian
This is just a workaround. But I don't want and can't force an lablgl rebuild for this situation. Hopefully, every user will google this bug report. Thanks for your patience, Michael