From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 15 19:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 EE8D23D0 for ; Sat, 15 Jun 2013 19:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id CDEC3170B for ; Sat, 15 Jun 2013 19:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5FJe0Cu006697 for ; Sat, 15 Jun 2013 19:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5FJe0Ba006696; Sat, 15 Jun 2013 19:40:00 GMT (envelope-from gnats) Resent-Date: Sat, 15 Jun 2013 19:40:00 GMT Resent-Message-Id: <201306151940.r5FJe0Ba006696@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Raphael Kubo da Costa Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 81D97236; Sat, 15 Jun 2013 19:32:09 +0000 (UTC) (envelope-from kubito@gmail.com) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 7C0C4166A; Sat, 15 Jun 2013 19:24:38 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id lx15so1381607lab.21 for ; Sat, 15 Jun 2013 12:24:37 -0700 (PDT) Received: from localhost (a91-154-115-217.elisa-laajakaista.fi. [91.154.115.217]) by mx.google.com with ESMTPSA id o6sm2916501laj.2.2013.06.15.12.24.35 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 15 Jun 2013 12:24:36 -0700 (PDT) Message-Id: <51bcbf74.4624980a.3fcc.7967@mx.google.com> Date: Sat, 15 Jun 2013 12:24:36 -0700 (PDT) From: Raphael Kubo da Costa Sender: Raphael Kubo da Costa To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/179598: graphics/gd: Failure to link pngtogd with FONTCONFIG on Cc: dinoex@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Raphael Kubo da Costa List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 19:40:01 -0000 >Number: 179598 >Category: ports >Synopsis: graphics/gd: Failure to link pngtogd with FONTCONFIG on >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 15 19:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Raphael Kubo da Costa >Release: FreeBSD 10.0-CURRENT amd64 >Organization: FreeBSD project >Environment: System: FreeBSD orwell 10.0-CURRENT FreeBSD 10.0-CURRENT #13 r251764M: Sat Jun 15 02:23:56 EEST 2013 root@orwell:/usr/obj/usr/src/sys/ORWELL amd64 When FONTCONFIG is on, I get the following output with gd-2.0.35_9: cc -O2 -pipe -fno-strict-aliasing -I/usr/ports/graphics/gd/work/gd-2.0.35 -I/usr/local/include/freetype2/freetype -I/usr/local/include/freetype2 -I/usr/local/include -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -DHAVE_LIBZ -DHAVE_ERRNO_H -DHAVE_FT2BUILD_H -DHAVE_LIBFREETYPE -DHAVE_LIBJPEG -DHAVE_LIBPNG -DHAVE_LIBZ -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_STDLIB_H -I/usr/local/include -DHAVE_LIBFONTCONFIG -DHAVE_PTHREAD -stdlib=libc++ -o pngtogd pngtogd.o -L/usr/ports/graphics/gd/work/gd-2.0.35 -lgd cc: warning: argument unused during compilation: '-stdlib=libc++' /usr/ports/graphics/gd/work/gd-2.0.35/libgd.so: undefined reference to `FcPatternDestroy' /usr/ports/graphics/gd/work/gd-2.0.35/libgd.so: undefined reference to `FcFontMatch' /usr/ports/graphics/gd/work/gd-2.0.35/libgd.so: undefined reference to `FcPatternGetString' /usr/ports/graphics/gd/work/gd-2.0.35/libgd.so: undefined reference to `FcConfigSubstitute' /usr/ports/graphics/gd/work/gd-2.0.35/libgd.so: undefined reference to `FcDefaultSubstitute' /usr/ports/graphics/gd/work/gd-2.0.35/libgd.so: undefined reference to `FcPatternBuild' /usr/ports/graphics/gd/work/gd-2.0.35/libgd.so: undefined reference to `FcNameParse' cc: error: linker command failed with exit code 1 (use -v to see invocation) It's missing -lfontconfig in the linker line, which only seems to be passed to build the library itself in files/Makefile.bsd. >Description: >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: