Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emacs-22.1 on Gentoo/FreeBSD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
addeman
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 181
Location: Stockholm, Sweden

PostPosted: Tue Oct 02, 2007 7:45 pm    Post subject: emacs-22.1 on Gentoo/FreeBSD Reply with quote

I recently installed Gentoo/FreeBSD and i now need emacs.
Code:
zion ~ # emerge -av emacs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] app-editors/emacs-22.1-r1  USE="X gif jpeg png tiff xpm -Xaw3d (-alsa) -gtk -gzip-el -hesiod -motif -sound -source -spell -toolkit-scroll-bars" 0 kB

fails with
Code:
Loading tooltip...
((58203 . 8578) (11755 . 0) (620 . 65) 80110 166533 (71 . 7) (18 . 12) (5651 . 1846))
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under names emacs and emacs-22.1.1
1110195 pure bytes used
./emacs -q -batch -f list-load-path-shadows
Fatal error (11)gmake[1]: *** [emacs] Segmentation fault: 11 (core dumped)
gmake[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-22.1-r1/work/emacs-22.1/src'
(export PARALLEL; PARALLEL=0; cd leim; gmake all  \
          CC='i686-gentoo-freebsd6.2-gcc' CFLAGS='-O2 -march=pentium4 -pipe' CPPFLAGS='-I/usr/X11R6/include -I/usr/local/include -L/usr/local/lib  ' \
          LDFLAGS='-Wl,-znocombreloc ' MAKE='gmake')
gmake[1]: Entering directory `/var/tmp/portage/app-editors/emacs-22.1-r1/work/emacs-22.1/leim'
EMACSLOADPATH=/var/tmp/portage/app-editors/emacs-22.1-r1/work/emacs-22.1/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -l /var/tmp/portage/app-editors/emacs-22.1-r1/work/emacs-22.1/leim/../lisp/international/titdic-cnv \
          -f batch-titdic-convert -dir quail /var/tmp/portage/app-editors/emacs-22.1-r1/work/emacs-22.1/leim/CXTERM-DIC; \
          echo "changed" > changed.tit
Fatal error (11)EMACSLOADPATH=/var/tmp/portage/app-editors/emacs-22.1-r1/work/emacs-22.1/leim/../lisp LC_ALL=C ../src/emacs -batch --no-init-file --no-site-file --multibyte -f batch-byte-compile quail/CCDOSPY.el
>>Error occurred processing quail/CCDOSPY.el: File error (("Opening input file" "no such file or directory" "/var/tmp/portage/app-editors/emacs-22.1-r1/work/emacs-22.1/leim/quail/CCDOSPY.el"))
gmake[1]: *** [quail/CCDOSPY.elc] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/app-editors/emacs-22.1-r1/work/emacs-22.1/leim'
gmake: *** [leim] Error 2
 *
 * ERROR: app-editors/emacs-22.1-r1 failed.
 * Call stack:
 *              ebuild.sh, line 1684:  Called dyn_compile
 *              ebuild.sh, line 1020:  Called qa_call 'src_compile'
 *              ebuild.sh, line   44:  Called src_compile
 *   emacs-22.1-r1.ebuild, line  140:  Called die
 * The specific snippet of code:
 *      emake CC="$(tc-getCC)" || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-editors/emacs-22.1-r1/temp/build.log'.
 *

 * Messages for package app-editors/emacs-22.1-r1:

 *
 * ERROR: app-editors/emacs-22.1-r1 failed.
 * Call stack:
 *              ebuild.sh, line 1684:  Called dyn_compile
 *              ebuild.sh, line 1020:  Called qa_call 'src_compile'
 *              ebuild.sh, line   44:  Called src_compile
 *   emacs-22.1-r1.ebuild, line  140:  Called die
 * The specific snippet of code:
 *      emake CC="$(tc-getCC)" || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-editors/emacs-22.1-r1/temp/build.log'.
 *
zion ~ #                                                         


What am i missing?

Best regards
addeman
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Tue Oct 02, 2007 11:09 pm    Post subject: Reply with quote

Moved from Portage & Programming to Gentoo on Alternative Architectures. Trying asking in #gentoo-bsd on Freenode.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
addeman
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 181
Location: Stockholm, Sweden

PostPosted: Wed Oct 03, 2007 10:55 am    Post subject: Reply with quote

Thanks for the tip. I tried and there were no emacs-lovers around. The others recommended i file a bugreport so i did. It's bug #194582 on gentoo bugzilla.

/addeman
Back to top
View user's profile Send private message
LavaJoe
Retired Dev
Retired Dev


Joined: 27 Jul 2006
Posts: 24
Location: Colorado, USA

PostPosted: Fri Oct 26, 2007 3:59 am    Post subject: Reply with quote

addeman wrote:
Thanks for the tip. I tried and there were no emacs-lovers around. The others recommended i file a bugreport so i did. It's bug #194582 on gentoo bugzilla.

/addeman


Actually, count me as an emacs lover! I do hang out in #gentoo-bsd fairly regularly, so look for me, and maybe I can help. I replied to your bug, and I see your response, but still nothing stands out. The seg fault is strange. Have you done an "emerge -e system" lately? Maybe a revdep-rebuild would help too (note that a new g/fbsd version of this is now available). I wonder if something is out of sync.

-Joe
Back to top
View user's profile Send private message
addeman
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 181
Location: Stockholm, Sweden

PostPosted: Sun Oct 28, 2007 9:03 pm    Post subject: Reply with quote

I haven't done any updating on this system, so there are some that could be done. I'm a bit scared of updating the freebsd-* packages though, as last time i tried to resulted in a broken system (every program crashed with something like 'undefined reference to _init'). Which is the correct order to emerge the freebsd-* packages?

The worst thing is that my laptop crashed so i now have to reinstall gentoo on it. I need my laptop more so getting that up and running has higer priority...

Best regards
addeman
Back to top
View user's profile Send private message
LavaJoe
Retired Dev
Retired Dev


Joined: 27 Jul 2006
Posts: 24
Location: Colorado, USA

PostPosted: Mon Oct 29, 2007 2:37 am    Post subject: Reply with quote

addeman wrote:
I haven't done any updating on this system, so there are some that could be done. I'm a bit scared of updating the freebsd-* packages though, as last time i tried to resulted in a broken system (every program crashed with something like 'undefined reference to _init'). Which is the correct order to emerge the freebsd-* packages?

The worst thing is that my laptop crashed so i now have to reinstall gentoo on it. I need my laptop more so getting that up and running has higer priority...

Best regards
addeman


The order shouldn't matter - you should just update all of the sys-freebsd packages when you get the chance. There have been some important updates lately that might help. After that, you may want to do an "emerge -eav system" to make sure the toolchain is all current.

-Joe
Back to top
View user's profile Send private message
addeman
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 181
Location: Stockholm, Sweden

PostPosted: Tue Oct 30, 2007 8:54 am    Post subject: Reply with quote

Well, it happend again... No i get this:
Code:
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-freebsd/freebsd-sbin-6.2-r2/work/sbin ...
===> adjkerntz (all)
Warning: Object directory not changed from original /var/tmp/portage/sys-freebsd/freebsd-sbin-6.2-r2/work/sbin/adjkerntz
i686-gentoo-freebsd6.2-gcc  -O2 -mtune=i686 -pipe  -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -c adjkerntz.c
i686-gentoo-freebsd6.2-gcc  -O2 -mtune=i686 -pipe  -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized  -o adjkerntz adjkerntz.o
/usr/lib/gcc/i686-gentoo-freebsd6.2/4.2.2/../../../crt1.o: In function `_start':
(.text+0x62): undefined reference to `_fini'
/usr/lib/gcc/i686-gentoo-freebsd6.2/4.2.2/../../../crt1.o: In function `_start':
(.text+0x6c): undefined reference to `_init'
collect2: ld returned 1 exit status
*** Error code 1
1 error
*** Error code 2
1 error
 *
 * ERROR: sys-freebsd/freebsd-sbin-6.2-r2 failed.
 * Call stack:
 *        ebuild.sh, line 1695:  Called dyn_compile
 *        ebuild.sh, line 1033:  Called qa_call 'src_compile'
 *        ebuild.sh, line   44:  Called src_compile
 *        ebuild.sh, line 1377:  Called freebsd_src_compile
 *   freebsd.eclass, line  104:  Called bsdmk_src_compile
 *     bsdmk.eclass, line   60:  Called die
 * The specific snippet of code:
 *      mkmake || die "make failed"
 *  The die message:
 *   make failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-freebsd/freebsd-sbin-6.2-r2/temp/build.log'.
 *

 * Messages for package sys-freebsd/freebsd-sbin-6.2-r2:

 *
 * ERROR: sys-freebsd/freebsd-sbin-6.2-r2 failed.
 * Call stack:
 *        ebuild.sh, line 1695:  Called dyn_compile
 *        ebuild.sh, line 1033:  Called qa_call 'src_compile'
 *        ebuild.sh, line   44:  Called src_compile
 *        ebuild.sh, line 1377:  Called freebsd_src_compile
 *   freebsd.eclass, line  104:  Called bsdmk_src_compile
 *     bsdmk.eclass, line   60:  Called die
 * The specific snippet of code:
 *      mkmake || die "make failed"
 *  The die message:
 *   make failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-freebsd/freebsd-sbin-6.2-r2/temp/build.log'.
 *
zion andrnils #


How do i correct this? Since i crt1.o belongs to freebsd-lib i rebuilt that but i still get the same errors...
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Tue Oct 30, 2007 10:46 am    Post subject: Reply with quote

I thought that Uber got that fixed in a newer version of binutils. Which version do you have installed?
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum