Re: r209240 ia64 -> buildworld -> undefined reference to `lzma_physmem'

From: Anton Shterenlikht <mexas_at_bristol.ac.uk>
Date: Tue, 29 Jun 2010 10:59:44 +0100
On Tue, Jun 29, 2010 at 11:25:40AM +0200, Dag-Erling Smørgrav wrote:
> Anton Shterenlikht <mexas_at_bristol.ac.uk> writes:
> > http://seis.bris.ac.uk/~mexas/ia64-lzma-problem.txt
> 
> This confirms my suspicion that ld is picking up the wrong liblzma:
> 
> > attempt to open /usr/local/lib/liblzma.a succeeded
> 
> but I still can't figure out why.  Can you do the following:
> 
> % make buildenv
> % env

# make buildenv
Entering world for ia64:ia64
# env
LIBRARY_PATH=/usr/local/lib
USER=mexas
MACHTYPE=unknown
MAIL=/var/mail/mexas
MAKEOBJDIRPREFIX=/usr/obj
VENDOR=unknown
SHLVL=4
HOME=/root
OLDPWD=/usr/obj/usr/src
LSCOLORS=ExFxCxDxBxegedabagacad
MACHINE_ARCH=ia64
PAGER=more
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
MAKEFLAGS= -m /usr/src/share/mk
GROUP=mexas
SGML_CATALOG_FILES=/usr/doc/en_US.ISO8859-1/share/sgml/catalog:/usr/doc/share/sgml/catalog:/usr/local/share/sgml/iso8879/catalog:/usr/local/share/sgml/html/catalog:/usr/local/share/sgml/docbook/4.1/catalog:/usr/local/share/sgml/jade/catalog
LOGNAME=mexas
VERSION=FreeBSD 9.0-CURRENT ia64 900014
WINDOWID=16777229
LYNX_CFG=/home/mexas/.lynx.cfg
XTERM_SHELL=/bin/tcsh
MACHINE=ia64
BLOCKSIZE=K
TERM=xterm
_SHLIBDIRPREFIX=/usr/obj/usr/src/tmp
SYSTEM=TZAV
WINDOWPATH=11
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
DISPLAY=mech-anton240:0.0
REMOTEHOST=mech-anton240.men.bris.ac.uk
LANG=en_GB.ISO8859-15
SGML_ROOT=/usr/local/share/sgml
INSTALL=sh /usr/src/tools/install.sh
SHELL=/bin/sh
HOST=mech-cluster241.men.bris.ac.uk
CPUTYPE=
__MKLVL__=2
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
OSTYPE=FreeBSD
GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
PWD=/usr/src
XTERM_LOCALE=en_GB.ISO8859-15
XTERM_VERSION=XTerm(258)
TERMCAP=xterm|X11 terminal emulator:_at_7=\EOF:_at_8=\EOM:F1=\E[23~:F2=\E[24~:K2=\EOE:Km=\E[M:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:kh=\EOH:kl=\EOD:kr=\EOC:ku=\EOA:am:bs:km:mi:ms:ut:xn:AX:Co#8:co#205:kn#12:li#50:pa#64:AB=\E[4%dm:AF=\E[3%dm:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E[!p\E[?3;4l\E[4l\E>:kD=\E[3~:ke=\E[?1l\E>:ks=\E[?1h\E=:le=^H:md=\E[1m:me=\E[m:ml=\El:mr=\E[7m:mu=\Em:nd=\E[C:op=\E[39;49m:rc=\E8:rs=\E[!p\E[?3;4l\E[4l\E>:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?12l\E[?25h:vi=\E[?25l:vs=\E[?12;25h:kb=\010:
FTP_PASSIVE_MODE=YES
HOSTTYPE=FreeBSD
EDITOR=vi
# 

> 
> and also show us your make.conf and src.conf?
> 

# cat /etc/make.conf          
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

CFLAGS= -O1
COPTFLAGS= -O1

# added by use.perl 2010-05-12 12:40:35
PERL_VERSION=5.10.1
#

I haven't got src.conf on any of my ia64 boxes:

# cat /etc/src.conf
cat: /etc/src.conf: No such file or directory
# 


> Do you have any gcc ports installed?


I don't thik so:

# pkg_info -xo gcc
pkg_info: no packages match pattern(s)
# 

Just in case, here's a complete list of my ports (sorry
to waste the space, if it's irrelevant):

# portmaster -l

===>>> Root ports (No dependencies, not depended on)
===>>> bigreqsproto-1.1.0
===>>> boost-jam-1.43.0
===>>> calc-2.12.4.0
===>>> cmake-2.8.1_1
===>>> cyrus-sasl-2.1.23
===>>> evieext-1.1.0
===>>> g95-0.92.20090624
===>>> glproto-1.4.11
===>>> gmp-5.0.1
===>>> gperf-3.0.3
===>>> iw-hspell-1.0
===>>> lemon-1.69
===>>> libtool-2.2.6b
===>>> links-0.98,1
===>>> portmaster-2.32
===>>> qt4-qmake-4.6.3
===>>> qt4-rcc-4.6.3
===>>> qt4-uic-4.6.3
===>>> re2c-0.13.5
===>>> resourceproto-1.0.2
===>>> scr2txt-1.2
===>>> tidy-20000804_2
===>>> unrar-3.93,5
===>>> unzip-6.0
===>>> urlview-0.9_6
===>>> v4l_compat-1.0.20100403_1
===>>> xcmiscproto-1.2.0
===>>> xf86bigfontproto-1.2.0
===>>> xorg-macros-1.6.0
===>>> 29 root ports

===>>> Trunk ports (No dependencies, are depended on)
===>>> amspsfnt-1.0_5
===>>> autoconf-wrapper-20071109
===>>> automake-wrapper-20071109
===>>> ca_root_nss-3.12.4
===>>> clucene-0.9.21
===>>> cmpsfont-1.0_6
===>>> compositeproto-0.4.1
===>>> damageproto-1.2.0
===>>> db41-4.1.25_4
===>>> dmidecode-2.10
===>>> dmxproto-2.3
===>>> dri2proto-2.2
===>>> expat-2.0.1_1
===>>> fixesproto-4.1.1
===>>> font-util-1.0.2
===>>> fontcacheproto-0.1.3
===>>> fontsproto-2.1.0
===>>> gdbm-1.8.3_3
===>>> gnome_subr-1.0
===>>> gnomehier-2.3_12
===>>> gsfonts-8.11_5
===>>> hicolor-icon-theme-0.12
===>>> icu-3.8.1_3
===>>> inputproto-2.0
===>>> jbigkit-1.6
===>>> jpeg-8_3
===>>> kbproto-1.0.4
===>>> kdehier4-1.0.4
===>>> libcheck-0.9.8
===>>> libdaemon-0.14
===>>> libexecinfo-1.1_3
===>>> libfpx-1.2.0.12_1
===>>> libiconv-1.13.1_1
===>>> libltdl-2.2.6b
===>>> libmspack-0.0.20060920
===>>> libpaper-1.1.24
===>>> libwww-5.4.0_4
===>>> m4-1.4.14_1,1
===>>> mDNSResponder-214
===>>> mime-support-3.48.1
===>>> mysql-client-5.0.90
===>>> nspr-4.8.2
===>>> openldap-client-2.4.22
===>>> pciids-20091229
===>>> pcre-8.02
===>>> pdflib-7.0.4
===>>> perl-threaded-5.10.1_1
===>>> pkg-config-0.23_1
===>>> png-1.4.1_1
===>>> printproto-1.0.4
===>>> pth-2.0.7
===>>> python26-2.6.5
===>>> qt4-doc-4.6.3
===>>> qt4-moc-4.6.3
===>>> randrproto-1.3.1
===>>> recordproto-1.14
===>>> renderproto-0.11
===>>> ruby-1.8.7.248_2,1
===>>> scrnsaverproto-1.2.0
===>>> sqlite3-3.6.23.1_1
===>>> talloc-2.0.1
===>>> tcl-modules-8.5.8
===>>> tex-texmflocal-1.9
===>>> videoproto-2.3.0
===>>> xbitmaps-1.1.0
===>>> xdg-utils-1.0.2_4
===>>> xextproto-7.1.1
===>>> xf86dgaproto-2.1
===>>> xf86miscproto-0.9.3
===>>> xf86vidmodeproto-2.3
===>>> xineramaproto-1.2
===>>> xmlcatmgr-2.2
===>>> xz-4.999.9_1
===>>> zip-3.0
===>>> 74 trunk ports

===>>> Branch ports (Have dependencies, are depended on)
===>>> ORBit2-2.14.18_1
===>>> OpenEXR-1.6.1_2
===>>> OpenSP-1.5.2_2
===>>> apr-ipv6-devrandom-1.4.2.1.3.9_1
===>>> aspell-0.60.6_3
===>>> atk-1.30.0_1
===>>> attica-0.1.3,1
===>>> autoconf-2.62
===>>> avahi-app-0.6.25_3
===>>> bison-2.4.1_1,1
===>>> bitstream-vera-1.10_4
===>>> boost-libs-1.43.0
===>>> cairo-1.8.10_1,1
===>>> cm-super-0.3.4_3
===>>> consolekit-0.4.1_3
===>>> cups-client-1.4.3
===>>> cups-image-1.4.3
===>>> curl-7.20.1
===>>> dbus-1.2.24_1
===>>> dbus-glib-0.86_1
===>>> desktop-file-utils-0.15_2
===>>> djvulibre-nox11-3.5.22_2
===>>> docbook-1.4
===>>> docbook-4.1_4
===>>> docbook-4.2
===>>> docbook-4.3
===>>> docbook-4.4_2
===>>> docbook-4.5_2
===>>> docbook-5.0_1
===>>> docbook-sk-4.1.2_4
===>>> docbook-xml-4.2_1
===>>> docbook-xml-4.3
===>>> docbook-xml-4.4_1
===>>> docbook-xml-4.5
===>>> dvipsk-tetex-5.95a_5
===>>> eggdbus-0.6_1
===>>> enchant-1.4.2
===>>> encodings-1.0.3,1
===>>> exiv2-0.18_2,1
===>>> fftw3-3.2.2_1
===>>> font-bh-ttf-1.0.1
===>>> font-misc-ethiopic-1.0.1
===>>> font-misc-meltho-1.0.1
===>>> fontconfig-2.8.0,1
===>>> freetype2-2.3.12
===>>> gamin-0.1.10_4
===>>> gconf2-2.28.1_1
===>>> gd-2.0.35_7,1
===>>> gettext-0.18_1
===>>> ghostscript8-8.71_2
===>>> gio-fam-backend-2.24.1_1
===>>> gir-repository-libsoup-0.6.5_4
===>>> glib-2.24.1_1
===>>> gnome-keyring-2.30.1_2
===>>> gnutls-2.8.6_1
===>>> gobject-introspection-0.6.14
===>>> graphviz-2.26.3_3
===>>> gstreamer-0.10.29_1
===>>> gstreamer-plugins-0.10.29,3
===>>> gtk-2.20.1_2
===>>> gtk-engines2-2.20.1_1
===>>> hal-0.5.14_8
===>>> hyperestraier-1.4.13
===>>> iceauth-1.0.3
===>>> ilmbase-1.0.1_1
===>>> iso-codes-3.17
===>>> iso8879-1986_2
===>>> jasper-1.900.1_9
===>>> kde4-icons-oxygen-4.4.4
===>>> kde4-shared-mime-info-1.0
===>>> kdelibs-4.4.4
===>>> lcms-1.19_1,1
===>>> libFS-1.0.2
===>>> libGL-7.4.4
===>>> libGLU-7.4.4
===>>> libICE-1.0.6,1
===>>> libIDL-0.8.14_1
===>>> libSM-1.1.1_1,1
===>>> libX11-1.3.3,1
===>>> libXScrnSaver-1.2.0
===>>> libXTrap-1.0.0
===>>> libXau-1.0.5
===>>> libXaw-1.0.7,1
===>>> libXcomposite-0.4.1,1
===>>> libXcursor-1.1.10
===>>> libXdamage-1.1.2
===>>> libXdmcp-1.0.3
===>>> libXevie-1.0.2
===>>> libXext-1.1.1,1
===>>> libXfixes-4.0.4
===>>> libXfont-1.4.0,1
===>>> libXfontcache-1.0.5
===>>> libXft-2.1.14
===>>> libXi-1.3,1
===>>> libXinerama-1.1,1
===>>> libXmu-1.0.5,1
===>>> libXp-1.0.0,1
===>>> libXpm-3.5.7
===>>> libXrandr-1.3.0
===>>> libXrender-0.9.5
===>>> libXres-1.0.4
===>>> libXt-1.0.7
===>>> libXtst-1.1.0
===>>> libXv-1.0.5,1
===>>> libXvMC-1.0.5
===>>> libXxf86dga-1.1.1
===>>> libXxf86misc-1.0.2
===>>> libXxf86vm-1.1.0
===>>> libcroco-0.6.2_1
===>>> libdmx-1.1.0
===>>> libdrm-2.4.12_1
===>>> libffi-3.0.9
===>>> libfontenc-1.0.5
===>>> libgcrypt-1.4.5_1
===>>> libglade2-2.6.4_3
===>>> libgnome-keyring-2.30.1_1
===>>> libgpg-error-1.7_1
===>>> libgsf-1.14.18_1
===>>> libidn-1.15_1
===>>> libiodbc-3.52.7
===>>> liblqr-1-0.4.1_2
===>>> libmng-1.0.10_2
===>>> libnotify-0.4.5_4
===>>> liboil-0.3.17
===>>> liboldX-1.0.1
===>>> libproxy-0.2.3_1
===>>> libpthread-stubs-0.3_3
===>>> librsvg2-2.26.3_1
===>>> libsoup-2.30.1_1
===>>> libtasn1-2.6
===>>> libungif-4.1.4_5
===>>> libvolume_id-0.81.1
===>>> libwmf-0.2.8.4_6
===>>> libxcb-1.6
===>>> libxkbfile-1.0.6
===>>> libxkbui-1.0.2_1
===>>> libxml2-2.7.7
===>>> libxslt-1.1.26_1
===>>> libxul-1.9.0.17_2
===>>> lua-5.1.4
===>>> mkfontdir-1.0.5
===>>> mkfontscale-1.0.7
===>>> mysql-server-5.0.90
===>>> netpbm-10.26.64_4
===>>> open-motif-2.2.3_6
===>>> p5-XML-Parser-2.36_1
===>>> p5-gettext-1.05_3
===>>> pango-1.28.0_1
===>>> phonon-4.4.2
===>>> phonon-gstreamer-4.4.2
===>>> pixman-0.16.6
===>>> plotutils-2.6_1,1
===>>> policykit-0.9_6
===>>> policykit-qt-0.9.3_1
===>>> polkit-0.96_2
===>>> popt-1.14_1
===>>> qca-2.0.2
===>>> qdbm-1.8.77_1
===>>> qimageblitz-0.0.4_4
===>>> qt4-assistant-4.6.3
===>>> qt4-clucene-4.6.3
===>>> qt4-corelib-4.6.3
===>>> qt4-dbus-4.6.3
===>>> qt4-designer-4.6.3
===>>> qt4-gui-4.6.3
===>>> qt4-help-4.6.3
===>>> qt4-imageformats-4.6.3
===>>> qt4-makeqpf-4.6.3
===>>> qt4-mysql-plugin-4.6.3
===>>> qt4-network-4.6.3
===>>> qt4-opengl-4.6.3
===>>> qt4-qdbusviewer-4.6.3
===>>> qt4-qt3support-4.6.3_1
===>>> qt4-qtestlib-4.6.3
===>>> qt4-script-4.6.3
===>>> qt4-scripttools-4.6.3
===>>> qt4-sql-4.6.3
===>>> qt4-sqlite-plugin-4.6.3
===>>> qt4-svg-4.6.3
===>>> qt4-webkit-4.6.3
===>>> qt4-xml-4.6.3
===>>> qt4-xmlpatterns-4.6.3
===>>> raptor-1.4.21
===>>> rasqal-0.9.19_1
===>>> redland-1.0.10
===>>> rgb-1.0.3
===>>> samba34-libsmbclient-3.4.8
===>>> shared-desktop-ontologies-0.5
===>>> shared-mime-info-0.71_1
===>>> soprano-2.4.3
===>>> strigi-0.7.2
===>>> t1lib-5.1.2_1,1
===>>> teTeX-base-3.0_20
===>>> teTeX-texmf-3.0_6
===>>> texi2html-1.82,1
===>>> tiff-3.9.4
===>>> trapproto-3.4.3
===>>> webkit-gtk2-1.2.1_1
===>>> wxgtk2-2.8.10_4
===>>> wxgtk2-common-2.8.10_4
===>>> xauth-1.0.4
===>>> xcb-util-0.3.6_1
===>>> xdvik-tetex-22.84.16_2
===>>> xkbcomp-1.1.0
===>>> xmlcharent-0.3_2
===>>> xorg-fonts-truetype-7.5
===>>> xorg-libraries-7.5
===>>> xproto-7.0.16
===>>> xtrans-1.2.5
===>>> 209 branch ports

===>>> Leaf ports (Have dependencies, not depended on)
===>>> ImageMagick-6.6.1.10
===>>> a2ps-a4-4.13b_4
===>>> akonadi-1.3.1_1
===>>> automake-1.10.1
===>>> automoc4-0.9.88_1
===>>> bdftopcf-1.0.2
===>>> dejavu-2.30_1
===>>> docbook-xsl-1.75.2
===>>> dsssl-docbook-modular-1.79_1,1
===>>> elinks-0.11.7_1
===>>> fetchmail-6.3.17_1
===>>> firefox-3.6.4,1
===>>> fixrtf-0.1.20060303_1
===>>> flex-2.5.35_4
===>>> gmake-3.81_4
===>>> gnuplot-4.4.0
===>>> help2man-1.38.2_1
===>>> html-4.01_2
===>>> intltool-0.40.6
===>>> jadetex-3.13_6
===>>> kazehakase-0.5.8_3
===>>> kdebase-4.4.4
===>>> latex2html-2002.2.1_9
===>>> libassuan-1-1.0.5
===>>> libchk-1.10.1
===>>> libxklavier-5.0,1
===>>> linuxdoc-1.1_1
===>>> luit-1.0.5
===>>> lynx-2.8.7.1_1,1
===>>> makedepend-1.0.2,1
===>>> mgv-3.1.5_2
===>>> mplayer-1.0.r20100117_2
===>>> mutt-devel-1.5.20_5
===>>> netsurf-1.1_6
===>>> nmap-5.21_1
===>>> openjade-1.3.3p1_1
===>>> p5-type1inst-0.6.1_5
===>>> peps-2.0_4
===>>> py26-xml-0.8.4_2
===>>> qt4-linguist-4.6.3
===>>> qt4-porting-4.6.3
===>>> qt4-uic3-4.6.3
===>>> rsync-3.0.7
===>>> scr2png-1.2_4
===>>> sessreg-1.0.5
===>>> setxkbmap-1.1.0
===>>> subversion-freebsd-1.6.11_2
===>>> tcl-8.5.8
===>>> teTeX-3.0_4
===>>> xcb-proto-1.6
===>>> xclock-1.0.4
===>>> xdm-1.1.8_2
===>>> xhtml-1.0.20020801_4
===>>> xpdf-3.02_12
===>>> xrdb-1.0.6
===>>> xset-1.1.0
===>>> xterm-258
===>>> 57 leaf ports

===>>> 369 total installed ports


many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
Received on Tue Jun 29 2010 - 07:59:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC