Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - fb2toepub

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: fb2toepub 1.0_4-2

Git Clone URL: https://aur-dev.archlinux.org/fb2toepub.git (read-only)
Package Base: fb2toepub
Description: converter from fb2 to epub
Upstream URL: http://code.google.com/p/fb2-to-epub-converter/
Licenses: GPL
Submitter: None
Maintainer: ava1ar
Last Packager: ava1ar
Votes: 6
Popularity: 0.000467
First Submitted: 2012-02-06 10:16
Last Updated: 2016-02-13 21:50

Latest Comments

ava1ar commented on 2016-02-13 21:51

@corrupt, thanks! Fixed the build, should work fine now.

corrupt commented on 2016-02-13 12:03

I managed to compile this after I executed "flex -o scanner.cpp scanner.l" myself. So I think Makefile should be corrected:

all : makedirs flex $(distdir)/fb2toepub
...
flex : $(srcdir)/scanner.l
flex -o $(srcdir)/scanner.cpp $(srcdir)/scanner.l

ava1ar commented on 2016-02-04 05:15

I know about the issue, but have no time to look into in now. Patches are welcome :)

sirocco commented on 2016-01-22 05:31

last lines of build log
----------
...
/usr/include/c++/5.3.0/istream:58:11: note: no known conversion for argument 1 from 'std::istream* {aka std::basic_istream<char>*}' to 'const std::basic_istream<char>&'
scanner.cpp: In member function 'virtual yy_buffer_state* yyFlexLexer::yy_create_buffer(std::istream*, int)':
scanner.cpp:2185:26: error: no matching function for call to 'yyFlexLexer::yy_init_buffer(yy_buffer_state*&, std::istream*&)'
In file included from scanner.cpp:312:0:
/usr/include/FlexLexer.h:160:7: note: candidate: void yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream&)
void yy_init_buffer( struct yy_buffer_state* b, FLEX_STD istream& s );
^
/usr/include/FlexLexer.h:160:7: note: no known conversion for argument 2 from 'std::istream* {aka std::basic_istream<char>*}' to 'std::istream& {aka std::basic_istream<char>&}'
scanner.cpp: At global scope:
scanner.cpp:23:25: error: prototype for 'void yyFlexLexer::yy_init_buffer(YY_BUFFER_STATE, std::istream*)' does not match any in class 'yyFlexLexer'
scanner.cpp:2213:10: note: in expansion of macro 'yyFlexLexer'
In file included from scanner.cpp:312:0:
/usr/include/FlexLexer.h:160:7: error: candidate is: void yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream&)
void yy_init_buffer( struct yy_buffer_state* b, FLEX_STD istream& s );
^
Makefile:84: recipe for target 'objs/scanner.o' failed
make: *** [objs/scanner.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...

Anonymous comment on 2012-02-06 10:16