Bug 225597 - "/usr/src/lib/libgcc_s/Makefile" line 38: Malformed conditional (${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "arm" &&)
Summary: "/usr/src/lib/libgcc_s/Makefile" line 38: Malformed conditional (${MACHINE_CP...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-31 21:30 UTC by cbnfinley
Modified: 2018-01-31 21:43 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cbnfinley 2018-01-31 21:30:40 UTC
Steps to reproduce.

1. svn checkout https://svn.FreeBSD.org/base/head /usr/src
2. svn update /usr/src
/* At revision 328635. */
3. make -jX buildworld

Looks like we're missing a backslash at the end of line 38.
>>>>.if ${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "arm" &&
>>>>    ${MACHINE_CPUARCH} != "powerpc"

--- cleandir_subdir_lib/libgcc_s ---
make[4]: "/usr/src/lib/libgcc_s/Makefile" line 38: Malformed conditional (${MACHINE_CPUARCH} != "mips" && ${MACHINE_CPUARCH} != "arm" &&)
--- cleandir_subdir_usr.bin ---
--- cleandepend ---
rm -f .depend .depend.* GPATH GRTAGS GSYMS GTAGS
--- cleandir_subdir_usr.sbin ---
--- cleandir_subdir_usr.sbin/bluetooth/bthidcontrol ---
===> usr.sbin/bluetooth/bthidcontrol (cleandir)
--- cleandir_subdir_usr.bin ---
--- cleanobj ---
--- cleandir_subdir_usr.bin/tee ---
===> usr.bin/tee (cleandir)
--- cleandir_subdir_lib ---
--- cleandir_subdir_lib/libthr ---
--- clean ---
rm -f  fpu_test.full.bc fpu_test.full.ll fpu_test fpu_test.bc fpu_test.ll fpu_test.full fpu_test.debug t_fpu.o t_fpu.bco t_fpu.llo
--- cleandir_subdir_usr.sbin ---
--- clean ---
--- cleandir_subdir_lib ---
--- cleanobj ---
--- join_test.cleandir ---
(cd /usr/src/lib/libthr/tests &&  DEPENDFILE=.depend.join_test  NO_SUBDIR=1 make -f Makefile _RECURSING_PROGS=t  CLEANDEPENDFILES= CLEANDEPENDDIRS= PROG=join_test  cleandir)
--- cleandir_subdir_usr.sbin ---
rm -f bthidcontrol.full.bc bthidcontrol.full.ll bthidcontrol bthidcontrol.bc bthidcontrol.ll bthidcontrol.full bthidcontrol.debug bthidcontrol.o hid.o lexer.o parser.o sdp.o bthidcontrol.bco hid.bco lexer.bco parser.bco sdp.bco bthidcontrol.llo hid.llo lexer.llo parser.llo sdp.llo bthidcontrol.8.gz bthidcontrol.8.cat.gz lexer.c parser.c parser.h
--- cleandepend ---
rm -f .depend .depend.* GPATH GRTAGS GSYMS GTAGS
--- cleanobj ---
--- cleandir_subdir_usr.sbin/bluetooth/bthidd ---
===> usr.sbin/bluetooth/bthidd (cleandir)
--- cleandir_subdir_lib ---
--- cleandir_subdir_lib/libgcc_s ---
make[4]: Fatal errors encountered -- cannot continue
make[4]: stopped in /usr/src/lib/libgcc_s
*** [cleandir_subdir_lib/libgcc_s] Error code 1

make[3]: stopped in /usr/src/lib
--- cleandir_subdir_usr.bin ---
A failure has been detected in another branch of the parallel make

Thanks
-V
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-01-31 21:42:19 UTC
A commit references this bug:

Author: gjb
Date: Wed Jan 31 21:41:42 UTC 2018
New revision: 328637
URL: https://svnweb.freebsd.org/changeset/base/328637

Log:
  Fix build by escaping a line break.

  PR:		225597
  Submitted by:	cbnfinley at gmail.com
  Sponsored by:	The FreeBSD Foundation

Changes:
  head/lib/libgcc_s/Makefile
Comment 2 Glen Barber freebsd_committer freebsd_triage 2018-01-31 21:43:04 UTC
Fixed.  Thank you for the report.