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

Build failure under DragonFly #74

Open
noloader opened this issue Feb 19, 2017 · 3 comments
Open

Build failure under DragonFly #74

noloader opened this issue Feb 19, 2017 · 3 comments
Assignees

Comments

@noloader
Copy link

Following the instructions at http://pkgin.net/. The Git fetch is OK, and the Configure is OK. Make is causing trouble:

$ make
Warning: Object directory not changed from original /root/pkgin
gcc  -O -pipe    -std=gnu99  -c main.c
In file included from pkgin.h:45:0,
                 from main.c:33:
/usr/include/fetch.h:44:14: error: 'MAXHOSTNAMELEN' undeclared here (not in a function)
  char   host[MAXHOSTNAMELEN+1];
              ^
/usr/include/fetch.h:59:14: error: 'PATH_MAX' undeclared here (not in a function)
  char   name[PATH_MAX];
              ^
In file included from pkgin.h:48:0,
                 from main.c:33:
pkgindb.h:37:28: fatal error: pkgindb_create.h: No such file or directory
compilation terminated.

$ uname -a
DragonFly dragonfly 4.6-RELEASE DragonFly v4.6.1-RELEASE #3: Sun Oct 16 21:13:25 EDT 2016     root@www.shiningsilence.com:/usr/obj/home/justin/release/4_6/sys/X86_64_GENERIC  x86_64
$ uname -m
x86_64
$ uname -s
DragonFly
@noloader
Copy link
Author

@dhgutteridge
Copy link
Contributor

FWIW, pkgin 20.8.0 builds fine for me on DragonFly 5.6.2, when built via pkgsrc (pkgtools/pkgin), which pulls in its own version of libfetch. (I realize your point was there's a separate issue natively on DragonFly, which seems to still be there, from a glance at /usr/include/fetch.h.)

@jperkin
Copy link
Contributor

jperkin commented Sep 4, 2020

Thanks. Yeh, the eventual goal would probably be to support the FreeBSD-based libfetch too, as part of making pkgin more portable outside of a pkgsrc environment (something I've initiated with the recent move to full autotools), but that's quite a long way down the priority list and is unlikely to be fixed any time soon.

I'll leave the ticket open anyway though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants