tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: fixing devel/gmp for MacOS X/clang



>>> tron@'s hint caused me to force a complete fresh bootstrap and rebuild
>>> of all I use from pkgsrc (right now - I try to setup some kind of bulk
>>> build later).
>>> 
>>> I encounter a build error in devel/gmp:
>>> 
>>> /bin/bash ../libtool --tag=CC    --mode=compile clang -DHAVE_CONFIG_H -I. 
>>> -I.. -D__GMP_WITHIN_GMP -I..     -pipe -O2 -c -o obprintf.lo obprintf.c
>>> libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -pipe 
>>> -O2 -c obprintf.c  -fno-common -DPIC -o .libs/obprintf.o
>>> obprintf.c:30:10: fatal error: 'obstack.h' file not found
>>> #include <obstack.h>
>>>        ^
>>> 1 error generated.
>>> *** Error code 1
>> 
>> What's your platform, exactly?
>> 
>> gmp was last updated in May, and a Darwin 10.8.0 bulk build in July
>> didn't show any issues with gmp.
>> 
>> http://pkgsrc.smartos.org/reports/2013Q2-Darwin/20130715.1420/meta/report.html
> 
> Based on gcc or clang?
> 
> Hinted by http://mail-index.netbsd.org/tech-pkg/2013/09/19/msg011972.html I 
> decided
> to do y full rebuild to see if still everything is ok.
> 
> I encountered a graphviz PLIST bug, bug dig into it later.
> And the two submitted build issues

That OS X version do you use? What Xcode? Which SDK? Have you installed Command 
Line Tools?

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index