Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C compiler fails #77

Closed
ghost opened this issue Feb 14, 2019 · 2 comments
Closed

C compiler fails #77

ghost opened this issue Feb 14, 2019 · 2 comments

Comments

Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
@ghost
Copy link

@ghost ghost commented Feb 14, 2019

Issue
The current default Trident is missing one of the following pkgs for the c compiler to work.

Steps to reproduce the behavior:

  1. Go to https://discourse.trueos.org/t/u4-update-now-available/3637/3?u=nevets
  2. It seems there is a need to install:
    OS-Clang and/or
    OD-clibs-development and/or
    OS-libcompiler_rt-development
    in the default Trident distribution.

Expected behavior
sudo make install of the lastest Curl [ftp] port from the TrueOS repo [git pull] should compile.

OS Version:
FreeBSD trident-4729 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC-NODEBUG amd64

Additional context
The pkg audit showed 'curl' was vulnerable, AND, the TrueOS repo had the update - it just wasn't part of the same weeks' Triddent update. Hence the need to port the fix to curl. If the Trident updates contained the latest pkg audit fixes I'd wait for the Trident update rather than port the fix - just an observation, not a critisism.

@beanpole135
Copy link
Member

@beanpole135 beanpole135 commented Mar 8, 2019

The FreeBSD base package system is what determines the breakdown of all the development files into the OS-*-development packages.
Project Trident is a binary-update system (packages) rather than a source-based update system so the OS development packages are not needed as part of the base installation (although we ensure they are always available as desired). You just need to install those packages if you want to compile applications from source on a Project Trident system.

@beanpole135 beanpole135 closed this Mar 8, 2019
@ghost
Copy link
Author

@ghost ghost commented Mar 11, 2019

Thanks Ken, for the feedback. I'm a novice with BSD and the only time I consider porting is if a pkg fails audit for security vulnerability. If the fixed packages are made available reasonably quickly, I agree, there's no apparent requirement to port or need for the base system to contain the compilers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment