Страница 1 из 1

cpumask_t

Добавлено: 2008-09-02 5:27:59
zingel
Сижу я себе обновляю порты, и тут бах, всё встало колом, ну дай думаю отпишу мейнтейнеру, ибо не порядок, получаю ответ убил....:

On Tue, 2 Sep 2008, Dmitry Andrianov wrote:

> ===> Building for lsof-4.81D,2
> (cd lib; make DEBUG="-O2" CFGF="-fno-strict-aliasing -pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV -DHAS_SI_PRIV -DHAS_SYS_SX_H -DHAS_ZFS -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR=\"7.0-RELEASE-p3\"")
> cc -fno-strict-aliasing -pipe -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV -DHAS_SI_PRIV -DHAS_SYS_SX_H -DHAS_ZFS -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME -DLSOF_VSTR="7.0-RELEASE-p3" -I/usr/src/sys -O2 -c ckkv.c
> In file included from ckkv.c:33:
> ../machine.h:62: error: redefinition of typedef 'cpumask_t'
> /usr/src/sys/sys/types.h:146: error: previous declaration of 'cpumask_t' was here
> *** Error code 1
>
> Stop in /usr/ports/sysutils/lsof/work/lsof_4.81D.freebsd/lib.
> *** Error code 1
>
> Stop in /usr/ports/sysutils/lsof/work/lsof_4.81D.freebsd.
> *** Error code 1
>
> Stop in /usr/ports/sysutils/lsof.
>
>
Looks like some of the cpumask_t stuff is not in RELENG_7_0.

I'll get with the author.

Thanks!
Larry Rosenman
sysutils/lsof maintainer.


> --
> Dmitry Andianov
> .masterhost
> http://masterhost.ru _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 512-248-2683 E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
Не обновляйте на RELENG_7_0 не в коем случае lsof =), вместо мейнтейнера отвечают какие-то неадекватные люди (бот может быть?) =)

p.s.

Код: Выделить всё

[root@zingel /]# grep __cpumask_t   /usr/src/sys/sys/types.h
typedef __cpumask_t     cpumask_t;

Re: cpumask_t

Добавлено: 2008-09-02 6:06:55
manefesto
прикольно, порт обновили, а работать перестало.
Я кстати тоже обновлял, но как то забил на lsof, думал подожду, пофиксят

Re: cpumask_t

Добавлено: 2008-09-02 6:15:54
zingel
вообще, надо сказать,что лицензия также занятна, как и исходный код сего произведения искусства, вот есть строки:
This software is not subject to any license of the American Telephone
* and Telegraph Company or the Regents of the University of California

Re: cpumask_t

Добавлено: 2008-09-02 15:10:59
Alex Keda
зря конечно.
был бы в системе - удобней штатного fstat

Re: cpumask_t

Добавлено: 2008-09-07 2:29:27
zingel
я в шоке....
On Sat, 6 Sep 2008, Robert Huff wrote:

>
> I updated my system to
>
> FreeBSD 8.0-CURRENT #0: Sat Sep 6 16:18:01 EDT 2008 i386
>
> and this problem went away.
> Larry, thank you for your patience.
My pleasure. It's part of my responsibility as the maintainer to help users
with issues using the port.


>
>
> Robert Huff
>
>

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 512-248-2683 E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893

Думаю вот так ответить:

The point is that not all can itself allow it is so simple upgrade to 8.0. A problem disappeared (since he upgrade the OS), yes,
but it is - not a way out of situations. Perhaps the problem could be solved by others, such as a patch? =)

However, thank you.

Re: cpumask_t

Добавлено: 2008-09-07 12:13:29
Alex Keda
ф топку пошли =)

Re: cpumask_t

Добавлено: 2008-09-07 13:10:29
Гость
т.е. cpumask_t есть в RELENG_7, но нет в RELENG_7_0?
оно: http://www.freebsd.org/cgi/cvsweb.cgi/s ... 96.2.2;f=h ?

Re: cpumask_t

Добавлено: 2008-09-07 22:02:02
zingel
оно то оно, только редефайн кривой в коде лсоф

Re: cpumask_t

Добавлено: 2009-02-22 1:11:03
zingel
не прошло и года

Код: Выделить всё

--- ports/sysutils/lsof/Makefile	2009/01/06 17:59:28	1.172
+++ ports/sysutils/lsof/Makefile	2009/02/21 15:17:13	1.173
@@ -3,11 +3,11 @@
 # Date created:			  Sat July 20, 1996
 # Whom:				  David O'Brien (obrien@FreeBSD.org)
 #
-# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/sysutils/lsof/Makefile,v 1.172 2009/01/06 17:59:28 pav Exp $
+# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/sysutils/lsof/Makefile,v 1.173 2009/02/21 15:17:13 rafan Exp $
 #
 
 PORTNAME=	lsof
-PORTVERSION=	4.82A
+PORTVERSION=	4.82C
 PORTEPOCH=	3
 CATEGORIES=	sysutils
 MASTER_SITES=	http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/ \

обновил всё и чек на старые cpumask убрал...

Re: cpumask_t

Добавлено: 2009-02-22 11:35:52
chd
начинать писать надо так: wtf Larry?

Re: cpumask_t

Добавлено: 2009-02-22 11:41:28
zingel
ну, какбэ я и сам знаю как писать, и во вторых, это уже не актуально, закрываю.