experchange > freebsd

Louis Epstein (11-02-18, 09:00 AM)
I've just been trying to finish an update from 10.4-RELEASE to 11.2-RELEASE
by reinstalling the packages/ports and keep getting messages about child
processes terminating abnormally because of a segmentation fault.

What now?

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.
Winston (11-02-18, 04:16 PM)
Louis Epstein <le> writes:
> I've just been trying to finish an update from 10.4-RELEASE to 11.2-RELEASE
> by reinstalling the packages/ports and keep getting messages about child
> processes terminating abnormally because of a segmentation fault.


> What now?


I'd suggest providing at least some details about what died:
FreeBSD itself during startup?
pkg while doing "pkg upgrade"?
some "make" process while recompiling the port software?
some package/port?
your own non-package/port code that you didn't rebuild?

Were the dying processes running in the main host, a virtual host, etc.?

You haven't given anyone much to work with.
-WBE
Louis Epstein (11-03-18, 08:55 PM)
Winston <wbe> wrote:
> Louis Epstein <le> writes:
> I'd suggest providing at least some details about what died:
> FreeBSD itself during startup?
> pkg while doing "pkg upgrade"?
> some "make" process while recompiling the port software?
> some package/port?
> your own non-package/port code that you didn't rebuild?
> Were the dying processes running in the main host, a virtual host, etc.?
> You haven't given anyone much to work with.
> -WBE


I didn't write any of the ports in question.
There was no custom kernel.
I did what the online handbook said to do in upgrading:
freebsd-update -r 11.2-RELEASE upgrade
followed by reboot and freebsd-update install.

Both the then recommended application update methods

pkg-static upgrade -f

[which is not listed as an option in the man page for pkg-static]

and

portmaster -af

result in the error messages about child processes terminating due
to segmentation fault.(Portmaster suggests another pkg-static command
which also doesn't work).

Synth reports that EVERY local package needs a rebuild but if I
try to use it everything fails or is skipped except pkg itself which does
not install.

SVN updates my ports tree normally.

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.
Winston (11-04-18, 12:54 AM)
Louis Epstein <le> originally asked:
>>> I've just been trying to finish an update from 10.4-RELEASE to
>>> 11.2-RELEASE by reinstalling the packages/ports and keep getting
>>> messages about child processes terminating abnormally because of a
>>> segmentation fault.


[I indicated this was too vague and suggested details were needed.]

Louis Epstein <le> replied:
> I did what the online handbook said to do in upgrading:
> freebsd-update -r 11.2-RELEASE upgrade
> followed by reboot and freebsd-update install.


If what you just wrote is exactly what you did and all that you did,
your system is in a transitional state where lots of stuff won't work.

The usual sequence is
upgrade (which downloads the files but doesn't install them),
install, reboot,
install, reboot (again), and
maybe even a third install/reboot.

The sequence you posted (upgrade, reboot (which would be of no
consequence to the upgrade process), install, stop) leaves the system
only partially upgraded.
-WBE
Louis Epstein (11-04-18, 02:27 AM)
Winston <wbe> wrote:
[..]
> consequence to the upgrade process), install, stop) leaves the system
> only partially upgraded.
> -WBE


I think I may well have done the install pre reboot,
I was following the manual.

I have rebooted again since.
(It says it's running 11.2 on start-up but gives a
MOTD that references 10.4.

But what gets me out of the transitional state?

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.
Winston (11-04-18, 10:37 AM)
Louis Epstein <le> writes:
> But what gets me out of the transitional state?


The additional installs and reboots.

I forget exactly, but roughly
1) the first upgrade/install/reboot cycle switches to the new kernel and
probably libc and few other essentials but not much else,
2) the second (and perhaps third) install/reboot cycle installs the rest
of FreeBSD.
3) At that point you have the new compiler, libraries, header files,
etc. and should be able to pkg upgrade or rebuild all the packages /
ports, after which you might need to reboot again to adopt the new
version of those.

HTH,
-WBE
Louis Epstein (11-05-18, 06:50 PM)
Winston <wbe> wrote:
[..]
> version of those.
> HTH,
> -WBE


At this point I've done a new install from the DVD after backing up the
contents of the SSD the OS is on to one of the hard drives so I have distfiles
to work from reinstalling applications.

*sigh*

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.
Winston (11-05-18, 07:40 PM)
Louis Epstein <le> asked:
>>> But what gets me out of the transitional state?


