The ebuild does not link because of unresolved externals if the CXXFLAG -fno-default-inline is set: get_version.o(.gnu.linkonce.t._ZN6libdar10statistics5clearEv+0x1f): In function `libdar::statistics::clear()': : undefined reference to `libdar::infinint::infinint[in-charge](long)' collect2: ld returned 1 exit status make[3]: *** [get_version] Error 1 make[3]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2/src/libdar' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2' make: *** [all] Error 2 !!! ERROR: app-arch/dar-2.1.2-r1 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! (no error message) Repeat: CXXFLAGS=-fno-default-inline emerge dar Build is fine, if flag is filtered, see attachment. Regards, J
The ebuild does not link because of unresolved externals if the CXXFLAG -fno-default-inline is set: get_version.o(.gnu.linkonce.t._ZN6libdar10statistics5clearEv+0x1f): In function `libdar::statistics::clear()': : undefined reference to `libdar::infinint::infinint[in-charge](long)' collect2: ld returned 1 exit status make[3]: *** [get_version] Error 1 make[3]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2/src/libdar' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2' make: *** [all] Error 2 !!! ERROR: app-arch/dar-2.1.2-r1 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! (no error message) Repeat: CXXFLAGS=-fno-default-inline emerge dar Build is fine, if flag is filtered, see attachment. Regards, Jörg BTW: There is a new service release 2.1.3 available ...
Created attachment 34198 [details, diff] dar-2.1.2-r1.ebuild.diff Patch for the ebuild to filter the problematic compiler flag
dar-2.1.3.ebuild in cvs.