port install postfix @2.9.2_0 +mysql55 fails to build

Bjarne D Mathiesen macintosh at mathiesen.info
Sun May 6 17:03:17 PDT 2012


Ryan Schmidt wrote:
> On May 6, 2012, at 04:19, Bjarne D Mathiesen wrote:
> 
>> I'm getting this when building postfix @2.9.2_0 +mysql55
>>
>> port install postfix @2.9.2_0 +mysql51 *works* so it has to be something
>> to do with mysql51 <-> mysql55
> 
> [snip]
> 
>> Is it a problem in our department -or- an upstrem problem
>> -and- if an upstream problem is it then mysql -or- postfix ???
> 
> I don't see an actual error message in the portion of the log you provided. You're building in parallel ("-j8"), so the real error message may be buried hundreds or thousands of lines from the end of the log. Please file a normal bug report, attaching the entire main.log file, created from a clean build attempt.

OK - I set
	use_parallel_build  no
in the portfile, and now I'm getting this :

+++++++++ port log postfix ++++++++
+++++++++ only this seems to be relevant ++++

DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: build phase started at Mon May  7 01:18:19 CEST 2012
--->  Building postfix
DEBUG: Executing org.macports.build (postfix)
DEBUG: port disallows a parallel build
DEBUG: Environment: CPATH='/macports/include'
CC_PRINT_OPTIONS_FILE='/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/macports/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.7' GI_SCANNER_DISABLE_CACHE='1'
DEBUG: Assembled command: 'cd
"/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2"
&& /usr/bin/make -w'
DEBUG: Executing command line:  cd
"/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2"
&& /usr/bin/make -w
make: Entering directory
`/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2'
rm -f libexec/post-install && ln -f conf/post-install libexec/post-install
rm -f libexec/postfix-files && ln -f conf/postfix-files
libexec/postfix-files
rm -f libexec/postfix-script && ln -f conf/postfix-script
libexec/postfix-script
rm -f libexec/postfix-wrapper && ln -f conf/postfix-wrapper
libexec/postfix-wrapper
rm -f libexec/main.cf && ln -f conf/main.cf libexec/main.cf
rm -f libexec/master.cf && ln -f conf/master.cf libexec/master.cf
rm -f libexec/postmulti-script && ln -f conf/postmulti-script
libexec/postmulti-script
set -e; for i in src/util src/global src/dns src/tls src/xsasl
src/milter src/master src/postfix src/fsstone src/smtpstone src/sendmail
src/error src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite
src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias
src/postcat src/postconf src/postdrop src/postkick src/postlock
src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn
src/flush src/verify src/virtual src/proxymap src/anvil src/scache
src/discard src/tlsmgr src/postmulti src/postscreen src/dnsblog
src/tlsproxy; do \
	 (set -e; echo "[$i]"; cd $i; /usr/bin/make 'CC=/usr/bin/clang
-DNO_PCRE -arch x86_64 -DHAS_MYSQL -I/macports/include/mysql55/mysql
-DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H
-DNO_KQUEUE' update MAKELEVEL=) || exit 1; \
	done
[src/util]
make: Entering directory
`/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2/src/util'
/usr/bin/clang -DNO_PCRE -arch x86_64 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I. -DMACOSX
-c alldig.c
alldig.c:2:1: warning: '/*' within block comment [-Wcomment]
/* NAME
^
alldig.c:3:1: warning: '/*' within block comment [-Wcomment]
/*      alldig 3
^

... lots of warnings about like the above ...

190 warnings generated.
/usr/bin/clang -DNO_PCRE -arch x86_64 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c dict_mysql.c
dict_mysql.c:2:1: warning: '/*' within block comment [-Wcomment]
/* NAME
^
dict_mysql.c:3:1: warning: '/*' within block comment [-Wcomment]
/*      dict_mysql 3
^

... lots of warnings about like the above ...

../../include/sys_defs.h:1712:1: warning: '/*' within block comment
[-Wcomment]
/*      Yorktown Heights, NY 10598, USA
^
../../include/sys_defs.h:1713:1: warning: '/*' within block comment
[-Wcomment]
/*--*/
^
dict_mysql.c:169:10: fatal error: 'mysql.h' file not found
#include <mysql.h>
         ^
