Setting the PHP CLI to version 5.6 eselect php list cli [1] php5.6 * [2] php7.0 [3] php7.1 [4] php7.2 compilation of net-fs/ncpfs-2.2.6-r3 works without problems and the package can be merged. Setting PHP CLI to one of the 7,x versions (no matter whether this is 7.0, 7.1 or 7.2) results in an error and the package cannot be merged: eselect php set cli 4 eselect php list cli [1] php5.6 [2] php7.0 [3] php7.1 [4] php7.2 * emerge -1av net-fs/ncpfs ... php_auth_nds.c:1077:32: error: '(*server)->value.str' is a pointer; did you mean to use '->'? servern = (*server)->value.str.val; ^ -> php_auth_nds.c:1078:28: error: '(*user)->value.str' is a pointer; did you mean to use '->'? usern = (*user)->value.str.val; ^ -> php_auth_nds.c:1079:34: error: '(*password)->value.str' is a pointer; did you mean to use '->'? sent_pw = (*password)->value.str.val; ^ -> php_auth_nds.c:1080:30: error: '(*group)->value.str' is a pointer; did you mean to use '->'? groupn = (*group)->value.str.val; ^ -> php_auth_nds.c:1086:25: error: macro "RETURN_STRING" passed 2 arguments, but takes just 1 RETURN_STRING(errstr,1); ^ php_auth_nds.c:1086:3: error: 'RETURN_STRING' undeclared (first use in this function); did you mean 'SYN_NU_STRING'? RETURN_STRING(errstr,1); ^~~~~~~~~~~~~ SYN_NU_STRING make[2]: *** [/zram/portage/net-fs/ncpfs-2.2.6-r3/work/ncpfs-2.2.6/contrib/php/build/rules_common.mk:64: php_auth_nds.slo] Error 1 make[2]: Leaving directory '/zram/portage/net-fs/ncpfs-2.2.6-r3/work/ncpfs-2.2.6/contrib/php' make[1]: *** [/zram/portage/net-fs/ncpfs-2.2.6-r3/work/ncpfs-2.2.6/contrib/php/build/rules.mk:28: all-recursive] Error 1 make[1]: Leaving directory '/zram/portage/net-fs/ncpfs-2.2.6-r3/work/ncpfs-2.2.6/contrib/php' make: *** [Makefile:25: all] Error 2 * ERROR: net-fs/ncpfs-2.2.6-r3::gentoo failed (compile phase): See attached build.log. Workaround ---------- Maybe the ebuild can warn the user to not use PHP CLI 7.x... A true solution would be to correct the error...Did not try versions other than 2.2.6-r3 though...
Created attachment 565552 [details] build.log
*** This bug has been marked as a duplicate of bug 582516 ***