[owl-users] Failed to build packages from pkgsrc

From: Henri Salo <henri_at_private>
Date: Thu, 10 Nov 2011 00:59:12 +0200
I sure do understand why somebody uses a system like pkgsrc, but I have no idea why someone would still use cvs. Also source based package "control" is kind of hard to maintain when you have lots of servers to handle. Could we add support for .deb-packages?

I have been following these guides since I usually don't install any packages to my Owl-systems:

http://openwall.info/wiki/Owl/packages
http://openwall.info/wiki/Owl/pkgsrc

Few open questions:

1) Why on earth does Owl still lists "Fedora Core 3 and 4"?
2) Where to report problems from pkgsrc?

I was building wget to get environment for my girlfriend working (yes not a joke). I received this error message while building wget:

"""
Making all in src
<snip>
echo '/* version.c */' > version.c
echo '/* Autogenerated by Makefile - DO NOT EDIT */' >> version.c
echo '' >> version.c
echo 'const char *version_string = "1.13.4";' >> version.c
echo 'const char *compilation_string = "'gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"//etc/wgetrc\" -DLOCALEDIR=\"//share/locale\" -I.  -I../lib -I../lib  -I//include -I/usr/include  -Wno-error -I//include -I/usr/include'";'  | sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$/";/' >> version.c
echo 'const char *link_string = "'gcc  -Wno-error -I//include -I/usr/include   -L//lib -Wl,-R//lib -L/usr/lib -Wl,-R/usr/lib /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libz.so -ldl -lz  -lidn -lrt ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a'";'  | sed -e 's/[\\"]/\\&/g' -e 's/\\"/"/' -e 's/\\";$/";/' >> version.c
gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"//etc/wgetrc\" -DLOCALEDIR=\"//share/locale\" -I.  -I../lib -I../lib  -I//include -I/usr/include  -Wno-error -I//include -I/usr/include -MT version.o -MD -MP -MF .deps/version.Tpo -c -o version.o version.c
mv -f .deps/version.Tpo .deps/version.Po
gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"//etc/wgetrc\" -DLOCALEDIR=\"//share/locale\" -I.  -I../lib -I../lib  -I//include -I/usr/include  -Wno-error -I//include -I/usr/include -MT ftp-opie.o -MD -MP -MF .deps/ftp-opie.Tpo -c -o ftp-opie.o ftp-opie.c
mv -f .deps/ftp-opie.Tpo .deps/ftp-opie.Po
gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"//etc/wgetrc\" -DLOCALEDIR=\"//share/locale\" -I.  -I../lib -I../lib  -I//include -I/usr/include  -Wno-error -I//include -I/usr/include -MT openssl.o -MD -MP -MF .deps/openssl.Tpo -c -o openssl.o openssl.c
openssl.c: In function `ssl_init':
openssl.c:204: warning: passing arg 1 of `SSL_CTX_new' discards qualifiers from pointer target type
openssl.c: In function `ssl_check_certificate':
openssl.c:585: warning: initialization makes pointer from integer without a cast
mv -f .deps/openssl.Tpo .deps/openssl.Po
gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"//etc/wgetrc\" -DLOCALEDIR=\"//share/locale\" -I.  -I../lib -I../lib  -I//include -I/usr/include  -Wno-error -I//include -I/usr/include -MT http-ntlm.o -MD -MP -MF .deps/http-ntlm.Tpo -c -o http-ntlm.o http-ntlm.c
mv -f .deps/http-ntlm.Tpo .deps/http-ntlm.Po
gcc  -Wno-error -I//include -I/usr/include  -L//lib -Wl,-R//lib -L/usr/lib -Wl,-R/usr/lib -o wget cmpt.o connect.o convert.o  cookies.o ftp.o css_.o  css-url.o ftp-basic.o ftp-ls.o  hash.o host.o html-parse.o  html-url.o http.o init.o log.o  main.o netrc.o progress.o  ptimer.o recur.o res.o retr.o  spider.o url.o utils.o exits.o  build_info.o iri.o version.o ftp-opie.o openssl.o http-ntlm.o ../lib/libgnu.a /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libz.so -ldl -lz  -lidn -lrt
openssl.o: In function `ssl_check_certificate':
openssl.c:(.text+0xc78): undefined reference to `a2i_IPADDRESS'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/wget/work/wget-1.13.4/src
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/wget/work/wget-1.13.4/src
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/wget/work/wget-1.13.4
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/wget/work/wget-1.13.4
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/wget
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/wget
"""

Do you have any information if this is mistake done by me or in pkgsrc?

I also received errors while installing other packages. I basicly have the default configuration-files. Where the error could be? If pkgsrc shouldn't be used please tell me, which solution I should choose. For example another error with python27:

"""
Writing /lib/python2.7/lib-dynload/Python-2.7.2-py2.7.egg-info
=> Automatic manual page handling
pkg_create: can't stat `/usr/pkgsrc/lang/python27/work/.destdir//bin/2to3-2.7'
pkg_create: can't stat `/usr/pkgsrc/lang/python27/work/.destdir//bin/pydoc2.7'
pkg_create: can't stat `/usr/pkgsrc/lang/python27/work/.destdir//bin/smtpd2.7.py'
"""

At least I got irssi built. I can provide more information if you can tell me what I need to provide :) I am using the OpenVZ images.

Best regards,
Henri Salo
Received on Wed Nov 09 2011 - 14:59:12 PST

This archive was generated by hypermail 2.2.0 : Thu Nov 10 2011 - 02:00:18 PST