Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oWXOj-0004yw-7D for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Sep 2022 06:21:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oWXOi-0002p2-2X for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Sep 2022 06:21:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oWXOh-0002ot-Ol for pgsql-bugs@lists.postgresql.org; Fri, 09 Sep 2022 06:21:51 +0000 Received: from arg-plspam-c1n4.mailshover.nl ([145.131.15.44]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oWXOf-0004uG-R2 for pgsql-bugs@postgresql.org; Fri, 09 Sep 2022 06:21:51 +0000 Received: from gw.mailshover.nl ([2001:678:76c:1:3996::58] helo=arg-plsmtp-c1n1.argewebhosting.nl) by arg-plspam-c1n4.mailshover.nl with esmtp (Exim 4.92) (envelope-from ) id 1oWXOd-0003d5-OU; Fri, 09 Sep 2022 08:21:48 +0200 Received: from techfox.localnet (195-240-32-238.fixed.kpn.net [195.240.32.238]) (Authenticated sender: ftm.van.vugt@foxi.nl) by arg-plsmtp-c1n1.argewebhosting.nl (Postfix) with ESMTPA id 7558A2111CD3; Fri, 9 Sep 2022 08:21:47 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 arg-plsmtp-c1n1.argewebhosting.nl 7558A2111CD3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxi.nl; s=aw2021071601; t=1662704507; bh=c+c+vwI3VbQAGJivQmns1ir6BN41+CMrQM+znMOkPjA=; h=From:To:Subject:Date:From; b=nbhIjHX/mI4SXxGGZ+0Jw8a98g430IEollrUB2FCp4AHLEVrko+yQQmu+1K7ofH5E 72sqTzzetmi99IusEJNbnH4ju5K84kKZNYVbSyMFWQitEf2wiOy0rMXPECy5tBFtao Sy7FYBwGGV1q1/Sw7F7ubNBazBvNEobnFa+bchYuv4OmL8yortY/YNjFYGAta5jPhN r6QufG24sNgUImIuy/cfVKPT69/4NMF2177I55I3bkbQGyNyV/gUBggThroaUfhkc0 4xsnJGXH9ydWp/W64TdXjiXrFNUAa19uZaMD3POftNmMVCKxIeW7pG+s+QjdXNicXd lbSBDE/2kX2Yw== From: Frank van Vugt To: pgsql-bugs@postgresql.org Subject: v15b4 shadowbuild fails when using src from symlink Date: Fri, 09 Sep 2022 08:21:46 +0200 Message-ID: <4429397.LvFx2qVVIh@techfox> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-IP: 2001:678:76c:1:3996::58 X-SpamExperts-Domain: out.mailshover.nl X-SpamExperts-Username: 2001:678:76c:1:3996::58 Authentication-Results: mailshover.nl; auth=pass smtp.auth=2001:678:76c:1:3996::58@out.mailshover.nl X-SpamExperts-Outgoing-Class: unsure X-SpamExperts-Outgoing-Evidence: Combined (0.50) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT90jVzTLJt3vj6cAu5S4eQ0PUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5zlUGKMn5wTcw0fAoQMCwixU6pf36oULDXNZ/ELV15YZbRg A/7Q3G/jsht9xSeD5BdnyfhnvRuE3a2rzlsXrm6lELuTIWZEr3oX/y8L8l3DOuKVse1sVhWabI0/ +PN3sIJwaamb6PEvxJYegyRXvOeQTn+lei0LNM58Mk3K8ANPzzw0aHUd8OorKHirD54bcWkF066A lN3QEUvuOXkaUbCI6z+5LI6KWw+EFWDsXlLtzoZLchSXo6elLiZdvdXKos4UVGuA/ozRVE1LphQx C68z6Lt4Mo4MsH+hZ0Li7KEJu5ejYL7xBX4fzVCeo0ak3t+RqlQE9b1hXhIRJ1bJW0V1UYfuzJ1m 8O31zlHQ8Dw4NmzfO6ib3rryOBZGk86Mee2fQSu0GJ6PYvG8f+bqIS0hLQ1T2EGU0JxBRhsEyLCH UD6FszTuok0N6hB9nyEfxxECyMce+z0cRT/ZsBEFeJDE31/E3ahF5MMcDI7KdpjQKekVjNDiOvjy 17LHwozrNDgTL8iEiZXfA9yLrb7pUgDMU9hgg9p/9DmtzR0I63OKrgCa/QYlJHXn0HHVtjhKEP24 sffQX1o0gBXzk0Y91KPW6J1fhOzjF0b4LXcjJZ5loh0FINYkIx/I+1wuvHPsdbHVHh4O+QXKcuz5 G7WfDWtxvvfDPzTicNKT8kj+si7fWg67BKWhr/strns5cs6eI/C6qZtTD6EAiwzSqLJg9PdSbJf7 XgSsVzm1v3p137mznUouHXqWSHHexABX+PoOMrWLBDMrD7q/cJogwbqzsuokbtmUEINtRXgPvlkr meEbRf3ldk7m/lrXzqdzzgbGQfELEEbuDQBR9H1b2Xr/0kd+LsQdiNSk7dJW9xokiFfzNE0q4FV8 K1DEKl0dB+i7MzzGyJa1Hu7VOu6NzGmwKIvhnEflx2ravR6dxow+ZywUQMTL9gdDx7w4I+gF9S/4 RcXLRb3oCRti/HTal8BH8kMrBaQv4FrIcXfg601U/MX/LFtIDpT88TEiAnXgl0Wd2i0cLdYn6cEQ Qqn1JjHdQcehub9GwTOjcdcJUq0tIH0Ui5ACk+V/V60H6JfJnsg72wHF9Atm/4u+V03KQv/gVHNy AfThoKhCgu55tz5acdAIQw== X-Report-Abuse-To: spam@arg-plspam-c1n0.mailshover.nl List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, => Fyi, using openSUSE Leap 15.4 (gcc v7.5.0 / make v4.2.1) => I noticed that after: tar xfj postgresql-15beta4.tar.bz2 ln -s postgresql-15beta4 postgresql-15.0.0 => a script containing something in the line of: => (shadowbuild using the symlink as sourcedir) PGDIR=/.../target PGSRCDIR=/.../postgresql-15.0 cd $PGDIR $PGSRCDIR/configure --prefix=$PGDIR/install --enable-thread-safety --with- libxml make -j2 => fails on the following: (...) configure: using compiler=gcc (SUSE Linux) 7.5.0 configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith - Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format- attribute -Wimplicit-fallthrough=3 -Wformat-security -fno-strict-aliasing - fwrapv -fexcess-precision=standard -Wno-format-truncation -O2 configure: using CPPFLAGS= -D_GNU_SOURCE -I/usr/include/libxml2 configure: using LDFLAGS= -Wl,--as-needed preparing build tree... done configure: creating ./config.status config.status: creating GNUmakefile config.status: creating src/Makefile.global config.status: creating src/include/pg_config.h config.status: creating src/include/pg_config_ext.h config.status: creating src/interfaces/ecpg/include/ecpg_config.h config.status: linking /home/development/postgresql-15.0/src/backend/port/tas/ dummy.s to src/backend/port/tas.s config.status: linking /home/development/postgresql-15.0/src/backend/port/ posix_sema.c to src/backend/port/pg_sema.c config.status: linking /home/development/postgresql-15.0/src/backend/port/ sysv_shmem.c to src/backend/port/pg_shmem.c config.status: linking /home/development/postgresql-15.0/src/include/port/ linux.h to src/include/pg_config_os.h config.status: linking /home/development/postgresql-15.0/src/makefiles/ Makefile.linux to src/Makefile.port + make -j2 make -C ./src/backend generated-headers make[1]: Entering directory '/home/development/4suse15.4-x86_64/ postgresql-15.0/src/backend' make[1]: *** No rule to make target 'generated-headers'. Stop. make[1]: Leaving directory '/home/development/4suse15.4-x86_64/ postgresql-15.0/src/backend' make: *** [src/Makefile.global:390: submake-generated-headers] Error 2 => while when doing 'mv postgresql-15beta4 postgresql-15.0.0' instead of symlinking, the same compile/script finishes fine => The root cause may very well be on the side of my environment, reporting nevertheless, just in case. -- Tnx, Frank.