Re: Empty %files file debugsourcefiles.list

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Marcin Cieslak <saper(at)saper(dot)info>, pgsql-pkg-yum(at)lists(dot)postgresql(dot)org
Subject: Re: Empty %files file debugsourcefiles.list
Date: 2025-05-07 12:24:51
Message-ID: 21feff136d3b9f55da6b9d4e89b387504f36d9fe.camel@gunduz.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2025-05-07 12:36:13 Re: Empty %files file debugsourcefiles.list
Previous Message Devrim Gündüz 2025-05-07 12:20:38 Re: ModuleNotFoundError: No module named 'dateutil' after upgrading to version 3.13.3