* powwow (possibly only manpages / (arguments) question)
@ 2016-03-02 0:54 Nils Gillmann
2016-03-02 9:22 ` Ricardo Wurmus
0 siblings, 1 reply; 3+ messages in thread
From: Nils Gillmann @ 2016-03-02 0:54 UTC (permalink / raw)
To: guix-devel
I try to package powwow, a MUD and telnet client.
The make_it bashscript file just does make CC='gcc' CDEFS='-Wall
-Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP'
LDFLAGS='-lncurses' what I try to fit into the package
definition.
However, weird enough, during compilation on guix (second output)
I encounter an interactive part. Is this all what's broken on
first sight or is there more to this?
If so, I'll just patch the source or tell lynX to patch it with
something I can come up with, as upstream is gone forever and
symlynx.com is the only source.
first output: gentoo (sorry for localized messages, new system
and I was too lazy to change)
second and third: guixsd
Further notes: on gentoo I run the make_it script and hit Enter
when I encounter the part of the script which demands it, on guix
I run what's in the output.
What currentl is failing is the "make echo" phase. I can simply
cheat there and patch it or disable.
As I solved some part of this initial question by myself through
writing this:
I guess the real question is, does the guix definition look
alright in (arguments)? description and synop. will be changed.
Expected result is:
niasterisk@greendragon ~/powwow-gentoo-test/powwow-1.2.5 $ make clean
rm -f *.o \#* *~ core
niasterisk@greendragon ~/powwow-gentoo-test/powwow-1.2.5 $ ls
beam.c Changelog cmd.h defines.h eval.h list.c main.c map.c movie.c powwow.6 ptr.h tcp.c tty.h
beam.h cmd2.c Compile.how edit.c follow list.h main.h map.h movie_play powwow.doc README tcp.h utils.c
catrw cmd2.h Config.demo edit.h follow.c log.c Makefile movie powwow powwow.help README.follow TODO utils.h
catrw.c cmd.c COPYING eval.c Hacking log.h make_it movie2ascii powwow-1.2.5.lsm ptr.c README.term tty.c
niasterisk@greendragon ~/powwow-gentoo-test/powwow-1.2.5 $ ./make_it
Making Powwow for Linux
make CC='gcc' CDEFS='-Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP' LDFLAGS='-lncurses'
WARNING: if you are coming from a 1.0.x version,
re-read Changelog and powwow.doc as many things have changed.
In particular, syntax and effects of #prompt and #isprompt changed in 1.1.7
Press ENTER to continue...
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o main.o main.c
In file included from main.c:76:0:
main.c: In Funktion »main«:
tty.h:36:26: Warnung: Der Rückgabewert von »fgets«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert [-Wunused-result]
#define tty_gets(s,size) fgets((s), (size), stdin)
^
main.c:340:6: Anmerkung: bei Substitution des Makros »tty_gets«
tty_gets(hostname, BUFSIZE);
^
tty.h:36:26: Warnung: Der Rückgabewert von »fgets«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert [-Wunused-result]
#define tty_gets(s,size) fgets((s), (size), stdin)
^
main.c:347:6: Anmerkung: bei Substitution des Makros »tty_gets«
tty_gets(portnum, INTLEN);
^
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o utils.o utils.c
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o tcp.o tcp.c
tcp.c: In Funktion »tcp_read«:
tcp.c:380:31: Warnung: Zeigerziele bei Übergabe des Arguments 1 von »process_message« unterscheiden sich im Vorzeichenbesitz [-Wpointer-sign]
subchars = process_message(s+1, i-1);
^
In file included from tcp.c:45:0:
beam.h:6:5: Anmerkung: »char *« erwartet, aber Argument hat Typ »byte *«
int process_message __P ((char *buf, int len));
^
tcp.c:414:18: Warnung: Zeigerziele bei Übergabe des Arguments 1 von »prompt_set_iac« unterscheiden sich im Vorzeichenbesitz [-Wpointer-sign]
prompt_set_iac(p);
^
In file included from tcp.c:40:0:
main.h:15:6: Anmerkung: »char *« erwartet, aber Argument hat Typ »byte *«
void prompt_set_iac __P ((char *p));
^
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o tty.o tty.c
tty.c: In Funktion »tty_add_initial_binds«:
tty.c:455:9: Warnung: Die Adresse von »cursor_left« wird immer zu »wahr« auswerten [-Waddress]
if (cursor_left ) add_keynode("Left" , cursor_left , 0, prev_char, NULL);
^
tty.c:456:9: Warnung: Die Adresse von »cursor_right« wird immer zu »wahr« auswerten [-Waddress]
if (cursor_right) add_keynode("Right", cursor_right, 0, next_char, NULL);
^
tty.c:457:9: Warnung: Die Adresse von »cursor_up« wird immer zu »wahr« auswerten [-Waddress]
if (cursor_up ) add_keynode("Up" , cursor_up , 0, prev_line, NULL);
^
tty.c:458:9: Warnung: Die Adresse von »cursor_down« wird immer zu »wahr« auswerten [-Waddress]
if (cursor_down ) add_keynode("Down" , cursor_down , 0, next_line, NULL);
^
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o beam.o beam.c
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o cmd.o cmd.c
In file included from cmd.c:39:0:
cmd.c: In Funktion »cmd_rawprint«:
tty.h:38:49: Warnung: Der Rückgabewert von »write«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert [-Wunused-result]
#define tty_raw_write(s,size) do { tty_flush(); write(1, (s), (size)); } while (0)
^
cmd.c:1262:6: Anmerkung: bei Substitution des Makros »tty_raw_write«
tty_raw_write(ptrdata(pbuf), ptrlen(pbuf));
^
tty.h:38:49: Warnung: Der Rückgabewert von »write«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert [-Wunused-result]
#define tty_raw_write(s,size) do { tty_flush(); write(1, (s), (size)); } while (0)
^
cmd.c:1266:6: Anmerkung: bei Substitution des Makros »tty_raw_write«
tty_raw_write(arg, len);
^
cmd.c: In Funktion »cmd_shell«:
cmd.c:290:9: Warnung: Der Rückgabewert von »system«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert [-Wunused-result]
system(arg);
^
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o cmd2.o cmd2.c
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o list.o list.c
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o map.o map.c
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o log.o log.c
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o edit.o edit.c
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o eval.o eval.c
gcc -Wall -Wshadow -pipe -O2 -fomit-frame-pointer -DUSE_REGEXP -c -o ptr.o ptr.c
ptr.c: In Funktion »ptrnew«:
ptr.c:37:5: Warnung: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]
else if (max < 0 || max + sizeofptr < max) /* overflow! */
^
ptr.c: In Funktion »ptrdup2«:
ptr.c:59:5: Warnung: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]
else if (newmax < 0 || newmax + sizeofptr < newmax)
^
gcc -o powwow main.o utils.o tcp.o tty.o beam.o cmd.o cmd2.o list.o map.o log.o edit.o eval.o ptr.o -lncurses
strip powwow
niasterisk@greendragon ~/powwow-gentoo-test/powwow-1.2.5 $ ls -al
insgesamt 1244
drwxr-xr-x 2 niasterisk niasterisk 4096 2. Mär 01:40 .
drwxr-xr-x 3 niasterisk niasterisk 4096 1. Mär 22:04 ..
-rw-r--r-- 1 niasterisk niasterisk 10230 2. Feb 2000 beam.c
-rw-r--r-- 1 niasterisk niasterisk 407 14. Aug 1998 beam.h
-rw-r--r-- 1 niasterisk niasterisk 14040 2. Mär 01:40 beam.o
-rwxr-xr-x 1 niasterisk niasterisk 6192 1. Mär 23:02 catrw
-rw-r--r-- 1 niasterisk niasterisk 635 5. Okt 1998 catrw.c
-rw-r--r-- 1 niasterisk niasterisk 36057 3. Jul 2002 Changelog
-rw-r--r-- 1 niasterisk niasterisk 37949 26. Jan 2000 cmd2.c
-rw-r--r-- 1 niasterisk niasterisk 1065 14. Aug 1998 cmd2.h
-rw-r--r-- 1 niasterisk niasterisk 45048 2. Mär 01:40 cmd2.o
-rw-r--r-- 1 niasterisk niasterisk 53756 19. Feb 2002 cmd.c
-rw-r--r-- 1 niasterisk niasterisk 299 14. Aug 1998 cmd.h
-rw-r--r-- 1 niasterisk niasterisk 84968 2. Mär 01:40 cmd.o
-rw-r--r-- 1 niasterisk niasterisk 3064 10. Sep 1998 Compile.how
-rw-r--r-- 1 niasterisk niasterisk 15002 14. Okt 1998 Config.demo
-rw-r--r-- 1 niasterisk niasterisk 18304 5. Okt 1998 COPYING
-rw-r--r-- 1 niasterisk niasterisk 10974 3. Jul 2002 defines.h
-rw-r--r-- 1 niasterisk niasterisk 19517 3. Jul 2002 edit.c
-rw-r--r-- 1 niasterisk niasterisk 2294 9. Sep 1998 edit.h
-rw-r--r-- 1 niasterisk niasterisk 31776 2. Mär 01:40 edit.o
-rw-r--r-- 1 niasterisk niasterisk 33703 13. Jan 2000 eval.c
-rw-r--r-- 1 niasterisk niasterisk 1574 17. Dez 1998 eval.h
-rw-r--r-- 1 niasterisk niasterisk 35240 2. Mär 01:40 eval.o
-rwxr-xr-x 1 niasterisk niasterisk 6248 1. Mär 23:02 follow
-rw-r--r-- 1 niasterisk niasterisk 3502 19. Feb 2002 follow.c
-rw-r--r-- 1 niasterisk niasterisk 3525 5. Okt 1998 Hacking
-rw-r--r-- 1 niasterisk niasterisk 15663 13. Jan 2000 list.c
-rw-r--r-- 1 niasterisk niasterisk 2030 24. Dez 1998 list.h
-rw-r--r-- 1 niasterisk niasterisk 15720 2. Mär 01:40 list.o
-rw-r--r-- 1 niasterisk niasterisk 7847 13. Jan 2000 log.c
-rw-r--r-- 1 niasterisk niasterisk 533 17. Sep 1998 log.h
-rw-r--r-- 1 niasterisk niasterisk 10632 2. Mär 01:40 log.o
-rw-r--r-- 1 niasterisk niasterisk 51293 19. Feb 2002 main.c
-rw-r--r-- 1 niasterisk niasterisk 3314 3. Jul 2002 main.h
-rw-r--r-- 1 niasterisk niasterisk 49448 2. Mär 01:40 main.o
-rw-r--r-- 1 niasterisk niasterisk 4324 5. Dez 1998 Makefile
-rwxr-xr-x 1 niasterisk niasterisk 1510 1. Jun 2002 make_it
-rw-r--r-- 1 niasterisk niasterisk 3929 13. Jan 2000 map.c
-rw-r--r-- 1 niasterisk niasterisk 333 6. Aug 1998 map.h
-rw-r--r-- 1 niasterisk niasterisk 6616 2. Mär 01:40 map.o
-rwxr-xr-x 1 niasterisk niasterisk 10344 1. Mär 23:02 movie
lrwxrwxrwx 1 niasterisk niasterisk 5 1. Mär 23:02 movie2ascii -> movie
-rw-r--r-- 1 niasterisk niasterisk 2021 13. Okt 1998 movie.c
lrwxrwxrwx 1 niasterisk niasterisk 5 1. Mär 23:02 movie_play -> movie
-rwxr-xr-x 1 niasterisk niasterisk 172728 2. Mär 01:40 powwow
-rw-r--r-- 1 niasterisk niasterisk 696 19. Feb 2002 powwow-1.2.5.lsm
-rw-r--r-- 1 niasterisk niasterisk 3459 20. Jan 1998 powwow.6
-rw-r--r-- 1 niasterisk niasterisk 82209 19. Feb 2002 powwow.doc
-rw-r--r-- 1 niasterisk niasterisk 20638 5. Okt 1998 powwow.help
-rw-r--r-- 1 niasterisk niasterisk 12005 13. Jan 2000 ptr.c
-rw-r--r-- 1 niasterisk niasterisk 1977 19. Okt 1998 ptr.h
-rw-r--r-- 1 niasterisk niasterisk 8456 2. Mär 01:40 ptr.o
-rw-r--r-- 1 niasterisk niasterisk 5757 26. Jan 2000 README
-rw-r--r-- 1 niasterisk niasterisk 738 23. Apr 1997 README.follow
-rw-r--r-- 1 niasterisk niasterisk 879 23. Apr 1997 README.term
-rw-r--r-- 1 niasterisk niasterisk 23438 3. Jul 2002 tcp.c
-rw-r--r-- 1 niasterisk niasterisk 2263 19. Feb 2002 tcp.h
-rw-r--r-- 1 niasterisk niasterisk 24960 2. Mär 01:40 tcp.o
-rw-r--r-- 1 niasterisk niasterisk 1609 11. Aug 1998 TODO
-rw-r--r-- 1 niasterisk niasterisk 20350 5. Okt 1999 tty.c
-rw-r--r-- 1 niasterisk niasterisk 1581 5. Okt 1999 tty.h
-rw-r--r-- 1 niasterisk niasterisk 24384 2. Mär 01:40 tty.o
-rw-r--r-- 1 niasterisk niasterisk 28648 19. Feb 2002 utils.c
-rw-r--r-- 1 niasterisk niasterisk 1465 16. Sep 1998 utils.h
-rw-r--r-- 1 niasterisk niasterisk 37968 2. Mär 01:40 utils.o
What I get is:
this in admin.scm
(define-public powwow
(package
(name "powwow")
(version "1.2.5")
(source (origin
(method url-fetch)
(uri (string-append "http://lavachat.symlynx.com/unix/powwow-"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1yxhql9m6403gddpnqm9z5nnd5q4khq74h1wdxlhhdpxzp2cdfid"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
'("CC=gcc" "CDEFS=-DUSE_REGEXP" "LDFLAGS=-lncurses")
#:tests? #f
#:phases
(modify-phases %standard-phases
(delete 'configure)
;;(delete 'build)
;;(delete 'check)
(replace
'install
(lambda* (#:key outputs inputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(doc (string-append out "/share/doc/powwow")))
;;(doc (string-append (assoc-ref outputs "doc")
;;"/share/doc/lispf4"))
(install-file "catrw" bin)
(install-file "powwow" bin)
(install-file "movie" bin)
(install-file "movie2ascii" bin)
(install-file "movie_play" bin)
(install-file "README" doc)
(install-file "README.follow" doc)
(install-file "README.term" doc)
(install-file "powwow.doc" doc)
(install-file "powwow.help" doc)
(install-file "Compile.how" doc)
(install-file "Config.demo" doc)
(install-file "COPYING" doc)
(install-file "Changelog" doc)
(install-file "powwow.6" doc))
#t)))))
(home-page "http://lavachat.symlynx.com/unix/")
(synopsis "POWWOW is a MUD client and enhanced telnet client")
(description
"POWWOW is a MUD client which can be used as an enhanced telnet client.
Additional configs can be found at http://lavachat.symlynx.com/unix/")
(license license:gpl2)))
leading to
~/projects/guix_project/guix $ ./pre-inst-env guix build -K powwow
substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100.0%
The following derivation will be built:
/gnu/store/c1rkpq5nmhi7ypkd5drjmzp1kri91kpp-powwow-1.2.5.drv
@ build-started /gnu/store/c1rkpq5nmhi7ypkd5drjmzp1kri91kpp-powwow-1.2.5.drv - x86_64-linux /var/log/guix/drvs/c1//rkpq5nmhi7ypkd5drjmzp1kri91kpp-powwow-1.2.5.drv.bz2
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to `/gnu/store/x8nq1h5j3ykgzyfb2j6m2fzs1vcx5axw-tar-1.28/bin:/gnu/store/bwfr534bsfgl2a0pmxxy1ck7lz7fplsb-gzip-1.6/bin:/gnu/store/8qqi9pjcpb8lph39g9ppyqzaq38hdvdg-bzip2-1.0.6/bin:/gnu/store/5srj5qj6qhbwvrnlmnj8bihj6qbwb4v3-xz-5.2.2/bin:/gnu/store/8v3jina1v71fi4n1gcs729jvrc777giy-file-5.25/bin:/gnu/store/msryibxiqrr9frys3hxrq2rz8wpxykvn-diffutils-3.3/bin:/gnu/store/5sr8j09bwm2135w9k552f5vz4s0vbd2v-patch-2.7.5/bin:/gnu/store/gz7v0a6sa1f715kjdp7nqv0027qpqzxb-sed-4.2.2/bin:/gnu/store/qc1g1k253hnln7fpac3sk9v3qqbb9b2i-findutils-4.6.0/bin:/gnu/store/xqvwn89wb5ja81pxsy3m7lqlwq8mf3zw-gawk-4.1.3/bin:/gnu/store/72a04127c1rcv38l44gs4vg2azzzmjid-grep-2.22/bin:/gnu/store/nl4g5nzfdy6fad6i1zgxp1gin5c73b47-coreutils-8.24/bin:/gnu/store/43a6v9hslld0nx627nyr365zih1p41h5-make-4.1/bin:/gnu/store/x8dmdlrn5qn0wrbcnngj55y3ab73h0pp-bash-4.3.42/bin:/gnu/store/qjjh24wv65yg1rc3cjknjq6ycv4n7l47-ld-wrapper-0/bin:/gnu/store/gbg76f0x503bkjr1pcv1n37plph2b7ha-binutils-2.25.1/bin:/gnu/store/pg8nnqprjxgwhwiyh8nhbphzj53ax77i-gcc-4.9.3/bin:/gnu/store/sgzfawy95pfn7nsw3xvmca58llm5zzbc-glibc-2.22/bin:/gnu/store/sgzfawy95pfn7nsw3xvmca58llm5zzbc-glibc-2.22/sbin'
environment variable `C_INCLUDE_PATH' set to `/gnu/store/8qqi9pjcpb8lph39g9ppyqzaq38hdvdg-bzip2-1.0.6/include:/gnu/store/5srj5qj6qhbwvrnlmnj8bihj6qbwb4v3-xz-5.2.2/include:/gnu/store/8v3jina1v71fi4n1gcs729jvrc777giy-file-5.25/include:/gnu/store/xqvwn89wb5ja81pxsy3m7lqlwq8mf3zw-gawk-4.1.3/include:/gnu/store/43a6v9hslld0nx627nyr365zih1p41h5-make-4.1/include:/gnu/store/gbg76f0x503bkjr1pcv1n37plph2b7ha-binutils-2.25.1/include:/gnu/store/pg8nnqprjxgwhwiyh8nhbphzj53ax77i-gcc-4.9.3/include:/gnu/store/sgzfawy95pfn7nsw3xvmca58llm5zzbc-glibc-2.22/include:/gnu/store/1481x54il6kf3kcs03g997yaj86mfvkh-linux-libre-headers-3.14.37/include'
environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/8qqi9pjcpb8lph39g9ppyqzaq38hdvdg-bzip2-1.0.6/include:/gnu/store/5srj5qj6qhbwvrnlmnj8bihj6qbwb4v3-xz-5.2.2/include:/gnu/store/8v3jina1v71fi4n1gcs729jvrc777giy-file-5.25/include:/gnu/store/xqvwn89wb5ja81pxsy3m7lqlwq8mf3zw-gawk-4.1.3/include:/gnu/store/43a6v9hslld0nx627nyr365zih1p41h5-make-4.1/include:/gnu/store/gbg76f0x503bkjr1pcv1n37plph2b7ha-binutils-2.25.1/include:/gnu/store/pg8nnqprjxgwhwiyh8nhbphzj53ax77i-gcc-4.9.3/include:/gnu/store/sgzfawy95pfn7nsw3xvmca58llm5zzbc-glibc-2.22/include:/gnu/store/1481x54il6kf3kcs03g997yaj86mfvkh-linux-libre-headers-3.14.37/include'
environment variable `LIBRARY_PATH' set to `/gnu/store/8qqi9pjcpb8lph39g9ppyqzaq38hdvdg-bzip2-1.0.6/lib:/gnu/store/5srj5qj6qhbwvrnlmnj8bihj6qbwb4v3-xz-5.2.2/lib:/gnu/store/8v3jina1v71fi4n1gcs729jvrc777giy-file-5.25/lib:/gnu/store/xqvwn89wb5ja81pxsy3m7lqlwq8mf3zw-gawk-4.1.3/lib:/gnu/store/gbg76f0x503bkjr1pcv1n37plph2b7ha-binutils-2.25.1/lib:/gnu/store/sgzfawy95pfn7nsw3xvmca58llm5zzbc-glibc-2.22/lib:/gnu/store/sivw9x9qggxf8d2xdlzfknbsb6l9l42z-glibc-utf8-locales-2.22/lib'
environment variable `GUIX_LOCPATH' set to `/gnu/store/sivw9x9qggxf8d2xdlzfknbsb6l9l42z-glibc-utf8-locales-2.22/lib/locale'
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
using 'en_US.utf8' locale for category "LC_ALL"
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
powwow-1.2.5/utils.h
powwow-1.2.5/utils.c
powwow-1.2.5/tty.h
powwow-1.2.5/tty.c
powwow-1.2.5/tcp.h
powwow-1.2.5/tcp.c
powwow-1.2.5/ptr.h
powwow-1.2.5/ptr.c
powwow-1.2.5/powwow.help
powwow-1.2.5/powwow.doc
powwow-1.2.5/powwow.6
powwow-1.2.5/powwow-1.2.5.lsm
powwow-1.2.5/movie.c
powwow-1.2.5/map.h
powwow-1.2.5/map.c
powwow-1.2.5/make_it
powwow-1.2.5/main.h
powwow-1.2.5/main.c
powwow-1.2.5/log.h
powwow-1.2.5/log.c
powwow-1.2.5/list.h
powwow-1.2.5/list.c
powwow-1.2.5/follow.c
powwow-1.2.5/eval.h
powwow-1.2.5/eval.c
powwow-1.2.5/edit.h
powwow-1.2.5/edit.c
powwow-1.2.5/defines.h
powwow-1.2.5/cmd2.h
powwow-1.2.5/cmd2.c
powwow-1.2.5/cmd.h
powwow-1.2.5/cmd.c
powwow-1.2.5/catrw.c
powwow-1.2.5/beam.h
powwow-1.2.5/beam.c
powwow-1.2.5/TODO
powwow-1.2.5/README.term
powwow-1.2.5/README.follow
powwow-1.2.5/README
powwow-1.2.5/Makefile
powwow-1.2.5/Hacking
powwow-1.2.5/Config.demo
powwow-1.2.5/Compile.how
powwow-1.2.5/Changelog
powwow-1.2.5/COPYING
phase `unpack' succeeded after 0.0 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
patch-shebang: ./make_it: changing `/bin/sh' to `/gnu/store/x8dmdlrn5qn0wrbcnngj55y3ab73h0pp-bash-4.3.42/bin/sh'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
gcc -DUSE_REGEXP -c -o main.o main.c
WARNING: if you are coming from a 1.0.x version,
re-read Changelog and powwow.doc as many things have changed.
In particular, syntax and effects of #prompt and #isprompt changed in 1.1.7
Press ENTER to continue...
Makefile:60: recipe for target 'echo' failed
make: *** [echo] Error 1
make: *** Waiting for unfinished jobs....
phase `build' failed after 0.6 seconds
note: keeping build directory `/tmp/guix-build-powwow-1.2.5.drv-2'
builder for `/gnu/store/c1rkpq5nmhi7ypkd5drjmzp1kri91kpp-powwow-1.2.5.drv' failed with exit code 1
@ build-failed /gnu/store/c1rkpq5nmhi7ypkd5drjmzp1kri91kpp-powwow-1.2.5.drv - 1 builder for `/gnu/store/c1rkpq5nmhi7ypkd5drjmzp1kri91kpp-powwow-1.2.5.drv' failed with exit code 1
guix build: error: build failed: build of `/gnu/store/c1rkpq5nmhi7ypkd5drjmzp1kri91kpp-powwow-1.2.5.drv' failed
--
ng
irc://loupsycedyglgamf.onion:67/~NiAsterisk
https://psyced.org:34443/NiAsterisk/
EDN: https://wiki.c3d2.de/Echt_Dezentrales_Netz/en
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: powwow (possibly only manpages / (arguments) question)
2016-03-02 0:54 powwow (possibly only manpages / (arguments) question) Nils Gillmann
@ 2016-03-02 9:22 ` Ricardo Wurmus
2016-03-02 20:47 ` Nils Gillmann
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2016-03-02 9:22 UTC (permalink / raw)
To: Nils Gillmann; +Cc: guix-devel
Nils Gillmann <niasterisk@grrlz.net> writes:
> However, weird enough, during compilation on guix (second output)
> I encounter an interactive part.
I’d just patch out the line that’s responsible for “Press ENTER to
continue...”.
> I guess the real question is, does the guix definition look
> alright in (arguments)? description and synop. will be changed.
[...]
> (define-public powwow
> (package
> (name "powwow")
> (version "1.2.5")
That’s not the latest version. Seems that 1.2.14 is the latest. 1.2.5
was released in 2003, 1.2.14 was released in 2010.
> (source (origin
> (method url-fetch)
> (uri (string-append "http://lavachat.symlynx.com/unix/powwow-"
> version ".tar.gz"))
> (file-name (string-append name "-" version ".tar.gz"))
> (sha256
> (base32
> "1yxhql9m6403gddpnqm9z5nnd5q4khq74h1wdxlhhdpxzp2cdfid"))))
> (build-system gnu-build-system)
> (arguments
> `(#:make-flags
> '("CC=gcc" "CDEFS=-DUSE_REGEXP" "LDFLAGS=-lncurses")
> #:tests? #f
You should state why tests are disabled. Are they broken? Or do they
simply not exist?
> #:phases
> (modify-phases %standard-phases
> (delete 'configure)
> ;;(delete 'build)
> ;;(delete 'check)
Remove these commented lines
> (replace
> 'install
Pull the “'install” onto the same line as “(replace”.
> (lambda* (#:key outputs inputs #:allow-other-keys)
> (let* ((out (assoc-ref outputs "out"))
> (bin (string-append out "/bin"))
> (doc (string-append out "/share/doc/powwow")))
> ;;(doc (string-append (assoc-ref outputs "doc")
> ;;"/share/doc/lispf4"))
Also remove the commented stuff.
> (install-file "catrw" bin)
> (install-file "powwow" bin)
> (install-file "movie" bin)
> (install-file "movie2ascii" bin)
> (install-file "movie_play" bin)
How about
(for-each (cut install-file <> bin)
'("catrw" "powwow" "movie" "movie2ascii" "movie_play"))
> (install-file "README" doc)
> (install-file "README.follow" doc)
> (install-file "README.term" doc)
> (install-file "powwow.doc" doc)
> (install-file "powwow.help" doc)
> (install-file "Compile.how" doc)
> (install-file "Config.demo" doc)
> (install-file "COPYING" doc)
> (install-file "Changelog" doc)
> (install-file "powwow.6" doc))
Likewise:
(for-each (cut install-file <> doc)
'("README"
"README.follow"
"README.term"
...))
You may need to (use-modules (srfi srfi-26)), which provides the
immensely useful “cut”.
> #t)))))
> (home-page "http://lavachat.symlynx.com/unix/")
> (synopsis "POWWOW is a MUD client and enhanced telnet client")
> (description
> "POWWOW is a MUD client which can be used as an enhanced telnet client.
> Additional configs can be found at http://lavachat.symlynx.com/unix/")
> (license license:gpl2)))
I don’t think the license is correct. Some files are placed under
public domain (e.g. “catrw.c” or “movie_play.c”), yet others are placed
under GPLv2+ (e.g. “cmd.c”). You should probably do something like
this:
;; The following files are in the public domain:
;; catrw.c, movie_play.c, ...
(license (list license:gpl2+ license:public-domain))
~~ Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: powwow (possibly only manpages / (arguments) question)
2016-03-02 9:22 ` Ricardo Wurmus
@ 2016-03-02 20:47 ` Nils Gillmann
0 siblings, 0 replies; 3+ messages in thread
From: Nils Gillmann @ 2016-03-02 20:47 UTC (permalink / raw)
To: guix-devel
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
> Nils Gillmann <niasterisk@grrlz.net> writes:
>
>> However, weird enough, during compilation on guix (second output)
>> I encounter an interactive part.
>
> I’d just patch out the line that’s responsible for “Press ENTER to
> continue...”.
Seems like the best way to handle it. on the other hand I know
the person who is hosting the source who is - to my knowledge -
the last remaining upstream of this software and I could patch
out the line AND ask for a patch upstream.
** turns out with the 2010 release there might be still a
maintainer. I'll check it out **
>> (version "1.2.5")
>
> That’s not the latest version. Seems that 1.2.14 is the latest. 1.2.5
> was released in 2003, 1.2.14 was released in 2010.
Oh, thanks for pointing that out. There are many changed files
compared to the 1998-2003 version. Whatever applied with the 1998
version, there's now so many changes I do not even need my
setup structure.
>> (arguments
>> `(#:make-flags
>> '("CC=gcc" "CDEFS=-DUSE_REGEXP" "LDFLAGS=-lncurses")
>> #:tests? #f
>
> You should state why tests are disabled. Are they broken? Or do they
> simply not exist?
From my perspective at 3AM and tunnel visioned with the 1998
version, they simply did not exist, but I will double check
tomorrow. ** read above **
>> (install-file "catrw" bin)
>> (install-file "powwow" bin)
>> (install-file "movie" bin)
>> (install-file "movie2ascii" bin)
>> (install-file "movie_play" bin)
>
> How about
>
> (for-each (cut install-file <> bin)
> '("catrw" "powwow" "movie" "movie2ascii" "movie_play"))
>
>> (install-file "README" doc)
>> (install-file "README.follow" doc)
>> (install-file "README.term" doc)
>> (install-file "powwow.doc" doc)
>> (install-file "powwow.help" doc)
>> (install-file "Compile.how" doc)
>> (install-file "Config.demo" doc)
>> (install-file "COPYING" doc)
>> (install-file "Changelog" doc)
>> (install-file "powwow.6" doc))
>
> Likewise:
>
> (for-each (cut install-file <> doc)
> '("README"
> "README.follow"
> "README.term"
> ...))
>
> You may need to (use-modules (srfi srfi-26)), which provides the
> immensely useful “cut”.
Thanks for the info, did not know about this. Maybe I should look
into the different srfi's used in guix at some point.
>
>
>> #t)))))
>> (home-page "http://lavachat.symlynx.com/unix/")
>> (synopsis "POWWOW is a MUD client and enhanced telnet client")
>> (description
>> "POWWOW is a MUD client which can be used as an enhanced telnet client.
>> Additional configs can be found at http://lavachat.symlynx.com/unix/")
>> (license license:gpl2)))
>
> I don’t think the license is correct. Some files are placed under
> public domain (e.g. “catrw.c” or “movie_play.c”), yet others are placed
> under GPLv2+ (e.g. “cmd.c”). You should probably do something like
> this:
>
> ;; The following files are in the public domain:
> ;; catrw.c, movie_play.c, ...
> (license (list license:gpl2+ license:public-domain))
>
>
> ~~ Ricardo
>
>
Ah right, that one I noticed after sending out the Email, the
original software powwow is based on was placed into the public
domain, powwow was explicitly put under GPL2.
You seem to know more about spotting licenses by their
structure and in general. There are files which are GPL2 and
there are files which are GPL2+... How do I handle the occurence
of GPL2 and GPL2+ in sources? I guess I need to name all files
which carry gpl2, all which are public domain, and then "the rest
is GPL2+" or something similar?
thanks for helping,
--
ng
irc://loupsycedyglgamf.onion:67/~NiAsterisk
https://psyced.org:34443/NiAsterisk/
EDN: https://wiki.c3d2.de/Echt_Dezentrales_Netz/en
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-02 20:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-02 0:54 powwow (possibly only manpages / (arguments) question) Nils Gillmann
2016-03-02 9:22 ` Ricardo Wurmus
2016-03-02 20:47 ` Nils Gillmann
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).