ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] diald-1.0-alt4.1: rebuild failed [1]
  @ 2006-10-12 16:31 ` Aleksey Avdeev
  2006-10-12 17:50   ` Igor Zubkov
  0 siblings, 1 reply; 3+ messages in thread
From: Aleksey Avdeev @ 2006-10-12 16:31 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

QA Team Robot пишет:
> Package: diald-1.0-alt4.1
> Packager: Aleksey Avdeev <solo@altlinux>
> Build Statistics:
> 	4 time(s) (last time: Tue Aug 17 2004) by Aleksey Avdeev <solo@altlinux>
> 	1 time(s) (last time: Thu Jan 12 2006) by ALT QA Team Robot <qa-robot@altlinux>
> Status: rebuild failed.
> Cannot build this package for 1 week(s) (since Wed Oct 04 2006).
> Please investigate.

  Этот пакет меня больше не интересует.

-- 

С уважением. Алексей.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 550 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] diald-1.0-alt4.1: rebuild failed [1]
  2006-10-12 16:31 ` [devel] diald-1.0-alt4.1: rebuild failed [1] Aleksey Avdeev
@ 2006-10-12 17:50   ` Igor Zubkov
  2006-10-12 18:24     ` Aleksey Avdeev
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Zubkov @ 2006-10-12 17:50 UTC (permalink / raw)
  To: ALT Devel discussion list


[-- Attachment #1.1: Type: text/plain, Size: 584 bytes --]

В сообщении от 12 октября 2006 19:31 Aleksey Avdeev написал(a):
> QA Team Robot пишет:
> > Package: diald-1.0-alt4.1
> > Packager: Aleksey Avdeev <solo@altlinux>
> > Build Statistics:
> > 	4 time(s) (last time: Tue Aug 17 2004) by Aleksey Avdeev <solo@altlinux>
> > 	1 time(s) (last time: Thu Jan 12 2006) by ALT QA Team Robot
> > <qa-robot@altlinux> Status: rebuild failed.
> > Cannot build this package for 1 week(s) (since Wed Oct 04 2006).
> > Please investigate.
>
>   Этот пакет меня больше не интересует.

Патч для починики прилагаю. (спек тоже не плохо было бы почистить). ;)

[-- Attachment #1.2: diald-1.0-alt-glibc25.patch --]
[-- Type: text/x-diff, Size: 3108 bytes --]

æÁÊÌÙ diald-1.0.orig/access.o É diald-1.0/access.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/buffer.o É diald-1.0/buffer.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/bufio.o É diald-1.0/bufio.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/dev.o É diald-1.0/dev.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/diald É diald-1.0/diald ÒÁÚÌÉÞÁÀÔÓÑ
diff -urN diald-1.0.orig/diald.c diald-1.0/diald.c
--- diald-1.0.orig/diald.c	2006-10-12 20:40:44 +0300
+++ diald-1.0/diald.c	2006-10-12 20:48:30 +0300
@@ -189,10 +189,10 @@
         if (proxy.fd >= 0) FD_SET(proxy.fd, &readfds);
         if (snoopfd >= 0) FD_SET(snoopfd, &readfds);
 	/* Compute the likely timeout for the next second boundary */
-	ts = tstamp + PAUSETIME*CLK_TCK - ticks();
+	ts = tstamp + PAUSETIME*sysconf(_SC_CLK_TCK) - ticks();
 	if (ts < 0) ts = 0;
-    	timeout.tv_sec = ts/CLK_TCK;
-    	timeout.tv_usec = 1000*(ts%CLK_TCK)/CLK_TCK;
+    	timeout.tv_sec = ts/sysconf(_SC_CLK_TCK);
+    	timeout.tv_usec = 1000*(ts%sysconf(_SC_CLK_TCK))/sysconf(_SC_CLK_TCK);
 	sel = select(256,&readfds,0,0,&timeout);
 	if (sel < 0 && errno == EBADF) {
 	    PIPE *p;
@@ -278,7 +278,7 @@
 	/* check if ticks() has advanced a second since last check.
 	 * This is immune to wall clock skew because we use the ticks count.
 	 */
-	ts = tstamp + PAUSETIME*CLK_TCK - ticks();
+	ts = tstamp + PAUSETIME*sysconf(_SC_CLK_TCK) - ticks();
 	if (ts <= 0) {
 	    tstamp = ticks();
 	    fire_timers();
æÁÊÌÙ diald-1.0.orig/diald.o É diald-1.0/diald.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/filter.o É diald-1.0/filter.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/firewall.o É diald-1.0/firewall.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/fsm.o É diald-1.0/fsm.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/lock.o É diald-1.0/lock.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/log.o É diald-1.0/log.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/modem.o É diald-1.0/modem.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/options.o É diald-1.0/options.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/parse.o É diald-1.0/parse.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/ppp.o É diald-1.0/ppp.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/proxyarp.o É diald-1.0/proxyarp.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/proxy_dev.o É diald-1.0/proxy_dev.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/proxy.o É diald-1.0/proxy.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/proxy_slip.o É diald-1.0/proxy_slip.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/proxy_tap.o É diald-1.0/proxy_tap.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/proxy_tun.o É diald-1.0/proxy_tun.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/route.o É diald-1.0/route.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/shell.o É diald-1.0/shell.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/slip.o É diald-1.0/slip.o ÒÁÚÌÉÞÁÀÔÓÑ
diff -urN diald-1.0.orig/timer.c diald-1.0/timer.c
--- diald-1.0.orig/timer.c	2006-10-12 20:40:44 +0300
+++ diald-1.0/timer.c	2006-10-12 20:48:51 +0300
@@ -36,7 +36,7 @@
 unsigned long timestamp()
 {
    struct tms buf;
-   return times(&buf)/CLK_TCK;
+   return times(&buf)/sysconf(_SC_CLK_TCK);
 }
 
 unsigned long ticks()
æÁÊÌÙ diald-1.0.orig/timer.o É diald-1.0/timer.o ÒÁÚÌÉÞÁÀÔÓÑ
æÁÊÌÙ diald-1.0.orig/utils.o É diald-1.0/utils.o ÒÁÚÌÉÞÁÀÔÓÑ

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] diald-1.0-alt4.1: rebuild failed [1]
  2006-10-12 17:50   ` Igor Zubkov
