[Debian-med-packaging] Bug#876840: fseeko() on reference file: Invalid argument (Was: Bug#876840: staden-io-lib FTBFS on non-i386 32bit: FAIL: java)

Andreas Tille andreas at an3as.eu
Tue Sep 26 20:48:24 UTC 2017


control: forwarded -1 James Bonfield <jkb at sanger.ac.uk>
control: tags -1 upstream

Hi James,

there is another issue reported to the Debian packaged io_lib
which you can read here:

    https://bugs.debian.org/876840

Below is a hint what might have caused the issue.

Kind regards

      Andreas.

On Tue, Sep 26, 2017 at 10:38:12PM +0200, Christian Seiler wrote:
> Hi Andreas,
> 
> On 09/26/2017 10:08 PM, Andreas Tille wrote:
> > I need to admit I have no idea why
> > 
> >    fseeko() on reference file: Invalid argument
> > 
> > is happening on some architectures.
> 
> According to the manpage of fseek(), which is identical to fseeko()
> apart from the offset data type:
> 
> ERRORS
>        [...]
>        EINVAL The whence argument to fseek() was not SEEK_SET,
>        SEEK_END, or SEEK_CUR.  Or: the resulting file offset would
>        be negative.
> 
> I suspect that something is calling fseeko() with a negative offset.
> 
> I'd recommend doing an strace on the specific test binary that
> fails on a porterbox (e.g. armhf) + on amd64 for comparison and
> then look for the offending fseeko() call. That might help isolate
> the issue.
> 
> Regards,
> Christian
> 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list