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 1ogScH-0000XG-QU for pgsql-bugs@arkaria.postgresql.org; Thu, 06 Oct 2022 15:16:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ogScG-0008Pa-2U for pgsql-bugs@arkaria.postgresql.org; Thu, 06 Oct 2022 15:16: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 1ogScF-0008PO-FA for pgsql-bugs@lists.postgresql.org; Thu, 06 Oct 2022 15:16:51 +0000 Received: from arg-plspam-c1n3.mailshover.nl ([145.131.15.37]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogScD-0000wG-G5 for pgsql-bugs@postgresql.org; Thu, 06 Oct 2022 15:16:51 +0000 Received: from [5.100.226.105] (helo=arg-plsmtp-c1n1.argewebhosting.nl) by arg-plspam-c1n3.mailshover.nl with esmtp (Exim 4.92) (envelope-from ) id 1ogSc5-0007Ns-P7 for pgsql-bugs@postgresql.org; Thu, 06 Oct 2022 17:16:47 +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 23E8620FFA58 for ; Thu, 6 Oct 2022 17:16:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 arg-plsmtp-c1n1.argewebhosting.nl 23E8620FFA58 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxi.nl; s=aw2021071601; t=1665069401; bh=li0bPNZcORmH1gllCtAey0lFOK39J1bNpYhavNvrgII=; h=From:To:Subject:Date:From; b=LvT0Xbc6wxZRHQa2F+TL7XMhIvWNd5IqmMAuGKA51eahJZlzkr7dSJR/0FsGyjB0N UC5C9aYtoYmQVi0xPRHFM1t6w8CxaxQACAGiIGPBAGPSZKYzP0ilQi6gOOj8PzIEJs pnjdA83QGr2uwz3vjSaPyRiypitUBY7JOvO+KtEF2AuMwqcyPtEQ8pkPZhfO/zah09 cvZrpgTdkEyLovNOONYwp4H0i6WVX838UabhuL8dQLT5cNrXhwXM5YZpSvwq9alXQ4 aIO1lzPhNSZmiV4OLPjhOQ60wxCzvw3gYSXL9kZ3Wuw2xkbmORpwAi4dpBDzW1KLVh AiE24V6fBqksg== From: Frank van Vugt To: pgsql-bugs@postgresql.org Subject: v15rc2(/v15rc1/v15b4) shadowbuild fails when using src from symlink Date: Thu, 06 Oct 2022 17:16:40 +0200 Message-ID: <3226673.44csPzL39Z@techfox> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-IP: 5.100.226.105 X-SpamExperts-Domain: out.mailshover.nl X-SpamExperts-Username: 5.100.226.105 Authentication-Results: mailshover.nl; auth=pass smtp.auth=5.100.226.105@out.mailshover.nl X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.06) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9xGuK/ZQvTu9dEVmlYlbhlPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5x8ram8rAyxRhtjbru7tTI7ZikzEQxZehGIr5WQJyRNJxPm p87GC1OZvsh7yKER8spdu9WnWuAx9CH9kizrqg+qeb4o0/MLsfRXq2B6Bj1eqGe19KSqDlif/KlK sKqsufIjdTuEFB8DkElwv7+cUjNWTbOeaDA0+iWolAbcDFP9gy6xjGHCL5mRV3Kr+39z1ZKaWa8Q rWYu9R5PnImj4DyI7WU3nBUKg5+bHNDSleswH/s9RI7E1pdehrAGxbiJCPM+AwMXi+OSqQVvJeAt QeT9Q5MeWyHYFcw5tP/0jE4kl+nE6wHyAbSyVXutrqMjgFKWCIh6nwoBuMKwN8OP5EE2CsQxwPST fSeJOF2atdSUJAW0sRyN+zqHXF7T3xpDLH4CXODnQISNO+dalEK1rjivIxfs2qKc0fhF4YMd0lwH wOXyY7DGIntSiB4r6Kj1fsgN18EoDUkMH5paExkyjnDLw0m9OyPDekvkd3BNWiTFSMzfXZnwEzrW L4kva+ANw7SL4UiXG51/x0Ki/1/azQiQnOohEibyptTVfIJK/lrvEnFQ14pzlcriKSE0Pc9zNwyr 0VUPQ53lFeyC3N5h+sjsqGRQgF9HOblZ/M4NVdy9R4sjuxGoQUVMYk3jSDYTIqQHmFDqewO9xyOq CYO8P1aHaaKjH1SJ/7/5Gt04TUt9iF9L2zldRguLVknTBH19KmZPvhkSot3yX0Uz6/z7iRxNARNR yrBIwskH4+f+KOp81ou8QpYnqLB5aO38iBm6eUTCDqusFRHMlFbtIBAEHlWBQzw6N6QyZVJUNuT2 rIyDCOBe8ByrOVxGlKYMlKfSikPrjuU3A3io6xJmD59iFVkbrmwqN88dPdCre1mK9M7r+Pw+RFxI dLCS3ZxUD17gF4MBNJNXnoswHJNBmov92bsqeL7Tm+2sjtpNzu8LPnCO8OxDplCfbK7q7B5nsysZ RAn9T2HIaGyILO9ubvBsDYpJRk+ZKsH1cXuM79bg4USzUfRpvjdBsdzqUiwMj5eJYIQxL7hrJSk6 0SF3F6RYOYr2 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 L.S. Just like v15rc1, the second rc fails to compile when using the source from a symlink. => openSUSE Leap 15.4 (gcc v7.5.0 / make v4.2.1) => unpack source => create a symlink $PGSRCDIR to the source(-rc2) folder => create a build folder $PGDIR and from within that: $PGSRCDIR/configure --prefix=$PGDIR/install --enable-thread-safety 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 => when using the real source folder instead of the symlink, the same compile/ script finishes fine -- Best, Frank.