From owner-freebsd-ports@FreeBSD.ORG Wed Mar 29 18:01:31 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8A8116A41F for ; Wed, 29 Mar 2006 18:01:31 +0000 (UTC) (envelope-from thomas@hardy.tmseck.homedns.org) Received: from smtp3.netcologne.de (smtp3.netcologne.de [194.8.194.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ECAA43D77 for ; Wed, 29 Mar 2006 18:01:29 +0000 (GMT) (envelope-from thomas@hardy.tmseck.homedns.org) Received: from laurel.tmseck.homedns.org (xdsl-213-196-225-22.netcologne.de [213.196.225.22]) by smtp3.netcologne.de (Postfix) with SMTP id B759F674FE for ; Wed, 29 Mar 2006 20:01:27 +0200 (CEST) Received: (qmail 1760 invoked from network); 29 Mar 2006 18:01:50 -0000 Received: from unknown (HELO hardy.tmseck.homedns.org) (192.168.1.2) by 0 with SMTP; 29 Mar 2006 18:01:50 -0000 Received: from hardy.tmseck.homedns.org (localhost [127.0.0.1]) by hardy.tmseck.homedns.org (8.13.4/8.13.4) with ESMTP id k2TI1Q8h021667; Wed, 29 Mar 2006 20:01:26 +0200 (CEST) (envelope-from thomas@hardy.tmseck.homedns.org) Received: (from thomas@localhost) by hardy.tmseck.homedns.org (8.13.4/8.13.4/Submit) id k2TI1HLG021666; Wed, 29 Mar 2006 20:01:17 +0200 (CEST) (envelope-from thomas) Date: Wed, 29 Mar 2006 20:01:17 +0200 (CEST) Message-Id: <200603291801.k2TI1HLG021666@hardy.tmseck.homedns.org> From: tmseck-lists@netcologne.de (Thomas-Martin Seck) To: dirk.meyer@dinoex.sub.org (Dirk Meyer) In-Reply-To: <9FqyyWNhWW@dmeyer.dinoex.sub.org> X-Newsgroups: gmane.os.freebsd.devel.ports X-Attribution: tms Cc: freebsd-ports@freebsd.org Subject: Re: USE_GCC vs. packaging 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: Wed, 29 Mar 2006 18:01:31 -0000 * Dirk Meyer [gmane.os.freebsd.devel.ports]: > Thomas-Martin Seck schrieb:, > >> A package built using this binary will fail unless libstc++.so.6 and >> libgcc_s.so.1 are installed, too. > > They are installed. > ldconfig could not find them. The problem is: this issue was introduced with the latest changes to lang/gcc34. In short: When I build a package of this port on 4.x with gcc 3.4.6 and install this package on a vanilla 4.11 system, things will obviously blow up since gcc 3.4.6 is not a registered dependency and libstdc++.so.6 is not present there. pkg_add just does not know that it should pull in a gcc34 package, too. And this is new, older versions of lang/gcc34 made it possible that I could build a port using gcc34, build a package, take this package to a vanilla system, install it there and run it without installing gcc34 first to resolve libraries. This needs to be fixed, either by reverting the changes to gcc3X or by changing USE_GCC in such a way that the gcc port used is made a build and run dependency instead of a mere build dependency.