I have two server platforms both running on FreeBSD 10.2-RELEASE-p7.
One platform is an old Compaq Proliant ML370 . . .yes, long in the tooth.
The other is a fresh install on Dell Power Edge 2950; CPUs: 8 x Intel(R) Xeon(R) CPU X5355 @ 2.66GHz; available memory is ~5.9GB. Also a fresh clean terabyte hard drive.
Regardless, I cannot successfully compile via portmaster, most complex applications. For example, attempts to build Apache24, with it's dependencies of course, fail, as in kernel panic, crashing the OS. Boom . . .down goes the system . . .no logged errors, rather than yet to be determined what could perhaps be gleaned from the procedures described in the https://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html . I have to tell you . . .I get a headache just thinking of pursuing this route. Additionally, on the Proliant system, one such crash of several attempts of which the last damaged the kernel and I had to restore the kernel from the backup version.
I've thought surely the fresh install on the PE2950 would accommodate the systems, but apparently not.
I have read much discussion regarding the reportedly "buggy" CLANG compiler. Is portmaster always defaulting to using the CLANG compiller? I have read that instructions such as
Another disturbing scenario: consider the following list:
Notice that the only successfully installed port was ports-mgmt_portmaster itself at 19:22 hours. What I cannot understand is why portmaster "registered" the other ports as installed when in fact . . .they are not. No Perl, no Python, no Apache24, et al. Apparently, portmaster forges ahead with the assumption that . . ."OK, I'm told that I'm going to make application X, so I'll just go ahead and included it in my /var/db/ports list . . .but if in the process of making the ap, it crashes, then so what . . .I don't care; I'll just leave the erroneous entrie(s) there." Perhaps portmaster never got to an install step, but perhaps progressed to some point where a dependency make crashed the system and left the "successfully made" dependencies in limbo? I haven't tried any
Does it look like to this audience, that the GCC needs to be used rather than the CLANG compiler?
I'm reluctant to try this again because if it crashes the OS again and this time damages the kernel, then in consideration that I'm working remotely via ssh, I'll probably have to drive out to the HQ and repair and restart the system.
One platform is an old Compaq Proliant ML370 . . .yes, long in the tooth.
The other is a fresh install on Dell Power Edge 2950; CPUs: 8 x Intel(R) Xeon(R) CPU X5355 @ 2.66GHz; available memory is ~5.9GB. Also a fresh clean terabyte hard drive.
Regardless, I cannot successfully compile via portmaster, most complex applications. For example, attempts to build Apache24, with it's dependencies of course, fail, as in kernel panic, crashing the OS. Boom . . .down goes the system . . .no logged errors, rather than yet to be determined what could perhaps be gleaned from the procedures described in the https://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html . I have to tell you . . .I get a headache just thinking of pursuing this route. Additionally, on the Proliant system, one such crash of several attempts of which the last damaged the kernel and I had to restore the kernel from the backup version.
I've thought surely the fresh install on the PE2950 would accommodate the systems, but apparently not.
I have read much discussion regarding the reportedly "buggy" CLANG compiler. Is portmaster always defaulting to using the CLANG compiller? I have read that instructions such as
# cd /usr/ports/www/firefox/ && make USE_GCC=any install clean will override CLANG, but this seems not to invoke portmaster in the scheme. So, I assume that a directive included in /etc/make.conf could provide a global instruction that portmaster could/would recognize? Would that code simply consist of
Code:
USE_GCC=any
Another disturbing scenario: consider the following list:
Code:
/var/db/ports # ls -ls
total 56
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:42 archivers_zip
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:42 audio_alsa-lib
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:41 databases_db5
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:41 devel_apr1
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:41 devel_gettext-tools
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:41 devel_gmake
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:42 devel_libffi
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:43 devel_m4
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:42 java_openjdk8
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:43 lang_perl5.20
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:42 lang_python27
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:43 misc_help2man
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:22 ports-mgmt_portmaster
4 drwxr-xr-x 2 root wheel 512 Feb 2 19:40 www_apache24
Notice that the only successfully installed port was ports-mgmt_portmaster itself at 19:22 hours. What I cannot understand is why portmaster "registered" the other ports as installed when in fact . . .they are not. No Perl, no Python, no Apache24, et al. Apparently, portmaster forges ahead with the assumption that . . ."OK, I'm told that I'm going to make application X, so I'll just go ahead and included it in my /var/db/ports list . . .but if in the process of making the ap, it crashes, then so what . . .I don't care; I'll just leave the erroneous entrie(s) there." Perhaps portmaster never got to an install step, but perhaps progressed to some point where a dependency make crashed the system and left the "successfully made" dependencies in limbo? I haven't tried any
make installs on the listed applications . . .yet.Does it look like to this audience, that the GCC needs to be used rather than the CLANG compiler?
I'm reluctant to try this again because if it crashes the OS again and this time damages the kernel, then in consideration that I'm working remotely via ssh, I'll probably have to drive out to the HQ and repair and restart the system.