GNU bug report logs - #54390
YACC rules don't check DESTDIR existence for VPATH builds

Previous Next

Package: automake;

Reported by: Sam James <sam <at> gentoo.org>

Date: Mon, 14 Mar 2022 17:35:01 UTC

Severity: normal

Tags: notabug

Full log


View this message in rfc822 format

From: Mike Frysinger <vapier <at> gentoo.org>
To: Sam James <sam <at> gentoo.org>
Cc: 54390 <at> debbugs.gnu.org
Subject: bug#54390: YACC rules don't check DESTDIR existence for VPATH builds
Date: Fri, 13 Jan 2023 03:43:57 -0500
[Message part 1 (text/plain, inline)]
On 13 Jan 2023 07:07, Sam James wrote:
> $ /tmp/libaacs/configure YACC=bison LEX=flex

the problem is you're forcing `YACC=bison`.  Automake defaults to `bison -y`
which tells bison to operate in POSIX-yacc-compatible mode because Automake's
rules target POSIX.  the end result is that you've forced a non-POSIX mode,
and bison is writing files to the cwd which is not what Automake expects.
it isn't that the src/file/ directory doesn't exist -- you can see from your
log that files have been generated in src/file/ before the failure.
-mike
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 156 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.