Bug#882711: segyio: FTBFS on hurd-i386: some *.segy tests still fail

Jørgen Kvalsvik JOKVA at statoil.com
Sun Nov 26 09:36:54 UTC 2017


Hi,

I got an email about the hurd build failure, and apparently it's because msync is unsupported on hurd. I can have a look at upstream and maybe switch mmap off or not fail when msync doesn't do anything.

It would be nice if it built on hurd, or if hurd supported msync, but I doubt a fix will be implemented that's too much of a hassle until someone needs segyio on hurd.

________________________________________
From: Aaron M. Ucko <ucko at debian.org>
Sent: Saturday, November 25, 2017 11:58:21 PM
To: Debian Bug Tracking System
Subject: Bug#882711: segyio: FTBFS on hurd-i386: some *.segy tests still fail

Source: segyio
Version: 1.3.8-1
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-hurd at lists.debian.org
Usertags: hurd-i386

Thanks again for looking into my previous reports!  Builds of segyio
for most 32-bit architectures now succeed (as do builds for s390x and
sparc64).  However, the build for hurd-i386 (admittedly not a release
architecture) still fails, per the below excerpts from
https://buildd.debian.org/status/fetch.php?pkg=segyio&arch=hurd-i386&ver=1.3.8-1&stamp=1511626257&raw=0.

Could you please take a look?

Thanks!

------------------------------------------------------------

 1/31 Test  #1: c.segy ...........................***Failed    0.01 sec
Assertion failed in file: /<<PKGBUILDDIR>>/lib/test/segy.c on line: 876
starting
interpret file
read inline 4
read inline 22
mod traceh
mod texth
test traceh
test readsubtr(mmap)
test readsubtr(no-mmap)
test writesubtr(no-mmap)
test scan headers(mmap)
test scan headers(no-mmap)

[...]
 3/31 Test  #3: python.segy ......................***Failed    1.08 sec
test_assign_all_traces (test.segy.TestSegy) ... ok
test_attributes (test.segy.TestSegy) ... ERROR
test_create_from_naught (test.segy.TestSegy) ... ok
test_create_from_naught_prestack (test.segy.TestSegy) ... ok
test_create_sgy (test.segy.TestSegy) ... ok
test_create_sgy_shorter_traces (test.segy.TestSegy) ... ok
test_create_sgy_skip_lines (test.segy.TestSegy) ... ok
test_create_write_lines (test.segy.TestSegy) ... ok
test_depth_slice_reading (test.segy.TestSegy) ... ok
test_depth_slice_writing (test.segy.TestSegy) ... ok
test_fast_slow_dimensions (test.segy.TestSegy) ... ok
test_file_info (test.segy.TestSegy) ... ok
test_fopen_error (test.segy.TestSegy) ... ok
test_gather_mode (test.segy.TestSegy) ... ok
test_header_dict_methods (test.segy.TestSegy) ... ok
test_headers_line_offset (test.segy.TestSegy) ... ok
test_headers_offset (test.segy.TestSegy) ... ok
test_iline_offset (test.segy.TestSegy) ... ok
test_iline_slice_all_offsets (test.segy.TestSegy) ... ok
test_iline_slice_fixed_line (test.segy.TestSegy) ... ok
test_iline_slice_fixed_offset (test.segy.TestSegy) ... ok
test_iline_slicing (test.segy.TestSegy) ... ok
test_inline_4 (test.segy.TestSegy) ... ok
test_line_generators (test.segy.TestSegy) ... ok
test_open_fails_unstructured (test.segy.TestSegy) ... ok
test_open_ignore_geometry (test.segy.TestSegy) ... ok
test_open_nostrict (test.segy.TestSegy) ... ok
test_open_transposed_lines (test.segy.TestSegy) ... ok
test_open_wrong_crossline (test.segy.TestSegy) ... ok
test_open_wrong_inline (test.segy.TestSegy) ... ok
test_read_header (test.segy.TestSegy) ... ok
test_segyio_types (test.segy.TestSegy) ... ok
test_traceaccess_from_array (test.segy.TestSegy) ... ok
test_traces_offset (test.segy.TestSegy) ... ok
test_traces_raw (test.segy.TestSegy) ... ok
test_traces_slicing (test.segy.TestSegy) ... ok
test_wonky_dimensions (test.segy.TestSegy) ... ok
test_write_binary (test.segy.TestSegy) ... ok
test_write_header (test.segy.TestSegy) ... ok
test_wrong_lineno (test.segy.TestSegy) ... ok
test_xline_22 (test.segy.TestSegy) ... ok
test_xline_slicing (test.segy.TestSegy) ... ok

======================================================================
ERROR: test_attributes (test.segy.TestSegy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/python/test/segy.py", line 308, in test_attributes
    self.assertListEqual(ils, attrils)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/python/segyio/segy.py", line 117, in __exit__
    self.close()
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/python/segyio/segy.py", line 149, in close
    _segyio.close(self.xfd)
OSError: [Errno 1073741902] Function not implemented

----------------------------------------------------------------------
Ran 42 tests in 0.850s

FAILED (errors=1)

      Start  4: python.h.segy
 4/31 Test  #4: python.h.segy ....................***Failed    0.24 sec
test_binary_header_size (test.segyio_c._segyioTests) ... ok
test_close_non_existing_file (test.segyio_c._segyioTests) ... ok
test_fread_trace0 (test.segyio_c._segyioTests) ... ok
test_fread_trace0_for_depth (test.segyio_c._segyioTests) ... ok
test_get_and_set_field (test.segyio_c._segyioTests) ... ok
test_indices (test.segyio_c._segyioTests) ... ok
test_line_metrics (test.segyio_c._segyioTests) ... ok
test_metrics (test.segyio_c._segyioTests) ... ok
test_open_and_close_file (test.segyio_c._segyioTests) ... ok
test_open_flush_and_close_file (test.segyio_c._segyioTests) ... ok
test_open_non_existing_file (test.segyio_c._segyioTests) ... ok
test_read_and_write_binary_header (test.segyio_c._segyioTests) ... ok
test_read_and_write_trace (test.segyio_c._segyioTests) ... ok
test_read_and_write_traceheader (test.segyio_c._segyioTests) ... ok
test_read_binary_header_fields (test.segyio_c._segyioTests) ... ok
test_read_line (test.segyio_c._segyioTests) ... ok
test_read_line_mmap (test.segyio_c._segyioTests) ... ERROR
test_read_text_header (test.segyio_c._segyioTests) ... ok
test_textheader_size (test.segyio_c._segyioTests) ... ok
test_write_text_header (test.segyio_c._segyioTests) ... ok

======================================================================
ERROR: test_read_line_mmap (test.segyio_c._segyioTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.6/build/python/test/segyio_c.py", line 475, in test_read_line_mmap
    _segyio.close(f)
OSError: [Errno 1073741902] Function not implemented

----------------------------------------------------------------------
Ran 20 tests in 0.030s

FAILED (errors=1)
[...]
90% tests passed, 3 tests failed out of 31

Total Test time (real) =   3.69 sec

The following tests FAILED:
          1 - c.segy (Failed)
          3 - python.segy (Failed)
          4 - python.h.segy (Failed)
Errors while running CTest

--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorized use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you



More information about the debian-science-maintainers mailing list