gcc -c -O -I../lib -I../port/misc -Df2cFortran udunits.c gcc -o udunits udunits.o -L/home/sarnold/src/udunits-1.12.0/src/lib -ludunits -L/home/sarnold/src/udunits-1.12.0/src/port/misc -ludport /home/sarnold/src/udunits-1.12.0/src/lib/libudunits.a(utlib.o)(.text+0xe03): In function `utRaise': : undefined reference to `pow' /home/sarnold/src/udunits-1.12.0/src/lib/libudunits.a(utlib.o)(.text+0x1a30): In function `utPrint': : undefined reference to `log10' collect2: ld returned 1 exit status make[2]: *** [udunits] Error 1 make[2]: Leaving directory `/home/sarnold/src/udunits-1.12.0/src/udunits' make[1]: *** [program] Error 2 make[1]: Leaving directory `/home/sarnold/src/udunits-1.12.0/src/udunits' make: *** [udunits/all] Error 1 Reproducible: Always Steps to Reproduce:
New minor version of udunits available (plus updated configure). Anyone using udunits please test and submit feedback...
Created attachment 31013 [details, diff] udunits-1.12.0.ebuild.patch verified, same happens here see attached patch for fix
The build error has been fixed in 1.12.0, but 1.12.1 has the correct Fortran interface (1.12.0 is incomplete for some reason). Try that one...
1.12.1 compiles clean over here on my ~x86 system