171 warnings and 1 error generated.
make: *** [dict_mysql.o] Error 1
make: Leaving directory
`/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2/src/global'
make: *** [update] Error 1
make: Leaving directory
`/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2'
shell command " cd
"/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2"
&& /usr/bin/make -w " returned error 2
Error: Target org.macports.build returned: shell command failed (see log
for details)
DEBUG: Backtrace: shell command failed (see log for details)
Warning: the following items did not execute (for postfix):
org.macports.build
Log for postfix is at:
/macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/main.log

+++++++ end port log postfix ++++++++++

This is from a 1.7.3 system with
bash-4.2$ xcodebuild -version
Xcode 4.3.2
Build version 4E2002

I'm also getting this error on my 10.6.8 system with :
4604ds1-ynoe:~ bjarne$ xcodebuild -version -verbose
Xcode 4.0
Build version 4A1006

+++++++ start port log postfix +++++++++++++
+++++++ only this seems to be relevant +++++

DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: build phase started at Mon May  7 00:37:01 CEST 2012
--->  Building postfix
DEBUG: Executing org.macports.build (postfix)
DEBUG: Environment: CPATH='/macports/include'
CC_PRINT_OPTIONS_FILE='/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/.CC_PRINT_OPTIONS'
LIBRARY_PATH='/macports/lib' CC_PRINT_OPTIONS='YES'
MACOSX_DEPLOYMENT_TARGET='10.6' GI_SCANNER_DISABLE_CACHE='1'
DEBUG: Assembled command: 'cd
"/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2"
&& /usr/bin/make -j2 -w'
DEBUG: Executing command line:  cd
"/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2"
&& /usr/bin/make -j2 -w
make: Entering directory
`/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2'
rm -f libexec/post-install && ln -f conf/post-install libexec/post-install
rm -f libexec/postfix-files && ln -f conf/postfix-files
libexec/postfix-files
rm -f libexec/postfix-script && ln -f conf/postfix-script
libexec/postfix-script
rm -f libexec/postfix-wrapper && ln -f conf/postfix-wrapper
libexec/postfix-wrapper
rm -f libexec/main.cf && ln -f conf/main.cf libexec/main.cf
rm -f libexec/master.cf && ln -f conf/master.cf libexec/master.cf
rm -f libexec/postmulti-script && ln -f conf/postmulti-script
libexec/postmulti-script
set -e; for i in src/util src/global src/dns src/tls src/xsasl
src/milter src/master src/postfix src/fsstone src/smtpstone src/sendmail
src/error src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite
src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias
src/postcat src/postconf src/postdrop src/postkick src/postlock
src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn
src/flush src/verify src/virtual src/proxymap src/anvil src/scache
src/discard src/tlsmgr src/postmulti src/postscreen src/dnsblog
src/tlsproxy; do \
	 (set -e; echo "[$i]"; cd $i; /usr/bin/make 'CC=/usr/bin/llvm-gcc-4.2
-DNO_PCRE -arch i386 -DHAS_MYSQL -I/macports/include/mysql55/mysql
-DBIND_8_COMPAT -DNO_NETINFO -DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H
-DNO_KQUEUE' update MAKELEVEL=) || exit 1; \
	done
[src/util]
make: Entering directory
`/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2/src/util'
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I. -DMACOSX
-c alldig.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I. -DMACOSX
-c allprint.c

... lots of lines like these ...

