You are not logged in.

#1 2015-07-14 13:07:22

jagan605
Member
Registered: 2011-12-04
Posts: 26

Cannot compile newsbeuter using makepkg.

I am able to compile it by cloning  manually and using make. But while using makepkg it complains about missing header files. I am including makepkg output here.

==> Making package: newsbeuter-git 1725.bed33e4-1 (Tue Jul 14 18:34:54 IST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating newsbeuter git repo...
==> Validating source files with sha1sums...
    newsbeuter ... Skipped
==> Extracting sources...
  -> Creating working copy of newsbeuter git repo...
Reset branch 'makepkg'
git hooks not installed in this repository.  Run 'git hooks --install' to install it or 'git hooks -h' for more information.
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
src/colormanager.cpp:1:20: fatal error: logger.h: No such file or directory
compilation terminated.
src/configcontainer.cpp:1:20: fatal error: config.h: No such file or directory
compilation terminated.
make: [src/configcontainer.o] Error 1 (ignored)
src/configparser.cpp:1:26: fatal error: configparser.h: No such file or directory
compilation terminated.
make: [src/colormanager.o] Error 1 (ignored)
src/keymap.cpp:1:20: fatal error: keymap.h: No such file or directory
compilation terminated.
make: [src/configparser.o] Error 1 (ignored)
make: [src/keymap.o] Error 1 (ignored)
src/logger.cpp:1:20: fatal error: logger.h: No such file or directory
compilation terminated.
src/stflpp.cpp:1:20: fatal error: stflpp.h: No such file or directory
compilation terminated.
make: [src/logger.o] Error 1 (ignored)
make: [src/stflpp.o] Error 1 (ignored)
src/exception.cpp:1:23: fatal error: exception.h: No such file or directory
compilation terminated.
filter/FilterParser.cpp:1:20: fatal error: logger.h: No such file or directory
compilation terminated.
src/matcher.cpp:1:21: fatal error: matcher.h: No such file or directory
compilation terminated.
make: [src/exception.o] Error 1 (ignored)
make: [src/matcher.o] Error 1 (ignored)
make: [filter/FilterParser.o] Error 1 (ignored)
src/formatstring.cpp:1:26: fatal error: formatstring.h: No such file or directory
compilation terminated.
make: [src/formatstring.o] Error 1 (ignored)
src/utils.cpp:2:20: fatal error: logger.h: No such file or directory
compilation terminated.
src/cache.cpp:1:24: fatal error: controller.h: No such file or directory
compilation terminated.
make: [src/utils.o] Error 1 (ignored)
make: [src/cache.o] Error 1 (ignored)
src/htmlrenderer.cpp:1:26: fatal error: htmlrenderer.h: No such file or directory
compilation terminated.
make: [src/htmlrenderer.o] Error 1 (ignored)
src/controller.cpp:1:20: fatal error: config.h: No such file or directory
compilation terminated.
src/view.cpp:1:22: fatal error: itemlist.h: No such file or directory
compilation terminated.
make: [src/view.o] Error 1 (ignored)
make: [src/controller.o] Error 1 (ignored)
newsbeuter.cpp:3:17: fatal error: rss.h: No such file or directory
compilation terminated.
make: [newsbeuter.o] Error 1 (ignored)
src/reloadthread.cpp:1:26: fatal error: reloadthread.h: No such file or directory
compilation terminated.
src/downloadthread.cpp:1:28: fatal error: downloadthread.h: No such file or directory
compilation terminated.
make: [src/reloadthread.o] Error 1 (ignored)
make: [src/downloadthread.o] Error 1 (ignored)
src/tagsouppullparser.cpp:1:31: fatal error: tagsouppullparser.h: No such file or directory
compilation terminated.
src/rss.cpp:1:17: fatal error: rss.h: No such file or directory
compilation terminated.
make: [src/tagsouppullparser.o] Error 1 (ignored)
make: [src/rss.o] Error 1 (ignored)
src/urlreader.cpp:4:23: fatal error: urlreader.h: No such file or directory
compilation terminated.
src/formaction.cpp:1:24: fatal error: formaction.h: No such file or directory
compilation terminated.
make: [src/urlreader.o] Error 1 (ignored)
make: [src/formaction.o] Error 1 (ignored)
src/rss_parser.cpp:1:19: fatal error: rsspp.h: No such file or directory
compilation terminated.
make: [src/rss_parser.o] Error 1 (ignored)
src/feedlist_formaction.cpp:1:33: fatal error: feedlist_formaction.h: No such file or directory
compilation terminated.
make: [src/feedlist_formaction.o] Error 1 (ignored)
src/itemlist_formaction.cpp:1:24: fatal error: controller.h: No such file or directory
compilation terminated.
src/itemview_formaction.cpp:1:33: fatal error: itemview_formaction.h: No such file or directory
compilation terminated.
make: [src/itemview_formaction.o] Error 1 (ignored)
make: [src/itemlist_formaction.o] Error 1 (ignored)
src/filebrowser_formaction.cpp:1:36: fatal error: filebrowser_formaction.h: No such file or directory
compilation terminated.
make: [src/filebrowser_formaction.o] Error 1 (ignored)
src/urlview_formaction.cpp:1:32: fatal error: urlview_formaction.h: No such file or directory
compilation terminated.
src/filtercontainer.cpp:1:29: fatal error: filtercontainer.h: No such file or directory
compilation terminated.
make: [src/urlview_formaction.o] Error 1 (ignored)
make: [src/filtercontainer.o] Error 1 (ignored)
src/listformatter.cpp:1:27: fatal error: listformatter.h: No such file or directory
src/select_formaction.cpp:1:31: fatal error: select_formaction.h: No such file or directory
compilation terminated.
compilation terminated.
make: [src/listformatter.o] Error 1 (ignored)
make: [src/select_formaction.o] Error 1 (ignored)
src/dialogs_formaction.cpp:1:20: fatal error: config.h: No such file or directory
compilation terminated.
src/regexmanager.cpp:1:26: fatal error: regexmanager.h: No such file or directory
compilation terminated.
src/help_formaction.cpp:2:20: fatal error: config.h: No such file or directory
compilation terminated.
make: [src/dialogs_formaction.o] Error 1 (ignored)
make: [src/help_formaction.o] Error 1 (ignored)
src/ttrss_urlreader.cpp:1:23: fatal error: ttrss_api.h: No such file or directory
compilation terminated.
src/ttrss_api.cpp:1:18: fatal error: json.h: No such file or directory
compilation terminated.
make: [src/regexmanager.o] Error 1 (ignored)
src/history.cpp:2:21: fatal error: history.h: No such file or directory
compilation terminated.
make: [src/ttrss_api.o] Error 1 (ignored)
make: [src/history.o] Error 1 (ignored)
make: [src/ttrss_urlreader.o] Error 1 (ignored)
src/newsblur_api.cpp:1:19: fatal error: rsspp.h: No such file or directory
compilation terminated.
make: [src/newsblur_api.o] Error 1 (ignored)
src/newsblur_urlreader.cpp:1:26: fatal error: newsblur_api.h: No such file or directory
compilation terminated.
make: [src/newsblur_urlreader.o] Error 1 (ignored)
src/markreadthread.cpp:1:28: fatal error: markreadthread.h: No such file or directory
compilation terminated.
src/oldreader_urlreader.cpp:1:27: fatal error: oldreader_api.h: No such file or directory
compilation terminated.
make: [src/markreadthread.o] Error 1 (ignored)
make: [src/oldreader_urlreader.o] Error 1 (ignored)
src/feedhq_urlreader.cpp:1:24: fatal error: feedhq_api.h: No such file or directory
compilation terminated.
make: [src/feedhq_urlreader.o] Error 1 (ignored)
rss/exception.cpp:6:19: fatal error: rsspp.h: No such file or directory
compilation terminated.
rss/parser.cpp:6:20: fatal error: config.h: No such file or directory
compilation terminated.
rss/rss_parser.cpp:6:28: fatal error: rsspp_internal.h: No such file or directory
compilation terminated.
make: [rss/parser.o] Error 1 (ignored)
make: [rss/exception.o] Error 1 (ignored)
make: [rss/rss_parser.o] Error 1 (ignored)
rss/parser_factory.cpp:6:20: fatal error: config.h: No such file or directory
compilation terminated.
rss/atom_parser.cpp:6:20: fatal error: config.h: No such file or directory
compilation terminated.
rss/rss_10_parser.cpp:5:20: fatal error: config.h: No such file or directory
compilation terminated.
make: [rss/parser_factory.o] Error 1 (ignored)
src/oldreader_api.cpp:6:27: fatal error: oldreader_api.h: No such file or directory
compilation terminated.
make: [rss/atom_parser.o] Error 1 (ignored)
make: [src/oldreader_api.o] Error 1 (ignored)
make: [rss/rss_10_parser.o] Error 1 (ignored)
rss/rss_09x_parser.cpp:6:20: fatal error: config.h: No such file or directory
compilation terminated.
make: [rss/rss_09x_parser.o] Error 1 (ignored)
src/feedhq_api.cpp:6:24: fatal error: feedhq_api.h: No such file or directory
compilation terminated.
make: [src/feedhq_api.o] Error 1 (ignored)
src/pb_controller.cpp:1:27: fatal error: pb_controller.h: No such file or directory
compilation terminated.
make: [src/pb_controller.o] Error 1 (ignored)
src/pb_view.cpp:1:21: fatal error: pb_view.h: No such file or directory
compilation terminated.
src/download.cpp:1:22: fatal error: download.h: No such file or directory
compilation terminated.
make: [src/pb_view.o] Error 1 (ignored)
make: [src/download.o] Error 1 (ignored)
src/queueloader.cpp:1:20: fatal error: stflpp.h: No such file or directory
compilation terminated.
src/poddlthread.cpp:1:25: fatal error: poddlthread.h: No such file or directory
compilation terminated.
make: [src/queueloader.o] Error 1 (ignored)
ar: src/configcontainer.o: No such file or directory
make: [libbeuter.a] Error 1 (ignored)
ar: filter/FilterParser.o: No such file or directory
make: [src/poddlthread.o] Error 1 (ignored)
make: [libfilter.a] Error 1 (ignored)
ranlib: 'libfilter.a': No such file
make: [libfilter.a] Error 1 (ignored)
ar: rss/exception.o: No such file or directory
make: [librsspp.a] Error 1 (ignored)
podbeuter.cpp:3:20: fatal error: config.h: No such file or directory
compilation terminated.
ranlib: 'libbeuter.a': No such file
make: [podbeuter.o] Error 1 (ignored)
make: [libbeuter.a] Error 1 (ignored)
g++: error: podbeuter.o: No such file or directory
g++: error: src/pb_controller.o: No such file or directory
g++: error: src/pb_view.o: No such file or directory
g++: error: src/download.o: No such file or directory
g++: error: src/queueloader.o: No such file or directory
g++: error: src/poddlthread.o: No such file or directory
make: [podbeuter] Error 1 (ignored)
ranlib: 'librsspp.a': No such file
make: [librsspp.a] Error 1 (ignored)
g++: error: newsbeuter.o: No such file or directory
g++: error: src/cache.o: No such file or directory
g++: error: src/htmlrenderer.o: No such file or directory
g++: error: src/urlreader.o: No such file or directory
g++: error: src/logger.o: No such file or directory
g++: error: src/view.o: No such file or directory
g++: error: src/controller.o: No such file or directory
g++: error: src/reloadthread.o: No such file or directory
g++: error: src/tagsouppullparser.o: No such file or directory
g++: error: src/downloadthread.o: No such file or directory
g++: error: src/rss.o: No such file or directory
g++: error: src/rss_parser.o: No such file or directory
g++: error: src/formaction.o: No such file or directory
g++: error: src/feedlist_formaction.o: No such file or directory
g++: error: src/itemlist_formaction.o: No such file or directory
g++: error: src/itemview_formaction.o: No such file or directory
g++: error: src/help_formaction.o: No such file or directory
g++: error: src/filebrowser_formaction.o: No such file or directory
g++: error: src/urlview_formaction.o: No such file or directory
g++: error: src/select_formaction.o: No such file or directory
g++: error: src/history.o: No such file or directory
g++: error: src/filtercontainer.o: No such file or directory
g++: error: src/listformatter.o: No such file or directory
g++: error: src/regexmanager.o: No such file or directory
g++: error: src/dialogs_formaction.o: No such file or directory
g++: error: src/ttrss_api.o: No such file or directory
g++: error: src/ttrss_urlreader.o: No such file or directory
g++: error: src/newsblur_api.o: No such file or directory
g++: error: src/newsblur_urlreader.o: No such file or directory
g++: error: src/markreadthread.o: No such file or directory
g++: error: src/oldreader_urlreader.o: No such file or directory
g++: error: src/oldreader_api.o: No such file or directory
g++: error: src/feedhq_api.o: No such file or directory
g++: error: src/feedhq_urlreader.o: No such file or directory
Make: [newsbeuter] Error 1 (ignored)

Any clues on why this happens?

Offline

#2 2015-07-14 15:27:04

paris3200
Member
Registered: 2012-12-08
Posts: 22

Re: Cannot compile newsbeuter using makepkg.

Why are you compling it manually?  Why not install it from the  community repository?

Offline

#3 2015-07-14 16:06:29

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Cannot compile newsbeuter using makepkg.

Builds just fine here - all those missing headers are included in the git checkout. I suggest you delete everything from the build directory and start again, so you get a fresh checkout.

Offline

#4 2015-07-14 17:50:58

jagan605
Member
Registered: 2011-12-04
Posts: 26

Re: Cannot compile newsbeuter using makepkg.

make

works but

makepkg -s

doesn't. I can't figure out why. I ran make inside the $srcdir/newsbeuter and it worked.

Offline

#5 2015-07-14 17:58:10

jagan605
Member
Registered: 2011-12-04
Posts: 26

Re: Cannot compile newsbeuter using makepkg.

I compiled using make and installed it using

makepkg -sei

. So I am marking it as solved.

Offline

#6 2015-07-14 20:23:20

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Cannot compile newsbeuter using makepkg.

Well, you didn't - and that's just as well, because your problem still exists. smile

Is there a particular upcoming feature or bugfix in the git build that you need? Just curious, I don't even use it myself.

Offline

#7 2015-07-14 21:51:51

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Cannot compile newsbeuter using makepkg.

This discussion and it's "solution" belong to the aur4 discussion page of the respective package.

Offline

#8 2015-07-15 01:27:23

jagan605
Member
Registered: 2011-12-04
Posts: 26

Re: Cannot compile newsbeuter using makepkg.

@tomk, community repo has the latest stable release that was in February. It had bugs that caused segfaults in podbeuter and there has not been any stable release after that bug fix.https://github.com/akrennmair/newsbeuter/releases

Offline

#9 2015-07-15 01:39:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Cannot compile newsbeuter using makepkg.

-git version builds fine for me...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB