Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 10 Nov 2011 12:28:05 +0200
From: Henri Salo <henri@...v.fi>
To: owl-users@...ts.openwall.com
Subject: Re: Failed to build packages from pkgsrc

On Thu, Nov 10, 2011 at 12:59:12AM +0200, Henri Salo wrote:
> 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

We also noticed major problems with irssi. I have sometimes seen these irssi-problems also in other platforms, but usually they go away automatically after refresh of the window. Screenshot tells it all: http://imageshack.us/photo/my-images/214/lolbep.png/

- Spaces between words without even writing those by ourselves
- Blue panel goes dark and then we see duplicate lines in irssi

After this experience I think that nobody uses irssi in Owl or Owl in overall shell working environment. Terminal, irssi and shell settings are the same (UTF-8) as in Debian-environment where everything seems to work now as supposed.

Does anybody care? :)

Best regards,
Henri Salo

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.