Package Details: retawq 0.2.6c-3

Git Clone URL: https://aur.archlinux.org/retawq.git (read-only, click to copy)
Package Base: retawq
Description: An interactive, multi-threaded network client for text terminals.
Upstream URL: http://retawq.sourceforge.net/
Licenses: GPL
Submitter: None
Maintainer: aksr
Last Packager: aksr
Votes: 13
Popularity: 0.000000
First Submitted: 2008-11-18 20:45 (UTC)
Last Updated: 2019-06-01 06:01 (UTC)

Latest Comments

1 2 Next › Last »

after commented on 2019-03-29 18:57 (UTC) (edited on 2019-03-29 18:58 (UTC) by after)

I have openssl installed but it is failing for me too with the same error.

$ pacman -Ss openssl | grep installed
core/openssl 1.1.1.b-1 [installed]
core/openssl-1.0 1.0.2.r-1 [installed]
extra/perl-net-ssleay 1.85-2 [installed]
extra/python2-pyopenssl 19.0.0-1 [installed]
multilib/lib32-openssl 1:1.1.1.b-1 [installed]

and

gcc -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_REENTRANT -D_THREAD_SAFE  -D_FORTIFY_SOURCE=2 -c stuff.c -o stuff.o
stuff.c:333:200: warning: trigraph ??! ignored, use -trigraphs to enable [-Wtrigraphs]
 ./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~??????????????????????????????????!????|????\"?-?-????'??????\"????AAAAAA?CEEEEIIIIDNOOOOO*OUUUUYPsaaaaaa?ceeeeiiiidnooooo/ouuuuypy";


stuff.c:333:220: warning: trigraph ??' ignored, use -trigraphs to enable [-Wtrigraphs]
gcc -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_REENTRANT -D_THREAD_SAFE  -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  init.o main.o parser.o resource.o stuff.o   -lncurses -lssl -lcrypto -lpthread -o retawq
/usr/bin/ld: resource.o: in function `tls_initialize':
resource.c:(.text+0x1473): undefined reference to `RAND_egd'
collect2: error: ld returned 1 exit status
make: *** [Makefile:24: binary-retawq] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

dreieck commented on 2019-02-06 11:37 (UTC)

Dependency openssl not specified.

dreieck commented on 2019-02-06 11:36 (UTC) (edited on 2019-02-06 11:36 (UTC) by dreieck)

Fails to build for me:

[...]
gcc -O2 -O3 -g0 -march=native -ftree-vectorize -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -Wl,-z,relro,-z,now -D_FORTIFY_SOURCE=2 -fPIC -pie -fPIE -fstack-protector -D_REENTRANT -D_THREAD_SAFE   -c resource.c -o resource.o
resource.c: In function ‘tls_initialize’:
resource.c:2274:11: warning: implicit declaration of function ‘RAND_egd’; did you mean ‘RAND_add’? [-Wimplicit-function-declaration]
       if (RAND_egd(seedfilename) >= 0) goto rand_finish;
           ^~~~~~~~
           RAND_add
resource.c:2307:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     m = SSLv23_client_method();
       ^
In file included from resource.c:9:
resource.c: In function ‘resource_custom_conn_start’:
stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define MY_POINTER_TO_INT(x) ((int) (x))
                               ^
resource.c:7377:41: note: in expansion of macro ‘MY_POINTER_TO_INT’
       resource->handshake = handshake = MY_POINTER_TO_INT(whatever);
                                         ^~~~~~~~~~~~~~~~~
stuff.h:898:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 #define MY_POINTER_TO_INT(x) ((int) (x))
                               ^
resource.c:7385:13: note: in expansion of macro ‘MY_POINTER_TO_INT’
       ftm = MY_POINTER_TO_INT(whatever);
             ^~~~~~~~~~~~~~~~~
resource.c: In function ‘start_local_cgi’:
resource.c:4397:14: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
       (void) chdir(ptr);
              ^~~~~~~~~~
gcc -O2 -O3 -g0 -march=native -ftree-vectorize -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -Wl,-z,relro,-z,now -D_FORTIFY_SOURCE=2 -fPIC -pie -fPIE -fstack-protector -D_REENTRANT -D_THREAD_SAFE   -c stuff.c -o stuff.o
stuff.c:333:200: warning: trigraph ??! ignored, use -trigraphs to enable [-Wtrigraphs]
   { static const char charmap[] = "?????????\t\n??\r?????????????????? !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~??????????????????????????????????!????|????\"?-?-????'??????\"????AAAAAA?CEEEEIIIIDNOOOOO*OUUUUYPsaaaaaa?ceeeeiiiidnooooo/ouuuuypy";

stuff.c:333:220: warning: trigraph ??' ignored, use -trigraphs to enable [-Wtrigraphs]
gcc -O2 -O3 -g0 -march=native -ftree-vectorize -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -Wl,-z,relro,-z,now -D_FORTIFY_SOURCE=2 -fPIC -pie -fPIE -fstack-protector -D_REENTRANT -D_THREAD_SAFE   -Wl,-O1,-z,relro,-z,now,--strip-all,--as-needed,--relax,--sort-common,--hash-style=gnu  init.o main.o parser.o resource.o stuff.o   -lncurses -lssl -lcrypto -lpthread -o retawq
/sbin/ld: resource.o: in function `tls_initialize':
resource.c:(.text+0x36be): undefined reference to `RAND_egd'
collect2: error: ld returned 1 exit status
make: *** [Makefile:24: binary-retawq] Error 1
==> ERROR: A failure occurred in build().

dreieck commented on 2013-06-22 17:08 (UTC) (edited on 2019-02-06 11:41 (UTC) by dreieck)

$startdir is no longer supported -- please update.

Here my updated PKGBUILD, with additional options, including TLS, enabled, and added x86_64-entry in "arch" variable:

 pkgname=retawq-custom
 _pkgname=retawq
 pkgver=0.2.6c
 pkgrel=2
 arch=("i686" "x86_64")
 pkgdesc="interactive, multi-threaded web browser for text terminals. PKGBUILD with all options enabled. TLS provided by openssl (you can switch to GNUTLS by build time configure option in the PKGBUILD)."
 url="http://retawq.sourceforge.net/"
 license=(GPL)
 depends=(glibc ncurses openssl)
 provides=("$_pkgname=$pkgver")
 conflicts=("$_pkgname")
 source=("http://downloads.sourceforge.net/sourceforge/$_pkgname/$_pkgname-$pkgver.tar.gz")
 md5sums=('ee60188bea597680bd39e435a8c73ff9')

 build() {
 _prefix="$pkgdir/usr"
 _docprefix="$pkgdir/usr/share/doc/$_pkgname"
 _manprefix="$pkgdir/usr/share/man"

 mkdir -pv "$_prefix"
 mkdir -pv "$_docprefix"
 mkdir -pv "$_manprefix"

 cd "$srcdir/$_pkgname-$pkgver"
 PREFIX="$_prefix" ./configure \
 --verbose \
 --path-prefix="$_prefix" \
 --path-doc="$_docprefix" \
 --path-man="$_manprefix" \
 --set-tg=ncurses \
 --enable-textmodemouse \
 --enable-i18n \
 --enable-news \
 --enable-cookies \
 --enable-local-cgi \
 --enable-ipv6 \
 --disable-birtcfg \
 --set-tls=2 \
 --set-execext=1 \
 --set-ced=1 \
 --set-threading=1

 make || return 1
 }

 package() {
 cd "$srcdir/$_pkgname-$pkgver"
 make install || return 1
 }