From owner-freebsd-ports@freebsd.org Mon Jun 26 02:09:26 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42EC9D9ECC1 for ; Mon, 26 Jun 2017 02:09:26 +0000 (UTC) (envelope-from amutu@amutu.com) Received: from mail-ot0-x22e.google.com (mail-ot0-x22e.google.com [IPv6:2607:f8b0:4003:c0f::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 08EDE8D6 for ; Mon, 26 Jun 2017 02:09:25 +0000 (UTC) (envelope-from amutu@amutu.com) Received: by mail-ot0-x22e.google.com with SMTP id y47so59627259oty.0 for ; Sun, 25 Jun 2017 19:09:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amutu-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2piOuW3nceJeygNGIsrjlbJDfK2b82S57ZeyPyY8a3M=; b=CWwZ1fF+8iFyLf86vGdnAXu3UuW+T/2EqJDav45PdHvW2L+5WT2TOAFCRPSMO2KvcS R20SJ3J889wuFMBOG01MhAVrhcnmgayGHCFZkFdHgN+Z5/VKJU7FnTR8osEBodQAJLdR itXrJNGbimveHxzjQKttcnJpSZePgWozkIrYYpikJ7zJTm+kO9GSvjtBwTMLJTlNCIbk 9BGRvRlv0zSPC4WY8VYS5UcqYFuE8tcU33N+Z2BS0oTVKw+JU6csVTPwXxqMfMWQ6hLC cA0bwuok6X7pLPAA2V8rgfCJJo6Ze3dQjDRW6H5t8MoC9C+M0I87i3BYvnyXYxpVrIuM Dk9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2piOuW3nceJeygNGIsrjlbJDfK2b82S57ZeyPyY8a3M=; b=qF92CoWhgp3H4XxWE5vSKqZXg2IDq86ZIuOjiZX1tetadWy88kDc1ymCOMyhHS916r gOmmfqrVIh+Ard3ljEWZOsaTgT5AmGrgjqrbRqIUJDMIG0bVntRAhTKqGR/N1Gd9UYAx O2/2hccVLm2u179GeEgk8oYCPldAX+faILvhdql4JnN4F2yPloH6IG3+HZ5di+RJ25Np LtWJIrabwmzN+p2hdTgGcHhHmh43r0QrtsgCJYrjLnJ8oDptDTt5Ybrc/IweB+SxlNsy ebAdN9ZPlol1883turoK94smube8fnVdx5bgC7mpx2LRgvCrjmKQPVozGFk0mPb4RJx8 W08A== X-Gm-Message-State: AKS2vOwM6ddrGYYLO+IqIHox828wZyvH/NsX6I35KFiQBmUAeK6Q+bsT YWims/4c3TJITSJt X-Received: by 10.157.12.171 with SMTP id b40mr9276060otb.98.1498442965216; Sun, 25 Jun 2017 19:09:25 -0700 (PDT) Received: from mail-ot0-f170.google.com (mail-ot0-f170.google.com. [74.125.82.170]) by smtp.gmail.com with ESMTPSA id d83sm5801276oic.19.2017.06.25.19.09.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jun 2017 19:09:24 -0700 (PDT) Received: by mail-ot0-f170.google.com with SMTP id y47so59627120oty.0; Sun, 25 Jun 2017 19:09:24 -0700 (PDT) X-Received: by 10.157.43.116 with SMTP id f49mr9658340otd.140.1498442964413; Sun, 25 Jun 2017 19:09:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.133.136 with HTTP; Sun, 25 Jun 2017 19:09:04 -0700 (PDT) In-Reply-To: References: From: Jov Date: Mon, 26 Jun 2017 10:09:04 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: USE_GCC usage To: Richard Gallamore Cc: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 02:09:26 -0000 Thanks, Richard.This is a problem I met when update port science/mbdyn to 1.7.2. But the old version 1.7.1 also has this problem. Note this only happen when DEVELOPER=yes set in /etc/make.conf and in the Q/A tests: ====> Running Q/A tests (stage-qa) Error: /usr/local/bin/ann_in is linked to /usr/local/lib/gcc5/libgfortran.so.3 from lang/gcc but it is not declared as a dependency Error: /usr/local/bin/ann_in is linked to /usr/local/lib/gcc5/libquadmath.so.0 from lang/gcc but it is not declared as a dependency Error: /usr/local/bin/c81merge is linked to /usr/local/lib/gcc5/libstdc++.so.6 from lang/gcc but it is not declared as a dependency Error: /usr/local/bin/c81merge is linked to /usr/local/lib/gcc5/libgcc_s.so.1 from lang/gcc but it is not declared as a dependency 2017-06-26 1:09 GMT+08:00 Richard Gallamore : > When using USE_GCC= 5+, errors occur because this USE only sets > build and run time dependency, and not lib dependency. > > Error: /usr/local/bin/ann_in is linked to /usr/local/lib/gcc5/libgfortran.so.3 > from lang/gcc but it is not declared as a dependency > Error: /usr/local/bin/ann_in is linked to /usr/local/lib/gcc5/libquadmath.so.0 > from lang/gcc but it is not declared as a dependency > Error: /usr/local/bin/c81merge is linked to /usr/local/lib/gcc5/libstdc++.so.6 > from lang/gcc but it is not declared as a dependency > Error: /usr/local/bin/c81merge is linked to /usr/local/lib/gcc5/libgcc_s.so.1 > from lang/gcc but it is not declared as a dependency > > Should this be considered a false positive? or should USE_GCC > also add a LIB_DEPEND to ports? > > > Thanks, > Richard Gallamore > > >