From owner-freebsd-ports@FreeBSD.ORG Tue Jun 7 20:32:47 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EC05106566C; Tue, 7 Jun 2011 20:32:47 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 88A068FC12; Tue, 7 Jun 2011 20:32:46 +0000 (UTC) Received: by bwz12 with SMTP id 12so132111bwz.13 for ; Tue, 07 Jun 2011 13:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:in-reply-to:references :content-type:organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=yy6lWpDbnolxqG6ozSJ3t7GFzGaOHZOvw0r02+js2xw=; b=lwxCyqru3Wq0d8fFA/9bA+jbxLAidLhI40nPX/T0AHMiRlR0qm70213maq/v+A75BN q1yU9+qbIEjnXflcteWuTBXN5a0Z5V6VJV2yiOMPRr/HN6F0zeMHs5FqWBn6pdQEIcee 1mCHcZ+0giiW6Qhx0Gt0XHatnsLWZ8DWkZ0NQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:organization :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=lgF5eJJfAlkyND8IoRZ1XwtQ2AY6JF+SNj0gBjcUk+BNKtDUafpzUlRpbW8dBEPb2d 5rsxwCTe9sx52k/a6ULUjcdjSOUa1C8A0GlVWX7Uzx9at1x6HNJ7TLcMf7HdJmBexAwU cojc/XfLSaHoaDATNe+BVgZ/8h4pPUyRzawv4= Received: by 10.204.46.161 with SMTP id j33mr738877bkf.212.1307478764862; Tue, 07 Jun 2011 13:32:44 -0700 (PDT) Received: from [10.0.101.2] (254.166.broadband10.iol.cz [90.177.166.254]) by mx.google.com with ESMTPS id j7sm936776bka.8.2011.06.07.13.32.41 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Jun 2011 13:32:43 -0700 (PDT) From: Michal Varga To: Johan Hendriks In-Reply-To: <6C3F8332272B7D4DA26909F15F1C90E1D7D8AE@SRV01.double-l.local> References: <6C3F8332272B7D4DA26909F15F1C90E1D7D8AE@SRV01.double-l.local> Content-Type: text/plain; charset="UTF-8" Organization: Stonehenge Date: Tue, 07 Jun 2011 22:32:39 +0200 Message-ID: <1307478759.3202.6.camel@xenon> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: gnome@FreeBSD.org, "freebsd-ports@freebsd.org" Subject: Re: gnutls update fails on libchamplain X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2011 20:32:47 -0000 On Tue, 2011-06-07 at 20:10 +0000, Johan Hendriks wrote: > Hello all, > > I did an cvsup of the ports tree, read /usr/ports/UPDATING. > It tells me that the new gnutls requires the following comman. > portmaster -r gnutls. > > but this is the result > > gmake[3]: Entering directory `/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain-gtk' > CC gtk-champlain-embed.lo > CC champlain-gtk-enum-types.lo > CC champlain-gtk-marshal.lo > CCLD libchamplain-gtk-0.8.la > GISCAN GtkChamplain-0.8.gir > /usr/include/machine/endian.h:123: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{' > /usr/include/machine/endian.h:123: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';' > /usr/include/machine/endian.h:130: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{' > /usr/include/machine/endian.h:130: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';' > /libexec/ld-elf.so.1: Shared object "libgnutls.so.40" not found, required by "libchamplain-0.8.so.1" This is caused by libchamplain, for some reason, linking against itself, or more specifically, the already installed libchamplain-0.8.so.1 library (which in turn you had linked against libgnutls.so.40). For a quick fix (I didn't investigate further), simply remove the old installed port, and let the new one build in clean environment: # cd /usr/ports/graphics/libchamplain/ # make deinstall clean # make install clean m. -- Michal Varga, Stonehenge (Gmail account)