Re: Empty %files file debugsourcefiles.list - Mailing list pgsql-pkg-yum

From Devrim Gündüz
Subject Re: Empty %files file debugsourcefiles.list
Date
Msg-id 21feff136d3b9f55da6b9d4e89b387504f36d9fe.camel@gunduz.org
Whole thread Raw
In response to Empty %files file debugsourcefiles.list  (Marcin Cieslak <saper@saper.info>)
Responses Re: Empty %files file debugsourcefiles.list
List pgsql-pkg-yum
Hi,

On Sat, 2025-04-19 at 21:31 +0000, Marcin Cieslak wrote:
> I try to rebuild some of the packages from the repo
> and it looks like "make rpm17" in the directories:
>
> rpm/redhat/17/postgresql-17/F-41 (tried on Fedora 41)
> rpm/redhat/17/postgresql-17/F-42 (tried on Fedora 42)
>
> fails with:
>
> Processing files: postgresql17-debugsource-17.4-4PGDG.f42.x86_64
> error: Empty %files file
> /home/saper/src/pgrpms/rpm/redhat/17/postgresql-17/F-42/postgresql17-
> 17.4-build/postgresql-17.4/debugsourcefiles.list
>
> RPM build errors:
>      Empty %files file
> /home/saper/src/pgrpms/rpm/redhat/17/postgresql-17/F-42/postgresql17-
> 17.4-build/postgresql-17.4/debugsourcefiles.list
> make: *** [../../../../global/Makefile.global-PG17:104: nopreprpm17]
> Error 1

Found something. It fails when I build with a regular user (devrim in
this case), but does not fail when I run the build with postgres user on
the same laptop -- with the same ~/.rpmmacros files. That is why I never
had this issue on the build servers.

I don't have any clues now but could this be something related to the
uid being < 1000 ?

Regards,
--
Devrim Gündüz
Open Source Solution Architect, PostgreSQL Major Contributor
BlueSky: @devrim.gunduz.org , @gunduz.org

Attachment

pgsql-pkg-yum by date:

Previous
From: Devrim Gündüz
Date:
Subject: Re: ModuleNotFoundError: No module named 'dateutil' after upgrading to version 3.13.3
Next
From: Devrim Gündüz
Date:
Subject: Re: Empty %files file debugsourcefiles.list