From owner-freebsd-ports@freebsd.org Thu May 17 16:15:11 2018 Return-Path: Delivered-To: freebsd-ports@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 2D39CEAFFC6 for ; Thu, 17 May 2018 16:15:11 +0000 (UTC) (envelope-from rhurlin@gwdg.de) 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 E2E59689AC for ; Thu, 17 May 2018 16:15:10 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: by mailman.ysv.freebsd.org (Postfix) id A3E40EAFFBF; Thu, 17 May 2018 16:15:10 +0000 (UTC) Delivered-To: ports@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 81AD8EAFFBD for ; Thu, 17 May 2018 16:15:10 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from fmailer.gwdg.de (fmailer.gwdg.de [134.76.11.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43B9B689A6; Thu, 17 May 2018 16:15:09 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from excmbx-24.um.gwdg.de ([134.76.9.234] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.90_1) (envelope-from ) id 1fJLYa-0008Er-L7; Thu, 17 May 2018 18:15:08 +0200 Received: from krabat.raven.hur (91.8.146.52) by EXCMBX-24.um.gwdg.de (2002:864c:9ea::864c:9ea) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1415.2; Thu, 17 May 2018 18:15:08 +0200 Subject: Re: www/firefox-i18n: Install problems on 12.0-CURRENT From: Rainer Hurling To: Jan Beich CC: References: <2ca3c01e-b23b-6cb2-0e65-591774b15b11@gwdg.de> Message-ID: <3e7ab4f2-67e7-6fd5-cde5-91a1df4ae3d4@gwdg.de> Date: Thu, 17 May 2018 18:15:07 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: de-DE Content-Transfer-Encoding: 7bit X-ClientProxiedBy: EXCMBX-03.um.gwdg.de (2002:864c:9da::864c:9da) To EXCMBX-24.um.gwdg.de (2002:864c:9ea::864c:9ea) X-Virus-Scanned: (clean) by clamav X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2018 16:15:11 -0000 Sorry for answering myself. But I found the changes in Firefox 60.x, please see above. Am 17.05.2018 um 17:30 schrieb Rainer Hurling: > Hi Jan, > > Am 17.05.2018 um 13:21 schrieb Jan Beich: >> Rainer Hurling writes: >> >>> For some time now (Firefox 60.x beta versions and on), I get the >>> following error, if I try to install www/firefox-i18n on 12.0-CURRENT >>> amd64: >> >> Can you reproduce with firefox binary built by FreeBSD package cluster? >> >> $ pkg delete -f firefox >> $ pkg install firefox >> $ make install -C/usr/ports/www/firefox-i18n > > Hmm, I usually install from sources via portmaster. Now, if I try via > 'pkg install', I get: > > > #pkg install firefox > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > The following 87 package(s) will be affected (of 0 checked): > > Installed packages to be REMOVED: > gdm-3.16.4_3 > gnome-terminal-3.24.2 > gnome-shell-3.18.5_7 > libgnomekbd-3.6.0_2 > gnome-keyring-3.18.3_4 > pinentry-gnome3-1.1.0 > seahorse-3.18.0_1 > gstreamer1-plugins-all-1.12 > telepathy-gabble-0.18.3_5 > gnome-control-center-3.18.2_8 > evolution-data-server-3.24.2_9 > gnome-contacts-3.18.0_6 > gnome-utils-3.18.0,1 > evince-3.26.0 > nautilus-3.18.5 > gimp-app-2.8.22_1,1 > py27-gimp-2.8.22_1 > gnome-maps-3.24.3 > evolution-3.24.2_5 > telepathy-qt4-0.9.7_1 > py27-game-1.9.1_7 > einstein-2.0_10 > jools-0.20_11 > totem-3.18.1_3 > grilo-plugins2-0.2.17_1 > libgdata-0.17.8 > eog-plugins-3.16.6 > cheese-3.18.1_2 > mdbtools-0.7.2.a > krdc-kde4-4.14.3_6 > kdenetwork-kde4-4.14.3_5 > krfb-kde4-4.14.3_3 > empathy-3.12.14_1 > telepathy-farstream-0.6.2_2 > folks-0.11.4 > sushi-3.18.0_1 > file-roller-3.26.1,1 > gvfs-1.26.3_9 > gnome-photos-3.24.2_2 > libcryptui-3.12.2_1 > gnome-online-miners-3.14.3_1 > gnome-documents-3.24.2 > kde-4.14.3_7 > caribou-0.4.21_1 > libgnomeui-2.24.5 > eclipse-4.6_2 > libgnomesu-1.0.0_13 > py27-gnome-2.28.1_8 > brasero-3.12.2 > gimp-gmic-plugin-1.6.9_14 > gimp-lqr-plugin-0.7.2 > libpurple-2.13.0 > telepathy-haze-0.8.0_2 > epiphany-3.24.2_5 > gimp-2.8.22,2 > gimp-gutenprint-5.2.13 > gnome-user-share-3.14.0_2 > gimp-focusblur-plugin-3.2.6_6 > gnome-shell-extensions-3.18.4 > gnome-todo-3.18.1_8 > gnome-calendar-3.18.2.1_7 > gstreamer1-plugins-dv-1.12.3 > autopano-sift-C-2.5.1_5 > gstreamer1-plugins-aalib-1.12.3 > > New packages to be INSTALLED: > firefox: 60.0_2,1 > > Installed packages to be REINSTALLED: > libmpeg2-0.5.1_6 > libproxy-0.4.12 > geocode-glib-3.18.2 > upower-0.99.4 > gnome-power-manager-3.18.0 (ABI changed: 'freebsd:11:x86:64' -> > 'freebsd:12:x86:64') > liboauth-1.0.3_3 > libgnomeprint-2.18.8_4 > libgnomecups-0.2.3_8,1 > libijs-0.35_5 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:12:x86:64') > gsound-1.0.2 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:12:x86:64') > libcue-2.1.0 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:12:x86:64') > libao-1.2.0_3 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:12:x86:64') > libotr-4.1.1 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:12:x86:64') > libmms-0.6.4_1 > libirman-0.4.6 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:12:x86:64') > qqwing-1.3.4_1 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:12:x86:64') > spandsp-0.0.6 > gsm-1.0.13_2 > phonon-gstreamer-4.9.0_1 (options changed) > CoinMP-1.8.3 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:12:x86:64') > plotutils-2.6_7,1 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:12:x86:64') > cracklib-2.9.6 (ABI changed: 'freebsd:11:x86:64' -> 'freebsd:12:x86:64') > > Number of packages to be removed: 64 > Number of packages to be installed: 1 > Number of packages to be reinstalled: 22 > > The operation will free 485 MiB. > 48 MiB to be downloaded. > > > I did not install via 'pkg install', because it is to destructive for my > box. But, I did reinstall the 22 ports via portmaster, mentioned by 'pkg > install'. > >> >>> #make >>> make: "/usr/ports/Mk/Uses/gecko.mk" line 48: warning: >>> "/usr/local/bin/firefox --version 2>/dev/null" returned non-zero >>> status >> >> Probably because "firefox --version" crashes. It would be surprising >> if firefox works fine otherwise. > > Nope, it does not crash (built from sources): > > #firefox --version > Mozilla Firefox 60.0.1 > > > I think, I found the problem: It is the way, I am using portmaster > and/or make install, always as root, not a normal user. > > If I do 'make' as a normal user, the error does not occur, only as root. > This is, because 'firefox --version' is not possible as root any more. This new behaviour of firefox 60.x is intended, see [1][2]. I think we have to find another way to do the version check in /usr/ports/Mk/Uses/gecko.mk:48 as root. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1323302 [2] https://hg.mozilla.org/integration/autoland/rev/90a06cdcb48f > It breaks with: > > #firefox --version > Running Firefox as root in a regular user's session is not supported. > ($HOME is /home/rhurlin which is owned by rhurlin.) > > > As far as I can say, this behaviour of www/firefox was not before > version 60.x. Is there any chance, to get this back for 'make built' as > root? > > >> >>> ===> firefox-i18n-60.0.1 cannot install: firefox versions mismatch: >>> firefox- >>> is installed and wanted version is firefox-60. >>> *** Error code 1 >>> Stop. >>> make: stopped in /usr/ports/www/firefox-i18n >>> >>> >>> This happens on three boxes. Any hints are really appreciated. >>> Thanks in advance. >> >> Try to get a backtrace. If you didn't disable DTRACE or PROFILE the >> package should have non-debug symbols. Alternatively, build firefox >> itself and all its library dependencies with debug symbols e.g., >> >> $ env CFLAGS=-g make clean all install STRIP= WITHOUT=OPTIMIZED_CFLAGS -C /usr/ports/www/firefox >> $ env CFLAGS=-g make clean all install STRIP= -C /usr/ports/devel/icu >> ... >> > > Did not tried this, because I think I found the problem within > /usr/ports/Mk/Uses/gecko.mk:48, which uses 'firefox --version' as root > in my case ... > > Many thanks, Jan, for the fast response and the suggestions, you made. > > Best wishes, > Rainer