Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u7VKI-000QhF-7J for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 23 Apr 2025 08:19:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u7VKG-004ML4-9l for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 23 Apr 2025 08:19:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u7VKG-004MKp-32 for pgsql-pkg-yum@lists.postgresql.org; Wed, 23 Apr 2025 08:19:24 +0000 Received: from ns7.gunduz.org ([165.232.104.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u7VKD-001YtK-1x for pgsql-pkg-yum@lists.postgresql.org; Wed, 23 Apr 2025 08:19:24 +0000 Received: from dell-laptop07.gunduz.org (unknown [85.106.91.224]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256)) (No client certificate requested) by ns7.gunduz.org (Postfix) with ESMTPSA id 850DC30011B6; Wed, 23 Apr 2025 08:19:21 +0000 (UTC) Message-ID: <690421d1fc27d9692ed6a4bb173871a6fca0bc96.camel@gunduz.org> Subject: Re: Empty %files file debugsourcefiles.list From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: Marcin Cieslak Cc: pgsql-pkg-yum@lists.postgresql.org Date: Wed, 23 Apr 2025 11:19:20 +0300 In-Reply-To: <70qso266-r77n-43po-266n-n83qs99332pq@fncre.vasb> References: <5r2r9227-1rq9-3467-9qo5-s89n3son011r@fncre.vasb> <009a4ffd1b7ff7091b3ef03f327a712c2a37446f.camel@gunduz.org> <70qso266-r77n-43po-266n-n83qs99332pq@fncre.vasb> Autocrypt: addr=devrim@gunduz.org; prefer-encrypt=mutual; keydata=mQINBFN+TjkBEAC6pudhV1V54kHPe91nr6Erz6VuG93VKfcHOHN86yET35s8ytey7f//m 93mW0X6LJUMbY+Z0BztU4EauGAhYRSFzpBWUVBCxaaSyB+l0FR6WtH/Lv6Sxql0GLs6Uhxsk2v3jJ tMtk+hFAW2TJInW0ab1xxwTiiHFmSnJOBEK7IMlOOu5kfOAILgGOgiyMUPsDf5iTIJ35iX9hqFvmz MueFVwAExTeTkKCRXvuGXrO28Bbesy6h4GbJe1bUaTwTMEBn90oQD20UUKI9Lvo46c1SkqF1nOSoQ A3A2eBjWACq68DQ9Q8TbtkBlL8QKftrFz3SL0jth9ZpxyYfm+jiZ5LEAd717YM7qjvH5Yq0juZO3U jz2L9RVgyIF1lTQ33fQEuGn797n7LxdaQSdOYK88yrpABic6fJs6rxGy86HcNVHJQCfxgu+uU4eG9 /wzBKllXreabD2JJXIRjqvhJTXd7JWaF6TZUEUM0SH2GlA6I2G2vGSyRoe0/jaqUIDGm5drzFGkrK 7CwhWzLqxSBlVkCelhOVfDuyit3ypwPhsztTOgZ9w3iwnAPZWuqXbys2Z26H9hQb5eG7xlkCZwlSr mD8mUdHlU5DP84VPIXX6mGCh0I4EJ4ur61CNESpv86BKfGUpbl/3x9XSmcWfvdxB4JnrjHBm9aDIQ ZzukEJGdiGBpQARAQABtCNEZXZyaW0gR8O8bmTDvHogPGRldnJpbUBndW5kdXoub3JnPokCOQQTAQ IAIwUCU35OOQIbAwcLCQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJENjDPf6Sz261pAgP/j4OJd8 EfBLcdkeYyWKNVV3xN6KGF5tTo5iLjjIBmxmj7403DoigD4qfXY8UQ1hG1e0vTe+zaBuL+fMmn3Rg SAcUcjNUjVwcOeGFIMO0uMDX4xnMeAahjuc+2EKBFBW0UY21aH6BdmM98GkU/gyBpaMt/MC+5Xgsj 1koqlA9vCj1bnDXVNP7w/MPhVsEGbhkBZFB/vwVDVJ0J1U4vA1pr2ggUGOOv0kXu7r7B7nGQgcxN8 qh8QBgfP4ePzbubdA3oGY3PTmRjWWDAzA7HpnKD9pPiAFxvhmnUVcOCdTCo9mNaJc+kRXP7yGbsQa rOWvLMtCvKa0DjFJ6SDY45h3g1XF+Xp/ZMZLbJ7xNc3zEVnBZc0AIvGL+IlQbo9trPdJvjdrFATio UV/cLxug1p4kl8JB6YMvToiKFmMlpQv2wcKK63bm01lDjU93sAy8oZpeKYlOYlN9D0WmyhJbFTlTl IJhMX0aY/xfxUaMYJC5DxV+9s18uviqGWDb2zQR3i3qUbfzV27yHnKo194rUblZ128CzAjs32NerE CLJjKEpc2Ci14fJZz6c6P0J5JTONBKhAzygQi/l97RGBqsLiniJIsTUjGH+hEr7hTnhEg/ZOQSs32 h9vVjhQB7WJ9Xg9A3Frw5mD+W3YkMMM4bFryLTM5p7E1iwGlx+XeM8UMzhtYt Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-IYQPlmwgq/lpcmbs0GUk" User-Agent: Evolution 3.56.1 (3.56.1-1.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --=-IYQPlmwgq/lpcmbs0GUk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Wed, 2025-04-23 at 06:38 +0000, Marcin Cieslak wrote: > I found the problem. In short, the problem are symbolic links in the > repository. > They not only confuse the shell but also the debugedit utility > does not list the source files, because the path provided by the > compiler > is in some other directory. >=20 > When I 'make rpm17' in the pgrpms/redhat/17/postgresql-17/F-41 > directory > debugedit gets -b option that looks like >=20 > /home/saper/src/pgrpms/rpm/redhat/17/postgresql-17/F-41/postgresql17- > 17.4-build/postgresql-17.4 >=20 > but there are no files with that path, all source files are in >=20 > /home/saper/src/pgrpms/rpm/redhat/main/non-common/postgresql-17/F- > 41/postgresql17-17.4-build/postgresql-17.4 >=20 > and therefore debugedit finds zero files to list. Thanks for the analysis -- but please note that we don't have this problem on the buildfarm instances which have the same symlinks. >=20 > A somewhat related question, what is the purpose of >=20 > --define "_buildrootdir $(HOME)/rpm17/BUILDROOT" >=20 > does it do anything? (it does not seem to have any affect for me) I've written the initial version of those makefiles about 15 years ago. Cannot remember the details but I think I explicitly defined everything statically so that even the distro changes a default, we are not affected (hopefully). It is the same with _specdir, _builddir and etc. Regards, --=20 Devrim G=C3=BCnd=C3=BCz Open Source Solution Architect, PostgreSQL Major Contributor BlueSky: @devrim.gunduz.org , @gunduz.org --=-IYQPlmwgq/lpcmbs0GUk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQJGBAABCgAwFiEEH8GKHNUOKtDEiyD22MM9/pLPbrUFAmgIoogSHGRldnJpbUBn dW5kdXoub3JnAAoJENjDPf6Sz2617roP/1rF81EV+WIOcKaCQ1pFjtNwxEDMaN16 3aV3GrawtCXl2ULmviR0cKblt+al3cJ2H4yqFTaFpsJetoNI8A51tfi1Tc1wFXIk /bVF2xi7Ah4Ij2whmzKBnq8pMm4q4EjRb6FDtd151NomcKkM1ucRL02MS9AQF3xb 9ImhZKIdDrVMxcoVt9r7b9nMjb5A8K3udwmJPzPdRQCQg33PUjj79l+vX5uAw2AF Gg4oh7eaWWSzRRVlTKwoudc45IfKpPr0UuP5jZLRyy82z2KqHyVH9gNexwut3PzI 6hYfn/nCJaj+h+wuuKIXqQUY6TBSrmgBksOzEikvtiUMpnoIsIlklmi+qoDU2jFq gV1bWRSMDldg5M81RO5P2ZfqNa59OP9VMzz5rVKz7IjEqng57xWfBg60NEvuCf7f etx8X06pVwEqlw7AZzlpSa6aOXjidHu+/zzmGDKmFnrimoaxPwdBgodAItLlfQZE 5uwi3evDnbqPohrnhphvPYyhZZ6QYb5QNcnoa4hA66YJFkIvHw2Qq9clyQnzc832 JaS2CR+H8R7Y+d/Xhva/TKl/5EcK2wOGkxbIF0YYnJT2ZShDAAaJlz2Ujd1a9x9j 0SH8+RTgVd61b35PyJ0PwhOSqcqlF6klBdqq+iYFP2fyqnck0tJq1vpmHGhOZz2D lWNRls21YrLw =GnS5 -----END PGP SIGNATURE----- --=-IYQPlmwgq/lpcmbs0GUk--