Date: Thu, 17 May 2018 18:15:07 +0200 From: Rainer Hurling <rhurlin@gwdg.de> To: Jan Beich <jbeich@FreeBSD.org> Cc: <ports@FreeBSD.org> Subject: Re: www/firefox-i18n: Install problems on 12.0-CURRENT Message-ID: <3e7ab4f2-67e7-6fd5-cde5-91a1df4ae3d4@gwdg.de> In-Reply-To: <e6db63f5-eef0-e9e4-138f-0db5abd21bd3@gwdg.de> References: <2ca3c01e-b23b-6cb2-0e65-591774b15b11@gwdg.de> <tvr6-o7cm-wny@FreeBSD.org> <e6db63f5-eef0-e9e4-138f-0db5abd21bd3@gwdg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <rhurlin@gwdg.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3e7ab4f2-67e7-6fd5-cde5-91a1df4ae3d4>