Opened 13 years ago
Closed 13 years ago
#30284 closed defect (fixed)
bind9: 'IPV6_PKTINFO' undeclared (first use in this function)
Reported by: | admin@… | Owned by: | danielluke (Daniel J. Luke) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.99 |
Keywords: | lion haspatch | Cc: | onzin@…, stefan.van.der.eijk@…, phoenix@… |
Port: | bind9 |
Description
Hi
I got lion installed + xcode 4.1. Macports is installed via svn. IM trying to get bind9 up & running. It does install all dependencies fine, but fail installing bind.
version:1 :debug:main epoch: in tree: 1 installed: 1 :debug:main openssl 1.0.0d_0 exists in the ports tree :debug:main openssl 1.0.0d_0 is the latest installed :debug:main openssl 1.0.0d_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main universal variant already exists, so not adding the default one :debug:main No need to upgrade! openssl 1.0.0d_0 >= openssl 1.0.0d_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main zlib 1.2.5_0 exists in the ports tree :debug:main zlib 1.2.5_0 is the latest installed :debug:main zlib 1.2.5_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main libxml2 2.7.8_0 exists in the ports tree :debug:main libxml2 2.7.8_0 is the latest installed :debug:main libxml2 2.7.8_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libxml2 :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/archcheck-1.0.tcl :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main No need to upgrade! libxml2 2.7.8_0 >= libxml2 2.7.8_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main libiconv 1.13.1_0 exists in the ports tree :debug:main libiconv 1.13.1_0 is the latest installed :debug:main libiconv 1.13.1_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv :debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386 :debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided :debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided :debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided :debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main universal variant already exists, so not adding the default one :debug:main No need to upgrade! libiconv 1.13.1_0 >= libiconv 1.13.1_0 :msg:main ---> Computing dependencies for bind9:info:main .:debug:main Searching for dependency: openssl :debug:main Found Dependency: receipt exists for openssl :debug:main Searching for dependency: libxml2 :debug:main Found Dependency: receipt exists for libxml2 :msg:main :debug:main Executing org.macports.main (bind9) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 502 :debug:main Skipping completed org.macports.archivefetch (bind9) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (bind9) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (bind9) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (bind9) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (bind9) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (bind9) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Thu Jul 21 13:58:04 EDT 2011 :notice:build ---> Building bind9 :debug:build Executing org.macports.build (bind9) :debug:build port disallows a parallel build :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4" && /usr/bin/make -w all' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4" && /usr/bin/make -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4' :info:build making all in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/make :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/make' :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/make' :info:build making all in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib' :info:build making all in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc' :info:build making all in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/include :info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/include' :info:build making all in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/include/isc :info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/include/isc' :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/include/isc' :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/include' :info:build making all in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/unix :info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/unix' :info:build making all in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/unix/include :info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/unix/include' :info:build making all in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/unix/include/isc :info:build make[5]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/unix/include/isc' :info:build make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/unix/include/isc' :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/unix/include' :info:build /Developer/usr/bin/llvm-gcc-4.2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4 -I./include -I./../pthreads/include -I../include -I./../include -I./.. -D_REENTRANT -DDIG_SIGCHASE=1 -pipe -O2 -arch x86_64 -I/opt/local/include/libxml2 -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c net.c :info:build net.c: In function 'try_ipv6pktinfo': :info:build net.c:353: error: 'IPV6_PKTINFO' undeclared (first use in this function) :info:build net.c:353: error: (Each undeclared identifier is reported only once :info:build net.c:353: error: for each function it appears in.) :info:build make[3]: *** [net.o] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc/unix' :info:build make[2]: *** [subdirs] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib/isc' :info:build make[1]: *** [subdirs] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4/lib' :info:build make: *** [subdirs] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/work/bind-9.8.0-P4" && /usr/bin/make -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for bind9): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for bind9 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_bind9/bind9/main.log
Attachments (2)
Change History (16)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | lion added |
---|---|
Owner: | changed from macports-tickets@… to dluke@… |
Port: | bind9 added; bind-9.8.0-P4 removed |
Summary: | bind-9.8.0-P4 fail in make → bind9: 'IPV6_PKTINFO' undeclared (first use in this function) |
comment:2 Changed 13 years ago by danielluke (Daniel J. Luke)
comment:3 Changed 13 years ago by danielluke (Daniel J. Luke)
Owner: | changed from dluke@… to dluke@… |
---|---|
Status: | new → assigned |
comment:5 Changed 13 years ago by danielluke (Daniel J. Luke)
As an update: Xcode hasn't really wanted to install on my laptop, but enough of it installed that I was able to replicate the problem.
comment:6 Changed 13 years ago by admin@…
If you want me to test some patch for you , let me know
ps : Did you uninstall prior version of xcode before installing 4.1 ?
comment:7 Changed 13 years ago by danielluke (Daniel J. Luke)
This error is strange because it looks like the right #includes should be happening to pull in the needed definitions. I don't have a patch worked up yet since I'm not yet sure where things are going awry.
comment:8 Changed 13 years ago by admin@…
Im guessing something is wrecked or has radically changed in xcode 4.1. Doubt its in bind
Changed 13 years ago by cirrusj@…
Attachment: | patch-lib-isc-unix-include-isc-net.h added |
---|
net.h patch
comment:11 Changed 13 years ago by cirrusj@…
The above portfile and patch file (placed in files), allow bind9 to build correctly.
comment:12 Changed 13 years ago by danielluke (Daniel J. Luke)
Keywords: | haspatch added |
---|
comment:14 Changed 13 years ago by danielluke (Daniel J. Luke)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
committed patch in r81598, thanks!
FYI, I'm installing lion today on a machine, so I'll be able to look into this soon.