Menu

#399 Full Compilation fails on python 3.4 dependency

12.0.0.4
closed
zoon01
None
1
2019-09-22
2019-06-23
Ap Muthu
No

FullFull compile of XigmaNAS on FreeBSD-12.0.0.4-p6

In /etc/make.conf we have:

#DEFAULT_VERSIONS+=python=2.7
#DEFAULT_VERSIONS+=python2=2.7

On attempting a full compilation, it fails with:

===>   samba48-4.8.12_1 depends on package: talloc>=2.1.14 - not found
===>  talloc-2.2.0 needs Python 3.4 at least, but 2.7 was specified.
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/devel/talloc
*** Error code 1

Stop.
make[1]: stopped in /usr/local/xigmanas/svn/build/ports/samba48
*** Error code 1

Stop.
make: stopped in /usr/local/xigmanas/svn/build/ports/samba48
=> Failed!

Discussion

  • Ap Muthu

    Ap Muthu - 2019-06-23

    Furthermore, the kernel.gz is absent:

    Generate /usr/local/xigmanas/bootloader/loader.conf
    => ERROR: File kernel.gz does not exist!
    => Failed!
    
     
  • ms49434

    ms49434 - 2019-06-23
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -Full compile of XigmaNAS on FreeBSD-12.0.0.4-p6
    +FullFull compile of XigmaNAS on FreeBSD-12.0.0.4-p6
    
     In **/etc/make.conf **we have:
     ````
    
    • assigned_to: zoon01
     
  • Ap Muthu

    Ap Muthu - 2019-06-23

    Further failure noticed:

    --------------------------------------------------------------
    >>> Installing Port: ca_root_nss
    --------------------------------------------------------------
    ===>  Staging for ca_root_nss-_1
    ===>   Generating temporary packing list
    install for /usr/local/xigmanas/rootfs
    install: /usr/ports/security/ca_root_nss/work/stage/usr/local/etc/ssl/cert.pem.sample: No such file or directory
    *** Error code 71
    
    Stop.
    make: stopped in /usr/local/xigmanas/svn/build/ports/ca_root_nss
    => Failed!
    
     
  • Ap Muthu

    Ap Muthu - 2019-06-23

    These upgrade notes are taken from /usr/ports/UPDATING

    2019-06-19
    
    Affects: users of samba4[6-8] and devel/talloc, devel/tevent, databases/tdb, databases/ldb*
    
    Author: timur@FreeBSD.org
    
    Reason: 
      To introduce samba410(we deliberatly skip samba49 due the complexity of handling)
      and to drop dependency on deprecated Python 2.7, Samba supplimentary libraries
      talloc, tevent and tdb were splitted into current Python 3 compatiable versions
      and legacy ones, with the suffix "1".
    
      Old versions of Samba were changed to depend on the legacy supplimentary libraries,
      so if you need to install samba46, samba47 or samba48 over previous Samba
      installations you need to downgrade supplimentary libs with the following commands:
    
      for users of portmaster:
            portmaster -o devel/talloc1 devel/talloc
            portmaster -o devel/tevent1 devel/tevent
            portmaster -o databases/tdb1 databases/tdb
            portmaster -r devel/talloc1
    
      for users of portupgrade:
            portupgrade -o devel/talloc1 devel/talloc
            portupgrade -o devel/tevent1 devel/tevent
            portupgrade -o databases/tdb1 databases/tdb
            portupgrade -fr devel/talloc1
    
     
  • Ap Muthu

    Ap Muthu - 2019-07-03

    Compiles now but file size too small as embedded file is missing something.
    See comparison from 6766 to 6781.

     
  • Ap Muthu

    Ap Muthu - 2019-07-17

    Same state as of r6786. What is missing in the build/README for the pkgs folder to be populated?

    Has anyone tried to build XigmaNAS 12.0.0.4 from scratch?

     
  • zoon01

    zoon01 - 2019-09-21
    • status: open --> closed
     
  • zoon01

    zoon01 - 2019-09-21

    our code in svn is not ready to use custom version of python, you need to make more changes when you are compile yourself with customs setings/software.

    Right now trunk is changed to use default python36

     
  • Ap Muthu

    Ap Muthu - 2019-09-22

    Only a couple of days ago was the Python3 port added in r6868.

    No custom version of python was used in the builds stated herein. Looks like no one other than the devs can compile the XigmaNAS ISO for now.

    New ISO for v12 awaited.

     

Log in to post a comment.