I replied:
>> The additional installs and reboots. [+ comments on why it's >1]


Louis Epstein <le> replied:
> At this point I've done a new install from the DVD after backing up
> the contents of the SSD the OS is on to one of the hard drives so I
> have distfiles to work from reinstalling applications.
> *sigh*


That seems a lot more work than just doing another
{"freebsd-update install", reboot} cycle to get to where rebuilding
the ports should work, but that should work, too.
-WBE
Louis Epstein (11-06-18, 11:09 AM)
Winston <wbe> wrote:
> Louis Epstein <le> asked:
> I replied:
> Louis Epstein <le> replied:
> That seems a lot more work than just doing another
> {"freebsd-update install", reboot} cycle to get to where rebuilding
> the ports should work, but that should work, too.
> -WBE


Along the way I lost some shared objects which were necessary to
install anything over the net.

Now I just have to somehow recapture the ability to make
Adblock Plus work with Seamonkey,which was fine under 10.4
and in the transitional state.

(I gather an older version of ABP must be found somehow).

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.
Winston (11-06-18, 07:25 PM)
Louis Epstein <le> writes:
> Now I just have to somehow recapture the ability to make
> Adblock Plus work with Seamonkey,which was fine under 10.4
> and in the transitional state.
> (I gather an older version of ABP must be found somehow).


"pkg rquery %v xpi-adblock_plus" says version 3.0.4, and the description
of the package claims it works with Mozilla and Firefox. Do current
versions of both not work together?

[I don't use either, so if that's no longer a supported combination, I
wouldn't know.]

HTH,
-WBE
Louis Epstein (11-06-18, 09:15 PM)
Winston <wbe> wrote:
> Louis Epstein <le> writes:
> "pkg rquery %v xpi-adblock_plus" says version 3.0.4, and the description
> of the package claims it works with Mozilla and Firefox. Do current
> versions of both not work together?


I am using Seamonkey,a Mozilla-based alternative to Firefox.
When ABP moved to 3.x it broke Seamonkey compatibility and I was
able to revert earlier this year but can't find a workaround with
the new install.I have tried portdowngrade and the make deinstall install
exits because of a missing makefile with .xpi extension.

> [I don't use either, so if that's no longer a supported combination, I
> wouldn't know.]


Can you recommend any alternative ad-blocking program in the ports
tree that does support Seamonkey with FreeBSD 11.x?

> HTH,
> -WBE


-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.
Winston (11-06-18, 09:59 PM)
Louis Epstein <le> asked:
> I am using Seamonkey,a Mozilla-based alternative to Firefox.
> When ABP moved to 3.x it broke Seamonkey compatibility and I was
> able to revert earlier this year but can't find a workaround with
> the new install.I have tried portdowngrade and the make deinstall install
> exits because of a missing makefile with .xpi extension.


Is it reasonable to retrieve your previous Adblock Plus files from the
10.4 backup you made?

If not, another possibility that comes to mind would be to see if
Adblock's web site still has the old version you need or has a newer
version that works with Seamonkey.

> Can you recommend any alternative ad-blocking program in the ports
> tree that does support Seamonkey with FreeBSD 11.x?


Sorry, that's not something I know anything about, but perhaps someone
else here will see this thread and suggest something. [The changed
Subject may help.]
-WBE
Louis Epstein (11-07-18, 01:52 AM)
Winston <wbe> wrote:
> Louis Epstein <le> asked:
> Is it reasonable to retrieve your previous Adblock Plus files from the
> 10.4 backup you made?


What I have tried so far in that regard has not worked...
what exactly should I look for and what should I do with it?
I have several distfiles from the era of compatibility,
trying to put stuff in /var/db/pkg did not result in an
installation as noted.

> If not, another possibility that comes to mind would be to see if
> Adblock's web site still has the old version you need or has a newer
> version that works with Seamonkey.


They appear to only have stuff going back to 3.0.2.

>> Can you recommend any alternative ad-blocking program in the ports
>> tree that does support Seamonkey with FreeBSD 11.x?

> Sorry, that's not something I know anything about, but perhaps someone
> else here will see this thread and suggest something. [The changed
> Subject may help.]
> -WBE


-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.
Winston (11-07-18, 06:57 AM)
Louis Epstein <le> asked:
>>> I am using Seamonkey,a Mozilla-based alternative to Firefox.
>>> When ABP moved to 3.x it broke Seamonkey compatibility and I was
>>> able to revert earlier this year but can't find a workaround with
>>> the new install.I have tried portdowngrade and the make deinstall install
>>> exits because of a missing makefile with .xpi extension.


I replied:
>> Is it reasonable to retrieve your previous Adblock Plus files from the
>> 10.4 backup you made?


Louis Epstein <le> answered:
> What I have tried so far in that regard has not worked...
> what exactly should I look for and what should I do with it?
> I have several distfiles from the era of compatibility,
> trying to put stuff in /var/db/pkg did not result in an
> installation as noted.


For your purposes, does it matter whether pkg's database in /var/db/pkg
knows about the files or not? The only files I would think matter are
the Adblock Plus files and directories themselves (but I could be wrong).

>> If not, another possibility that comes to mind would be to see if
>> Adblock's web site still has the old version you need or has a newer
>> version that works with Seamonkey.


> They appear to only have stuff going back to 3.0.2.


OTOH, the web page contains the sentence:

"Here's how you get the source code for a specific version
(e.g. Adblock Plus 2.3.1):"

but I didn't actually try it, so I don't know if it'll work, and FreeBSD
had a later version (2.7.3).

[Foo. I tried to include a shar file of /usr/ports/www/xpi-adblock*/*
that claims to build Adblock and Adblock Plus 2.7.3, but the original
shar file was larger than my USENET host allows in this newsgroup.
Then I tried to include a base64 encoded gzip compressed version of the
shar file. That was small enough, but my USENET host complained about
sending binary content in a non-binary group. :-/ ]

Most of the files appear to be in:

XPI_LIBDIR - Name of the directory to install extensions in.
Default: ${PREFIX}/lib/xpi
XPI_XPIDIR - Name of the directory to install extension's files in.
Default: ${XPI_LIBDIR}/${XPI_ID}

and I would guess that "find /your-backup -name antiadblockInit.js -print"
would help you determine what XPI_XPIDIR is.

adblock/Makefile contains:

XPI_NUM= 10
XPI_ID= {34274bf4-1d97-a289-e984-17e546307e4f}
XPI_FILES= chrome/adblock.jar chrome.manifest components/.autoreg components/nsAdblock.js \
defaults/preferences/adblock.js install.js install.rdf license.txt
XPI_DIRS= chrome/adblock chrome components defaults/preferences defaults

adblock/Makefile.xpi contains:

# XPI_ID - Extension id, might be in {12345-...} or dev@org format
# XPI_NUM - Extension number, as in addons.cdn.mozilla.net URL
# XPI_FILES - List of files in xpi archive. This is used to produce
# PLIST_FILES. XPI_FILES can be generated by xpi-gen, but be
# sure to put chrome.manifest in ${FILESDIR} before that if you
# need it.
# XPI_DISTNAME - The name of distribution
# Default: ${PORTNAME}
# PORTNAME, PORTVERSION, DISTVERSIONSUFFIX, CATEGORIES, MAINTAINER, COMMENT
# - These should all be set manually for port to be functional. See
# ${PORTSDIR}/Mk/bsd.port.mk for details.
# MASTER_SITES - This should be set if port is unavailable at the default site.
# Default (defined below):
# MOZILLA_ADDONS/addons/${XPI_NUM}
# or
# MOZILLA_ADDONS/extensions/${XPI_DISTNAME}
# XPI_LIBDIR - Name of the directory to install extensions in.
# Default: ${PREFIX}/lib/xpi
# XPI_XPIDIR - Name of the directory to install extension's files in.
# Default: ${XPI_LIBDIR}/${XPI_ID}
# USE_XPI - If set, the port installs one or more xpi extensions.
# If this is set to a list of apps (wildcards possible) the
# extensions will be installed for them only.
# WITH_XPI - A user-tunable variable, determines which apps should
# extension be made available for. Can be set to a list of
# apps, same as USE_XPI, and/or to "ext:app[,app,app,...]" tuples.
# ext should be a portname. If ext starts and ends with a slash
# (`/'), it is treated as an extended regular expression (see
# re_format(7)). Right of the colon should be a list of apps in
# the same format as USE_XPI, but comma- instead of whitespace-
# delimited. If no matching tuples for an extension are found,
# WITH_XPI is scanned for non tuple-records which are then treated
# as a USE_XPI list. If several tuples match, the last non-regexp
# one takes precedence, then the last regexp one.

HTH, but this is not a subject I know much about. Others may know
a better way to solve this problem.
-WBE
Louis Epstein (11-12-18, 03:53 AM)
Winston <wbe> wrote:
[..]
> HTH, but this is not a subject I know much about. Others may know
> a better way to solve this problem.
> -WBE


I got Adblock Plus working!

However,I see that Chinese characters are not displaying with the new
Seamonkey install when they had been on the 10.4 install.
I don't see a config option for it relating to such fonts.
What ports do I need to (re-) add to get that back?

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.

Similar Threads