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

    Build fails - ERROR Building libtool

    Scheduled Pinned Locked Moved Development
    42 Posts 8 Posters 16.6k 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.
    • P
      podilarius
      last edited by

      so does:
      ./set_version.sh RELENG_2_0 cvsup17.freebsd.org

      1 Reply Last reply Reply Quote 0
      • W
        wagonza
        last edited by

        Try update your ports (with ./update_git_repos.sh) - there were some changes made yesterday which should fix the problems you were seeing.

        Follow me on twitter http://twitter.com/wagonza
        http://www.thepackethub.co.za

        1 Reply Last reply Reply Quote 0
        • A
          ardunio
          last edited by

          @wagonza:

          Try update your ports (with ./update_git_repos.sh) - there were some changes made yesterday which should fix the problems you were seeing.

          I've just tried and it stopped at "Executing buildports.RELENG_2_0"
          I've updated ports, source code and pfsense-tools but still not working.

          1 Reply Last reply Reply Quote 0
          • W
            wagonza
            last edited by

            It should eventually continue after that, how long did you leave it for?

            Follow me on twitter http://twitter.com/wagonza
            http://www.thepackethub.co.za

            1 Reply Last reply Reply Quote 0
            • A
              ardunio
              last edited by

              @wagonza:

              It should eventually continue after that, how long did you leave it for?

              Over 1 hour.

              1 Reply Last reply Reply Quote 0
              • W
                wagonza
                last edited by

                @ardunio:

                Over 1 hour.

                heh, ok no it should not be that long. Try do a clean_build.sh, apply_kernel_patches.sh and re-run the build_pfPorts.sh

                Follow me on twitter http://twitter.com/wagonza
                http://www.thepackethub.co.za

                1 Reply Last reply Reply Quote 0
                • P
                  podilarius
                  last edited by

                  I have tried a couple of times and I had errors on build, but since I have built once, the errors doesn't seems stop a successful build of the iso. I am also still skipping build where when building 2.1, I don't skip. On re-building the iso and updates on 2.1, all the ports are rebuilt and forced into registering (effectively doing a port upgrade). 2.0 apparently sees that it is already installed and does not re-compile. The problem is that with the customizations and patches to the system, it makes any normal FreeBSD port upgrade method useless.
                  I am currently build 2.1 images in the virtual server and will paste the 2.0.1 build errors in here at a later time.

                  1 Reply Last reply Reply Quote 0
                  • A
                    ardunio
                    last edited by

                    @wagonza:

                    heh, ok no it should not be that long. Try do a clean_build.sh, apply_kernel_patches.sh and re-run the build_pfPorts.sh

                    I did but had lot of errors again.

                    1 Reply Last reply Reply Quote 0
                    • P
                      podilarius
                      last edited by

                      Well … the same errors are now present in the 2.1 builds. Yet it still builds ISOs and updates.

                      
                      >>> Overlaying pfPorts /home/pfsense/tools/builder_scripts/../../tools/pfPorts/unbound to /usr/ports/dns/unbound and building...
                      >>> gmake(gmake-3.82)...already built on this run.  Skipping.
                      >>> libevent(libevent-1.4.14b_2)...already built on this run.  Skipping.
                      >>> gmake(gmake-3.82)...already built on this run.  Skipping.
                      >>> libtool(libtool-2.4.2)...already built on this run.  Skipping.
                      >>> Building ldns(ldns-1.6.12)...Done.
                      >>> expat2(expat-2.0.1_2)...already built on this run.  Skipping.
                      >>> Building unbound(unbound-1.4.16)...Done.
                      >>> Ports with failures:        3
                      >>> Building libart_lgpl(libart_lgpl-2.3.21,1)...ERROR!
                      >>> Building freetype2(freetype2-2.4.2)...ERROR!
                      >>> Building olsrd(olsrd-0.5.6.r7)...ERROR!
                      >>> Building athstats...main.c: In function 'getfmt':
                      main.c:73: warning: implicit declaration of function 'strcasecmp'
                      Done!
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • A
                        ardunio
                        last edited by

                        @podilarius:

                        Well … the same errors are now present in the 2.1 builds. Yet it still builds ISOs and updates.

                        
                        >>> Overlaying pfPorts /home/pfsense/tools/builder_scripts/../../tools/pfPorts/unbound to /usr/ports/dns/unbound and building...
                        >>> gmake(gmake-3.82)...already built on this run.  Skipping.
                        >>> libevent(libevent-1.4.14b_2)...already built on this run.  Skipping.
                        >>> gmake(gmake-3.82)...already built on this run.  Skipping.
                        >>> libtool(libtool-2.4.2)...already built on this run.  Skipping.
                        >>> Building ldns(ldns-1.6.12)...Done.
                        >>> expat2(expat-2.0.1_2)...already built on this run.  Skipping.
                        >>> Building unbound(unbound-1.4.16)...Done.
                        >>> Ports with failures:        3
                        >>> Building libart_lgpl(libart_lgpl-2.3.21,1)...ERROR!
                        >>> Building freetype2(freetype2-2.4.2)...ERROR!
                        >>> Building olsrd(olsrd-0.5.6.r7)...ERROR!
                        >>> Building athstats...main.c: In function 'getfmt':
                        main.c:73: warning: implicit declaration of function 'strcasecmp'
                        Done!
                        
                        

                        I'm having same errors.

                        1 Reply Last reply Reply Quote 0
                        • W
                          wagonza
                          last edited by

                          
                          >>> Building libart_lgpl(libart_lgpl-2.3.21,1)...ERROR!
                          >>> Building freetype2(freetype2-2.4.2)...ERROR!
                          >>> Building olsrd(olsrd-0.5.6.r7)...ERROR!
                          >>> Building athstats...main.c: In function 'getfmt':
                          main.c:73: warning: implicit declaration of function 'strcasecmp'
                          Done!
                          
                          

                          I thought i had checked in a fix for this ^^, these actually would fail now on any build if you have updated your ports. There was a change to pkg-config which causes the first two ports to fail. olsrd is moving to a package, so that should be removed. I will try finish that package in the next few days and have it removed from the build setup. I will get this fixed and report back.

                          Follow me on twitter http://twitter.com/wagonza
                          http://www.thepackethub.co.za

                          1 Reply Last reply Reply Quote 0
                          • A
                            ardunio
                            last edited by

                            Okay. Thanks for your caring.

                            1 Reply Last reply Reply Quote 0
                            • P
                              podilarius
                              last edited by

                              Thanks wagonza. I try to keep my build servers up-to-date. This is why I would like for the build scripts to rebuild ports. Right now, it looks like if the port is already installed, it skips building it. I would like to keep it so that if /tmp/pgPorts_forced_build_required is still there to have it rebuild all the ports in the list with at least the BATCH and FORCE_PKG_REGISTER options set so that the ports and the installed files are updated. Let me know if that is just not realistic.

                              1 Reply Last reply Reply Quote 0
                              • W
                                wagonza
                                last edited by

                                No problem. Do a ./update_git_repos.sh and rebuild it should be working now.
                                Ill look at the /tmp/pfPorts_forced_build_required bit and see - it still needs a lot of tuning.

                                Follow me on twitter http://twitter.com/wagonza
                                http://www.thepackethub.co.za

                                1 Reply Last reply Reply Quote 0
                                • P
                                  podilarius
                                  last edited by

                                  Thanks wagonza … I will let you know the outcome.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    podilarius
                                    last edited by

                                    Unfortunately the error issue persists.

                                    
                                    >>> Building gogoc(gogoc-1.2)...Done.
                                    >>> Ports with failures:        4
                                    >>> Building libart_lgpl(libart_lgpl-2.3.21,1)...ERROR!
                                    >>> Building freetype2(freetype2-2.4.2)...ERROR!
                                    >>> Building olsrd(olsrd-0.5.6.r7)...ERROR!
                                    >>> Building ioncube(ioncube-4.0.12)...ERROR!
                                    >>> Building athstats...main.c: In function 'getfmt':
                                    main.c:73: warning: implicit declaration of function 'strcasecmp'
                                    Done!
                                    >>> Building tools/crytpo...Done!
                                    ==> End of pfPorts...
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      ardunio
                                      last edited by

                                      and these are mine.

                                      
                                      >>> Building ipfw-classifyd(ipfw-classifyd-0.1)...ERROR!
                                      >>> File not found ipfw-classifyd				/usr/ports/net/ipfw-classifyd				/usr/local/sbin/ipfw-classifyd - /usr/local/sbin/ipfw-classifyd
                                      >>> Building mpd5(mpd-5.6)...ERROR!
                                      >>> File not found mpd5						/usr/ports/net/mpd5							/usr/local/sbin/mpd5 - /usr/local/sbin/mpd5
                                      >>> Building olsrd(olsrd-0.5.6.r7)...ERROR!
                                      >>> File not found olsrd						/usr/ports/net/olsrd						/usr/local/sbin/olsrd - /usr/local/sbin/olsrd
                                      >>> Building php52-pfSense-module(php52-pfSense-module-0.1)...ERROR!
                                      >>> File not found php52-pfSense-module		/usr/ports/devel/php52-pfSense-module		/usr/local/lib/php/20060613/pfSense.so - /usr/local/lib/php/20060613/pfSense.so
                                      >>> 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
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • W
                                        wagonza
                                        last edited by

                                        Did you update your ports tree prior to all of this?

                                        Follow me on twitter http://twitter.com/wagonza
                                        http://www.thepackethub.co.za

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          podilarius
                                          last edited by

                                          Yes … I run a script that does that ...

                                          
                                          #!/bin/sh
                                          
                                          rm -rf /tmp/*
                                          portsnap fetch extract
                                          csup -h cvsup17.freebsd.org /usr/share/examples/cvsup/standard-supfile
                                          cd /home/pfsense/tools/builder_scripts
                                          ./clean_build.sh
                                          ./update_git_repos.sh
                                          rm -rf /home/pfsense/installer
                                          /cvsup_bsdinstaller ; ./rebuild_bsdinstaller.sh
                                          ./set_version.sh RELENG_2_1 cvsup17.freebsd.org email email
                                          cd /home/pfsense/tools/pfPorts/php5; make -DBATCH -DFORCE_PKG_REGISTER -DNOPORTDOCS clean all install clean
                                          cd /home/pfsense/tools/pfPorts/php5-pfSense-module/; make -DBATCH -DFORCE_PKG_REGISTER -DNOPORTDOCS all install clean
                                          cd /usr/ports/devel/readline/; make -DBATCH -DFORCE_PKG_REGISTER -DNOPORTDOCS all install clean
                                          cd /usr/ports/curl; make -DBATCH -DFORCE_PKG_REGISTER -DNOPORTDOCS all install clean
                                          cd /home/pfsense/tools/builder_scripts
                                          ./build_iso.sh
                                          ./build_updates.sh
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            podilarius
                                            last edited by

                                            I do the same basic thing for 2.0.1 builds as well.

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