From owner-freebsd-ports@FreeBSD.ORG Wed Jun 12 23:21:49 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CE03E5CD; Wed, 12 Jun 2013 23:21:49 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 427D31A1D; Wed, 12 Jun 2013 23:21:49 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id m15so6406749wgh.35 for ; Wed, 12 Jun 2013 16:21:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=zi/c8Wz4PcGH/4uWimHDr4K8G/T5MEjQWzG61/h7Tt8=; b=e8H87+U4s9EOKtCCuKfIqoCI3jQBAYxWxB4MGngKVtg/GL7L87svis5DfekkJfO2u0 yf/zv1HYkk78OZ1qv4TSLRklmZeb6/SlQU8hjOpW2aA4XL8qPJU1bKqqlwSoGnQQPKi5 l8mFSslNDG3l1UoNsQGSrFTwKSzc7nJQh/wy7Pqq95QX53bwel0ydOP4c0Cbj7Rnvdib 1nuGW9fmGC9MgvPQZpUDZxrAFWjL1ppf6F/fl/a9mMf6n4XfxqFTQtRx9Sk4ZPWot9wR 1Ugh3VtqJGWSfEIsOyIcKbLs5ewE6LDCi4djMCaf43Va53JeQXfYaz61ZqUeznNF5xPT F5vA== X-Received: by 10.180.109.48 with SMTP id hp16mr5932526wib.24.1371079308474; Wed, 12 Jun 2013 16:21:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.24.202 with HTTP; Wed, 12 Jun 2013 16:21:28 -0700 (PDT) In-Reply-To: References: <1184690713-1371062081-cardhu_decombobulator_blackberry.rim.net-150318100-@b2.c8.bise7.blackberry> From: Miguel Clara Date: Thu, 13 Jun 2013 00:21:28 +0100 Message-ID: Subject: Re: Can't build Xorg --> make failed for ports-mgmt/pkg To: Chris Rees Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 23:21:49 -0000 On Wed, Jun 12, 2013 at 10:31 PM, Miguel Clara wrote: > On Wed, Jun 12, 2013 at 9:53 PM, Chris Rees wrote: >> On 12 June 2013 19:34, 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? >>> >> >> You possibly have an out-of-date wrkdir for pkg. >> >> Try removing all the work/ directories; >> >> # echo `make -f /usr/share/mk/bsd.port.mk >> -VWRKDIRPREFIX`/usr/ports/*/*/work | xargs rm -r >> >> Chris > > Thanks for the hint, I've tried that but still get the error mentioned here: > http://www.mail-archive.com/freebsd-ports@freebsd.org/msg50066.html > > It seems that for some reason the email subject got an extra "/" and > created a new thread :/ Acctually the error mentioned there is different and I'm not sure how I got it since I can not repruduce it, perhaps in that case I did forgot to clean work dirs! Anyway I have no tried to rm the work dir, make deinstall, make clean and when I do: make all I get: -lpthread -lsbuf -lfetch -lssl -lcrypto -lmd -lz -lbz2 -llzma -ljail /data/ports/ports-mgmt/pkg/work/pkg-1.0.13/pkg/../libpkg/libpkg.so: undefined reference to `sqlite3_shell' I have really no idea why I'm getting this :|