id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	port
11752	BUG: pavuk not building	dhaines@…	boeyms@macports.org	"Yes, I know that I have mports installed in /usr/local.  That is not the cause of this problem.  A ""sudo port install pavuk"" doesn't work, instead it gives off the following:

{{{
--->  Fetching pavuk
--->  Attempting to fetch pavuk-0.9.35.tar.bz2 from http:/downloads.sourceforge.net/pavuk
--->  Verifying checksum(s) for pavuk
--->  Extracting pavuk
--->  Configuring pavuk
--->  Building pavuk with target all
Error: Target com.apple.build returned: shell command ""cd ""/usr/local/var/db/dports/build/_usr_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_net_pavuk/work/pavuk-0.9.35"" && make all"" returned error 2
Command output: then mv -f "".deps/tag_pattern.Tpo"" "".deps/tag_pattern.Po""; else rm -f "".deps/tag_pattern.Tpo""; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT times.o -MD -MP -MF "".deps/times.Tpo"" -c -o times.o times.c; \
then mv -f "".deps/times.Tpo"" "".deps/times.Po""; else rm -f "".deps/times.Tpo""; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT tools.o -MD -MP -MF "".deps/tools.Tpo"" -c -o tools.o tools.c; \
then mv -f "".deps/tools.Tpo"" "".deps/tools.Po""; else rm -f "".deps/tools.Tpo""; exit 1; fi
tools.c: In function 'xdebug':
tools.c:253: warning: unused variable 'unique'
tools.c:252: warning: unused variable 'unique_lock'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT tr.o -MD -MP -MF "".deps/tr.Tpo"" -c -o tr.o tr.c; \
then mv -f "".deps/tr.Tpo"" "".deps/tr.Po""; else rm -f "".deps/tr.Tpo""; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT uconfig.o -MD -MP -MF "".deps/uconfig.Tpo"" -c -o uconfig.o uconfig.c; \
then mv -f "".deps/uconfig.Tpo"" "".deps/uconfig.Po""; else rm -f "".deps/uconfig.Tpo""; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT uexit.o -MD -MP -MF "".deps/uexit.Tpo"" -c -o uexit.o uexit.c; \
then mv -f "".deps/uexit.Tpo"" "".deps/uexit.Po""; else rm -f "".deps/uexit.Tpo""; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT update_links.o -MD -MP -MF "".deps/update_links.Tpo"" -c -o update_links.o update_links.c; \
then mv -f "".deps/update_links.Tpo"" "".deps/update_links.Po""; else rm -f "".deps/update_links.Tpo""; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT url.o -MD -MP -MF "".deps/url.Tpo"" -c -o url.o url.c; \
then mv -f "".deps/url.Tpo"" "".deps/url.Po""; else rm -f "".deps/url.Tpo""; exit 1; fi
url.c: In function 'url_to_in_filename':
url.c:1850: warning: format '%ld' expects type 'long int', but argument 6 has type 'pthread_t'
gcc     -o pavuk  absio.o abstract.o ainterface.o authinfo.o base64.o bufio.o cleanup.o cmdparse.o condition.o config.o cookie.o css.o debugl.o decode.o digest_auth.o dinfo.o dlhash.o dlhash_tools.o dllist.o dns.o doc.o errcode.o file.o fnmatch.o form.o form_encode.o ftp.o gaccel.o gauthinfo.o gcinfo.o gkeys.o gopher.o gprop.o gtkmulticol.o gui_about.o gui_api.o gui_addurl.o gui_common.o gui_jscons.o gui_limits.o gui_main.o gui_scenario.o gui_sched.o gui_tools.o gui_tree.o html.o htmlparser.o htmltags.o http.o http_proxy.o iecache.o icons.o jsbind.o jstrans.o lfname.o log.o md5c.o md4c.o mime.o mimetype.o mode.o mopt.o mozcache.o mt.o myssl_nss.o myssl_openssl.o net.o nls.o nscache.o ntlm_auth.o pavuk.o re.o recurse.o remind.o robots.o schedule.o stats.o tag_pattern.o times.o tools.o tr.o uconfig.o uexit.o update_links.o url.o -lssl -lcrypto -lpthread -lz   
/usr/bin/ld: Undefined symbols:
_SSL_CTX_sess_set_get_cb
_SSL_CTX_sess_set_new_cb
_SSL_CTX_sess_set_remove_cb
_SSL_CTX_set_info_callback
collect2: ld returned 1 exit status
make[2]: *** [pavuk] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.
sputnik: ~ % ls
Desktop         Library         No Backup       Sites
Documents       Movies          Pictures        bin
Downloads       Music           Public          tmp
sputnik: ~ % mpupdate 
DEBUG: Rebuilding the MacPorts base system if needed.
Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports
receiving file list ... done
archivers/zlib/
audio/flac/
audio/id3lib/
audio/libvorbis/
audio/streamripper/
devel/openssl/
devel/pcre/
multimedia/libogg/
net/libpcap/
net/nmap/
net/pavuk/
textproc/libiconv/
deleting net/pavuk/work

sent 77 bytes  received 236729 bytes  36431.69 bytes/sec
total size is 14296189  speedup is 60.37
DEBUG: MacPorts base dir: /usr/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base
DEBUG: Setting user: root
DarwinPorts base version 1.400 installed
DEBUG: Updating using rsync
receiving file list ... done

sent 77 bytes  received 4404 bytes  1792.40 bytes/sec
total size is 2537900  speedup is 566.37
Downloaded MacPorts base version 1.400
The MacPorts installation is not outdated and so was not updated
DEBUG: Setting ownership to root
selfupdate done!
sputnik: ~ % sudo port clean pavuk
--->  Cleaning pavuk
sputnik: ~ % mpupdate             
DEBUG: Rebuilding the MacPorts base system if needed.
Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports
receiving file list ... done
net/pavuk/

sent 77 bytes  received 236729 bytes  36431.69 bytes/sec
total size is 14296189  speedup is 60.37
DEBUG: MacPorts base dir: /usr/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base
DEBUG: Setting user: root
DarwinPorts base version 1.400 installed
DEBUG: Updating using rsync
receiving file list ... done

sent 77 bytes  received 4404 bytes  1792.40 bytes/sec
total size is 2537900  speedup is 566.37
Downloaded MacPorts base version 1.400
The MacPorts installation is not outdated and so was not updated
DEBUG: Setting ownership to root
selfupdate done!
sputnik: ~ % sudo port install pavuk
Password:
--->  Fetching pavuk
--->  Verifying checksum(s) for pavuk
--->  Extracting pavuk
--->  Configuring pavuk
--->  Building pavuk with target all
Error: Target com.apple.build returned: shell command ""cd ""/usr/local/var/db/dports/build/_usr_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_net_pavuk/work/pavuk-0.9.35"" && make all"" returned error 2
Command output: then mv -f "".deps/tag_pattern.Tpo"" "".deps/tag_pattern.Po""; else rm -f "".deps/tag_pattern.Tpo""; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT times.o -MD -MP -MF "".deps/times.Tpo"" -c -o times.o times.c; \
then mv -f "".deps/times.Tpo"" "".deps/times.Po""; else rm -f "".deps/times.Tpo""; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT tools.o -MD -MP -MF "".deps/tools.Tpo"" -c -o tools.o tools.c; \
then mv -f "".deps/tools.Tpo"" "".deps/tools.Po""; else rm -f "".deps/tools.Tpo""; exit 1; fi
tools.c: In function 'xdebug':
tools.c:253: warning: unused variable 'unique'
tools.c:252: warning: unused variable 'unique_lock'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT tr.o -MD -MP -MF "".deps/tr.Tpo"" -c -o tr.o tr.c; \
then mv -f "".deps/tr.Tpo"" "".deps/tr.Po""; else rm -f "".deps/tr.Tpo""; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT uconfig.o -MD -MP -MF "".deps/uconfig.Tpo"" -c -o uconfig.o uconfig.c; \
then mv -f "".deps/uconfig.Tpo"" "".deps/uconfig.Po""; else rm -f "".deps/uconfig.Tpo""; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT uexit.o -MD -MP -MF "".deps/uexit.Tpo"" -c -o uexit.o uexit.c; \
then mv -f "".deps/uexit.Tpo"" "".deps/uexit.Po""; else rm -f "".deps/uexit.Tpo""; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT update_links.o -MD -MP -MF "".deps/update_links.Tpo"" -c -o update_links.o update_links.c; \
then mv -f "".deps/update_links.Tpo"" "".deps/update_links.Po""; else rm -f "".deps/update_links.Tpo""; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall  -D_REENTRANT -DGETTEXT_DEFAULT_CATALOG_DIR=""\""/usr/local/share/locale\"""" -DDEFAULTRC=""\""/usr/local/etc/pavukrc\""""    -MT url.o -MD -MP -MF "".deps/url.Tpo"" -c -o url.o url.c; \
then mv -f "".deps/url.Tpo"" "".deps/url.Po""; else rm -f "".deps/url.Tpo""; exit 1; fi
url.c: In function 'url_to_in_filename':
url.c:1850: warning: format '%ld' expects type 'long int', but argument 6 has type 'pthread_t'
gcc     -o pavuk  absio.o abstract.o ainterface.o authinfo.o base64.o bufio.o cleanup.o cmdparse.o condition.o config.o cookie.o css.o debugl.o decode.o digest_auth.o dinfo.o dlhash.o dlhash_tools.o dllist.o dns.o doc.o errcode.o file.o fnmatch.o form.o form_encode.o ftp.o gaccel.o gauthinfo.o gcinfo.o gkeys.o gopher.o gprop.o gtkmulticol.o gui_about.o gui_api.o gui_addurl.o gui_common.o gui_jscons.o gui_limits.o gui_main.o gui_scenario.o gui_sched.o gui_tools.o gui_tree.o html.o htmlparser.o htmltags.o http.o http_proxy.o iecache.o icons.o jsbind.o jstrans.o lfname.o log.o md5c.o md4c.o mime.o mimetype.o mode.o mopt.o mozcache.o mt.o myssl_nss.o myssl_openssl.o net.o nls.o nscache.o ntlm_auth.o pavuk.o re.o recurse.o remind.o robots.o schedule.o stats.o tag_pattern.o times.o tools.o tr.o uconfig.o uexit.o update_links.o url.o -lssl -lcrypto -lpthread -lz   
/usr/bin/ld: Undefined symbols:
_SSL_CTX_sess_set_get_cb
_SSL_CTX_sess_set_new_cb
_SSL_CTX_sess_set_remove_cb
_SSL_CTX_set_info_callback
collect2: ld returned 1 exit status
make[2]: *** [pavuk] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.
}}}
"	defect	closed	Normal		ports	1.4	fixed	pavuk	dhaines@… boeyms@…	