/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I. -DMACOSX
-c dict_surrogate.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I. -DMACOSX
-c warn_stat.c
ar rv libutil.a alldig.o allprint.o argv.o argv_split.o attr_clnt.o
attr_print0.o attr_print64.o attr_print_plain.o attr_scan0.o
attr_scan64.o attr_scan_plain.o auto_clnt.o base64_code.o basename.o
binhash.o chroot_uid.o cidr_match.o clean_env.o close_on_exec.o
concatenate.o ctable.o dict.o dict_alloc.o dict_cdb.o dict_cidr.o
dict_db.o dict_dbm.o dict_debug.o dict_env.o dict_ht.o dict_ni.o
dict_nis.o dict_nisplus.o dict_open.o dict_pcre.o dict_regexp.o
dict_sdbm.o dict_static.o dict_tcp.o dict_unix.o dir_forest.o doze.o
dummy_read.o dummy_write.o duplex_pipe.o environ.o events.o
exec_command.o fifo_listen.o fifo_trigger.o file_limit.o find_inet.o
fsspace.o fullname.o get_domainname.o get_hostname.o hex_code.o
hex_quote.o host_port.o htable.o inet_addr_host.o inet_addr_list.o
inet_addr_local.o inet_connect.o inet_listen.o inet_proto.o
inet_trigger.o line_wrap.o lowercase.o lstat_as.o mac_expand.o
mac_parse.o make_dirs.o mask_addr.o match_list.o match_ops.o msg.o
msg_output.o msg_syslog.o msg_vstream.o mvect.o myaddrinfo.o myflock.o
mymalloc.o myrand.o mystrtok.o name_code.o name_mask.o netstring.o
neuter.o non_blocking.o nvtable.o open_as.o open_limit.o open_lock.o
peekfd.o percentm.o posix_signals.o printable.o rand_sleep.o read_wait.o
readable.o readlline.o ring.o safe_getenv.o safe_open.o sane_accept.o
sane_connect.o sane_link.o sane_rename.o sane_socketpair.o sane_time.o
scan_dir.o set_eugid.o set_ugid.o sigdelay.o skipblanks.o sock_addr.o
spawn_command.o split_at.o split_nameval.o stat_as.o stream_connect.o
stream_listen.o stream_recv_fd.o stream_send_fd.o stream_trigger.o
sys_compat.o timed_connect.o timed_read.o timed_wait.o timed_write.o
translit.o trimblanks.o unescape.o unix_connect.o unix_listen.o
unix_recv_fd.o unix_send_fd.o unix_trigger.o unsafe.o uppercase.o
username.o valid_hostname.o vbuf.o vbuf_print.o vstream.o
vstream_popen.o vstring.o vstring_vstream.o watchdog.o writable.o
write_buf.o write_wait.o sane_basename.o format_tv.o allspace.o
allascii.o load_file.o killme_after.o vstream_tweak.o unix_pass_listen.o
unix_pass_trigger.o edit_file.o inet_windowsize.o unix_pass_fd_fix.o
dict_cache.o valid_utf_8.o dict_thash.o ip_match.o nbbio.o
stream_pass_connect.o base32_code.o dict_test.o dict_fail.o
msg_rate_delay.o dict_surrogate.o warn_stat.o
ar: creating archive libutil.a
/usr/bin/ranlib: file: libutil.a(dict_cdb.o) has no symbols
/usr/bin/ranlib: file: libutil.a(dict_dbm.o) has no symbols
/usr/bin/ranlib: file: libutil.a(dict_ni.o) has no symbols
/usr/bin/ranlib: file: libutil.a(dict_nis.o) has no symbols
/usr/bin/ranlib: file: libutil.a(dict_nisplus.o) has no symbols
/usr/bin/ranlib: file: libutil.a(dict_pcre.o) has no symbols
/usr/bin/ranlib: file: libutil.a(dict_sdbm.o) has no symbols
/usr/bin/ranlib: file: libutil.a(environ.o) has no symbols
/usr/bin/ranlib: file: libutil.a(posix_signals.o) has no symbols
a - alldig.o
a - allprint.o

... lots of lines like these ...

