DFSG NEW Queue

DFSG, Licensing & New Packages Team

gfatools 0.296~git20251216.39c54d5-1

Package Information

Descriptionmanipulating bioinformatics sequence assembly graphs

The Graphical Fragment Assembly (GFA) Format is designed and widely used for sequence assembly graphs, GFA can also encode arbitrary bidirected sequence graphs. GFA primarily consists of two types of lines: segment lines (S-lines) and link lines (L-lines). An S-line represents a sequence; an L-line represents a connection between two oriented segments.

Gfatools is a set of tools for manipulating sequence graphs in the GFA or the rGFA format. It has implemented parsing, subgraph and conversion to FASTA/BED.

MaintainerDebian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed ByAndreas Tille <tille@debian.org>
Sponsortille@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/med-team/gfatools.git (browse)
Closes#1155727
Trackerhttps://tracker.debian.org/pkg/gfatools
Uploaded2 hours ago

New Package Report

.changes◂
Architecturesource amd64
Distributionunstable
DateSun, 29 Nov 2026 07:57:01 +0100
Sourcegfatools
Version0.296~git20251216.39c54d5-1
Changed-ByAndreas Tille <tille@debian.org>
Changelog◂
gfatools (0.296~git20251216.39c54d5-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1155727)
.dsc◂
Sectionscience
Priorityoptional
Componentmain
Package-Listgfatools deb science optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gfatools
Upstream-Contact: Heng Li
Source: https://github.com/lh3/gfatools

Files: *
Copyright: 2008-2025 Attractive Chaos <attractor@live.co.uk>
License: Expat

Files: sys.c
Copyright: 2003 SRA, Inc.
           2003 SKC, Inc.
License: Expat

