🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
6 messages
6 total messages Started by Santiago Vila Wed, 04 Nov 2026 13:30
Bug#1153014: TC: Do build failures with parallel=n differ depending on the value of n?
#3233
Author: Santiago Vila
Date: Wed, 04 Nov 2026 13:30
67 lines
4237 bytes
Package: tech-ctte

Dear Technical Committee:

In Bug #1132204 against src:gprofng-gui, available here:

https://bugs.debian.org/1132204

I reported that the top-level Makefile (generated from Makefile.am)
does not ensure that debian/gprofng-gui/usr/share/man/man1 exists
before trying to create the gp-display-gui.1 symlink to
gprofng-display-gui.1, and attached a very simple patch to fix the
problem.

I found this Makefile bug by building the package on a single-CPU
system, but the same build failure happens:

- When building the package with DEB_BUILD_OPTIONS=parallel=1,
which is a supported configuration according to Debian Policy 4.9.1.

- When building the package by hand in a chroot with build
dependencies and fakeroot already installed:

apt-get source gprofng-gui
cd gprofng-gui-2.2
debian/rules build
fakeroot debian/rules binary


The maintainer (Matthias Klose) believes that build failures which
happen with DEB_BUILD_OPTIONS=parallel=1 are not bugs, just "nice
things to have", and downgraded the bug to wishlist, leaving the issue
unfixed for seven months now.

However, in my view, nothing in Debian Policy establishes a difference
between build failures with parallel=1, parallel=2, or any other value,
and all of them fall under Policy 4.2, which is the section of Policy
mandating that packages must build from source.

Therefore, I ask the Committee to rule on the following items:

- Whether the complaint in Bug #1132204 is justified, in that a source
package that deterministically fails to build with
DEB_BUILD_OPTIONS=parallel=1 (or on a single-CPU machine) is in breach
of Debian Policy 4.2, which states:

      "If build-time dependencies are specified, it must be possible to
      build the package and produce working binaries on a system with
      only essential and build-essential packages installed and also
      those required to satisfy the build-time relationships (including
      any implied relationships)."

- Whether the proposed patch for Bug #1132204 is a correct fix for the
reported failure.

- Whether the submitter's proposed solution should be implemented.

Note that this request is limited to the determination that the
complaint is justified and that the proposed solution should be
implemented. I am not asking the Committee to rule on the severity of
the bug or on its release-critical status.

Note also that I can't just NMU the package as far as the maintainer
believes the reported issue is not really a bug, this is what I had to
bring the TC.

Thanks.
Bug#1153014: TC: Do build failures with parallel=n differ depending on the value of n?
#3445
Author: Stefano Rivera
Date: Fri, 06 Nov 2026 10:50
73 lines
4958 bytes
Hi Santiago (2026.11.04_13:23:01_+0000)

The technical committee has not yet discussed this. This reply is just 
my personal thoughts.

>I found this Makefile bug by building the package on a single-CPU
>system, but the same build failure happens:
>
>- When building the package with DEB_BUILD_OPTIONS=parallel=1,
>which is a supported configuration according to Debian Policy 4.9.1.

I agree with that. It doesn't look like Policy contemplates the idea of 
a package *requiring* a higher level of parallelism, and I can't imagine 
a need for that.

>The maintainer (Matthias Klose) believes that build failures which
>happen with DEB_BUILD_OPTIONS=parallel=1 are not bugs, just "nice
>things to have", and downgraded the bug to wishlist, leaving the issue
>unfixed for seven months now.

FWIW, that quoted statement is your summary of Matthias' reply, rather 
than a quote of something he said.

I think you both have some reasonable points here. If a package doesn't 
build reliably, it's annoying for everyone. If it fails to build in 
survey rebuilds (as you are doing) then you'll assume it's a bug, and 
file it.

If a package only builds correctly when you hold it exactly the right 
way, that's just fragility. Something that people will trip up on from 
time to time, and waste time over.

