tech-pkg archive

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

fixing devel/gmp for MacOS X/clang



Hi,

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

Stop.
bmake: stopped in /private/tmp/pkgsrc/devel/gmp/work/gmp-5.1.2/printf
*** Error code 1

Stop.
bmake: stopped in /private/tmp/pkgsrc/devel/gmp/work/gmp-5.1.2
*** Error code 1

Stop.
bmake: stopped in /private/tmp/pkgsrc/devel/gmp/work/gmp-5.1.2
*** Error code 1

Stop.
bmake: stopped in /data/pkgsrc/devel/gmp

and like to fix it by committing attached patch.

It's freeze and for last proposed patches I got some "but it breaks xy" back,
so please decide.

Cheers

Attachment: patch-devel-gmp
Description: Binary data

-- 
Jens Rehsack
pkgsrc, Perl5
sno%NetBSD.org@localhost





Home | Main Index | Thread Index | Old Index