a - dict_surrogate.o
a - warn_stat.o
ranlib libutil.a
ranlib: file: libutil.a(dict_cdb.o) has no symbols
ranlib: file: libutil.a(dict_dbm.o) has no symbols
ranlib: file: libutil.a(dict_ni.o) has no symbols
ranlib: file: libutil.a(dict_nis.o) has no symbols
ranlib: file: libutil.a(dict_nisplus.o) has no symbols
ranlib: file: libutil.a(dict_pcre.o) has no symbols
ranlib: file: libutil.a(dict_sdbm.o) has no symbols
ranlib: file: libutil.a(environ.o) has no symbols
ranlib: file: libutil.a(posix_signals.o) has no symbols
cp libutil.a ../../lib
ranlib ../../lib/libutil.a
ranlib: file: ../../lib/libutil.a(dict_cdb.o) has no symbols
ranlib: file: ../../lib/libutil.a(dict_dbm.o) has no symbols
ranlib: file: ../../lib/libutil.a(dict_ni.o) has no symbols
ranlib: file: ../../lib/libutil.a(dict_nis.o) has no symbols
ranlib: file: ../../lib/libutil.a(dict_nisplus.o) has no symbols
ranlib: file: ../../lib/libutil.a(dict_pcre.o) has no symbols
ranlib: file: ../../lib/libutil.a(dict_sdbm.o) has no symbols
ranlib: file: ../../lib/libutil.a(environ.o) has no symbols
ranlib: file: ../../lib/libutil.a(posix_signals.o) has no symbols
for i in argv.h attr.h attr_clnt.h auto_clnt.h base64_code.h binhash.h
chroot_uid.h cidr_match.h clean_env.h connect.h ctable.h dict.h
dict_cdb.h dict_cidr.h dict_db.h dict_dbm.h dict_env.h dict_ht.h
dict_ni.h dict_nis.h dict_nisplus.h dict_pcre.h dict_regexp.h
dict_sdbm.h dict_static.h dict_tcp.h dict_unix.h dir_forest.h events.h
exec_command.h find_inet.h fsspace.h fullname.h get_domainname.h
get_hostname.h hex_code.h hex_quote.h host_port.h htable.h
inet_addr_host.h inet_addr_list.h inet_addr_local.h inet_proto.h
iostuff.h line_wrap.h listen.h lstat_as.h mac_expand.h mac_parse.h
make_dirs.h mask_addr.h match_list.h msg.h msg_output.h msg_syslog.h
msg_vstream.h mvect.h myaddrinfo.h myflock.h mymalloc.h myrand.h
name_code.h name_mask.h netstring.h nvtable.h open_as.h open_lock.h
percentm.h posix_signals.h readlline.h ring.h safe.h safe_open.h
sane_accept.h sane_connect.h sane_fsops.h sane_socketpair.h sane_time.h
scan_dir.h set_eugid.h set_ugid.h sigdelay.h sock_addr.h spawn_command.h
split_at.h stat_as.h stringops.h sys_defs.h timed_connect.h timed_wait.h
trigger.h username.h valid_hostname.h vbuf.h vbuf_print.h vstream.h
vstring.h vstring_vstream.h watchdog.h format_tv.h load_file.h
killme_after.h edit_file.h dict_cache.h dict_thash.h ip_match.h nbbio.h
base32_code.h dict_fail.h warn_stat.h; \
	do \
	  cmp -s $i ../../include/$i 2>/dev/null || cp $i ../../include; \
	done
cd ../../include; chmod 644 argv.h attr.h attr_clnt.h auto_clnt.h
base64_code.h binhash.h chroot_uid.h cidr_match.h clean_env.h connect.h
ctable.h dict.h dict_cdb.h dict_cidr.h dict_db.h dict_dbm.h dict_env.h
dict_ht.h dict_ni.h dict_nis.h dict_nisplus.h dict_pcre.h dict_regexp.h
dict_sdbm.h dict_static.h dict_tcp.h dict_unix.h dir_forest.h events.h
exec_command.h find_inet.h fsspace.h fullname.h get_domainname.h
get_hostname.h hex_code.h hex_quote.h host_port.h htable.h
inet_addr_host.h inet_addr_list.h inet_addr_local.h inet_proto.h
iostuff.h line_wrap.h listen.h lstat_as.h mac_expand.h mac_parse.h
make_dirs.h mask_addr.h match_list.h msg.h msg_output.h msg_syslog.h
msg_vstream.h mvect.h myaddrinfo.h myflock.h mymalloc.h myrand.h
name_code.h name_mask.h netstring.h nvtable.h open_as.h open_lock.h
percentm.h posix_signals.h readlline.h ring.h safe.h safe_open.h
sane_accept.h sane_connect.h sane_fsops.h sane_socketpair.h sane_time.h
scan_dir.h set_eugid.h set_ugid.h sigdelay.h sock_addr.h spawn_command.h
split_at.h stat_as.h stringops.h sys_defs.h timed_connect.h timed_wait.h
trigger.h username.h valid_hostname.h vbuf.h vbuf_print.h vstream.h
vstring.h vstring_vstream.h watchdog.h format_tv.h load_file.h
killme_after.h edit_file.h dict_cache.h dict_thash.h ip_match.h nbbio.h
base32_code.h dict_fail.h warn_stat.h
make: Leaving directory
`/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2/src/util'
[src/global]
make: Entering directory
`/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2/src/global'
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c abounce.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c anvil_clnt.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c been_here.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c bounce.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c bounce_log.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c canon_addr.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c cfg_parser.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c cleanup_strerror.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c cleanup_strflags.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c clnt_stream.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c conv_time.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c db_common.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c debug_peer.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c debug_process.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c defer.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c deliver_completed.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c deliver_flock.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c deliver_pass.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c deliver_request.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c dict_ldap.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c dict_mysql.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c dict_pgsql.c
/usr/bin/llvm-gcc-4.2 -DNO_PCRE -arch i386 -DHAS_MYSQL
-I/macports/include/mysql55/mysql -DBIND_8_COMPAT -DNO_NETINFO
-DRESOLVE_H_NEEDS_ARPA_NAMESER_COMPAT_H -DNO_KQUEUE -g -O2 -I.
-I../../include -DMACOSX -c dict_proxy.c
dict_mysql.c:169:19: error: mysql.h: No such file or directory
dict_mysql.c:199: error: expected specifier-qualifier-list before ‘MYSQL’
dict_mysql.c:245: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
dict_mysql.c: In function ‘dict_mysql_lookup’:
dict_mysql.c:290: error: ‘MYSQL_RES’ undeclared (first use in this function)
dict_mysql.c:290: error: (Each undeclared identifier is reported only once
dict_mysql.c:290: error: for each function it appears in.)
dict_mysql.c:290: error: ‘query_res’ undeclared (first use in this function)
dict_mysql.c:291: error: ‘MYSQL_ROW’ undeclared (first use in this function)
dict_mysql.c:291: error: expected ‘;’ before ‘row’
dict_mysql.c:369: error: ‘row’ undeclared (first use in this function)
dict_mysql.c: In function ‘dict_mysql_check_stat’:
dict_mysql.c:392: error: ‘HOST’ has no member named ‘stat’
dict_mysql.c:392: error: ‘HOST’ has no member named ‘type’
dict_mysql.c:394: error: ‘HOST’ has no member named ‘stat’
dict_mysql.c:394: error: ‘HOST’ has no member named ‘ts’
dict_mysql.c:394: error: ‘HOST’ has no member named ‘ts’
dict_mysql.c: In function ‘dict_mysql_get_active’:
dict_mysql.c:443: error: ‘HOST’ has no member named ‘hostname’
dict_mysql.c:459: error: ‘HOST’ has no member named ‘hostname’
dict_mysql.c:461: error: ‘HOST’ has no member named ‘stat’
dict_mysql.c: In function ‘dict_mysql_event’:
dict_mysql.c:475: error: ‘HOST’ has no member named ‘db’
dict_mysql.c: At top level:
dict_mysql.c:486: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
dict_mysql.c: In function ‘plmysql_connect_single’:
dict_mysql.c:539: error: ‘HOST’ has no member named ‘db’
dict_mysql.c:541: error: ‘HOST’ has no member named ‘db’
dict_mysql.c:542: error: ‘HOST’ has no member named ‘type’
dict_mysql.c:542: error: ‘HOST’ has no member named ‘name’
dict_mysql.c:546: error: ‘HOST’ has no member named ‘port’
dict_mysql.c:547: error: ‘HOST’ has no member named ‘type’
dict_mysql.c:547: error: ‘HOST’ has no member named ‘name’
dict_mysql.c:551: error: ‘HOST’ has no member named ‘hostname’
dict_mysql.c:552: error: ‘HOST’ has no member named ‘stat’
dict_mysql.c:555: error: ‘HOST’ has no member named ‘hostname’
dict_mysql.c:555: error: ‘HOST’ has no member named ‘db’
dict_mysql.c: In function ‘plmysql_close_host’:
dict_mysql.c:563: error: ‘HOST’ has no member named ‘db’
dict_mysql.c:564: error: ‘HOST’ has no member named ‘db’
dict_mysql.c:565: error: ‘HOST’ has no member named ‘stat’
dict_mysql.c: In function ‘plmysql_down_host’:
dict_mysql.c:574: error: ‘HOST’ has no member named ‘db’
dict_mysql.c:575: error: ‘HOST’ has no member named ‘db’
dict_mysql.c:576: error: ‘HOST’ has no member named ‘ts’
dict_mysql.c:577: error: ‘HOST’ has no member named ‘stat’
dict_mysql.c: In function ‘host_init’:
dict_mysql.c:715: error: ‘HOST’ has no member named ‘db’
dict_mysql.c:716: error: ‘HOST’ has no member named ‘hostname’
dict_mysql.c:717: error: ‘HOST’ has no member named ‘port’
dict_mysql.c:718: error: ‘HOST’ has no member named ‘stat’
dict_mysql.c:719: error: ‘HOST’ has no member named ‘ts’
dict_mysql.c:727: error: ‘HOST’ has no member named ‘type’
dict_mysql.c:731: error: ‘HOST’ has no member named ‘type’
dict_mysql.c:733: error: ‘HOST’ has no member named ‘name’
dict_mysql.c:734: error: ‘HOST’ has no member named ‘name’
dict_mysql.c:735: error: ‘HOST’ has no member named ‘port’
dict_mysql.c:736: error: ‘HOST’ has no member named ‘name’
dict_mysql.c:738: error: ‘HOST’ has no member named ‘name’
dict_mysql.c:739: error: ‘HOST’ has no member named ‘name’
dict_mysql.c:740: error: ‘HOST’ has no member named ‘type’
dict_mysql.c:744: error: ‘HOST’ has no member named ‘name’
dict_mysql.c:744: error: ‘HOST’ has no member named ‘name’
dict_mysql.c:745: error: ‘HOST’ has no member named ‘port’
dict_mysql.c:745: error: ‘HOST’ has no member named ‘type’
dict_mysql.c: In function ‘plmysql_dealloc’:
dict_mysql.c:778: error: ‘HOST’ has no member named ‘db’
dict_mysql.c:779: error: ‘HOST’ has no member named ‘db’
dict_mysql.c:780: error: ‘HOST’ has no member named ‘hostname’
dict_mysql.c:781: error: ‘HOST’ has no member named ‘name’
dict_mysql.c:782: error: ‘HOST’ has no member named ‘name’
make: *** [dict_mysql.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory
`/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2/src/global'
make: *** [update] Error 1
make: Leaving directory
`/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2'
shell command " cd
"/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/work/postfix-2.9.2"
&& /usr/bin/make -j2 -w " returned error 2
Error: Target org.macports.build returned: shell command failed (see log
for details)
DEBUG: Backtrace: shell command failed (see log for details)
Warning: the following items did not execute (for postfix):
org.macports.build
Log for postfix is at:
/macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_postfix/postfix/main.log

+++++++++++ end port log postfix +++++++++++

so ... for some reason when using mysql55 postfix cant find <mysql.h>

notes :
I've also got mysql51 installed
when compiling postfix on 10.7.3 I had done
	port -f uninstall postfix
	port clean --work postfix
beforehand to get a cleaner environment

-- 
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3


More information about the macports-dev mailing list