Project

General

Profile

Actions

Bug #12847

open

#error "Your system has neither funopen nor fopencookie, cannot continue"

Added by giahung 1997tn over 3 years ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
lib - userland libraries
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

I want to develop my own Illumos distro and I would follow the way of Tribblix that is converting IPS packages into another format to use with other package manager that doesn't have ZFS as a hard requirement. Doing so I could continue to keep my distro to run properly on UFS like Tribblix. And the package manager I choose is FreeBSD's pkg. I tried to get FreeBSD's pkg up and running via pkgsrc (pkgsrc/pkgtools/pkg), everything went normally before I encountered this error:

bsd_compat.h:163:3: error: #error "Your system has neither funopen nor fopencookie, cannot continue" # error "Your system has neither funopen nor fopencookie, cannot continue"

As my little research show, this is the problem of the system, not pkgsrc so I report it here.

The gcc I used is from the package build-essential.

Actions #1

Updated by giahung 1997tn over 3 years ago

giahung 1997tn wrote:

I want to develop my own Illumos distro and I would follow the way of Tribblix that is converting IPS packages into another format to use with other package manager that doesn't have ZFS as a hard requirement. Doing so I could continue to keep my distro to run properly on UFS like Tribblix. And the package manager I choose is FreeBSD's pkg. I tried to get FreeBSD's pkg up and running via pkgsrc (pkgsrc/pkgtools/pkg), everything went normally before I encountered this error:

bsd_compat.h:163:3: error: #error "Your system has neither funopen nor fopencookie, cannot continue"
  1. error "Your system has neither funopen nor fopencookie, cannot continue"

As my little research show, this is the problem of the system, not pkgsrc so I report it here.

The gcc I used is from the package build-essential.

No one has any ideas about this?

Actions #2

Updated by Andrew Stormont over 3 years ago

You either need to implement those functions or modify FreeBSD's pkg to build without them.

Actions #3

Updated by Marcel Telka about 1 month ago

  • Target version changed from 2020.10 to Hipster
Actions #4

Updated by Marcel Telka about 1 month ago

  • Project changed from OpenIndiana Distribution to illumos gate
  • Category set to lib - userland libraries
  • Target version deleted (Hipster)
Actions

Also available in: Atom PDF