From owner-freebsd-emulation@freebsd.org Sun Jun 10 04:35:36 2018 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EFEAF101CFAC for ; Sun, 10 Jun 2018 04:35:35 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 869F26A62F for ; Sun, 10 Jun 2018 04:35:35 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 4B356101CFA1; Sun, 10 Jun 2018 04:35:35 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 269C5101CF9D for ; Sun, 10 Jun 2018 04:35:35 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ua0-x235.google.com (mail-ua0-x235.google.com [IPv6:2607:f8b0:400c:c08::235]) (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 BD6596A62E for ; Sun, 10 Jun 2018 04:35:34 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ua0-x235.google.com with SMTP id m21-v6so11475695uan.0 for ; Sat, 09 Jun 2018 21:35:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=I4rsPyLotCNHzEd7ENo00lAXKbYYdD9eN/WQtckmjoE=; b=aupQV/Q0/m22+Sf7/OISLkXgeGQ4cLlXF5H9WaOkWeBMXPFeFaknmL2pfcY7qI1AhP dtYtQNrJRJoQ1W/Xy8QxeTkWt+NorhAwLWMv+TnXcShTWy6x69NALQeVQY5yTyCMzzMq 6B9esA1+rx743CpVALA42r4Kzk3Q8XYS/eI7xKaE/sWNTpE0Fmp6g2lL42pLu+aNKOy7 cGHihdR8yyyovxcPRDPzAaSZ3AUemeBdd51BnDqE75UwYJcxVTRAHppSSc1h1n/L3HJ3 DR07Q3bpa3R7Ryxn41TI+0i5Fjt2Zrc/1wa1D9c6pOlgvPYooL3TcAskvVod6GVrqgd9 f2MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=I4rsPyLotCNHzEd7ENo00lAXKbYYdD9eN/WQtckmjoE=; b=YvpP50yzNUwNTFs0KKQbt0jA1f4EaX2nGvBf6clNF3mtfKuOUOwKjqT7MoozV+1dGB tutyOKg2lfYllVH4JcnLQxkft/3mvquLR8LFzlxyDxgYHvVY7JA7pZH7ag96MPxPsMNn LMDLfEAGwlU/cDMoXeVjTgctpeAM+ZyQ5jV4ihfSf12JlXLAREvD7muZjjIQGL2fjuYi w5Wo1sTaitbpgnCC7l+HT/kZreBzIXT1F2rrEF6s1zmjP75ri90j8RC2sBeX8PwF0Jz2 bYpdd57uqROYewRj/wZ2zKal0kaRg0iQ/sYFHH/3Oo8VBMlVHWvlz6M4wgBhB8cAFY6s LdCQ== X-Gm-Message-State: APt69E0+73Xl9lgrlFpt2A5cc968cbaz2ODzn7KeOuPoi9pcLOmou177 vYSX3GZr3UKQlh+ApbaLavn5i5QGk7JCl6Sp26Q= X-Google-Smtp-Source: ADUXVKJg3o1thaxnSMMQ/k+MD0zITu540/oxKGBZpfRN8PNndr9BFMiK5zbtS5k7ka4Ojb1tuA8sQb3yWONNq7EkWQo= X-Received: by 2002:a9f:3409:: with SMTP id q9-v6mr8898314uab.161.1528605333992; Sat, 09 Jun 2018 21:35:33 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 2002:a67:8f05:0:0:0:0:0 with HTTP; Sat, 9 Jun 2018 21:35:33 -0700 (PDT) In-Reply-To: <77ad12b3-d378-cc70-2819-ccf32dc65bb1@gmail.com> References: <77ad12b3-d378-cc70-2819-ccf32dc65bb1@gmail.com> From: Kevin Oberman Date: Sat, 9 Jun 2018 21:35:33 -0700 X-Google-Sender-Auth: oyM_8yz4TrYfzfIvvJ7ULPADyTY Message-ID: Subject: Re: Something messed up in linux emulation To: Theron Cc: "freebsd-emulation@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2018 04:35:36 -0000 On Sat, Jun 9, 2018 at 1:29 PM, Theron wrote: > On 06/08/18 16:25, Kevin Oberman wrote: > >> Installing linux-c7-gtk2-2.24.31... >> /compat/linux/usr/bin/gtk-query-immodules-2.0-32: error while loading >> shared libraries: libpng15.so.15: cannot open shared object file: No such >> file or directory >> /compat/linux/usr/bin/gtk-query-immodules-2.0-64: error while loading >> shared libraries: libpng15.so.15: cannot open shared object file: No such >> file or directory >> >> ===>>> Re-installation of linux-c7-gtk2-2.24.31 complete >> Note that it did NOT fail. >> >> At this point, I am baffled! If this file is required, why was it not >> installed when I re-installed linux-c7-gtk2? >> >> Any idea what could have gone wrong? I'm thinking that I need to >> re-install >> all of my linux-c7 ports. this will hopefully fix things, but would like >> to >> get an idea of what happened to trigger this mess. >> >> The file is part of linux-c7-libpng: > > % pkg which /compat/linux/usr/lib/libpng15.so.15 > /compat/linux/usr/lib/libpng15.so.15 was installed by package > linux-c7-libpng-1.5.13_2 > > (The 'pkg which' should work on your system, even when the file is > missing). > The port linux-c7-libpng is a dependency of linux-c7-gtk2. > Since some /compat/linux files are unexpectedly missing, it could be a > good idea to reinstall any linux-c7 ports you are using. > I think you miss my point. I know how to install linux-c7-libpng. My concern is why this whole set of ports was not already installed. I kept adding one port after another, but I have no idea where that ends. The ports system should install all dependencies automatically. Since only a single linux emulation port is a dependency, I guessed that linux-c7-gtk2 is the culprit, bu reinstalling it generated that odd message: > Installing linux-c7-gtk2-2.24.31... >> /compat/linux/usr/bin/gtk-query-immodules-2.0-32: error while loading >> shared libraries: libpng15.so.15: cannot open shared object file: No such >> file or directory >> /compat/linux/usr/bin/gtk-query-immodules-2.0-64: error while loading >> shared libraries: libpng15.so.15: cannot open shared object file: No such >> file or directory >> >> ===>>> Re-installation of linux-c7-gtk2-2.24.31 complete >> Note that it did NOT fail. >> >> At this point, I am baffled! If this file is required, why was it not >> installed when I re-installed linux-c7-gtk2? >> >> Any idea what could have gone wrong? I'm thinking that I need to >> re-install >> all of my linux-c7 ports. this will hopefully fix things, but would like >> to >> get an idea of what happened to trigger this mess. >> >> The file is part of linux-c7-libpng: > > % pkg which /compat/linux/usr/lib/libpng15.so.15 > /compat/linux/usr/lib/libpng15.so.15 was installed by package > linux-c7-libpng-1.5.13_2 > > (The 'pkg which' should work on your system, even when the file is > missing). > The port linux-c7-libpng is a dependency of linux-c7-gtk2. > Since some /compat/linux files are unexpectedly missing, it could be a > good idea to reinstall any linux-c7 ports you are using. > I think you miss my point. I know how to install linux-c7-libpng. My concern is why this whole set of ports was not already installed. I kept adding one port after another, but I have no idea where that ends. The ports system should install all dependencies automatically. Since only a single linux emulation port is a dependency, I guessed that linux-c7-gtk2 is the culprit, bu reinstalling it generated that odd message: Installing linux-c7-gtk2-2.24.31... /compat/linux/usr/bin/gtk-query-immodules-2.0-32: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory Looking at linux-c7-gtk2, I see "USE_LINUX= atk gdkpixbuf2 pango xorglibs". I have already re-installed atk and pango, but the others are not installed. Since pkg shows that these are not installed, I would have expected that building linux-c7-gtk2 to have installed them. /usr/ports/Mk/Uses/linux.mk states "# USE_LINUX List of Linux packages to depend on." So I am baffled as to why these ports are not being installed. (I have tried both portmaster(8) and a simple make(1).) Clearly something is broken here and it looks a lot like the ports system, mabey linux.mk. It may be time for me to open a bug report. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683