Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Error while building pfSense using steps given in DevelopersBootStrapAndDevIso.

    Scheduled Pinned Locked Moved Development
    10 Posts 4 Posters 4.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mahendra
      last edited by

      I am trying to build pfSense from scratch and following steps given in http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso
      I have tried several times in last 7 days but still not successful.
      I have tried to build on FreeBSD 8.3 , 9.1 and also on 8.1.

      Please guide me I am missing something.

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        There isn't enough detail there to help at all.

        What version of pfSense are you trying to build?
        What part gave you errors?
        What were the errors?

        The process on that page works, I just followed it and updated it not long ago.

        It's also been discussed elsewhere here on the forum several times.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • M
          Mahendra
          last edited by

          I had selected version RELENG FreeBSD 8.3 + R at the time of build and my FreeBSD Version is 9.1.

          this is my pfsense-build.conf file contents:

          export PFSENSE_VERSION=2.1-DEVELOPMENT
          export FREEBSD_VERSION=8
          export FREEBSD_BRANCH=RELENG_8_3
          export PFSENSETAG=HEAD
          export PFSPATCHFILE=/home/pfsense/tools/builder_scripts/../builder_scripts/patches.RELENG_8_3
          export PFSPATCHDIR=/home/pfsense/tools/builder_scripts/../patches/RELENG_8_3
          export SUPFILE=/home/pfsense/tools/builder_scripts/../builder_scripts/RELENG_8_3-supfile
          export CUSTOM_COPY_LIST=/home/pfsense/tools/builder_scripts/../builder_scripts/copy.list.RELENG_2_1

          Error while building ISO:

          Using /home/pfsense/tools/builder_scripts/../builder_scripts/copy.list.RELENG_2_1…
          Populating newer binaries found on host jail/os (usr/local)...
          cp: /usr/local/pfsense-fs/lib/libthr.so.3: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libc.so.7: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libc.so.7: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libc.so.7: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libc.so.7: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libc.so.7: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libcrypt.so.5: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libthr.so.3: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libc.so.7: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libc.so.7: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libthr.so.3: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libc.so.7: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libcrypt.so.5: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libthr.so.3: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libc.so.7: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libcrypt.so.5: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libc.so.7: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libc.so.7: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libthr.so.3: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libc.so.7: Operation not permitted
          cp: /usr/local/pfsense-fs/lib/libthr.so.3: Operation not permitted
          ..

          Installing collected library information, please wait...
          Deleting files listed in /home/pfsense/tools/builder_scripts/remove.list.iso.8
          chroot'ing and running /etc/rc.php_ini_setup
          cat: /conf/config.xml: No such file or directory
          Copying config.xml from conf.default/ to cf/conf/
          Testing PHP installation in /usr/local/pfsense-fs: FCGI-PASSED PASSED  [OK]
          Checking BSDInstaller health… dfuife_curses missing [ERROR!]

          ####################################
          Something went wrong, check errors!
          ####################################

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            The "operation not supported" errors are normal, not fatal.

            And we have no supported build on FreeBSD 9.1. Use the correct matching version of FreeBSD for the version you're building (8.1 for pfSense 2.0.x, 8.3 for pfSense 2.1)

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • M
              Mahendra
              last edited by

              Thank for reply..

              I have tried to build pfSense 2.0 on FreeBSD 8.1 but after building bellow errors are coming

              Building openvpn-ipv6(openvpn-2.2.0)…ERROR!
              Building ioncube(ioncube-4.0.12)...ERROR!
              File not found ioncube /usr/ports/devel/ioncube /usr/local/lib/php/20060613/ioncube/ioncube_loader.so - /usr/local/lib/php/20060613/ioncube/ioncube_loader.so
              Building athstats...main.c: In function 'getfmt':
              main.c:73: warning: implicit declaration of function 'strcasecmp'
              Done!
              Building tools/crytpo...Done!
              ==> End of pfPorts...
              Cleaning build directories: Done!

              Remove list: /home/pfsense/tools/builder_scripts/remove.list.iso.8
                                Copy list: /home/pfsense/tools/builder_scripts/../builder_scripts/copy.list.RELENG_8_0
                          MAKEOBJDIRPREFIX: /usr/obj.pfSense
                        pfSense build dir: /usr/pfSensesrc/src
                          pfSense version: 2.0-RELEASE
                                  CVS User: sullrich
                                Verbosity:
                                  BASE_DIR: /home/pfsense/tools/builder_scripts/../..
                                  BASEDIR: /usr/local/pfsense-fs
                              Checkout dir: /home/pfsense/tools/builder_scripts/../../pfSense
                              Custom root: /home/pfsense/tools/builder_scripts/../../pfSense
                            CVS IP address: cvs.pfsense.org
                              Updates dir: /tmp/pfSense//updates
                              pfS Base dir: /usr/local/pfsense-fs
                            FreeSBIE path: /home/pfsense/tools/builder_scripts/../../freesbie2
                            FreeSBIE conf: /dev/null
                                Source DIR: /usr/pfSensesrc/src
                                Clone DIR: /usr/local/pfsense-clone
                            Custom overlay:
                          pfSense version: 8
                            FreeBSD branch: RELENG_8_1
                              pfSense Tag: RELENG_2_0
                              EXTRAPLUGINS: customroot
                              EXTRAPLUGINS: customscripts
                              EXTRAPLUGINS: pkginstall
                              EXTRAPLUGINS: buildmodules
                          MODULES_OVERRIDE: i2c
                          MODULES_OVERRIDE: ipmi
                          MODULES_OVERRIDE: acpi
                          MODULES_OVERRIDE: ndis
                          MODULES_OVERRIDE: ipfw
                          MODULES_OVERRIDE: ipdivert
                          MODULES_OVERRIDE: dummynet
                          MODULES_OVERRIDE: fdescfs
                          MODULES_OVERRIDE: cpufreq
                          MODULES_OVERRIDE: opensolaris
                          MODULES_OVERRIDE: zfs
                          MODULES_OVERRIDE: glxsb
                          MODULES_OVERRIDE: runfw
                            Git Repository: git://github.com/bsdperimeter/pfsense.git
                                Git Branch:
                            Custom Config:
                                  ISOPATH: /tmp/pfSense//pfSense-LiveCD-2.0-RELEASE-i386-20130124-1452.iso
                                  IMGPATH: /tmp/pfSense//pfSense-2.0-RELEASE-i386-20130124-1452.img
                              MEMSTICKPATH: /tmp/pfSense//pfSense-memstick-2.0-RELEASE-i386-20130124-1452.img
                                KERNELCONF:
                      TARGET_ARCH_CONF_DIR: /usr/pfSensesrc/src/sys/i386/conf/
                  FREESBIE_COMPLETED_MAIL:
                      FREESBIE_ERROR_MAIL:
                                  OVFPATH: /tmp/pfSense/
                                  OVFFILE: pfSense.ovf
                              OVADISKSIZE: 10737418240
                              OVABLOCKSIZE: 409600
                      OVA_FIRST_PART_SIZE: 8G
                        OVA_SWAP_PART_SIZE: 4193725
                                  OVAFILE: pfSense.ova
                                  OVFVMDK: pfSense.vmdk
                                OVFSTRINGS:
                                    OVFMF:
                                  OVFCERT:
                                  SRC_CONF:
              CROSS_COMPILE_PORTS_BINARIES:
                          SPLIT_ARCH_BUILD:
                  UPDATES_TARBALL_FILENAME: /tmp/pfSense//updates/pfSense-Full-Update-2.0-RELEASE-i386-20130124-1452.tgz
                      PKG_INSTALL_PORTSPFS:
                CUSTOM_CALL_SHELL_FUNCTION:

              .: Can't open ./builder_common.sh: No such file or directory

              Can you tell me what should be the problem?

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                The openvpn22 build error should be fixed now.

                To recompile it, just run:

                cd /usr/home/pfsense/tools/builder_scripts
                ./build_pfPorts.sh openvpn22
                
                

                The ioncube error isn't important, it isn't a critical module and it isn't likely to be needed anyhow.

                For the installer issue, try running:

                cd /usr/home/pfsense/tools/builder_scripts
                ./fixup_git_repo_urls.sh 
                ./update_git_repos.sh && ./clean_build.sh && ./apply_kernel_patches.sh
                ./rebuild_bsdinstaller.sh
                

                And then try to build another iso.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • M
                  Mahendra
                  last edited by

                  Thanks you so much :)
                  I have successfully build Regular ISO.

                  1 Reply Last reply Reply Quote 0
                  • S
                    simontkk
                    last edited by

                    Hi,

                    Can anyone help me ? I have keep tried for this for last 2 week but still successful. Although I was successfully built the ISO out, but I still see there is some port error for syslog-ng ,  openssl  and IONCUBE ?

                    1. May I know why ISO still able to built although there are some error on ports ? I want to know some logical concept behind this.

                    2. May I know how to settle the error at above ?

                    Thank you very much if anyone could help me.

                    Best Regards,
                    SIMON TIONG

                    1 Reply Last reply Reply Quote 0
                    • I
                      ifconfig
                      last edited by

                      @simontkk:

                      Hi,

                      Can anyone help me ? I have keep tried for this for last 2 week but still successful. Although I was successfully built the ISO out, but I still see there is some port error for syslog-ng ,  openssl  and IONCUBE ?

                      1. May I know why ISO still able to built although there are some error on ports ? I want to know some logical concept behind this.

                      2. May I know how to settle the error at above ?

                      Thank you very much if anyone could help me.

                      Best Regards,
                      SIMON TIONG

                      Hi. Building ports and building iso are individual. Building ports step builds and installs ports to computer you work in. In the next steps, the essential binaries and other files for pfSense are copied to pfSense's root by using copy.list.WHATEVER. If a file doesn't exist to copy, they are listed in the /tmp/pfPort/copy.list file.

                      1 Reply Last reply Reply Quote 0
                      • S
                        simontkk
                        last edited by

                        @ifconfig:

                        @simontkk:

                        Hi,

                        Can anyone help me ? I have keep tried for this for last 2 week but still successful. Although I was successfully built the ISO out, but I still see there is some port error for syslog-ng ,  openssl  and IONCUBE ?

                        1. May I know why ISO still able to built although there are some error on ports ? I want to know some logical concept behind this.

                        2. May I know how to settle the error at above ?

                        Thank you very much if anyone could help me.

                        Best Regards,
                        SIMON TIONG

                        Hi. Building ports and building iso are individual. Building ports step builds and installs ports to computer you work in. In the next steps, the essential binaries and other files for pfSense are copied to pfSense's root by using copy.list.WHATEVER. If a file doesn't exist to copy, they are listed in the /tmp/pfPort/copy.list file.

                        Hi ifconfig,

                        First of all, thank you for your valuable information. I found that inside my /tmp/pfPort/copy.list it stated some error like following. May I know, do you any idea of what causing the error ?

                        Could not locate lib/libgeom.so.4
                        Could not locate usr/local/sbin/syslog-ng
                        Could not locate sbin/rtsold
                        Could not locate usr/local/lib/libxml.so
                        Could not locate usr/local/sbin/slbd.sh
                        Could not locate usr/local/bin/verifysig
                        Could not locate usr/local/bin/radns
                        Could not locate usr/local/bin/sqlite3
                        Could not locate usr/local/bin/zmq_forwarder
                        Could not locate usr/local/bin/zmq_streamer
                        Could not locate usr/local/bin/zmq_queue
                        Could not locate usr/local/sbin/dhclient
                        Could not locate usr/local/sbin/dhcpleases6
                        Could not locate usr/local/sbin/bpalogin
                        Could not locate usr/local/sbin/haproxy
                        Could not locate usr/local/lib/libevent-1.3e.so.1
                        Could not locate usr/local/lib/php/20060613/pdo_pgsql.so
                        Could not locate usr/local/lib/php/20060613/ioncube/ioncube_loader.so
                        Could not locate usr/local/lib/php/20060613/ioncube/ioncube_loader_ts.so
                        Could not locate usr/local/lib/olsrd_dyn_gw.so.0.4
                        Could not locate usr/local/lib/olsrd_secure.so.0.5

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.