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

    Cvs.bsdinstaller.org down? Can't bootstrap the developer install

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    6 Posts 3 Posters 3.1k 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.
    • B
      bblacey
      last edited by

      I am trying to bootstrap a developer environment and have left the dev_bootstrap.sh script running since Friday but it is unable to connect to cvs.bsdinstaller.org.  The error message is "Connection refused" - does anyone know if the cvsup host is down?  If so, does anyone have a work-around to this problem (e.g. mirror, etc.?)

      For reference, this is the idiom that fails.

      
      cd $HOME_PFSENSE/tools/builder_scripts
      
      # Update BSDInstaller
      ./cvsup_bsdinstaller
      
      

      Thanks,
      Bruce

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

        Try this instead:

        fetch http://www.pfsense.com/~sullrich/bsdinstaller/installer.tgz
        tar xzvpf installer.tgz -C /
        cd /home/pfsense/installer/scripts/build/
        ./create_installer_tarballs.sh && ./copy_ports_to_portsdir.sh &&
        ./build_installer_packages.sh

        1 Reply Last reply Reply Quote 0
        • B
          bblacey
          last edited by

          @sullrich:

          ./create_installer_tarballs.sh && ./copy_ports_to_portsdir.sh && ./build_installer_packages.sh

          Hi Scott,

          Thanks for the help but the above line, specifically the create_insatller_tarballs.sh, always fails as follows:

          
          freebsd# pwd
          /usr/home/pfsense/installer/scripts/build
          freebsd# ./create_installer_tarballs.sh && ./copy_ports_to_portsdir.sh && ./build_installer_packages.sh 
          + realpath ./create_installer_tarballs.sh
          + SCRIPT=/usr/home/pfsense/installer/scripts/build/create_installer_tarballs.sh
          + dirname /usr/home/pfsense/installer/scripts/build/create_installer_tarballs.sh
          + SCRIPTDIR=/usr/home/pfsense/installer/scripts/build
          + [ -r /usr/home/pfsense/installer/scripts/build/build.conf ]
          + . /usr/home/pfsense/installer/scripts/build/build.conf.defaults
          + CVSDIR=/root/projects
          + CVSMODULE=installer
          + TMPDIR=/tmp
          + NRELEASEDIR=/usr/src/nrelease
          + PORTSDIR=/usr/ports
          + DISTFILESDIR=/usr/ports/distfiles
          + PACKAGESDIR=/usr/ports/packages/All
          + ISOROOT=/usr/release/root
          + PORTS_FLAGS=
          + REMOVEOLDPKGS=YES
          + REMOVEOLDDISTFILES=YES
          + RELEASEBUILD=NO
          + ROOTSKEL=/usr/src/nrelease/installer
          + EXTRA_ROOTSKELS=
          + INSTALL_DFUIFE_QT=NO
          + INSTALL_DFUIBE_LUA=NO
          + INSTALL_DFUIBE_INSTALLER=YES
          + WITH_NLS=NO
          + WITH_X11=NO
          + WITH_DEBUG_INFO=NO
          + WITH_DEBUG=NO
          + ONE_BIG_PKG=NO
          + . /usr/home/pfsense/installer/scripts/build/pver.conf
          + INSTALLER_VER=2.0
          + LIBAURA_VER=3.1
          + LIBDFUI_VER=4.1
          + LIBINSTALLER_VER=5.1
          + DFUIFE_CURSES_VER=1.5.1
          + DFUIFE_CGI_VER=1.4.1
          + DFUIFE_QT_VER=1.2.1
          + DFUIBE_INSTALLER_VER=1.1.7
          + DFUIBE_LUA_VER=1.0
          + LUA50_VER=5.0.2
          + LUA50_COMPAT51_VER=5.1.r2
          + LUA50_PTY_VER=0.1
          + LUA50_GETTEXT_VER=0.1
          + LUA50_DFUI_VER=0.1
          + LUA50_APP_VER=0.1
          + LUA50_FILENAME_VER=0.1
          + LUA50_SOCKET_VER=2.0.b3
          + LUA50_POSIX_VER=2005.0327
          + THTTPD_NOTIMEOUT_VER=2.24
          + LIBICONV_VER=1.9.2_1
          + EXPAT_VER=1.95.8_3
          + GETTEXT_VER=0.14.5
          + PKGCONFIG_VER=0.15.0_1
          + FREETYPE2_VER=2.1.9
          + FONTCONFIG_VER=2.2.3,1
          + PNG_VER=1.2.8_1
          + BITSTREAM_VERA_VER=1.10_1
          + LIBXFT_VER=2.1.6_1
          + XORG_LIBRARIES_VER=6.8.1
          + XORG_VFBSERVER_VER=6.8.1
          + XORG_SERVER_VER=6.8.1
          + XORG_PRINTSERVER_VER=6.8.1
          + XORG_FONTS_ENCODINGS_VER=6.8.1
          + XORG_FONTS_MISCBITMAPS_VER=6.8.1
          + XORG_FONTS_CYRILLIC_VER=6.8.1
          + XORG_FONTS_75DPI_VER=6.8.1
          + XORG_FONTS_100DPI_VER=6.8.1
          + XORG_FONTS_TYPE1_VER=6.8.1
          + XORG_FONTS_TRUETYPE_VER=6.8.1
          + XORG_DOCUMENTS_VER=6.8.1
          + XORG_NESTSERVER_VER=6.8.1
          + XORG_FONTSERVER_VER=6.8.1
          + XORG_CLIENTS_VER=6.8.1
          + DRI_VER=6.2_1,2
          + XORG_VER=6.8.2
          + RXVT_VER=2.6.4_1
          + JPEG_VER=6b_3
          + LCMS_VER=1.14,1
          + LIBMNG_VER=1.0.8
          + QT_VER=3.3.4
          + PVERSUFFIX=
          + [ XNO != XYES ]
          + date +%Y.%m%d
          + PVERSUFFIX=.2006.1009
          + [ XYES = XYES ]
          + rm -rf /usr/ports/distfiles/libaura-*.????.????.tar.gz
          + rm -rf /usr/ports/distfiles/libinstaller-*.????.????.tar.gz
          + rm -rf /usr/ports/distfiles/*dfui*.????.????.tar.gz
          + rm -rf /usr/ports/distfiles/lua50-*.????.????.tar.gz
          + rm -rf /usr/ports/distfiles/luaapp-*.????.????.tar.gz
          + rm -rf /usr/ports/distfiles/luagettext-*.????.????.tar.gz
          + rm -rf /usr/ports/distfiles/luafilename-*.????.????.tar.gz
          + rm -rf /usr/ports/distfiles/luapty-*.????.????.tar.gz
          + rm -rf /usr/ports/distfiles/bsdinstaller-*.????.????.tar.gz
          + test -d /usr/ports/distfiles
          + cd /root/projects/installer/src
          cd: can't cd to /root/projects/installer/src
          freebsd# 
          
          

          The CVS directory for the installer probably doesn't exist in the usual location because the manual work-around doesn't install it using cvsup.  I created a build.conf file in the build directory to override the CVSDIR to /home/pfsense and re-ran the original command however that failed at a later point as follows:

          
          ...snip, snip, snip...
          
          + cd /home/pfsense//installer/ports
          + find . -name work -print
          + rm -rf
          + cd /home/pfsense
          + tar zcvf /usr/ports/distfiles/bsdinstaller-2.0.2006.1009.tar.gz --exclude CVS installer
          tar: Failed to open '/usr/ports/distfiles/bsdinstaller-2.0.2006.1009.tar.gz' : No such file or directory
          #
          
          

          I checked the contents of /usr and the ports directory does not exist for some reason.  In fact, here are the search results for bsdinstaller:

          
          find / -name '*bsdinstaller*' -print
          /usr/local/lib/lua/bsdinstaller-2.0.2006.0728
          /var/db/pkg/bsdinstaller-2.0.2006.0728
          /home/pfsense/cvsroot/tools/builder_scripts/bsdinstaller-supfile,v
          /home/pfsense/cvsroot/tools/builder_scripts/cvsup_bsdinstaller,v
          /home/pfsense/cvsroot/tools/patches/bsdinstaller,v
          /home/pfsense/cvsroot/tools/patches/bsdinstaller/bsdinstaller_gmirror.diff,v
          /home/pfsense/tools/patches/bsdinstaller
          /home/pfsense/tools/patches/bsdinstaller/bsdinstaller_gmirror.diff
          /home/pfsense/tools/builder_scripts/bsdinstaller-supfile
          /home/pfsense/tools/builder_scripts/cvsup_bsdinstaller
          /home/pfsense/installer/ports/sysutils/bsdinstaller
          #
          
          

          Do you have any other ideas or suggestions?

          Thanks again for your help,
          Bruce

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan
            last edited by

            @bblacey:

            @sullrich:

            ./create_installer_tarballs.sh && ./copy_ports_to_portsdir.sh && ./build_installer_packages.sh

            Thanks for the help but the above line, specifically the create_insatller_tarballs.sh, always fails as follows:

            Yep, I also used the build.conf file to put the CVSDIR in place…. (/home/pfsense)
            That dit it for create_installer_tarballs.sh and copy_ports_to_portsdir.sh.

            build_installer_packages.sh still bails out, thought - it seems that more (complicated) paths aren't set up well in the dev edition.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • B
              bblacey
              last edited by

              Actually, I just heard from Chris and he is pretty sure that he fixed the cvs.bsdinstaller.org access problem.  I can't verify it until tonight but you might want to try the stock dev_bootstrap.sh bootstrap script at this point to see if it makes it past the bsdinstaller cvsup step.

              1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan
                last edited by

                Yep  ;D

                The bootstrap (/usr/local/etc/rc.d/dev_bootstrap.sh) works right now.
                Still got a (non significant ??) error when ending the bsdinstaller :

                …pkg_create: make_dist: tar command failed with code 256
                Creating package /home/pfsense/tools/builder_scripts/conf/packages
                Registering depends:.
                Creating gzip'd tar ball in '/home/pfsense/tools/builder_scripts/conf/packages.tgz'
                *** Error code 1

                Stop in /usr/ports/sysutils/bsdinstaller.
                Bootstrap completed.

                Building iso......
                ....

                but I think I saw this one before - it doesn't stop from building valids …. builds  :)

                Thanks for the tip.

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

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