@ 2006-10-12 18:24     ` Aleksey Avdeev
  0 siblings, 0 replies; 3+ messages in thread
From: Aleksey Avdeev @ 2006-10-12 18:24 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

Igor Zubkov пишет:
> В сообщении от 12 октября 2006 19:31 Aleksey Avdeev написал(a):
> 
>>QA Team Robot пишет:
>>
>>>Package: diald-1.0-alt4.1
>>>Packager: Aleksey Avdeev <solo@altlinux>
>>>Build Statistics:
>>>	4 time(s) (last time: Tue Aug 17 2004) by Aleksey Avdeev <solo@altlinux>
>>>	1 time(s) (last time: Thu Jan 12 2006) by ALT QA Team Robot
>>><qa-robot@altlinux> Status: rebuild failed.
>>>Cannot build this package for 1 week(s) (since Wed Oct 04 2006).
>>>Please investigate.
>>
>>  Этот пакет меня больше не интересует.
> 
> 
> Патч для починики прилагаю. (спек тоже не плохо было бы почистить). ;)

  Спасибо.

  Залить-то могу, но не ранее понедельника (как в сентябре текучка
навалилась, так ещё и не разгрёб). Но мне его тестировать негде. (Да и
как с etcnet его увязать пока не придумал.)

-- 

С уважением. Алексей.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 550 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-12 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-12 16:31 ` [devel] diald-1.0-alt4.1: rebuild failed [1] Aleksey Avdeev
2006-10-12 17:50   ` Igor Zubkov
2006-10-12 18:24     ` Aleksey Avdeev

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git