Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on Alternative Architectures
  • Search

emacs-22.1 on Gentoo/FreeBSD

Post here for other supported architectures, or if you are interested in porting Gentoo to a currently unsupported architecture.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
addeman
Apprentice
Apprentice
User avatar
Posts: 181
Joined: Thu Nov 04, 2004 4:12 pm
Location: Stockholm, Sweden
Contact:
Contact addeman
Website

emacs-22.1 on Gentoo/FreeBSD

  • Quote

Post by addeman » Tue Oct 02, 2007 7:45 pm

I recently installed Gentoo/FreeBSD and i now need emacs.

Code: Select all

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: Select all

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
Top
mark_alec
Bodhisattva
Bodhisattva
User avatar
Posts: 6066
Joined: Sat Sep 11, 2004 6:40 am
Location: Melbourne, Australia
Contact:
Contact mark_alec
Website

  • Quote

Post by mark_alec » Tue Oct 02, 2007 11:09 pm

Moved from Portage & Programming to Gentoo on Alternative Architectures. Trying asking in #gentoo-bsd on Freenode.
www.gentoo.org.au || #gentoo-au
Top
addeman
Apprentice
Apprentice
User avatar
Posts: 181
Joined: Thu Nov 04, 2004 4:12 pm
Location: Stockholm, Sweden
Contact:
Contact addeman
Website

  • Quote

Post by addeman » Wed Oct 03, 2007 10:55 am

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
Top
LavaJoe
Retired Dev
Retired Dev
User avatar
Posts: 24
Joined: Thu Jul 27, 2006 3:25 pm
Location: Colorado, USA
Contact:
Contact LavaJoe
Website

  • Quote

Post by LavaJoe » Fri Oct 26, 2007 3:59 am

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
Top
addeman
Apprentice
Apprentice
User avatar
Posts: 181
Joined: Thu Nov 04, 2004 4:12 pm
Location: Stockholm, Sweden
Contact:
Contact addeman
Website

  • Quote

Post by addeman » Sun Oct 28, 2007 9:03 pm

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
Top
LavaJoe
Retired Dev
Retired Dev
User avatar
Posts: 24
Joined: Thu Jul 27, 2006 3:25 pm
Location: Colorado, USA
Contact:
Contact LavaJoe
Website

  • Quote

Post by LavaJoe » Mon Oct 29, 2007 2:37 am

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
Top
addeman
Apprentice
Apprentice
User avatar
Posts: 181
Joined: Thu Nov 04, 2004 4:12 pm
Location: Stockholm, Sweden
Contact:
Contact addeman
Website

  • Quote

Post by addeman » Tue Oct 30, 2007 8:54 am

Well, it happend again... No i get this:

Code: Select all

>>> 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...
Top
mark_alec
Bodhisattva
Bodhisattva
User avatar
Posts: 6066
Joined: Sat Sep 11, 2004 6:40 am
Location: Melbourne, Australia
Contact:
Contact mark_alec
Website

  • Quote

Post by mark_alec » Tue Oct 30, 2007 10:46 am

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
Top
Post Reply

8 posts • Page 1 of 1

Return to “Gentoo on Alternative Architectures”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic