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



Am 20.09.2013 um 13:15 schrieb Adam Ciarciński <adam%NetBSD.org@localhost>:

>>>> 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?

Darwin ernie.muppets.liwing.de 12.5.0 Darwin Kernel Version 12.5.0: Mon Jul 29 
16:33:49 PDT 2013; root:xnu-2050.48.11~1/RELEASE_X86_64 x86_64

> What Xcode?

$ xcode-select --version
xcode-select version 2311.
(XCode 5.0 - see referred mail from tron@)

> Which SDK?

Recent

> Have you installed Command Line Tools?


Well - No, I hacked the binary clang via hex-console.
$ clang --version
Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix

Cheers
-- 
Jens Rehsack
rehsack%gmail.com@localhost





Home | Main Index | Thread Index | Old Index