From owner-freebsd-ports@FreeBSD.ORG Thu Aug 9 13:14:12 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B977106566B for ; Thu, 9 Aug 2012 13:14:12 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id E4AB88FC16 for ; Thu, 9 Aug 2012 13:14:11 +0000 (UTC) Received: by lbbgk8 with SMTP id gk8so330255lbb.13 for ; Thu, 09 Aug 2012 06:14:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=S9KRRknzgPMyQQTJEKiIcOzzOtm/Ty7bvxCTRko8EMA=; b=GgIgU98trLgY0npThxNkWGKWrg6lRAwJOlY8W28/0YHedmGLJfrM6TKi9Z4+PDbEw6 JC0UVFVMpEdm8YnLQh3s5vZ/WseawmgTE09WFnyHmRqqUueJR5+ChQmQ22H0/2Yi12Zh 0xilQTBN8tefP95LW7KexIsg6MmQoO9OjtKhX1EBQIutiBZG1gUn91J7kMKypWdaXtWN Fzf6qw6kV0do10jtyzRxdjK+c0LULIguwue7G7ptbq4kteaOnDYpWOczgJ6wEs5g6zkM 26fzK08hIgN9nTbjKB57FzlCtb1T7P0+kBzGBQ7jIdl1Pa56v4RWtXljFRuz8do6V675 rWqQ== MIME-Version: 1.0 Received: by 10.112.84.168 with SMTP id a8mr781908lbz.92.1344518050010; Thu, 09 Aug 2012 06:14:10 -0700 (PDT) Received: by 10.112.110.70 with HTTP; Thu, 9 Aug 2012 06:14:09 -0700 (PDT) Date: Thu, 9 Aug 2012 15:14:09 +0200 Message-ID: From: Olivier Smedts To: FreeBSD Ports Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlrGaHyk/JMYo+5JEX6Emuf7j8xso9fsyVzoB5jLjoSMJFOGt6JWc5Y9UV9ZMer4V8nirbq Cc: bapt@freebsd.org Subject: pkgconf issue ? 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: Thu, 09 Aug 2012 13:14:12 -0000 Hello list, All my ports are up-to-date and I've previously dealt with the pkg-config -> pkgconf transition by reading UPDATING. No problems. But now I try to install a port which depends on ports I didn't have, which in turn depend on cairo... and they fail to build. And it's strange because there seems to be a problem with pkgconf, at least on my system : # pkg-config --cflags cairo Package glproto was not found in the pkg-config search path. Perhaps you should add the directory containing `glproto.pc' to the PKG_CONFIG_PATH environment variable No package 'glproto' found -I/usr/local/include/glib-2.0 -D_REENTRANT -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/freetype2 There's no -I/usr/local/include/cairo, that's why the ports which depend on cairo fail to build. # grep include /usr/local/libdata/pkgconfig/cairo.pc includedir=${prefix}/include Cflags: -I${includedir}/cairo The cairo.pc file is not to blame. I noticed the error message for glproto and tried to install it. I must say that I delete all build-depends only after installing ports. # portmaster x11/glproto ===>>> Installation of x11/glproto (glproto-1.4.15) complete # pkg-config --cflags cairo -I/usr/local/include/glib-2.0 -D_REENTRANT -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -D_THREAD_SAFE -I/usr/local/include/libpng15 -I/usr/local/include/cairo It now works ! But glproto is not required by anything on my system, so it can be deinstalled and the problem reappears. I've got GL, XCB and GLIB options for my cairo port. Maybe there's a dependency problem with cairo and the GL option... but I don't think pkgconf should fail setting the CFLAGS in this case. It was previously working with pkg-config. Thanks -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."