Can't build Xorg --> make failed for ports-mgmt/pkg

Baptiste Daroussin bapt at FreeBSD.org
Wed Jun 12 14:07:32 UTC 2013


On Wed, Jun 12, 2013 at 03:58:10PM +0000, Florent Peterschmitt wrote:
> On 12.06.2013 13:52, Miguel Clara wrote:
> > I'm attempting to install kde4 in FreeBSD 10-current, after 3 days
> > dealing with some dependency issues I was able to install kde4  with
> > portmaster...
> > 
> > Before kde  already installed Xorg, but I get a "green" and sometime
> > "purple"screen when X starts, the log pointed me to this problem:
> > 
> > http://www.mail-archive.com/freebsd-current@freebsd.org/msg146880.html
> > 
> > However when trying to rebuild Xorg with portmaster it stops on "pkg"
> > with the following error:
> > 
> > ====================
> > --- pkg-static ---
> > gcc -O2 -pipe -I/usr/local/include -fno-strict-aliasing
> > -I/data/ports/ports-mgmt/pkg/work/pkg-1.0.12/pkg-static/../libpkg
> > -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  -L/usr/local/lib -static -o
> > pkg-static add.o audit.o autoremove.o backup.o check.o clean.o
> > create.o delete.o event.o info.o install.o main.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
> > -L/data/ports/ports-mgmt/pkg/work/pkg-1.0.12/pkg-static/../libpkg
> > -lpkg  -larchive  -lutil  -lpthread  -lsbuf  -lfetch  -lssl  -lcrypto
> > -lmd  -lz  -lbz2  -llzma
> > -L/data/ports/ports-mgmt/pkg/work/pkg-1.0.12/pkg-static/../external/sqlite
> > -lbsdyml -lsqlite3  -larchive  -lsbuf  -lfetch  -lpthread  -lelf
> > -lssl  -lcrypto  -lmd  -lz  -lbz2  -llzma -ledit  -lncursesw -ljail
> > /usr/local/lib/libpkg.a(pkgdb.o): In function `pkgdb_cmd':
> > pkgdb.c:(.text+0x947f): undefined reference to `sqlite3_shell'
> > *** [pkg-static] Error code 1
> > 
> > make: stopped in /data/ports/ports-mgmt/pkg/work/pkg-1.0.12/pkg-static
> > 1 error
> > =============
> > 
> > Is anyone else having this problem? Or has anyone build/installed
> > xorg+kde4 from ports on current with sucess?
> > 
> > Thanks
> > _______________________________________________
> > freebsd-ports at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> > 
> 
> First you should update your port tree, there is pkg 1.0.13.
> 
> Are you building pkg on -CURRENT ?

According to the output I would say yes '--- pkg-static ---' is bmake only :)

second this error is odd because sqlite3_shell is from external/sqlite3/shell.c
which is build before, pkg-static being the last thing built the build process
should have yelled at you before.

Are you sure your workdir was really clean before starting building? I know
portmaster is supposed to clean it for you.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130612/c398dbf3/attachment.sig>


More information about the freebsd-ports mailing list