Your message dated Fri, 05 Jun 2020 02:01:41 -0700
with message-id <871rmtga2y....@glaurung.internal.golden-gryphon.com>
and subject line make: Implicit rule for yacc does not handle the header file
has caused the Debian Bug report #852478,
regarding make: Implicit rule for yacc does not handle the header file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
852478: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852478
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: make
Version: 4.0-8.1
Severity: normal

Dear Maintainer,

I created a parser.y and scanner.l files. I included parser.h in
scanner.l. I created Makefile with the following contentc

--8<---------------cut here---------------start------------->8---
LEX = flex
LFLAGS = -I
YACC = bison
YFLAGS = -d -y
--8<---------------cut here---------------end--------------->8---

Running make(1)

    make parser.c

causes the following commands to be executed

    bison -d -y parser.y 
    mv -f y.tab.c parser.c

but y.tab.h is not renamed to parser.h as I expected. It appears the
implicit rule, compiled into make(1), ignores the fact that yacc(1) can
generate headers.

It is possible to work around this problem by defining custom rules but
I'd expect make(1) to rename the generated header file (if it exists) as
well with built-in rules.

-- System Information:
Debian Release: 8.7
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-586
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages make depends on:
ii  libc6  2.19-18+deb8u7

make recommends no packages.

Versions of packages make suggests:
ii  make-doc  4.0-2

-- no debconf information

-- 
Było mi bardzo miło.                                  --- Rurku. --- ...
>Łukasz<                                --- To dobrze, że mnie słuchasz.

Attachment: pgpNU2fsGFUdq.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Hi,

        After a couple of years and discussions with upstream, this not
 a critical feature, and it is trivial to create pattern rules that will
 replace the implicit rule with a pattern rule. This is alos true for
 any implicit rtule that does not meet the requirements of the user.

        I am closing this pit rather than leaving it in the BTS as a
 wontfix to reduce clutter.

        I am sorry the implicit ruules could not be enhanced.

        Manoj
--
In which level of metalanguage are you now speaking?
Manoj Srivastava <sriva...@acm.org> <http://www.golden-gryphon.com/>  
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20  05B6 CF48 9438 C577 9A1C

Attachment: smime.p7s
Description: S/MIME cryptographic signature


--- End Message ---

Reply via email to