Henri Salo | 9 Nov 2011 23:59
Picon
Gravatar

Failed to build packages from pkgsrc

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
(Continue reading)

Henri Salo | 10 Nov 2011 11:28
Picon
Gravatar

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 
(Continue reading)

Solar Designer | 10 Nov 2011 13:24
Favicon

Re: Failed to build packages from pkgsrc

On Thu, Nov 10, 2011 at 12:28:05PM +0200, Henri Salo wrote:
> 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.

Owl lacks utf-8 locales by default.  Yes, I know it sounds weird these
days, and we got to change it in Owl-current before Owl 4.0.

To enable them, change BUILD_LOCALES_UTF8 from 0 to 1 in glibc.spec and
rebuild glibc with "make PACKAGE=glibc".

Or simply change your settings to use iso-8859-1.

Alexander

Solar Designer | 10 Nov 2011 13:17
Favicon

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.

Historical reasons only, I guess.  When there's existing infrastructure
around cvs, then moving to git becomes some extra effort, which would
take resources away from other tasks.  We have the same problem for Owl -
we could move from cvs to git now, but that would not actually benefit
our users right away, whereas some other changes would - so the latter
take priority.

> Also source based package "control" is kind of hard to maintain when you have lots of servers to handle.

That's true.  We use RPMs and OpenVZ templates.

> Could we add support for .deb-packages?

Since we're closer to Red Hat'ish distros than to Debian/Ubuntu in terms
of compatibility, we normally use RPMs on Owl.  I suppose you could
install dpkg on Owl, but it would not use Owl's own RPM database for
dependency checking.

> 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"?

(Continue reading)


Gmane