Errors in kernel config building image
-
That's strange, I have not encountered that error.
-
mmmm…. that's odd.
What is your recommendation? to reinstall my environment?
Any pointers you can give me will be most welcome.
Thank you,
-
Same problem here…
Build dies on the PHP test...
Build environment: 7.2-p8 in a jail per http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso.Error output:
>>> Installing collected library information (usr/local), please wait... >>> Testing PHP installation in /usr/local/pfsense-fs:PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/apc.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/apc.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/bcmath.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/bcmath.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ctype.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ctype.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/curl.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/curl.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/mbstring.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/mbstring.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/overload.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/overload.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/pcntl.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/pcntl.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/pcre.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/pcre.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/posix.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/posix.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/radius.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/radius.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/readline.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/readline.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/session.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/session.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/sysvsem.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/sysvsem.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/tokenizer.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/tokenizer.so" in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/xml.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/xml.so" in Unknown on line 0 Fatal error: Call to undefined function: xml_parser_create() in /etc/inc/xmlparse.inc on line 154 An error occured while testing the php installation in /usr/local/pfsense-fs
php -m output:
[php] openssl standard [Zend Modules] /usr/local/lib/php/extensions/no-debug-non-zts-20020429 is empty. I looked back through the build output but didn't spot anything that might indicate what went wrong. -- Andrew[/php]
-
There are known issues with the ports on 7.2/1.2.3 builders. In particular, none of the PHP ports build due to autoconf issues.
-
Thanks, I am going to take a stab at sorting it out as I need to prepare a custom 1.2.3 image for a project I'm working on, but seeing as 2.0 is still Beta, I can't really put that in a production environment.
Specifically, I've added a tftp-server option to the DHCP options, as the existing next-server option in 1.2.3 does not work with a number of devices, but I need to make a CF card image of the final product to put on a Soekris platform, unless anyone can suggest an easier way…
IMHO, not having a working DEV environment for a STABLE/RELEASE version cripples the flexibility of the product somewhat.
--
Andrew -
Agree'd but we are about to release RC1 so all of our focus is on it. Sorry about that.
-
Good to hear about RC1…
For those who are trying to get a build of 7.2/1.2.3 to work, here is where I'm at so far...
I've discovered that the php4-xxx port building problems were due to autoconf and autoheaders versions being hardcoded into the build scripts, but can be overridden with some additional environment variables. Strangely, however, they aren't being read as expected from pfsense-build.conf, so I had to patch them in manually...The following two variables fix the php4-xxxx ports building problems:
PHP_AUTOCONF=autoconf-2.68 PHP_AUTOHEADER=autoheader-2.68
This one fixes dnsmasq building problem and any other port that may have known vulnerabilities:
DISABLE_VULNERABILITIES=YES
As I mentioned, building the ports from /home/pfsense/tools/builder_scripts/build_pfPorts.sh doesn't import the above mentioned variables, possibly because the actual port building is being invoked through an su to run /home/pfsense/tools/pfPorts/buildports.RELENG_1_2, which is where I ended up defining the aforementioned variables.
The ports for the most part built okay, with a few errors:ERROR Building choparp
ERROR Building minicron
ERROR Building pftpx
ERROR Building sshlockout_pf
ERROR Building dnswatchI am looking into the failures, and so far…
choparp: references dprintf which doesn't exist in glibc of 7.2, so an older version of choparp would be required, or a dprintf substitute.
minicron: references closefrom which doesn't exist in glibc, so older version or closefrom substitute.
sshlockout_pf: references closefrom (same as above)
pftpx: missing files for pftpx-0.8
dnswatch: missing from ports tree -
Since i am a newbie and i am also have the same error, which file i should put that code in?
Please help.Regards
JokoHPI've discovered that the php4-xxx port building problems were due to autoconf and autoheaders versions being hardcoded into the build scripts, but can be overridden with some additional environment variables. Strangely, however, they aren't being read as expected from pfsense-build.conf, so I had to patch them in manually…The following two variables fix the php4-xxxx ports building problems:
PHP_AUTOCONF=autoconf-2.68 PHP_AUTOHEADER=autoheader-2.68
This one fixes dnsmasq building problem and any other port that may have known vulnerabilities:
DISABLE_VULNERABILITIES=YES
-
DISABLE_VULNERABILITIES=YES should only be needed if you have portaudit installed, which usually wouldn't be the case on a builder if you followed the directions.
I'm still poking at the autoconf issues, but I just did a commit now that should make the other ports happier for building on 7.2 for 1.2.3. Give those another go after updating your tools repo.
-
>>> Ports with failures: 0 >>> Building athstats...Done! >>> Building tools/crytpo...Done! ==> End of pfPorts... >>> Operation ./build_pfPorts.sh has ended at Mon Feb 21 21:19:43 EST 2011
All good now. Make sure you do a "portsnap fetch extract" after updating the git repos, or update your ports with csup. Also make sure you have a good and current version of autoconf and autoconf-wrapper installed.