This would also help to have a version in stable with fixed dependency on gnutls:0= (with the subslot dep) Thanks
Arches, please stabilize.
amd64 stable
test depends on svc from sys-process/daemontools Running test /var/tmp/portage/mail-mta/nullmailer-2.0-r1/work/nullmailer-2.0/test/tests/send... Testing sending with a succeeding protocol /var/tmp/portage/mail-mta/nullmailer-2.0-r1/work/nullmailer-2.0/test/tests/send: line 36: svc: command not found ******************************Failed!******************************
And there's an sandbox problem, imho during starting the test server Running test /var/tmp/portage/mail-mta/nullmailer-2.0-r1/work/nullmailer-2.0/test/tests/protocols... Testing protocol success with smtp (command-line) ******************************Failed!****************************** 15 tests run, 1 failed make[1]: *** [Makefile:617: check] Error 1 make[1]: Leaving directory '/var/tmp/portage/mail-mta/nullmailer-2.0-r1/work/nullmailer-2.0/test' make: *** [Makefile:365: check-recursive] Error 1 * ERROR: mail-mta/nullmailer-2.0-r1::gentoo failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 115: Called src_test * environment, line 3488: Called default * phase-functions.sh, line 807: Called default_src_test * phase-functions.sh, line 836: Called __eapi0_src_test * phase-helpers.sh, line 763: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} check || \ * die "Make check failed. See above for details." * * If you need support, post the output of `emerge --info '=mail-mta/nullmailer-2.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-mta/nullmailer-2.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/build/mail-mta/nullmailer-2.0-r1:20170526-002825.log.gz'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/mail-mta/nullmailer-2.0-r1/temp/build.log.gz'. * The ebuild environment file is located at '/var/tmp/portage/mail-mta/nullmailer-2.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/mail-mta/nullmailer-2.0-r1/work/nullmailer-2.0' * S: '/var/tmp/portage/mail-mta/nullmailer-2.0-r1/work/nullmailer-2.0' * /var/tmp/portage/sys-apps/sandbox-2.10-r3/work/sandbox-2.10/libsandbox/libsandbox.c:check_syscall():989: failure (No such file or directory): * ISE: abs_path: (null) res_path: (null)
test/tests/protocols calls start() from test/functions which needs supervise from sys-process/daemontools. It also calls tcpserver in ipv6 mode from >=sys-apps/ucspi-tcp-0.88-r18[ipv6].
Created attachment 474356 [details, diff] patch to replace ipv4 addresses with corresponding names. next failure is Testing protocol failure with smtp (bad source addr 1) Result was 5, should be 10. ******************************Failed!****************************** According to lib/errcodes.h it might be #define ERR_GHBN_TEMP 5 // gethostbyname failed with TRY_AGAIN #define ERR_CONN_FAILED 10 // connect failed further investigation # cd /var/tmp/portage/mail-mta/nullmailer-2.0-r1/work/nullmailer-2.0/test # socat tcp6-listen:12345 - & # (echo host=::1 ; echo port=12345 ; echo source=127.0.0.1) | strace ../protocols/smtp ... read(0, "host=::1\nport=12345\nsource=127.0"..., 4096) = 37 read(0, "", 4096) = 0 write(1, "Connect failed\n", 15Connect failed ) = 15 write(2, "smtp: Failed: Connect failed\n", 29smtp: Failed: Connect failed ) = 29 exit_group(5) = ? shows, that ../protocols/smtp doesn't understand plain ipv6 addresses. It tries to do some network activity if you provide an ipv6 only dns record, like hathor.fs.lmu.de. Nor does it understand ipv4 addresses. I've created two records localhost{4,6}.xmw.de (which can stay there) to make this patch work. Improvements welcome -- maybe you have more insight in the usage of getaddr in line 94 and following of lib/tcpconnect.cc. Michael p.s. imho, ". functions" in test/tests/protocols should be ". ./functions" 11350 read(255, ". functions\nexport HELOHOST=f.q."..., 2074) = 2074 11350 stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 11350 stat64("/root/bin/functions", 0xbf968160) = -1 ENOENT (No such file or directory) 11350 stat64("/sbin/functions", 0xbf968160) = -1 ENOENT (No such file or directory) 11350 stat64("/bin/functions", 0xbf968160) = -1 ENOENT (No such file or directory) 11350 stat64("/usr/sbin/functions", 0xbf968160) = -1 ENOENT (No such file or directory) 11350 stat64("/usr/bin/functions", 0xbf968160) = -1 ENOENT (No such file or directory) 11350 stat64("/usr/local/sbin/functions", 0xbf968160) = -1 ENOENT (No such file or directory) 11350 stat64("/usr/local/bin/functions", 0xbf968160) = -1 ENOENT (No such file or directory) 11350 stat64("/opt/bin/functions", 0xbf968160) = -1 ENOENT (No such file or directory) 11350 stat64("/usr/games/bin/functions", 0xbf968160) = -1 ENOENT (No such file or directory) 11350 open("functions", O_RDONLY|O_LARGEFILE) = 3 11350 fstat64(3, {st_mode=S_IFREG|0644, st_size=273
x86 stable
ppc stable. Closing.