pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45416: misc/tmux build broken in DragonFlyBSD



>Number:         45416
>Category:       pkg
>Synopsis:       misc/tmux build broken in DragonFlyBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 03 21:55:00 +0000 2011
>Originator:     Antonio Huete
>Release:        DragonFly 2.11
>Organization:
DragonFlyBSD
>Environment:
DragonFly cocaine.quantumachine.net 2.11-DEVELOPMENT DragonFly 
v2.11.0.971.g8b8ad3-DEVELOPMENT #72: Sat Sep 24 23:35:01 CEST 2011     
antonioh%cocaine.quantumachine.net@localhost:/usr/obj/home/source/dfbsd/sys/X86_64_GENERIC
  x86_64

>Description:
On pkgsrc -current, misc/tmux build is broken due osdep-freebsd.c file not 
being suitable for DragonFly.


--- osdep-freebsd.o ---
In file included from /usr/include/sys/user.h:99,
                 from osdep-freebsd.c:23:
/usr/include/sys/kinfo.h:120: error: field 'kl_stat' has incomplete type
/usr/include/sys/kinfo.h:156: error: field 'kp_stat' has incomplete type
osdep-freebsd.c: In function 'cmp_procs':
osdep-freebsd.c:49: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:49: error: 'SRUN' undeclared (first use in this function)
osdep-freebsd.c:49: error: (Each undeclared identifier is reported only once
osdep-freebsd.c:49: error: for each function it appears in.)
osdep-freebsd.c:49: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:49: error: 'SIDL' undeclared (first use in this function)
osdep-freebsd.c:49: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:49: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:51: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:51: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:51: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:51: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:54: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:54: error: 'SSTOP' undeclared (first use in this function)
osdep-freebsd.c:54: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:54: error: 'SZOMB' undeclared (first use in this function)
osdep-freebsd.c:54: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:54: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:56: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:56: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:56: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:56: error: 'struct kinfo_proc' has no member named 'ki_stat'
osdep-freebsd.c:59: error: 'struct kinfo_proc' has no member named 'ki_estcpu'
osdep-freebsd.c:59: error: 'struct kinfo_proc' has no member named 'ki_estcpu'
osdep-freebsd.c:61: error: 'struct kinfo_proc' has no member named 'ki_estcpu'
osdep-freebsd.c:61: error: 'struct kinfo_proc' has no member named 'ki_estcpu'
osdep-freebsd.c:64: error: 'struct kinfo_proc' has no member named 'ki_slptime'
osdep-freebsd.c:64: error: 'struct kinfo_proc' has no member named 'ki_slptime'
osdep-freebsd.c:66: error: 'struct kinfo_proc' has no member named 'ki_slptime'
osdep-freebsd.c:66: error: 'struct kinfo_proc' has no member named 'ki_slptime'
osdep-freebsd.c:69: error: 'struct kinfo_proc' has no member named 'ki_comm'
osdep-freebsd.c:69: error: 'struct kinfo_proc' has no member named 'ki_comm'
osdep-freebsd.c:71: error: 'struct kinfo_proc' has no member named 'ki_comm'
osdep-freebsd.c:71: error: 'struct kinfo_proc' has no member named 'ki_comm'
osdep-freebsd.c:74: error: 'struct kinfo_proc' has no member named 'ki_pid'
osdep-freebsd.c:74: error: 'struct kinfo_proc' has no member named 'ki_pid'
osdep-freebsd.c: In function 'osdep_get_name':
osdep-freebsd.c:113: error: 'struct kinfo_proc' has no member named 'ki_tdev'
osdep-freebsd.c:123: error: 'struct kinfo_proc' has no member named 'ki_comm'
*** [osdep-freebsd.o] Error code 1

bmake: stopped in /usr/pkgsrc/misc/tmux/work/tmux-1.5
1 error

bmake: stopped in /usr/pkgsrc/misc/tmux/work/tmux-1.5
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/misc/tmux
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/misc/tmux

>How-To-Repeat:
Just try to build it on DragonFly.
>Fix:
http://tmux.svn.sourceforge.net/viewvc/tmux?view=revision&revision=2600



Home | Main Index | Thread Index | Old Index