Date: Sun, 20 Jul 2014 08:41:10 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 191982] New: ports-mgmt/pkg: -1.2.7_2 does not build: no -lbsdxml Message-ID: <bug-191982-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191982 Bug ID: 191982 Summary: ports-mgmt/pkg: -1.2.7_2 does not build: no -lbsdxml Product: Ports Tree Version: Latest Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: astrange@ithinksw.com Created attachment 144810 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144810&action=edit compile log Building ports-mgmt/pkg from source on this FreeBSD 9.2 machine always fails: gcc48 -O2 -pipe -march=native -mtune=native -fstack-protector -g -DOPENSSL_NO_HEARTBEATS -march=core2 -fno-strict-aliasing -DPORTSDIR=\"/usr/ports\" -I../libpkg -I/usr/ports/ports-mgmt/pkg/work/pkg-1.2.7/pkg/../external/uthash -I/usr/ports/ports-mgmt/pkg/work/pkg-1.2.7/pkg/../external/expat/lib -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wl,-rpath=/usr/lib:/usr/local/lib -o pkg add.o annotate.o audit.o autoremove.o backup.o check.o clean.o config.o convert.o create.o delete.o event.o info.o install.o lock.o main.o plugins.o progressmeter.o query.o register.o repo.o rquery.o update.o upgrade.o search.o set.o shlib.o updating.o utils.o version.o which.o fetch.o shell.o stats.o ssh.o -L/usr/ports/ports-mgmt/pkg/work/pkg-1.2.7/pkg/../libpkg -lpkg -ledit -larchive -lutil -lpthread -lsbuf -lfetch -lssl -lcrypto -lmd -lz -lbz2 -llzma -ljail /usr/local/bin/ld: audit.o: undefined reference to symbol 'XML_SetUserData' //lib/libbsdxml.so.4: error adding symbols: DSO missing from command line I suppose this system is using a nonstandard cc and ld though. It can be worked around by adding LDFLAGS += -lbsdxml to the Makefile. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191982-13>