ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Fwd: ocamlnet-2.2.9-alt3: i586 rebuild failed
@ 2008-10-28  8:01 Veaceslav Grecea
  2008-10-28  8:30 ` Slava Semushin
  0 siblings, 1 reply; 3+ messages in thread
From: Veaceslav Grecea @ 2008-10-28  8:01 UTC (permalink / raw)
  To: ALT Linux Team development discussions

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

Приветствую.

Последний подход к С снаряду я меня был около 9-ти лет назад.
В дружественных дистрибутивах, перешедших на этот же toolchain, намёков на 
решение проблемы не нашел. Или плохо искал :-(

В общем, прошу помощь зала.

----------  Forwarded Message  ----------

Тема: ocamlnet-2.2.9-alt3: i586 rebuild failed
Дата: Saturday 25 October 2008
Отправитель: QA Team Robot 
получатель:  Veaceslav Grecea 

Package: ocamlnet-2.2.9-alt3
Packager: Veaceslav Grecea 
<skip>
Status: i586 rebuild failed.
Please investigate.

Why:
<skip>
`/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
make[1]: Leaving directory 
`/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
make[1]: Entering directory 
`/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
ocamlfind ocamldep   *.ml *.mli >depend || { rm -f depend; exit 1; }
make[1]: Leaving directory 
`/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
make[1]: Entering directory 
`/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
ocamlfind ocamlc -g  -I ../../src/rpc -package "unix pcre"  -c  
rpc_auth_local.mli
ocamlfind ocamlc -g  -I ../../src/rpc -package "unix pcre"  -c  
rpc_auth_local.ml
ocamlfind ocamlc -g  -I ../../src/rpc -package "unix pcre"  -c -ccopt -O   
rpclocal.c
rpclocal.c: In function 'unix_get_peer_credentials':
rpclocal.c:40: error: storage size of 'credentials' isn't known
rpclocal.c:42: error: invalid application of 'sizeof' to incomplete 
type 'struct ucred' 
rpclocal.c:40: warning: unused variable 'credentials'
rpclocal.c: In function 'unix_peek_peer_credentials':
rpclocal.c:91: error: dereferencing pointer to incomplete type
rpclocal.c:135: error: dereferencing pointer to incomplete type
rpclocal.c:136: error: dereferencing pointer to incomplete type
rpclocal.c:91: warning: unused variable 'buf'
make[1]: Leaving directory 
`/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
make: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9'

RPM build errors:
make[1]: *** [rpclocal.o] Error 2
make: *** [all] Error 2

-------------------------------------------------------

Спасибо.
-- 
wbr, slavutich

[-- Attachment #2: ocamlnet-2.2.9-alt3: i586 rebuild failed --]
[-- Type: text/plain, Size: 12599 bytes --]

Package: ocamlnet-2.2.9-alt3
Packager: Veaceslav Grecea <slavutich@altlinux>
Build Statistics:
	19 time(s) (last time: Mon Nov 01 2004) by Vitaly Lugovsky <vsl@altlinux>
	2 time(s) (last time: Tue Sep 30 2008) by Veaceslav Grecea <slavutich@altlinux>
	1 time(s) (last time: Wed Dec 28 2005) by ALT QA Team Robot <qa-robot@altlinux>
	1 time(s) (last time: Thu Jan 18 2007) by Grigory Batalov <bga@altlinux>
	1 time(s) (last time: Fri May 07 2004) by Alexander V. Nikolaev <avn@altlinux>
	1 time(s) (last time: Fri Nov 16 2007) by Alex V. Myltsev <avm@altlinux>
Status: i586 rebuild failed.
Please investigate.

Why:

make[1]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/cgi'
make[2]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/cgi'
sed -e 's/@VERSION@/2.2.9/' \
	    -e 's/@AUTHDHREQS@//' \
	    -e 's/@PREFERRED_CGI_PKG@/netcgi2/' \
		META.in >META
make[2]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/cgi'
make[1]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/cgi'
make[1]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/cgi'
ocamlfind ocamldep   *.ml *.mli >depend || { rm -f depend; exit 1; }
make[1]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/cgi'
make[1]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/cgi'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/cgi'
make[1]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netplex'
make[2]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netplex'
../rpc-generator/ocamlrpcgen -aux netplex_ctrl.x -int unboxed
../rpc-generator/ocamlrpcgen -clnt netplex_ctrl.x -int unboxed
../rpc-generator/ocamlrpcgen -srv2 netplex_ctrl.x -int unboxed
sed -e 's/@VERSION@/2.2.9/' \
	    -e 's/@AUTHDHREQS@//' \
	    -e 's/@PREFERRED_CGI_PKG@/netcgi2/' \
		META.in >META
make[2]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netplex'
make[1]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netplex'
make[1]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netplex'
ocamlfind ocamldep  -syntax camlp5o -package camlp5 *.ml *.mli >depend || { rm -f depend; exit 1; }
make[1]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netplex'
make[1]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netplex'
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_types.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_cenv.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_cenv.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_mp.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_mp.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_log.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_log.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_ctrl_aux.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_ctrl_aux.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_ctrl_clnt.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_ctrl_clnt.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_ctrl_srv.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_ctrl_srv.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_container.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_container.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_sockserv.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_sockserv.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_workload.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_workload.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_kit.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_kit.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_controller.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_controller.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_config.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_config.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_main.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_main.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  rpc_netplex.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  rpc_netplex.ml
if [ "X" = "X" ]; then \
		ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -a -o netplex.cma netplex_cenv.cmo netplex_mp.cmo netplex_log.cmo netplex_ctrl_aux.cmo netplex_ctrl_clnt.cmo netplex_ctrl_srv.cmo netplex_container.cmo netplex_sockserv.cmo netplex_workload.cmo netplex_kit.cmo netplex_controller.cmo netplex_config.cmo netplex_main.cmo rpc_netplex.cmo; \
	else \
		ocamlmklib -o netplex netplex_cenv.cmo netplex_mp.cmo netplex_log.cmo netplex_ctrl_aux.cmo netplex_ctrl_clnt.cmo netplex_ctrl_srv.cmo netplex_container.cmo netplex_sockserv.cmo netplex_workload.cmo netplex_kit.cmo netplex_controller.cmo netplex_config.cmo netplex_main.cmo rpc_netplex.cmo  ; \
	fi
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_admin.ml
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -o netplex-admin -custom \
		unix.cma netsys.cma equeue.cma netstring.cma rpc.cma \
		netplex.cma netplex_admin.cmo
echo /usr/bin/netplex-admin >netplex-packlist
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c  netplex_mt.mli
ocamlfind ocamlc -g  -I ../../src/equeue -I ../../src/rpc -I ../../src/netstring -I ../../src/netsys -package "unix pcre" -syntax camlp5o -package camlp5 -c -thread netplex_mt.ml
make[1]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netplex'
make[1]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netcgi2-plex'
make[2]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netcgi2-plex'
sed -e 's/@VERSION@/2.2.9/' \
	    -e 's/@AUTHDHREQS@//' \
	    -e 's/@PREFERRED_CGI_PKG@/netcgi2/' \
		META.in >META
make[2]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netcgi2-plex'
make[1]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netcgi2-plex'
make[1]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netcgi2-plex'
ocamlfind ocamldep   *.ml *.mli >depend || { rm -f depend; exit 1; }
make[1]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netcgi2-plex'
make[1]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netcgi2-plex'
ocamlfind ocamlc -g  -I ../netcgi2 -I ../netplex -package "unix pcre"  -c  netcgi_plex.mli
ocamlfind ocamlc -g  -I ../netcgi2 -I ../netplex -package "unix pcre"  -c  netcgi_plex.ml
if [ "X" = "X" ]; then \
		ocamlfind ocamlc -g  -I ../netcgi2 -I ../netplex -package "unix pcre"  -a -o netcgi2-plex.cma netcgi_plex.cmo; \
	else \
		ocamlmklib -o netcgi2-plex netcgi_plex.cmo  ; \
	fi
make[1]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/netcgi2-plex'
make[1]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
make[2]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
sed -e 's/@VERSION@/2.2.9/' \
	    -e 's/@AUTHDHREQS@//' \
	    -e 's/@PREFERRED_CGI_PKG@/netcgi2/' \
		META.in >META
make[2]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
make[1]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
make[1]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
ocamlfind ocamldep   *.ml *.mli >depend || { rm -f depend; exit 1; }
make[1]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
make[1]: Entering directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
ocamlfind ocamlc -g  -I ../../src/rpc -package "unix pcre"  -c  rpc_auth_local.mli
ocamlfind ocamlc -g  -I ../../src/rpc -package "unix pcre"  -c  rpc_auth_local.ml
ocamlfind ocamlc -g  -I ../../src/rpc -package "unix pcre"  -c -ccopt -O   rpclocal.c
rpclocal.c: In function 'unix_get_peer_credentials':
rpclocal.c:40: error: storage size of 'credentials' isn't known
rpclocal.c:42: error: invalid application of 'sizeof' to incomplete type 'struct ucred' 
rpclocal.c:40: warning: unused variable 'credentials'
rpclocal.c: In function 'unix_peek_peer_credentials':
rpclocal.c:91: error: dereferencing pointer to incomplete type
rpclocal.c:135: error: dereferencing pointer to incomplete type
rpclocal.c:136: error: dereferencing pointer to incomplete type
rpclocal.c:91: warning: unused variable 'buf'
make[1]: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9/src/rpc-auth-local'
make: Leaving directory `/usr/src/RPM/BUILD/ocamlnet-2.2.9'

RPM build errors:
make[1]: *** [rpclocal.o] Error 2
make: *** [all] Error 2
error: Bad exit status from /usr/src/tmp/rpm-tmp.34556 (%build)
    Bad exit status from /usr/src/tmp/rpm-tmp.34556 (%build)
Command exited with non-zero status 1
22.17user 3.58system 0:47.19elapsed 54%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+672538minor)pagefaults 0swaps
hsh-rebuild: rebuild of `ocamlnet-2.2.9-alt3.src.rpm' failed.
Command exited with non-zero status 1

-- 
Sincerely yours,
ALT QA Team Robot

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

* Re: [devel] Fwd: ocamlnet-2.2.9-alt3: i586 rebuild failed
  2008-10-28  8:01 [devel] Fwd: ocamlnet-2.2.9-alt3: i586 rebuild failed Veaceslav Grecea
@ 2008-10-28  8:30 ` Slava Semushin
  2008-10-28  8:49   ` Veaceslav Grecea
  0 siblings, 1 reply; 3+ messages in thread
From: Slava Semushin @ 2008-10-28  8:30 UTC (permalink / raw)
  To: ALT Linux Team development discussions

28 октября 2008 г. 14:01 пользователь Veaceslav Grecea
<veaceslav.grecea%gmail.com> написал:
[...]
> rpclocal.c: In function 'unix_get_peer_credentials':
> rpclocal.c:40: error: storage size of 'credentials' isn't known
> rpclocal.c:42: error: invalid application of 'sizeof' to incomplete type 'struct ucred'
> rpclocal.c:40: warning: unused variable 'credentials'
> rpclocal.c: In function 'unix_peek_peer_credentials':
> rpclocal.c:91: error: dereferencing pointer to incomplete type
> rpclocal.c:135: error: dereferencing pointer to incomplete type
> rpclocal.c:136: error: dereferencing pointer to incomplete type
[...]

Похоже, что в файле rpclocal.c используется структура credentials, но
при этом не подключен хедер с определением этой структуры. Т.е. вам
нужно просто найди необходимый хедер и про'include'ить его. Должно
помочь.

Кстати, ссылка на git-репозиторий была бы к месту, тогда можно было бы
посмотреть исходники через веб, без скачивания, и сказать более точно
в чем проблема и как исправлять.


-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

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

* Re: [devel] Fwd: ocamlnet-2.2.9-alt3: i586 rebuild failed
  2008-10-28  8:30 ` Slava Semushin
@ 2008-10-28  8:49   ` Veaceslav Grecea
  0 siblings, 0 replies; 3+ messages in thread
From: Veaceslav Grecea @ 2008-10-28  8:49 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Tuesday 28 October 2008, Slava Semushin wrote:
> 28 октября 2008 г. 14:01 пользователь Veaceslav Grecea
> <veaceslav.grecea> написал:

> Похоже, что в файле rpclocal.c используется структура credentials, но
> при этом не подключен хедер с определением этой структуры. Т.е. вам
> нужно просто найди необходимый хедер и про'include'ить его. Должно
> помочь.
Тезка, спасибо за пинок.
Я все-таки был прав - плохо искал.
Собрал пакет.
-- 
wbr, slavutich

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

end of thread, other threads:[~2008-10-28  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-28  8:01 [devel] Fwd: ocamlnet-2.2.9-alt3: i586 rebuild failed Veaceslav Grecea
2008-10-28  8:30 ` Slava Semushin
2008-10-28  8:49   ` Veaceslav Grecea

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