Date: Wed, 6 May 2009 22:08:42 +0400 From: Stanislav Sedov <stas@FreeBSD.org> To: Rui Paulo <rpaulo@gmail.com> Cc: freebsd-arm@freebsd.org Subject: Re: Can't build ports and/or system on HEAD Message-ID: <20090506220842.23137b20.stas@FreeBSD.org> In-Reply-To: <1D99BB94-12E9-4425-AA1D-0CC3FAFF016C@gmail.com> References: <1D99BB94-12E9-4425-AA1D-0CC3FAFF016C@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 6 May 2009 17:53:44 +0100 Rui Paulo <rpaulo@gmail.com> mentioned: > Hi, > I can't build ports on an arm embedded system. After the recent > strncmp() problem, I'm suspecting this is a fallout of something than > a misconfiguration of my part. > > My sys.mk MD5 is: > $ md5 /usr/share/mk/sys.mk > MD5 (/usr/share/mk/sys.mk) = 5f02492bd3dc89d976067eeaa75d4d76 > > Which I think is correct. Any ideas? > > # make -d A > Global:.MAKEFLAGS = -d > Global:.MAKEFLAGS = -d A > Global:MFLAGS = -d > Global:MFLAGS = -d A > Caching ....done > Global:.ST_EXPORTVAR = YES > Global:.CURDIR = /usr/ports/editors/elvis > Global:.OBJDIR = /usr/ports/editors/elvis > Global:.TARGETS = > Caching /usr/share/mk...done > expanding "sys.mk".../usr/share/mk/sys.mk > Global:MAKEFILE = /usr/share/mk/sys.mk > Global:.MAKEFILE_LIST = /usr/share/mk/sys.mk > Global:unix = We run FreeBSD, not UNIX. > Global:.FreeBSD = true > "/usr/share/mk/sys.mk", line 16: Missing dependency operator > "/usr/share/mk/sys.mk", line 18: if-less else > "/usr/share/mk/sys.mk", line 20: if-less endif > Global:AR = ar > "/usr/share/mk/sys.mk", line 23: Missing dependency operator > Global:ARFLAGS = -rv > "/usr/share/mk/sys.mk", line 25: if-less else > "/usr/share/mk/sys.mk", line 27: if-less endif > Global:RANLIB = ranlib > Global:AS = as > Global:AFLAGS = > "/usr/share/mk/sys.mk", line 33: Missing dependency operator > Global:CC = c89 > Global:CFLAGS = -O > "/usr/share/mk/sys.mk", line 36: if-less else > "/usr/share/mk/sys.mk", line 38: Need an operator > "/usr/share/mk/sys.mk", line 40: if-less else > "/usr/share/mk/sys.mk", line 42: if-less endif > "/usr/share/mk/sys.mk", line 43: Missing dependency operator > Global:CFLAGS = -O -fno-strict-aliasing > "/usr/share/mk/sys.mk", line 45: if-less endif > "/usr/share/mk/sys.mk", line 46: if-less endif > Global:NO_CTF = 1 > "/usr/share/mk/sys.mk", line 52: if-less endif > Global:CTFFLAGS = -L VERSION > Global:CTFCONVERT = ctfconvert > Global:CTFMERGE = ctfmerge > Applying :M to "-O -fno-strict-aliasing" > Result is "" > "/usr/share/mk/sys.mk", line 60: Missing dependency operator > Global:CTFFLAGS = -L VERSION -g > "/usr/share/mk/sys.mk", line 62: if-less else > Global:CFLAGS = -O -fno-strict-aliasing -g > "/usr/share/mk/sys.mk", line 64: if-less endif > "/usr/share/mk/sys.mk", line 65: if-less endif > Global:CXX = c++ > Global:CXXFLAGS = ${CFLAGS:N-std=*:N-Wnested-externs:N-W*-prototypes:N- > Wno-pointer-sign} > Global:CPP = cpp > "/usr/share/mk/sys.mk", line 72: Missing dependency operator > Global:ECHO = echo > Global:ECHODIR = echo > "/usr/share/mk/sys.mk", line 75: if-less else > Applying :M to " -d A" > Result is "" > "/usr/share/mk/sys.mk", line 77: Need an operator > "/usr/share/mk/sys.mk", line 79: if-less else > "/usr/share/mk/sys.mk", line 81: if-less endif > "/usr/share/mk/sys.mk", line 82: if-less endif > Applying :M to " -d A" > Result is "" > Global:_+_ = > "/usr/share/mk/sys.mk", line 86: if-less else > "/usr/share/mk/sys.mk", line 88: if-less endif > "/usr/share/mk/sys.mk", line 90: Missing dependency operator > Global:FC = fort77 > Global:FFLAGS = -O 1 > "/usr/share/mk/sys.mk", line 93: if-less else > "/usr/share/mk/sys.mk", line 96: if-less endif > Global:EFLAGS = > Global:INSTALL = install > Global:LEX = lex > Global:LFLAGS = > Global:LD = ld > Global:LDFLAGS = > Global:LINT = lint > Global:LINTFLAGS = -cghapbx > Global:LINTKERNFLAGS = ${LINTFLAGS} > Global:LINTOBJFLAGS = -cghapbxu -i > Global:LINTOBJKERNFLAGS = ${LINTOBJFLAGS} > Global:LINTLIBFLAGS = -cghapbxu -C ${LIB} > Global:OBJC = cc > Global:OBJCFLAGS = ${OBJCINCLUDES} ${CFLAGS} -Wno-import > Global:PC = pc > Global:PFLAGS = > Global:RC = f77 > Global:RFLAGS = > Global:YACC = yacc > "/usr/share/mk/sys.mk", line 128: Missing dependency operator > Global:YFLAGS = > "/usr/share/mk/sys.mk", line 130: if-less else > "/usr/share/mk/sys.mk", line 132: if-less endif > "/usr/share/mk/sys.mk", line 134: Missing dependency operator > defining transformation from `.c' to `' > inserting an empty list?...inserting .c(2)...at end of list > inserting an empty list?...inserting (0)...at end of list > transformation .c complete > "/usr/share/mk/sys.mk", line 145: Missing dependency operator > "/usr/share/mk/sys.mk", line 147: if-less endif > defining transformation from `.f' to `' > inserting .f(7)...at end of list > inserting an empty list?...inserting (0)...at end of list > transformation .f complete > "/usr/share/mk/sys.mk", line 151: Missing dependency operator > "/usr/share/mk/sys.mk", line 152: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 152: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 153: if-less endif > defining transformation from `.sh' to `' > inserting .sh(6)...before .f(7) > inserting an empty list?...inserting (0)...at end of list > transformation .sh complete > "/usr/share/mk/sys.mk", line 163: Missing dependency operator > "/usr/share/mk/sys.mk", line 164: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 164: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 165: if-less endif > "/usr/share/mk/sys.mk", line 169: Missing dependency operator > "/usr/share/mk/sys.mk", line 170: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 170: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 171: if-less endif > "/usr/share/mk/sys.mk", line 178: Missing dependency operator > "/usr/share/mk/sys.mk", line 179: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 179: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 180: if-less endif > "/usr/share/mk/sys.mk", line 187: Missing dependency operator > "/usr/share/mk/sys.mk", line 188: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 188: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 189: if-less endif > "/usr/share/mk/sys.mk", line 209: if-less else > defining transformation from `.sh' to `' > inserting .sh(6)...already there > inserting (0)...already there > transformation .sh complete > defining transformation from `.c' to `' > inserting .c(2)...already there > inserting (0)...already there > transformation .c complete > "/usr/share/mk/sys.mk", line 227: Missing dependency operator > "/usr/share/mk/sys.mk", line 228: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 228: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 229: if-less endif > "/usr/share/mk/sys.mk", line 232: warning: duplicate script for target > ".c.o" ignored > "/usr/share/mk/sys.mk", line 233: Missing dependency operator > "/usr/share/mk/sys.mk", line 234: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 234: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 235: if-less endif > defining transformation from `.cc' to `' > inserting .cc(10)...at end of list > inserting an empty list?...inserting (0)...at end of list > defining transformation from `.cpp' to `' > inserting .cpp(11)...at end of list > inserting an empty list?...inserting (0)...at end of list > defining transformation from `.cxx' to `' > inserting .cxx(12)...at end of list > inserting an empty list?...inserting (0)...at end of list > defining transformation from `.C' to `' > inserting .C(13)...at end of list > inserting an empty list?...inserting (0)...at end of list > transformation .cc complete > transformation .cpp complete > transformation .cxx complete > transformation .C complete > "/usr/share/mk/sys.mk", line 245: Missing dependency operator > "/usr/share/mk/sys.mk", line 246: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 246: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 247: if-less endif > "/usr/share/mk/sys.mk", line 251: Missing dependency operator > "/usr/share/mk/sys.mk", line 252: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 252: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 253: if-less endif > defining transformation from `.e' to `' > inserting .e(16)...at end of list > inserting an empty list?...inserting (0)...at end of list > defining transformation from `.r' to `' > inserting .r(17)...at end of list > inserting an empty list?...inserting (0)...at end of list > defining transformation from `.F' to `' > inserting .F(15)...before .e(16) > inserting an empty list?...inserting (0)...at end of list > defining transformation from `.f' to `' > inserting .f(7)...already there > inserting (0)...already there > transformation .e complete > transformation .r complete > transformation .F complete > transformation .f complete > "/usr/share/mk/sys.mk", line 260: warning: duplicate script for target > ".f.o" ignored > "/usr/share/mk/sys.mk", line 264: Missing dependency operator > "/usr/share/mk/sys.mk", line 265: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 265: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 266: if-less endif > "/usr/share/mk/sys.mk", line 270: Missing dependency operator > "/usr/share/mk/sys.mk", line 271: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 271: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 272: if-less endif > "/usr/share/mk/sys.mk", line 276: Missing dependency operator > "/usr/share/mk/sys.mk", line 277: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 277: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 278: if-less endif > "/usr/share/mk/sys.mk", line 282: warning: duplicate script for target > ".y.o" ignored > "/usr/share/mk/sys.mk", line 283: warning: duplicate script for target > ".y.o" ignored > "/usr/share/mk/sys.mk", line 284: warning: duplicate script for target > ".y.o" ignored > "/usr/share/mk/sys.mk", line 285: Missing dependency operator > "/usr/share/mk/sys.mk", line 286: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 286: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 287: if-less endif > "/usr/share/mk/sys.mk", line 290: warning: duplicate script for target > ".l.o" ignored > "/usr/share/mk/sys.mk", line 291: warning: duplicate script for target > ".l.o" ignored > "/usr/share/mk/sys.mk", line 292: warning: duplicate script for target > ".l.o" ignored > "/usr/share/mk/sys.mk", line 293: Missing dependency operator > "/usr/share/mk/sys.mk", line 294: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 294: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 295: if-less endif > "/usr/share/mk/sys.mk", line 299: warning: duplicate script for target > ".y.c" ignored > "/usr/share/mk/sys.mk", line 300: warning: duplicate script for target > ".y.c" ignored > "/usr/share/mk/sys.mk", line 303: warning: duplicate script for target > ".l.c" ignored > "/usr/share/mk/sys.mk", line 307: Missing dependency operator > "/usr/share/mk/sys.mk", line 308: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 308: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 309: if-less endif > "/usr/share/mk/sys.mk", line 315: Missing dependency operator > "/usr/share/mk/sys.mk", line 316: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 316: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 317: if-less endif > "/usr/share/mk/sys.mk", line 324: Missing dependency operator > "/usr/share/mk/sys.mk", line 325: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 325: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 326: if-less endif > "/usr/share/mk/sys.mk", line 332: Missing dependency operator > "/usr/share/mk/sys.mk", line 333: warning: duplicate script for target > ".if" ignored > "/usr/share/mk/sys.mk", line 333: warning: duplicate script for target > "defined(CTFCONVERT)" ignored > "/usr/share/mk/sys.mk", line 334: if-less endif > Global:__MAKE_CONF = /etc/make.conf > "/usr/share/mk/sys.mk", line 338: Missing dependency operator > "/usr/share/mk/sys.mk", line 339: Need an operator > "/usr/share/mk/sys.mk", line 340: if-less endif > Global:SHELL = ${__MAKE_SHELL} > "/usr/share/mk/sys.mk", line 344: : no matching shell > "/usr/share/mk/sys.mk", line 344: improper shell specification > "/usr/share/mk/sys.mk", line 345: if-less endif > Global:OBJFORMAT = elf > "/usr/share/mk/sys.mk", line 354: if-less endif > "/usr/share/mk/sys.mk", line 356: Need an operator > "/usr/share/mk/sys.mk", line 357: Need an operator > Global:.MAKEFILE_LIST = /usr/share/mk/sys.mk .. > make: fatal errors encountered -- cannot continue > Are your sure you have the proper libc with strncmp fix applied? Looks like either the makefile or make itself is broken. -- Stanislav Sedov ST4096-RIPE !DSPAM:4a01d21a994291890464748!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090506220842.23137b20.stas>