[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Status of EMBOSS [Was: Bug#762673: emboss: FTBFS on hurd-i386]



Hi,

in the bug report below it is claimed that upstream is not very active
lately.  I also somehow assumed a new version in summer.  Any news about
this?  If a new version is at horizont in the next two weeks we might
have a chance to upload it to Jessie.  Otherwise I would simply fix the
bug below and update the packaging a bit to have it properly clean in
Jessie with the current version.

Kind regards

        Andreas.

----- Forwarded message from Svante Signell <svante.signell@gmail.com> -----

Date: Wed, 24 Sep 2014 12:28:47 +0200
From: Svante Signell <svante.signell@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Bug#762673: emboss: FTBFS on hurd-i386
X-Debian-PR-Message: report 762673
X-Debian-PR-Package: src:emboss
X-Debian-PR-Keywords: patch
X-Debian-PR-Source: emboss

Source: emboss
Version: 6.6.0+dfsg-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd

Hi,

Currently emboss fails to build from source due to usage of
PATH_MAX, which is not defined on GNU/Hurd. Only one file needs a
modification, see the attached path. This patch assumes getcwd(NULL,0)
works. Depending on for which systems this software is aimed at, a
configure.ac (.in here) check can be added. However, it seems that
upstream is not very active lately. This patch should work at least for
Debian supported OSes (libc4, libc5, glibc).

Thanks!

--- a/ajax/core/ajfile.c.orig	2013-07-15 23:25:29.000000000 +0200
+++ b/ajax/core/ajfile.c	2014-09-24 11:01:42.000000000 +0200
@@ -8574,9 +8574,9 @@
 
 const AjPStr ajFileValueCwd(void)
 {
-    char cwd[PATH_MAX+1];
+    char *cwd = getcwd(NULL,0);
 
-    if(!getcwd(cwd,PATH_MAX))
+    if(!cwd)
     {
         ajStrAssignClear(&fileCwd);
 
@@ -8589,6 +8589,7 @@
     if(!ajStrSuffixC(fileCwd, SLASH_STRING))
         ajStrAppendC(&fileCwd, SLASH_STRING);
 
+    free(cwd);
     return fileCwd;
 }
 

_______________________________________________
Debian-med-packaging mailing list
Debian-med-packaging@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging


----- End forwarded message -----

-- 
http://fam-tille.de


Reply to: