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