Re: emboss: all executables segfault on s390x

Pranav P <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <CO1PR15MB48411580B5AEE5982CC9CD5FA01FA@CO1PR15MB4841.namprd15.prod.outlook.com>
Hi all,

--- emboss-6.6.0+dfsg.orig/ajax/core/ajindex.c
+++ emboss-6.6.0+dfsg/ajax/core/ajindex.c
@@ -12742,7 +12742,7 @@ AjBool ajBtreeKeyIndex(AjPBtcache cache,
     ajulong blockno  = 0UL;
     ajulong shift    = 0UL;
 
-    ajulong nkeys = 0U;
+    ajuint nkeys = 0U;
 
     ajuint nodetype = 0U;
     ajulong right   = 0UL;


With the above change I was able to get around the latest build failure seen in the CI.
Afterwards installing the generated .deb files, I was able to run `seqret --help` without any segfaults on my s390x machine.

$ seqret --help
Read and write (return) sequences
Version: EMBOSS:6.6.0.0

   Standard (Mandatory) qualifiers:
  [-sequence]          seqall     (Gapped) sequence(s) filename and optional
                                  format, or reference (input USA)
  [-outseq]            seqoutall  [<sequence>.<format>] Sequence set(s)
                                  filename and optional format (output USA)

   Additional (Optional) qualifiers: (none)
   Advanced (Unprompted) qualifiers:
   -feature            boolean    Use feature information
   -firstonly          boolean    [N] Read one sequence and stop

   General qualifiers:
   -help               boolean    Report command line options and exit. More
                                  information on associated and general
                                  qualifiers can be found with -help -verbose


Can anyone confirm whether the Segmentation Fault issue still persists?
Otherwise, we could provide a good fix for the `nkeys` issue and close the bug.

Thanks,
Pranav
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.