Files: debian/*
Copyright: 2026 Andreas Tille <tille@debian.org>
License: Expat

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
 associated documentation files (the "Software"), to deal in the Software without restriction, including
 without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
 following conditions:
 .
 The above copyright notice and this permission notice shall be included in all copies or substantial
 portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
 EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
 USE OR OTHER DEALINGS IN THE SOFTWARE.

DFSG Assistant LLM REVIEW 1 blocker, 1 important, 2 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 1 hour ago.

Report◂

DFSG NEW review for gfatools version 0.296~git20251216.39c54d5-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: No
  • Packaging is of good quality: Yes
  • Issues: 1 blocker, 1 important, 2 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 1 found

Licensing

All material in the tree is under permissive terms that combine fine in one binary (MIT/Expat for the klib headers, the PostgreSQL licence for the copied gettimeofday() block), and no non-free wording was found. debian/copyright is not accurate, though: it puts sys.c — compiled into both binaries — under Expat and reproduces the Expat text, while sys.c's notice is the PostgreSQL licence with paragraphs that must be reproduced. Beyond sys.c and the klib headers, the upstream sources carry no copyright or licence notice at all and the source package ships no LICENSE/COPYING, so the Expat claim for the program itself is only the maintainer's assertion.

Packaging

The packaging is sound: dh sequencer at compat 14 with correct Build-Depends, a single arch:any package, DEP-3 patch, autopkgtest that uses the installed example data, Standards-Version 4.7.4 (Policy here is 4.7.4.1), and a changelog consistent with the upload. Two real but minor faults: the hardening options exported in debian/rules do not reach the gfatools binary because the top-level Makefile overrides CFLAGS/CPPFLAGS and drops LDFLAGS, and the package version 0.296 does not follow upstream's 0.5-r296 numbering and sorts below the already-released 0.5.

Issues

blocker licensing 1. sys.c is under the PostgreSQL licence, but debian/copyright labels it Expat and never reproduces its text ◂
  • Files: debian/copyright:10-13, sys.c:22-40, Makefile:23, paf2gfa/Makefile:22
  • Basis: checked, in the package or with a reference tool
  • Evidence: sys.c: Copyright (c) 2003 SRA, Inc. / Copyright (c) 2003 SKC, Inc. / Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. — against Files: sys.c … License: Expat, whose stand-alone stanza quotes Expat (The above copyright notice and this permission notice shall be included in all copies…).
  • Problem: The notice in sys.c is the PostgreSQL licence, not Expat: it requires the notice, that paragraph and the following two paragraphs (including the University of California disclaimer) to be reproduced, none of which is Expat wording. copyright-format 1.0 §6.7 requires the License field to name the file's licence and the matching stand-alone stanza to hold that licence's text; the file's holder is right, but its licence is misdescribed. sys.o is linked into both shipped binaries (gfatools:main.o sys.o libgfa1.a, paf2gfa:$(OBJS) ../sys.o main.o ../libgfa1.a), so this is not a file that only sits in the source package.
  • Fix: Add a stand-alone License: PostgreSQL paragraph containing that notice's text verbatim (it is not in /usr/share/common-licenses) and change the Files: sys.c stanza to License: PostgreSQL.
important licensing 2. No LICENSE/COPYING in the source and no licence notice in the program sources; the Expat claim rests on debian/copyright alone ◂
  • Files: debian/copyright:6-8, gfa-base.c:1, main.c:1, README.md:1, NEWS.md:1
  • Basis: inferred from what was read, not seen directly
  • Evidence: Files: * / Copyright: 2008-2025 Attractive Chaos <attractor@live.co.uk> / License: Expat, while gfa-base.c, gfa-asm.c, gfa-io.c, main.c, kalloc.c, gfa.h, the Makefiles, js/, doc/ and test/* contain no copyright or licence statement; the only notices in the tree are the klib headers (e.g. kavl.h:1-13, kstring.h:1-12, Expat) and sys.c:22-40.
  • Problem: Debian would distribute the whole program on a licence grant that is visible nowhere in the source package: upstream ships no LICENSE/COPYING file and no per-file headers for its own code, so the Expat statement in debian/copyright cannot be corroborated from anything shipped. This is not a contradiction of the DFSG if upstream's terms are as stated, but for a new package it is a provenance gap a sponsor should have closed with upstream. (Policy 12.5 is met: debian/copyright does state a licence and holder for these files.)
  • Fix: Ask upstream to add a LICENSE file (or the MIT header to the gfa-*.c files), or, if the grant is documented elsewhere, note where in a Comment: field of the Files: * stanza.
minor packaging 3. Hardening flags never reach the gfatools binary: the top-level Makefile overrides CFLAGS/CPPFLAGS and the link line omits LDFLAGS ◂
  • Files: debian/rules:5, Makefile:2-3, Makefile:24, debian/patches/hardening.patch:9-19, paf2gfa/Makefile:2,23
  • Basis: checked, in the package or with a reference tool
  • Evidence: export DEB_BUILD_MAINT_OPTIONS=hardening=+all (rules:5) versus CFLAGS= -g -Wall -Wc++-compat -std=c99 -O2, CPPFLAGS= (Makefile:2-3) and $(CC) $(CFLAGS) $^ -o $@ $(LIBS) (Makefile:24); the patch changes only paf2gfa/Makefile (CFLAGS+=, $(LDFLAGS) added to its link).
  • Problem: debhelper puts the dpkg-buildflags values in the environment (set_buildflags() in /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm), and make gives makefile assignments precedence over the environment (make(1): -e Give variables taken from the environment precedence over variables from makefiles), so the plain = assignments in the top-level Makefile discard them: gfatools is built without -fstack-protector-strong, -D_FORTIFY_SOURCE and -Werror=format-security, and the link misses $(LDFLAGS) (relro/bindnow). The patch, whose stated purpose is to propagate hardening options, fixes only the second binary.
  • Fix: Extend debian/patches/hardening.patch to the top-level Makefile: change CFLAGS=/CPPFLAGS= to CFLAGS+=/CPPFLAGS+= and add $(LDFLAGS) to the gfatools: link line, as already done for paf2gfa.
minor packaging 4. Package version 0.296 disagrees with upstream's 0.5-r296 and sorts below the released 0.5 ◂
  • Files: debian/changelog:1, main.c:15, NEWS.md:1-3, gfa.h:7
  • Basis: checked, in the package or with a reference tool
  • Evidence: gfatools (0.296~git20251216.39c54d5-1) against #define GFATOOLS_VERSION "0.5-r296-dirty" (main.c:15), #define GFA_VERSION "0.5-r292-dirty" (gfa.h:7) and Release 0.5-r234 (21 March 2021) (NEWS.md) — i.e. the snapshot is a post-0.5 revision of the 0.5 series, and 0.296 compares lower than 0.5 in dpkg's ordering.
  • Problem: The binary reports gfatools: 0.5-r296-dirty while the package is 0.296, and because 0.296 < 0.5 an upload made from upstream's 0.5 tarball (older code than this snapshot) would be treated as an upgrade; continuing to number revisions as 0.3xx keeps the whole series below 0.5 permanently. A first upload's version cannot be corrected later without an epoch.
  • Fix: Version the snapshot inside upstream's 0.5 series, e.g. 0.5+git20251216.39c54d5-1, and rename the orig tarball and changelog entry accordingly.
Verified ◂
  • Inventoried all 42 files of the unpacked tree (excluding .pc/) and read debian/control, rules, changelog, copyright, install/docs/examples, tests/control, tests/run-unit-test, patches/series, patches/hardening.patch, source/format, salsa-ci.yml and README.test in full.
  • Every file is matched by a stanza of debian/copyright (Files: , Files: sys.c, Files: debian/); the scan's holder check is consistent with what the tree shows: Attractive Chaos, SRA, Inc., SKC, Inc. and Andreas Tille are the only holders, all named.
  • Grepped the whole tree for Copyright, (C), ©, SPDX, permission/licence phrases, GPL/LGPL/Apache/MPL and non-free wording (non-commercial, no-derivative, research-only, proprietary): the only notices are the Expat headers in kavl.h, khashl.h, kseq.h, ksort.h, kstring.h, kvec.h, kvec-km.h and the PostgreSQL notice in sys.c; no non-free term anywhere.
  • doc/examples.graffle is the gzip-compressed OmniGraffle document shipped as an example next to the exported doc/example1.png that doc/rGFA.md embeds; both are documentation data installed unchanged via debian/gfatools.examples and covered by Files: *, not build output — no separate licence applies.
  • test/MT.gfa is test data (human and orangutan mitochondrial segments, SN:Z:MT_human / MT_orang), covered by Files: *; no third-party code is embedded in it.
  • gfa-chk.l is lex input only; the untouched Makefile target gfa-chk is never built, so there is no generated lex.yy.c in the tree.
  • js/gfa.js, js/gfa-plot.js and js/gfa-plot.html are not installed; only doc/* and test/* go to /usr/share/doc/gfatools/examples and dh_compress skips usr/share/doc//examples, so the autopkgtest path /usr/share/doc/gfatools/examples/MT.gfa exists at test time.
  • At compat 14 dh_missing inspects debian/tmp only, so the uninstalled upstream files (js/, gfa-server.go, sources) are not a build failure.
  • Standards-Version 4.7.4 against Policy 4.7.4.1 is current; the Maintainer address form matches current Debian Med uploads (samtools 1.24-2), so it was not reported; ${misc:Depends}/${shlibs:Depends} present and harmless at compat 14.
  • debian/tests/control uses Depends: @ and Restrictions: allow-stderr with a single test that exercises only installed files; debian/patches/hardening.patch carries DEP-3 headers.
  • uscan found the packaged version as the newest upstream release (upstream 0.296~git20251216.39c54d5, packaged 0.296~git20251216.39c54d5).
Not confirmed ◂
  • Whether upstream really licenses the files that carry no notice (gfa-*.c, main.c, kalloc.c, js/, doc/) under Expat: the shipped source has no LICENSE file and no URL may be consulted.
  • The orig tarball was not compared entry by entry with the unpacked tree (reading the archive listed only its top-level directory), so a file dropped at repacking cannot be ruled out.
  • Build and test were not run (read-only review); the package is assumed to build and pass as the maintainer's upload did.
Proposed changes ◂

None.

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Back to Dashboard | View all reviews for this package