[Home]

Summary:ASTERISK-04081: BUild Busted due to changes that cause make to fail on make version 3.79. 3.80 works
Reporter:silik0n (silik0n)Labels:
Date Opened:2005-05-05 12:07:48Date Closed:2011-06-07 14:10:25
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:OSX Tiger 10.4 make fails completely

this error is due to recent changes and has been duplicated on RH

X-Tools 2.0 (the latest and greatest)

Only tools updates have been bison to 1.875

make[1]: Entering directory `/Users/ken/asterisk/asterisk/funcs'
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6     -DASTERISK_VERSION=\"CVS-HEAD-05/05/05-10:11:29\" -DASTERISK_VERSION_NUM=999999 -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN     -fomit-frame-pointer  -D__OSX__ -fPIC -DBUILTIN_FUNC   -c -o func_md5.o func_md5.c
/SourceCache/gnumake/gnumake-108/make/expand.c:523: failed assertion `current_variable_set_list->next != 0'
make: *** [subdirs] Error 1
make: Leaving directory `/Users/ken/asterisk/asterisk'

****** ADDITIONAL INFORMATION ******

ken$ gcc --version
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1640)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ken$ make --version
GNU Make version 3.79, by Richard Stallman and Roland McGrath.
Built for powerpc-apple-darwin7.0
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
       Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.
Comments:By: silik0n (silik0n) 2005-05-05 12:10:08

bug is related to make 1.79 as other have reported the same error, however updating to 1.80 is an issue at this point and changes to the code should not have busted sucha widely used version of make

By: Michael Jerris (mikej) 2005-05-05 12:52:32

Issue is related to gnu make 3.79.  make 3.80 works fine.

By: Michael Jerris (mikej) 2005-05-05 12:54:55

kpflemming, from IRC:  <kpfleming> yes, the line that says $(BUILTINS): CFLAGS+=-DBUILTIN_FUNC

By: Mark Spencer (markster) 2005-05-05 13:32:51

Fixed in CVS.  Thanks.

By: Jeffrey C. Ollie (jcollie) 2005-05-05 15:10:27

I don't think that the "strip" is necessary anymore.  The way that Kevin originally built the .so file some unnecessary symbols were geting leaked.  Now that Mark has changed the build process those symbols no longer get leaked, so the strip is not necessary.  The problem is that some platforms (OS X, Solaris?) do not support the "-N" option to strip.

By: silik0n (silik0n) 2005-05-05 21:10:00

commenting out the string in apps/Makefile seems to solve the issue for me on OSX (tested on 2 boxes)

By: Mark Spencer (markster) 2005-05-08 14:06:14

Fixed

By: Digium Subversion (svnbot) 2008-01-15 15:33:45.000-0600

Repository: asterisk
Revision: 5608

U   trunk/funcs/Makefile

------------------------------------------------------------------------
r5608 | markster | 2008-01-15 15:33:44 -0600 (Tue, 15 Jan 2008) | 2 lines

Removed unnecessary strip (bug ASTERISK-4081)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5608