[Bug 861923] New: c99: command not found
https://bugzilla.novell.com/show_bug.cgi?id=861923 https://bugzilla.novell.com/show_bug.cgi?id=861923#c0 Summary: c99: command not found Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: All OS/Version: Linux Status: NEW Severity: Minor Priority: P5 - None Component: Development AssignedTo: matz@suse.com ReportedBy: jengelh@inai.de QAContact: qa-bugs@suse.de CC: coolo@suse.com, rguenther@suse.com Found By: Beta-Customer Blocker: --- In openSUSE 13.1, make-3.82 did the following: $ echo .POSIX: >Makefile $ make -p 2>&1 | grep ^CC CC := cc With make-4.0 that now ships in openSUSE Factory, this has changed to CC := c99 However, our gcc package does not provide a c99 symlink yet, breaking compilation that use implicit variables/rules. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861923 https://bugzilla.novell.com/show_bug.cgi?id=861923#c1 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|matz@suse.com |rguenther@suse.com --- Comment #1 from Richard Biener <rguenther@suse.com> 2014-02-04 10:14:52 UTC --- SR220778 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861923 https://bugzilla.novell.com/show_bug.cgi?id=861923#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-02-04 12:00:18 CET --- This is an autogenerated message for OBS integration: This bug (861923) was mentioned in https://build.opensuse.org/request/show/220778 Factory / gcc -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861923 https://bugzilla.novell.com/show_bug.cgi?id=861923#c4 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@suse.com --- Comment #4 from Richard Biener <rguenther@suse.com> 2014-02-04 13:03:36 UTC --- It seems that posix_cc provides c89 and c99 already, so this is a make dependence bug? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861923 https://bugzilla.novell.com/show_bug.cgi?id=861923#c5 --- Comment #5 from Philipp Thomas <pth@suse.com> 2014-02-04 14:26:07 CET --- Could be, but the wrappers c89 and c99 will only accept compiler options mandated by the respective standard which might not be what the authors of make 4.0 intended. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861923 https://bugzilla.novell.com/show_bug.cgi?id=861923#c6 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW AssignedTo|rguenther@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #6 from Richard Biener <rguenther@suse.com> 2014-02-04 14:15:36 UTC --- IMHO needs to be resolved in make. Unassigning. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861923 https://bugzilla.novell.com/show_bug.cgi?id=861923#c Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matthias@hopf.in AssignedTo|bnc-team-screening@forge.pr |meissner@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861923 https://bugzilla.novell.com/show_bug.cgi?id=861923#c7 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org --- Comment #7 from Dominique Leuenberger <dimstar@opensuse.org> 2014-02-10 12:27:53 UTC --- For reference, the upstream commit enforcing this comes from: http://git.savannah.gnu.org/cgit/make.git/commit/read.c?id=30b2e4207d2f41c64... A package specifying .POSIX should be aware of it's required compiler (just like a package building on C++). Solution are usually to export CC=gcc or BuildRequire posix_cc (which might be too restrictive in some cases... and which would also mean that .POSIX would actually not be fully correct in the Makefile) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861923 https://bugzilla.novell.com/show_bug.cgi?id=861923#c8 Michael Matz <matz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |matz@suse.com Resolution| |INVALID --- Comment #8 from Michael Matz <matz@suse.com> 2014-02-10 15:05:50 UTC --- IMO there's nothing wrong in make. If the Makefile authors wants .POSIX that author needs to ensure that the other options are correct. In the same line the packager of a package that uses .POSIX in Makefiles needs to ensure that c99 is available by adding posix_cc to the BuildRequires. A require of make to posix_cc would be wrong (Makefile's can be written without requiring any compiler at all), as would be gcc providing a c99 (it provides 'cc' only, for historic reasons). So, nothing wrong I can see (the report doesn't actually list a package that breaks because of this, and it would be that packages BuildRequire problem). Hence, invalid. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861923 https://bugzilla.novell.com/show_bug.cgi?id=861923#c9 Jan Engelhardt <jengelh@inai.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #9 from Jan Engelhardt <jengelh@inai.de> 2014-02-10 17:49:51 CET --- Makes sense. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com