Skip to content

anyplans on regaining support for freebsd and fixing bootstrap for it #94

Description

@justfly1111

anyplans on regaining support for freebsd and fixing bootstrap for it

Activity

  1. bsiegert commented on Sep 24, 2021

    @bsiegert
    Contributor
  2. alarixnia commented on Oct 30, 2021

    @alarixnia
    Member

    I was able to bootstrap on FreeBSD 13 with clang yesterday. I think this can be closed.

  3. justfly1111 commented on Nov 8, 2021

    @justfly1111
    Author

    awesome im going to try and bootstrap it now on current there was a notification in the bootstrap readme id say for about a year saying it was broken on freebsd thanks for letting me know much appreciated

  4. justfly1111 commented on Nov 8, 2021

    @justfly1111
    Author

    bootstrap is a negative on  working on 14.0-current  due to circular dependency of gcc6 and cwrappers  openning new issue for that with the output 

    gcc -DHAVE_CONFIG_H -I/usr/pkgsrc/bootstrap/work/libnbcompat -I/usr/pkgsrc/bootstrap/work/libarchive/libarchive -I. -I. -I../lib -DBOOTSTRAP -g -O2 -c show.c
    gcc -L/usr/pkgsrc/bootstrap/work/libnbcompat -L../lib -o pkg_info main.o perform.o show.o -linstall  -lnbcompat
    ===> running: /bin/sh /usr/pkgsrc/bootstrap/work/bin/install-sh -c -o root -g wheel -m 755 /usr/pkgsrc/bootstrap/work/pkg_install/add/pkg_add /usr/pkgsrc/bootstrap/work/sbin/pkg_add
    ===> running: /bin/sh /usr/pkgsrc/bootstrap/work/bin/install-sh -c -o root -g wheel -m 755 /usr/pkgsrc/bootstrap/work/pkg_install/admin/pkg_admin /usr/pkgsrc/bootstrap/work/sbin/pkg_admin
    ===> running: /bin/sh /usr/pkgsrc/bootstrap/work/bin/install-sh -c -o root -g wheel -m 755 /usr/pkgsrc/bootstrap/work/pkg_install/create/pkg_create /usr/pkgsrc/bootstrap/work/sbin/pkg_create
    ===> running: /bin/sh /usr/pkgsrc/bootstrap/work/bin/install-sh -c -o root -g wheel -m 755 /usr/pkgsrc/bootstrap/work/pkg_install/info/pkg_info /usr/pkgsrc/bootstrap/work/sbin/pkg_info
    ===> running: (cd /usr/pkgsrc/pkgtools/cwrappers && /usr/pkgsrc/bootstrap/work/bin/bmake  MAKE_JOBS=1 PKG_COMPRESSION=none PKGSRC_KEEP_BIN_PKGS=no MAKECONF=/usr/pkgsrc/bootstrap/work/mk.conf install)
    ===> Installing dependencies for cwrappers-20180325
    => Build dependency gcc6>=6.1: NOT found
    => Verifying reinstall for ../../lang/gcc6
    => Bootstrap dependency digest>=20211023: NOT found
    => Verifying reinstall for ../../pkgtools/digest
    ===> Installing dependencies for digest-20211023
    => Build dependency cwrappers>=20150314: NOT found
    => Verifying reinstall for ../../pkgtools/cwrappers
    ERROR: This package has set PKG_FAIL_REASON:
    ERROR: Circular dependency detected
    *** Error code 1

    Stop.
    bmake[3]: stopped in /usr/pkgsrc/pkgtools/cwrappers
    *** Error code 1

    Stop.
    bmake[2]: stopped in /usr/pkgsrc/pkgtools/digest
    *** Error code 1

    Stop.
    bmake[1]: stopped in /usr/pkgsrc/lang/gcc6
    *** Error code 1

    Stop.
    bmake: stopped in /usr/pkgsrc/pkgtools/cwrappers
    ===> exited with status 1
    aborted.

  5. justfly1111 commented on Nov 8, 2021

    @justfly1111
    Author

    i tried it it bootstraps with clang but gcc fails due to circular dependancy if anyone wants to fix that but it does compile with clang just not gcc

  6. justfly1111 commented on Nov 8, 2021

    @justfly1111
    Author

    works clang fails with gcc

  7. alarixnia commented on Nov 12, 2021

    @alarixnia
    Member

    If you want to bootstrap with gcc you need to provide some copy of GCC outside pkgsrc and point pkgsrc to it.

  8. added a commit that references this issue on Apr 20, 2022
  9. added a commit that references this issue on Dec 17, 2022
  10. 179 remaining items

  11. added a commit that references this issue on Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions