Solved make install fails with signal 4

I want to upgrade deluge which is already installed in my system. I am installing from ports because I need a custom build without X. Unfortunately buld fails with signal 4.




Code:
 # make install
===>   deluge-1.3.13,1 depends on executable: msgfmt - found
===>   deluge-1.3.13,1 depends on package: py27-setuptools27>0 - found
===>   deluge-1.3.13,1 depends on file: /usr/local/bin/python2.7 - found
===>   deluge-1.3.13,1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>  Configuring for deluge-1.3.13,1
*** Signal 4

Stop.
make[1]: stopped in /usr/ports/net-p2p/deluge
*** Error code 1

Stop.
make: stopped in /usr/ports/net-p2p/deluge
I tried googling for Signal 4 but no results. I have no idea where to look
 
Signal 4 is an illegal instruction:
Code:
     4     SIGILL           create core image    illegal instruction
signal(3)

I'm wondering why this is, what version of FreeBSD are you using? For what architecture?
 
Signal 4 is an illegal instruction:
Code:
     4     SIGILL           create core image    illegal instruction
signal(3)

I'm wondering why this is, what version of FreeBSD are you using? For what architecture?
Sorry I forgot to mention that

Code:
# uname -a
FreeBSD xxxxxx 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 22:51:51 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386

I don't know if it is related but I also have problem building llvm37

Code:
===>   llvm37-3.7.1_3 depends on executable: sphinx-build - found
===>   llvm37-3.7.1_3 depends on executable: ld.gold - not found
===>   llvm37-3.7.1_3 depends on executable: ld.gold - not found
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/llvm37
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/llvm37

===>>> make build failed for devel/llvm37
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> devel/llvm37
 
To me this smells like a hardware problem.
Bad RAM (probably without ECC), things like overclocked system or manual override of the SPD timings in the BIOS (often dubbed "Turbo" and the like).
 
Code:
# uname -a
FreeBSD xxxxxx 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 22:51:51 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386
Please note that you are missing about 37 patches, this includes security and errata patches.
 
Please note that you are missing about 37 patches, this includes security and errata patches.
I didn't upgrade because during a previous upgrade I couldn't even boot the server. I checked for the old post where I was describing the problem and now, a year after, I noticed someone had posted a fix. So I will try to upgrade first and see if that fixes the problem.
 
After the upgrade still the same problem

Code:
$sudo make clean install
===>  Cleaning for deluge-1.3.13,1
/!\ WARNING /!\
You have security/openssl installed but do not have DEFAULT_VERSIONS+=ssl=openssl set in your make.conf

===>  License GPLv3 accepted by the user
===>  Found saved configuration for deluge-1.3.13,1
===>   deluge-1.3.13,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by deluge-1.3.13,1 for building
===>  Extracting for deluge-1.3.13,1
=> SHA256 Checksum OK for deluge-1.3.13.tar.xz.
===>  Patching for deluge-1.3.13,1
===>  Applying FreeBSD patches for deluge-1.3.13,1
===>   deluge-1.3.13,1 depends on executable: msgfmt - found
===>   deluge-1.3.13,1 depends on package: py27-setuptools27>0 - found
===>   deluge-1.3.13,1 depends on file: /usr/local/bin/python2.7 - found
===>   deluge-1.3.13,1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>  Configuring for deluge-1.3.13,1
*** Signal 4

Stop.
make[1]: stopped in /usr/ports/net-p2p/deluge
*** Error code 1

Stop.
make: stopped in /usr/ports/net-p2p/deluge

Code:
FreeBSD xxxxx 10.3-RELEASE-p7 FreeBSD 10.3-RELEASE-p7 #0: Thu Aug 11 18:37:29 UTC 2016     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

Other packages are building fine except deluge and llvm37
 
Which program is dying? The default behavior on SIGILL is dumping core and you should also see a message on the console or in dmesg.
 
dmesg reports python2.7

Code:
pid 10903 (python2.7), uid 0: exited on signal 4 (core dumped)
 
Nope. Still the same problem. I also deleted everything from /tmp and did a reboot. The problem persists.
 
Sometimes it make problems if the dependencies are not cleaned. Try make clean-depends (but I don't really believe it, that this is causing the error).
 
I see. But does it affect in any way the building of deluge? In that case I guess it's just a matter of waiting until is fixed.

make -C /usr/ports/net-p2p/deluge all-depends-list will list all the dependencies, including grandchildren and so on going down the tree.
 
Maybe it's of no interest anymore but after I gave up for a while I tried again today. The problem was the libtorrent-rasterbar package. I had upgraded to 1.10 but it seems to be broken. I installed qbittorent-nox11 package and it offered to downgrade libtorrent-raseterbar to 1.0.9. I said yes. It installed everything and I tried again to build deluge. Right not it is building.
 
Back
Top