Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 May 2014 23:20:03 +0200
From:      Matthias Andree <mandree@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/189362: graphics/libchamplain fails to build if older version installed 
Message-ID:  <E1Wh3pL-0000IU-Sf@apollo.emma.line.org>
Resent-Message-ID: <201405042130.s44LU0PT070156@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189362
>Category:       ports
>Synopsis:       graphics/libchamplain fails to build if older version installed
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 04 21:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD apollo.emma.line.org 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
libchamplain fails to build if an older version - with possibly broken
.so requisites - is installed.

The build should make sure to use its own libraries from the build dir
(libtool --mode=run), rather than those from the system.

Else libchamplain cannot be rebuilt from ports if it's part of a
"libfoo has changed, rebuild all packages that depend on it" game:

...
Shared object "libfreetype.so.9" not found, required by "libchamplain-0.8.so.1"
Command '['/var/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain/tmp-introspectGdtW1M/Champlain-0.8', '--introspect-dump=/var/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain/tmp-introspectGdtW1M/functions.txt,/var/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain/tmp-introspectGdtW1M/dump.xml']' returned non-zero exit status 1
gmake[3]: *** [Champlain-0.8.gir] Fehler 1
gmake[3]: Leaving directory `/var/tmp/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/champlain'

	
>How-To-Repeat:
	
>Fix:
A workaround is to delete libchamplain before rebuilding it.

This is not mentioned in, but should be added to, ports/UPDATING 20140416:
  AFFECTS: users of print/freetype2 textproc/libxml2 x11/pixman 
           x11/libxcb and graphics/freeglut
  AUTHOR: x11@FreeBSD.org and gnome@FreeBSD.org
...
	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Wh3pL-0000IU-Sf>