If it doesn't fail to build in the cases that actually matter (buildds 
and the maintainers workflows) then in practice the failure is not 
terribly serious. Obviously annoying if it affects you, though.

So, I agree that this is a bug in the package. And specifically a bug in 
the Debian packaging.

I also agree that it's probably not as serious as a general FTBFS that 
would stop the maintainer being able to work on the package, or the 
archive to be able to build it. Obviously, the RC-ness of a bug is a 
release team decision, I won't weigh in there. I'd use a severity higher 
than wishlist, though.

There really isn't much to this disagreement. The bug was filed 7 months 
ago, and Matthias has only sent a single reply, lowering the severity 
and not applying the patch. Ignored patches are not uncommon in Debian 
(or Free Software in general), we can't tell anyone how they should 
spend their time. Santiago would like to see a higher severity and the 
patch applied.

I think applying the patch is the straightforward thing to do, and I 
can't see any obvious reason that that wouldn't happen.

Matthias, would you please have another look at this patch and apply it 
if it makes sense to you?

I guess there's a bigger question here of whether we should check the 
archive for more similar failures and fix them. To me, these seem like 
bugs and probably ones worth fixing. Whether that's a good use of 
everyone involved's time is up to them. In general, making Debian less 
buggy sounds like something we'd all get behind.

What level of severity those bugs should have is another question. I'd 
suggest something in the range of normal to serious.

Stefano

-- 
Stefano Rivera
   http://tumbleweed.org.za/
   +1 415 683 3272
Bug#1153014: TC: Do build failures with parallel=n differ depending on the value of n?
#3475
Author: Santiago Vila
Date: Fri, 06 Nov 2026 12:00
79 lines
5368 bytes
On Fri, Nov 06, 2026 at 10:42:24AM +0000, Stefano Rivera wrote:
> > The maintainer (Matthias Klose) believes that build failures which
> > happen with DEB_BUILD_OPTIONS=parallel=1 are not bugs, just "nice
> > things to have", and downgraded the bug to wishlist, leaving the issue
> > unfixed for seven months now.
> 
> FWIW, that quoted statement is your summary of Matthias' reply, rather than
> a quote of something he said.

The exact quote would be "building sequentially is nice to have, but
not a must" and may be found in the logs for Bug #1081445 against
src:gcc-11-cross, filed seven years ago and still unfixed. I assume
his opinion has not changed since then.

(Note that this is contrary to the "must" that we can find in Policy 4.2).

I tried to make my request as short as possible, so feel free to ask
about any detail like this one which I may have missed or explained
not well enough.

> I think you both have some reasonable points here. If a package doesn't
> build reliably, it's annoying for everyone. If it fails to build in survey
> rebuilds (as you are doing) then you'll assume it's a bug, and file it.
> 
> If a package only builds correctly when you hold it exactly the right way,
> that's just fragility. Something that people will trip up on from time to
> time, and waste time over.
> 
> If it doesn't fail to build in the cases that actually matter (buildds and
> the maintainers workflows) then in practice the failure is not terribly
> serious. Obviously annoying if it affects you, though.

I specifically requested not to consider the severity or the RC-ness
status, but since you mention it:

I see it differently.

If I try to build the package and it fails, even when using nocheck,
then the source of the package, and more specifically the scripts
controlling the build, could reasonably be said to be incomplete.

I asked one of the authors (José Eugenio Marchesi) about this failure,
and he agrees that the proposed patch is *necessary*. He authorized
me to quote him:

----------------------------------------------------------------

  From what I can see, the patch you propose is necessary.

  The target install-exec-local happens to run before install-data and
  that is why this fails in single proc:

    install-am: all-am
          @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

    install-exec-am: install-binSCRIPTS install-exec-local

  With parallel make, install-data-am might be executed before
  install-exec-am.  The Automake manual is clear in that no specific
  ordering can be assummed in the -local rules, therefore we are careful
  to make sure $(DESTDIR)$(bindir) exists.

