ebuild has RDEPEND="app-emacs/bbdb app-emacs/planner" DEPEND="${RDEPEND}" but remember can work without planner! I'm not sure if it can work standalone but certainly it can work with org-mode supplied with emacs-22.1 could you please fix the ebuild? Reproducible: Always Actual Results: require to install app-emacs/planner Expected Results: not to install app-emacs/planner
Not really; see Bug 172137 Comment #3
I made an ebuild and it works for me without app-emacs/planner or app-emacs/org-mode, it works for me with emacs-22.1. please test
Created attachment 122785 [details] app-emacs/remember-1.9-r1.ebuild
(In reply to comment #2) > I made an ebuild and it works for me without app-emacs/planner or > app-emacs/org-mode, it works for me with emacs-22.1. please test This fails for me (Emacs 22, app-emacs/planner not installed) with the same error messages as in bug #172137 comment #3. Which is not really surprising, since some source files, e.g., remember-planner.el, contain an unconditional "(require 'planner)". Or am I missing something? Could you please attach your build log for the ebuild of attachment #122785 [details]?
Created attachment 122852 [details] build log here is the log requested you are right, the build produce errors, but installation did not failed (I'm surprised also). I tested remember not extensively, but it seems to work with build-in org-mode and with app-emacs/org-mode in emacs-22.1 please see next attachment for details of my gentoo installation (emerge --info)
Created attachment 122853 [details] emerge --info
(In reply to comment #5) > you are right, the build produce errors, but installation did not failed > (I'm surprised also). remember's Makefile is broken and ignores the return status of the compilation (the "|| :" is a crime): %.elc: %.el @$(EMACS) -q $(SITEFLAG) -batch -l ./scripts/$(PROJECT)-build.el \ -f batch-byte-compile $< || : For the failing files, there are no *.elc files written; you see it also in your log. So we won't remove planner from remember's dependencies. On the contrary, it looks like some dependencies are still missing, e.g., emacs-wiki. If remember really works with org-mode and without planner then my advice is that you should ask Upstream to resolve this issue. (And tell them that they should fix their broken Makefile!)
hm... these dependencies (including planner) are optional, see http://bugs.gentoo.org/show_bug.cgi?id=80418
(In reply to comment #8) > hm... these dependencies (including planner) are optional, O.K., looks like you really want this feature. ;-) One possible solution would be to add local USE flags for all optional dependencies to remember. For example: RDEPEND="bbdb? ( app-emacs/bbdb ) planner? ( app-emacs/planner )" And remove all failing files: src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-compile-status.patch" use bbdb || rm -f foo.el bar.el use planner || rm -f quux.el } Maxim: It would be of great help if you could provide us with a list of which dependencies are needed by which files. Reopening.
Created attachment 123015 [details, diff] remember-1.9-compile-status.patch
Fixed in -r1: Added bbdb and planner local USE flags, as outlined in comment #9. For the time being, files remember-{bibl,blosxom,emacs-wiki-journal}.el cannot be compiles since they require "emacs-wiki-journal", "emacs-wiki-blosxom", and "bibl-mode" that are not available in Gentoo.