Re: FTBFS when /bin is before /usr/bin in PATH?

2025-05-06 Thread Simon Richter
Hi, On 5/6/25 20:31, Ahmad Khalifa wrote: The problem seems that it is generating a relative path to its own command expanded via PATH, which doesn't work because there is no /share symlink but there is /usr/share/. Perfectly reasonable method to support installing to /usr, /usr/local, $HOME

Re: Bug#1104643: Don't consider tests during build that can use internet if available as rc buggy

2025-05-06 Thread Santiago Ruano Rincón
El 06/05/25 a las 02:20, Pirate Praveen escribió: > > On 06/05/2025 1:33 am, Bill Allombert wrote: > > On Tue, May 06, 2025 at 01:12:43AM +0530, Pirate Praveen wrote: > > > I think we have to consider test target in rules differently from build > > > targets as the effect on these on the final bin

Re: Adding Pre-Depends from linux-image packages to linux-base

2025-05-06 Thread Helmut Grohne
Hi Ben, On Sat, May 03, 2025 at 04:08:55PM +0200, Ben Hutchings wrote: > I'm proposing to add a linux-run-hooks command to the linux-base package > [1] that will then be used in all maintainer scripts of linux-image > packages [2]. This requires upgrading the current Depends on linux-base > to Pr

Re: FTBFS when /bin is before /usr/bin in PATH?

2025-05-06 Thread Simon Josefsson
Chris Hofstaedtler writes: >>podman run -it --rm debian:trixie >>apt-get update >>apt-get install -y --no-install-recommends gradle >>PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin >>gradle >>/bin/gradle: 23: cd: can't cd to /bin/../share/gradle/bin/.. > > I'll point out that t

Re: FTBFS when /bin is before /usr/bin in PATH?

2025-05-06 Thread Simon Josefsson
Johannes Schauer Marin Rodrigues writes: > Hi, > > Quoting Simon Josefsson (2025-05-06 11:34:47) >> The problem seems that it is generating a relative path to its own command >> expanded via PATH, which doesn't work because there is no /share symlink but >> there is /usr/share/. >> >> Is this a

Re: FTBFS when /bin is before /usr/bin in PATH?

2025-05-06 Thread Ahmad Khalifa
On 06/05/2025 10:34, Simon Josefsson wrote: podman run -it --rm debian:trixie apt-get update apt-get install -y --no-install-recommends gradle PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin gradle /bin/gradle: 23: cd: can't cd to /bin/../share/gradle/bin/.. The problem seems t

Re: why is Perl Build-Essential: yes?

2025-05-06 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Jonathan Dowland (2025-05-06 10:51:45) > On Thu May 1, 2025 at 8:37 PM BST, Chris Hofstaedtler wrote: > > Does anything actually _use_ the Build-Essential: yes line? > > I honestly don't know. I've never seen it being used. > I expect so, or the ftp-masters wouldn't be adding it to

Re: FTBFS when /bin is before /usr/bin in PATH?

2025-05-06 Thread Chris Hofstaedtler
* Simon Josefsson [250506 11:35]: I'm doing archive-wide package rebuilds in GitLab CI/CD and my toolchain uses 'setpriv --reset-env' to drop privileges and reset the environment variables, which results in: PATH=/usr/local/bin:/bin:/usr/bin This unusual ordering appears to be intentional for

Re: FTBFS when /bin is before /usr/bin in PATH?

2025-05-06 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Simon Josefsson (2025-05-06 11:34:47) > The problem seems that it is generating a relative path to its own command > expanded via PATH, which doesn't work because there is no /share symlink but > there is /usr/share/. > > Is this a problem in 'gradle' (and other packages) that should

FTBFS when /bin is before /usr/bin in PATH?

2025-05-06 Thread Simon Josefsson
Hi I'm doing archive-wide package rebuilds in GitLab CI/CD and my toolchain uses 'setpriv --reset-env' to drop privileges and reset the environment variables, which results in: PATH=/usr/local/bin:/bin:/usr/bin This unusual ordering appears to be intentional for setpriv: https://manpages.debian

Re: why is Perl Build-Essential: yes?

2025-05-06 Thread Jonathan Dowland
On Thu May 1, 2025 at 8:37 PM BST, Chris Hofstaedtler wrote: Does anything actually _use_ the Build-Essential: yes line? I honestly don't know. I expect so, or the ftp-masters wouldn't be adding it to packages. Having it in the control metadata makes it visible to users (apt show foo). I pe