#1000744 emacs: FTBFS on mipsel: Ran 3873 tests, 3786 results as expected, 1 unexpected, 86 skipped

Package:
src:emacs
Source:
emacs
Submitter:
Sebastian Ramacher
Date:
2025-08-17 17:49:32 UTC
Severity:
important
Tags:
#1000744#5
Date:
2021-11-28 11:31:56 UTC
From:
To:
Source: emacs
Version: 1:27.1+1-3.1
Severity: serious
Tags: ftbfs sid bookworm
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org

| In toplevel form:
| ../../build-src/test/src/xml-tests.el:68:21:Warning: libxml-parse-xml-region
|     called with 4 arguments, but accepts only 2-3
|   GEN      src/xml-tests.log
| make[5]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-lucid/test'
| make[4]: [Makefile:319: check-doit] Error 2 (ignored)
|
| SUMMARY OF TEST RESULTS
| -----------------------
| Files examined: 267
| Ran 3873 tests, 3786 results as expected, 1 unexpected, 86 skipped
| 1 files contained unexpected results:
|   lisp/net/nsm-tests.log

See
https://buildd.debian.org/status/fetch.php?pkg=emacs&arch=mipsel&ver=1%3A27.1%2B1-3.1%2Bb1&stamp=1638041034&raw=0

Cheers

#1000744#12
Date:
2022-07-01 15:17:21 UTC
From:
To:
Hello,

Has this report been confirmed as a bug?

I've been able to replicate the same behavior on ubuntu's downstream
armhf and arm64 using 1:27.1+1-3ubuntu5 with the same error.

Passing the nocheck profile to sbuild did not help much.

Regards.

#1000744#21
Date:
2024-06-25 16:01:44 UTC
From:
To:
Control: tags -1 + patch
relevant portion of the log is:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Test nsm-check-local-subnet-ipv4 backtrace:
  signal(ert-test-failed (((should (eq t (nsm-should-check "google.com
  ert-fail(((should (eq t (nsm-should-check "google.com"))) :form (eq
  #f(compiled-function () #<bytecode 0x1593e7ff>)()
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name nsm-check-local-subnet-ipv4 :document
  ert-run-or-rerun-test(#s(ert--stats :selector (not (or (tag :expensi
  ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
  ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
  ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
  eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
  command-line-1(("-L" ":/<<PKGBUILDDIR>>/debian/build
  command-line()
  normal-top-level()
Test nsm-check-local-subnet-ipv4 condition:
    (ert-test-failed
     ((should
       (eq t
	   (nsm-should-check "google.com")))
      :form
      (eq t nil)
      :value nil))
   FAILED  1/2  nsm-check-local-subnet-ipv4 (0.017962 sec)
   passed  2/2  nsm-check-local-subnet-ipv6 (0.000990 sec)

Ran 2 tests, 1 results as expected, 1 unexpected (2021-11-27
19:18:20+0000, 0.426591 sec)

1 unexpected results:
   FAILED  nsm-check-local-subnet-ipv4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

and this is likely to be fixed by
https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-01/msg00668.html

If that's correct, it feels like a coincidence that we've only seen
this fail on mipsel in Debian, which would also make sense given the
later Ubuntu-related comment.

Regards,

Adam