On 21/08/2025 01:47, Otto Kekäläinen wrote:
Could you please advise if this is expected behavior or if it might be a bug in how `licenserecon` parses the copyright file?You can reproduce this by running gbp clone https://salsa.debian.org/debian/grep.git cd grep lrc It might be that this is no bug and I simply misunderstood how the `debian/copyright` file is supposed to be structured.
Hi Otto, I followed your reproduction steps exactly, and find the debian/copyright has only one License: stanza, GPL-3+ So lrc seems correct to me in reporting license differences. Also, last copyright date is 2013 !! (Attached) Have you actually committed the file you are working on? Regards, Peter
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: grep Upstream-Contact: [email protected] Source: https://savannah.gnu.org/projects/grep git://git.savannah.gnu.org/grep.git Files: * Copyright: 1992, 1997-2002, 2004-2012 Free Software Foundation, Inc. 2004, Stepan Kasal <[email protected]> 2007, Tony Abou-Assaleh <[email protected]> 2009-2012, Jim Meyering <[email protected]> and Paolo Bonzini <[email protected]> License: GPL-3+ Files: debian/* Copyright: 2005-2013 Anibal Monsalve Salazar <[email protected]> and Santiago Ruano Rincón <[email protected]> 2003-2004 Ryan M. Golbeck <[email protected]> 2003, Jeff Bailey <[email protected]> 2003, Clint Adams <[email protected]> Mon, 10 Mar 2003 02:10:32 -0500 2001 Robert van der Meulen <[email protected]> 1996-2000 Wichert Akkerman <[email protected]> License: GPL-3+ License: GPL-3+ Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. . Comment: . On a Debian system you can find a copy of this license in /usr/share/common-licenses/GPL-3.

