Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1161777pxa; Sat, 22 Aug 2020 13:42:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0nlLvi7PEbuu3Fj6sad9TK6KnvtYKAg7SqiyLcnJKJcyOZ39V0I4ai0T1RJBSCdShUbrk X-Received: by 2002:a50:d9c6:: with SMTP id x6mr8852989edj.56.1598128938151; Sat, 22 Aug 2020 13:42:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598128938; cv=none; d=google.com; s=arc-20160816; b=ON1PVYwXHMTtk3or0IUQwRTIyL77a/Fuk6lPP/XmF8a6I6YIcvCuoSrPSP5D+/zExU Cy7xoGw8He9ZsuS6U7xP8Yom+vlXtpUeJyVi0MA5R+s681LOhIi/Z8cZNkdThxr5QmZD ysBi9T4xfUYKFQ/0johf4oiYhVgIzC9+/FzARNnSZk1c0BJa5w6XbrXSj8feVse1EYIv 4C17vSYT1X2SvhkiaxGVTvAiZJd/PqKyNIpk33dLaf/nqQvy/cXn/e6AyHumi4G7KzZA qWa1LnesBpWZppzlZAsv+NBfvI86HF1Tge+Oy/UPUFKjhI91BQXP691NEOT+NlaO4hg0 jPBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :content-disposition:mime-version:message-id:subject:to:from:date; bh=ZlzcShTH3QcrxjOhOwgUPRhBtxwXirYHBFcIrh9PGXs=; b=mpUJUuWH62jjrz5iNtuJo4nDeKkrVDQMEOMfYEBQbacztZ+8zFdDZUG3c+3B6+eSMm 9HUdAwPNeUezCK4souPAYc11rKR8cAHMQA4yvLfWagx5dBZoafFFT18fOXk0RxqbfNTA 8kp8KUA79WCnwfxeSh6U2p+GDPt0iamRv6CtZCVQH6Gi+iYNhtwGmLKiFMGsJKkRS05W c0qjks7gd6YcZpSi0k4Cx98+I//x8K2PIQhyDmBYBp24e5Cb2uonHAMROR09yuC4rguO AzMizATXGIXChQziaxYX1Tj10QzBn0DkUz51tAmicqQKPgdp8kRJeaIyOYKu92qCDDP1 4jsA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r5si3801334edx.458.2020.08.22.13.41.49; Sat, 22 Aug 2020 13:42:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727039AbgHVULE (ORCPT + 99 others); Sat, 22 Aug 2020 16:11:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726060AbgHVULE (ORCPT ); Sat, 22 Aug 2020 16:11:04 -0400 Received: from tartarus.angband.pl (tartarus.angband.pl [IPv6:2001:41d0:602:dbe::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 835DCC061575 for ; Sat, 22 Aug 2020 13:11:03 -0700 (PDT) Received: from kilobyte by tartarus.angband.pl with local (Exim 4.92) (envelope-from ) id 1k9Zqr-0003yX-DW; Sat, 22 Aug 2020 22:10:57 +0200 Date: Sat, 22 Aug 2020 22:10:57 +0200 From: Adam Borowski To: Hannes Reinecke , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: build failure: aicasm: renamed yaccage Message-ID: <20200822201057.GA14633@angband.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Junkbait: aaron@angband.pl, zzyx@angband.pl User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! My randconfig builds notoriously fail on this: [~/linux/drivers/scsi/aic7xxx/aicasm](vanilla)$ make -j1 bison -d -b aicasm_gram aicasm_gram.y mv aicasm_gram.tab.c .//aicasm_gram.c mv aicasm_gram.tab.h .//aicasm_gram.h bison -d -b aicasm_macro_gram -p mm aicasm_macro_gram.y mv aicasm_macro_gram.tab.c .//aicasm_macro_gram.c mv aicasm_macro_gram.tab.h .//aicasm_macro_gram.h flex -o aicasm_scan.c aicasm_scan.l flex -Pmm -o aicasm_macro_scan.c aicasm_macro_scan.l cc -I/usr/include -I. -I./ aicasm.c aicasm_symbol.c .//aicasm_gram.c .//aicasm_macro_gram.c .//aicasm_scan.c .//aicasm_macro_scan.c -o .//aicasm -ldb aicasm_symbol.c: In function ‘aic_print_reg_dump_end’: aicasm_symbol.c:393:13: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration] 393 | *letter = tolower(*letter); | ^~~~~~~ aicasm_gram.tab.c:204:10: fatal error: aicasm_gram.tab.h: No such file or directory compilation terminated. aicasm_macro_gram.tab.c:167:10: fatal error: aicasm_macro_gram.tab.h: No such file or directory compilation terminated. And the generated yaccage has: #include "aicasm_gram.tab.h" which tries to refer to the just renamed file. As the files in question are generated, with the filename coming from $YACC rather than source, it'd take some after-processing with sed or a similar hack. Thus, instead of sending a patch, I thought it'd better to ask: what the renames are for? Meow! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ ⢿⡄⠘⠷⠚⠋⠀ It's time to migrate your Imaginary Protocol from version 4i to 6i. ⠈⠳⣄⠀⠀⠀⠀