----------------------------------------------------------------

The package is under GPL-3, which says this:

  The "Corresponding Source" for a work in object code form means all
 the source code *needed* to generate, install, and (for an executable
 work) run the object code and to modify the work, including scripts to
 control those activities.

Emphasis on *needed* is mine. Note that the last item is a clear
reference to Makefiles and similar stuff.

So, in my opinion, the source for the Debian package is incomplete,
and it could be argued that we are breaking the spirit of the GPL by
distributing such package in its current state.

Thanks.
Bug#1153014: TC: Do build failures with parallel=n differ depending on the value of n?
#3477
Author: stefanor
Date: Fri, 06 Nov 2026 12:10
17 lines
2612 bytes
Hi Santiago (2026.11.06_11:56:04_+0000)
>If I try to build the package and it fails, even when using nocheck,
>then the source of the package, and more specifically the scripts
>controlling the build, could reasonably be said to be incomplete.

I think you're really reaching into unreasonable territory here. This is 
obviously a (trivial) bug, not a GPL violation due to witholding build 
scripts.

Nobody involved is saying that it isn't a bug.

Stefano

-- 
Stefano Rivera
   http://tumbleweed.org.za/
   +1 415 683 3272
Bug#1153014: TC: Do build failures with parallel=n differ depending on the value of n?
#3483
Author: Ansgar 🙀
Date: Fri, 06 Nov 2026 12:50
41 lines
3636 bytes
Hi,

On Fri, 2026-11-06 at 12:56 +0100, Santiago Vila wrote:
> I specifically requested not to consider the severity or the RC-ness
> status, but since you mention it:
> 
> I see it differently.
> 
> If I try to build the package and it fails, even when using nocheck,
> then the source of the package, and more specifically the scripts
> controlling the build, could reasonably be said to be incomplete.

So Debian would have to bundle the exact compiler used (or an entire
build environment) with every source package as it might otherwise
FTBFS with a newer compiler version (or newer headers, ...) which would
make Debian non-compliant with the license?

Or how would you ensure license compliance for your license
interpretation?

> The package is under GPL-3, which says this:
> 
>   The "Corresponding Source" for a work in object code form means all
>  the source code *needed* to generate, install, and (for an
> executable
>  work) run the object code and to modify the work, including scripts
> to
>  control those activities.
> 
> Emphasis on *needed* is mine. Note that the last item is a clear
> reference to Makefiles and similar stuff.
> 
> So, in my opinion, the source for the Debian package is incomplete,
> and it could be argued that we are breaking the spirit of the GPL by
> distributing such package in its current state.

Well, if every FTBFS was a license violation, Debian would have a small
problem...

Ansgar
Bug#1153014: TC: Do build failures with parallel=n differ depending on the value of n?
#3485
Author: Santiago Vila
Date: Fri, 06 Nov 2026 13:20
28 lines
3167 bytes
On Fri, Nov 06, 2026 at 01:41:53PM +0100, Ansgar 🙀 wrote:
> Hi,
> 
> On Fri, 2026-11-06 at 12:56 +0100, Santiago Vila wrote:
> > I specifically requested not to consider the severity or the RC-ness
> > status, but since you mention it:
> > 
> > I see it differently.
> > 
> > If I try to build the package and it fails, even when using nocheck,
> > then the source of the package, and more specifically the scripts
> > controlling the build, could reasonably be said to be incomplete.
> 
> So Debian would have to bundle the exact compiler used (or an entire
> build environment) with every source package as it might otherwise
> FTBFS with a newer compiler version (or newer headers, ...) which would
> make Debian non-compliant with the license?

No.


Can we please concentrate on the request I made and not on these side things?

(I think it was a mistake to reply to such part of Stefano's email,
because we run the risk to make the thread longer than required.
I apologize for that).

Thanks.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads