Package Details: zpipe 201-1

Git Clone URL: https://aur.archlinux.org/zpipe.git (read-only)
Package Base: zpipe
Description: (De)compress from standard input to standard output using libzpaq
Upstream URL: http://mattmahoney.net/dc/zpaq.html
Licenses: GPL3
Submitter: None
Maintainer: None
Last Packager: bitwave
Votes: 3
Popularity: 0.000486
First Submitted: 2012-10-23 21:57
Last Updated: 2015-06-09 12:46

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

Ataraxy commented on 2018-09-12 06:23

I get a different error:

make: Entering directory '/home/var/ravi/.cache/aurman/zpipe/src'
g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now  zpipe.cpp  -lzpaq -o zpipe
zpipe.cpp: In function ‘int main(int, char**)’:
zpipe.cpp:104:40: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
     libzpaq::compress(&in, &out, option-'0');
                                  ~~~~~~^~~~
In file included from zpipe.cpp:58:
/usr/include/libzpaq.h:1501:52: note:   initializing argument 3 of ‘void libzpaq::compress(libzpaq::Reader*, libzpaq::Writer*, const char*, const char*, const char*, bool)’
 void compress(Reader* in, Writer* out, const char* method,
                                        ~~~~~~~~~~~~^~~~~~
make: *** [<builtin>: zpipe] Error 1

haawda commented on 2018-09-01 13:39

Same here, and if I change that line to libzpaq::compress(&in, &out, "3");

it builds, but segfaults.

Same with adding -fpermissive to the CXXFLAGS.

oconnor663 commented on 2017-10-04 16:33

I get a compile error from this package:

make: Entering directory '/home/jacko/.cache/pacaur/zpipe/src'
g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now zpipe.cpp -lzpaq -o zpipe
zpipe.cpp: In function ‘int main(int, char**)’:
zpipe.cpp:104:40: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
libzpaq::compress(&in, &out, option-'0');
~~~~~~^~~~
In file included from zpipe.cpp:58:0:
/usr/include/libzpaq.h:1501:6: note: initializing argument 3 of ‘void libzpaq::compress(libzpaq::Reader*, libzpaq::Writer*, const char*, const char*, const char*, bool)’
void compress(Reader* in, Writer* out, const char* method,
^~~~~~~~
make: *** [<builtin>: zpipe] Error 1
make: Leaving directory '/home/jacko/.cache/pacaur/zpipe/src'