Opened 19 years ago
Closed 19 years ago
#3227 closed defect (fixed)
p5-net-dns fails to build
Reported by: | rekoil@… | Owned by: | yves@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Installed DarwinPorts 1.0 from the .dmg file. Attempted to port install p5-net-dns. Got the following error from port:
DNS.xs: In function 'XS_NetDNSPacket_dn_expand_XS': DNS.xs:58: error: 'MAXDNAME' undeclared (first use in this function) DNS.xs:58: error: (Each undeclared identifier is reported only once DNS.xs:58: error: for each function it appears in.) DNS.xs:68: warning: pointer targets in passing argument 1 of 'res_9_dn_expand' differ in signedness DNS.xs:68: warning: pointer targets in passing argument 2 of 'res_9_dn_expand' differ in signedness DNS.xs:68: warning: pointer targets in passing argument 3 of 'res_9_dn_expand' differ in signedness make: * [DNS.o] Error 1
Warning: the following items did not execute (for p5-net-dns): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install
Attachments (1)
Change History (6)
comment:1 Changed 19 years ago by rekoil@…
comment:2 Changed 19 years ago by jmpp@…
Owner: | changed from darwinports-bugs@… to rshaw@… |
---|
comment:3 Changed 19 years ago by yves@…
Hi
I see my patch is left unattended since two months, I am willing to take the maintainership if you like
comment:4 Changed 19 years ago by rshaw@…
Owner: | changed from rshaw@… to yves@… |
---|
comment:5 Changed 19 years ago by yves@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Some additional info I probably should have added:
I've seen this fail on multiple G4 systems (a Powerbook and a dual G4 tower) with the same error. Both running MacOS 10.4.1.
cc -c -I/opt/local/include -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing - pipe -I/usr/local/include -I/opt/local/include -O3 -DVERSION=\"0.47\" -DXS_VERSION=\"0.47\" "-I/ opt/local/lib/perl5/5.8.6/darwin-2level/CORE" DNS.c DNS.xs: In function 'XS_NetDNSPacket_dn_expand_XS': DNS.xs:58: error: 'MAXDNAME' undeclared (first use in this function) DNS.xs:58: error: (Each undeclared identifier is reported only once DNS.xs:58: error: for each function it appears in.) DNS.xs:68: warning: pointer targets in passing argument 1 of 'res_9_dn_expand' differ in signedness DNS.xs:68: warning: pointer targets in passing argument 2 of 'res_9_dn_expand' differ in signedness DNS.xs:68: warning: pointer targets in passing argument 3 of 'res_9_dn_expand' differ in signedness make: * [DNS.o] Error 1 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_perl_p5-net-dns/ work/Net-DNS-0.47" && make all" returned error 2 Command output: cc -c -I/opt/local/include -fno-common -DPERL_DARWIN -no-cpp-precomp -fno- strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -O3 -DVERSION=\"0.47\" - DXS_VERSION=\"0.47\" "-I/opt/local/lib/perl5/5.8.6/darwin-2level/CORE" DNS.c DNS.xs: In function 'XS_NetDNSPacket_dn_expand_XS': DNS.xs:58: error: 'MAXDNAME' undeclared (first use in this function) DNS.xs:58: error: (Each undeclared identifier is reported only once DNS.xs:58: error: for each function it appears in.) DNS.xs:68: warning: pointer targets in passing argument 1 of 'res_9_dn_expand' differ in signedness DNS.xs:68: warning: pointer targets in passing argument 2 of 'res_9_dn_expand' differ in signedness DNS.xs:68: warning: pointer targets in passing argument 3 of 'res_9_dn_expand' differ in signedness make: * [DNS.o] Error 1
Warning: the following items did not execute (for p5-net-dns): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install
electro:~ rekoil$ cc --version powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer, Inc. build 4061) Copyright (C) 2004 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.