While emerging ledger-2.6.2 on a stable-ish amd64 it fail as follows: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DHAVE_EXPAT=1 -O2 -march=k8-sse3 -mmmx -m3dnow -msse -msse2 -msse3 -mfpmath=sse -pipe -MT ledger-main.o -MD -MP -MF .deps/ledger-main.Tpo -c -o ledger-main.o `test -f 'main.cc' || echo './'`main.cc mv -f .deps/libledger_la-gnucash.Tpo .deps/libledger_la-gnucash.Plo WARNING: Warnings can be ignored. :-) if test "xemacs" != no; then \ set x; \ list='ledger.el timeclock.el ledger.el timeclock.el'; for p in $list; do \ if test -f "$p"; then d=; else d="./"; fi; \ set x "$@" "$d$p"; shift; \ done; \ shift; \ EMACS="xemacs" /bin/sh ./elisp-comp "$@" || exit 1; \ else : ; fi cp: warning: source file `ledger.el' specified more than once cp: warning: source file `timeclock.el' specified more than once Compiling /var/tmp/portage/app-office/ledger-2.6.2/work/ledger-2.6.2/elc.17011/ledger.el... While compiling toplevel forms in file /var/tmp/portage/app-office/ledger-2.6.2/work/ledger-2.6.2/elc.17011/ledger.el: !! File error (("Cannot open load file" "esh-util")) >>Error occurred processing ledger.el: Cannot open load file: "esh-util" Compiling /var/tmp/portage/app-office/ledger-2.6.2/work/ledger-2.6.2/elc.17011/timeclock.el... While compiling timeclock-modeline-display in file /var/tmp/portage/app-office/ledger-2.6.2/work/ledger-2.6.2/elc.17011/timeclock.el: ** reference to free variable display-time-mode While compiling timeclock-log-data: ** variable todays-date bound but not referenced While compiling timeclock-find-discrep: ** variable avg bound but not referenced While compiling the end of the data: ** The following functions are not known to be defined: cancel-timer, time-less-p Wrote /var/tmp/portage/app-office/ledger-2.6.2/work/ledger-2.6.2/elc.17011/timeclock.elc Done make[1]: *** [elc-stamp] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f .deps/ledger-main.Tpo .deps/ledger-main.Po make[1]: Leaving directory `/var/tmp/portage/app-office/ledger-2.6.2/work/ledger-2.6.2' make: *** [all] Error 2 * ERROR: app-office/ledger-2.6.2 failed: * emake failed -------- USE flags in use: [ebuild N ] app-office/ledger-2.6.2 USE="gnuplot xml -debug -emacs -ofx" 0 kB
If I unmerge xemacs then the emerge will sort of pass, but still not properly. ledger's files will be installed and merged to the file system (and the temp dir cleaned, bye build logs), but portage will still spit out a message mentioning an unspecified error at src_compile.
On x86 I don't see any error message regarding src_compile. I am using paludis, but it's normally really good about flagging up warnings. My use flags: app-office/ledger -debug -emacs -gnuplot -ofx -xml
If I change to USE="-xml" then ledger emerges just fine also on the amd64 system. We have a suspect.
Can you reproduce this issue with app-office/ledger-2.6.3 ? If so, please attach build log and emerge --info
(In reply to comment #4) > Can you reproduce this issue with app-office/ledger-2.6.3 ? Where can I find the 2.6.3 ebuild? Some overlay? Dumb copying the 2.6.2 ebuild to 2.6.3 and dropping the patch is a no-go. It won't even configure out of the tarball. configuration fails nearly immediately due to the script not finding install.sh.
(In reply to comment #5) > (In reply to comment #4) > > Can you reproduce this issue with app-office/ledger-2.6.3 ? > > Where can I find the 2.6.3 ebuild? Some overlay? My bad, please wait a few hours and do an emerge --sync again > > Dumb copying the 2.6.2 ebuild to 2.6.3 and dropping the patch is a no-go. It > won't even configure out of the tarball. configuration fails nearly immediately > due to the script not finding install.sh. > Yeah, it won't work because it needs the magic of autoreconf, please sync as told above :)
(In reply to comment #6) > please wait a few hours and do an emerge --sync again Yup, 2.6.3 ebuild in portage tree compiles with my settings as well. Thanks!