#430 closed defect (fixed)
perl5.8 fails to build on puredarwin with darwin variant.
Reported by: | fkr@… | Owned by: | michaelm@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
with the second part of the darwin variant enabled perl5.8 fails to build on puredarwin. if the second variant is disabled it builds correctly. This is an backtrace of the error:
In file included from /usr/include/mach/i386/thread_status.h:67,
from /usr/include/mach/machine/thread_status.h:29, from /usr/include/mach/thread_status.h:70, from /usr/include/mach/exception_types.h:147, from /usr/include/mach/mach_types.h:70, from /usr/include/mach/shared_memory_server.h:52, from /usr/include/sys/mman.h:62, from perlio.c:381:
/usr/include/architecture/i386/fpu.h:152: field `_NSGetEnviron' declared as a function In file included from /usr/include/mach/machine/thread_status.h:29,
from /usr/include/mach/thread_status.h:70, from /usr/include/mach/exception_types.h:147, from /usr/include/mach/mach_types.h:70, from /usr/include/mach/shared_memory_server.h:52, from /usr/include/sys/mman.h:62, from perlio.c:381:
/usr/include/mach/i386/thread_status.h:344: field `_NSGetEnviron' declared as a function
make: * [perlio.o] Error 1
Error: Target com.apple.build returned: shell command "cd /home/fkr/develope/opendarwin/darwinports/dports/lang/perl5.8/work/perl-5.8.0 && make all" returned error 2
Command output: CCCMD = cc -DPERL_CORE -c -I/opt/local/include -I/opt/local/include/db4 -Dldflags=-L/opt/local/lib -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/opt/local/include -O3 -Wall
sh cflags "optimize='-O3'" taint.o
taint.c
CCCMD = cc -DPERL_CORE -c -I/opt/local/include -I/opt/local/include/db4 -Dldflags=-L/opt/local/lib -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/opt/local/include -O3 -Wall
sh cflags "optimize='-O3'" deb.o
deb.c
CCCMD = cc -DPERL_CORE -c -I/opt/local/include -I/opt/local/include/db4 -Dldflags=-L/opt/local/lib -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/opt/local/include -O3 -Wall
sh cflags "optimize='-O3'" universal.o
universal.c
CCCMD = cc -DPERL_CORE -c -I/opt/local/include -I/opt/local/include/db4 -Dldflags=-L/opt/local/lib -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/opt/local/include -O3 -Wall
sh cflags "optimize='-O3'" xsutils.o
xsutils.c
CCCMD = cc -DPERL_CORE -c -I/opt/local/include -I/opt/local/include/db4 -Dldflags=-L/opt/local/lib -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/opt/local/include -O3 -Wall
sh cflags "optimize='-O3'" globals.o
globals.c
sh cflags "optimize='-O3'" perlio.o
perlio.c
CCCMD = cc -DPERL_CORE -c -I/opt/local/include -I/opt/local/include/db4 -Dldflags=-L/opt/local/lib -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -I/opt/local/include -O3 -Wall
In file included from /usr/include/mach/i386/thread_status.h:67,
from /usr/include/mach/machine/thread_status.h:29, from /usr/include/mach/thread_status.h:70, from /usr/include/mach/exception_types.h:147, from /usr/include/mach/mach_types.h:70, from /usr/include/mach/shared_memory_server.h:52, from /usr/include/sys/mman.h:62, from perlio.c:381:
/usr/include/architecture/i386/fpu.h:152: field `_NSGetEnviron' declared as a function In file included from /usr/include/mach/machine/thread_status.h:29,
from /usr/include/mach/thread_status.h:70, from /usr/include/mach/exception_types.h:147, from /usr/include/mach/mach_types.h:70, from /usr/include/mach/shared_memory_server.h:52, from /usr/include/sys/mman.h:62, from perlio.c:381:
/usr/include/mach/i386/thread_status.h:344: field `_NSGetEnviron' declared as a function make: * [perlio.o] Error 1
Attachments (1)
Change History (3)
Changed 22 years ago by fkr@…
Attachment: | patch-Portfile-perl5.8 added |
---|
comment:1 Changed 22 years ago by fkr@…
(From update of attachment 200)
Index: Portfile =================================================================== RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/lang/perl5.8/Portfile,v retrieving revision 1.20 diff -u -r1.20 Portfile --- Portfile 12 Mar 2003 03:03:46 -0000 1.20 +++ Portfile 5 Apr 2003 14:24:15 -0000 @@ -13,7 +13,8 @@ checksums md5 d9bdb180620306023fd35901a2878b62 configure.cmd sh Configure unset configure.pre_args -variant darwin { patchfiles patch-perlio-darwin.diff } +variant darwin { patchfiles patch-perlio-darwin.diff } +variant puredarwin { patchfiles patch-perlio-darwin.diff } configure.post_args -des -Dinstallprefix=${destroot}/${prefix} \ -Dprefix='${prefix}' -Dccflags="-I'${prefix}/include'\ -I'${prefix}/include/db4' -Dldflags=-L'${prefix}/lib'"
comment:2 Changed 22 years ago by fkr@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
i believe michaelm@ killed this bug, with his latest commit.
suggested fix