Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148275 - app-editors/nvu-0.90-r2 emerge failure
Summary: app-editors/nvu-0.90-r2 emerge failure
Status: RESOLVED DUPLICATE of bug 125832
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-19 19:38 UTC by Kevin O'Gorman
Modified: 2006-09-19 23:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin O'Gorman 2006-09-19 19:38:22 UTC
Package nvu will not emerge for me.  It complains of failed nvu-0.50-nvu.patch

Tail of the emerge output, followed by emerge --info, followed by the
failing patch file (as suggested by the error message):

==============================================================================
nsStackFrameUnix.cpp
c++ -o nsStackFrameUnix.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -D_IMPL_NS_COM  -I../../dist/include/string -I../../dist/include/xpcom -I../../dist/include -I/var/tmp/portage/nvu-0.90-r2/work/mozilla/dist/include/nspr        -fPIC   -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2   -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsStackFrameUnix.pp nsStackFrameUnix.cpp
nsStackFrameUnix.cpp: In function `void DumpStackToFile(FILE*)':
nsStackFrameUnix.cpp:96: error: `JB_BP' was not declared in this scope
nsStackFrameUnix.cpp:96: warning: unused variable 'JB_BP'
gmake[4]: *** [nsStackFrameUnix.o] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/nvu-0.90-r2/work/mozilla/xpcom/base'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/nvu-0.90-r2/work/mozilla/xpcom'
gmake[2]: *** [tier_2] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/nvu-0.90-r2/work/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/var/tmp/portage/nvu-0.90-r2/work/mozilla'
make: *** [build] Error 2
>>> Source compiled.
>>> Test phase [not enabled]: app-editors/nvu-0.90-r2

>>> Install nvu-0.90-r2 into /var/tmp/portage/nvu-0.90-r2/image/ category app-editors
 * Applying nvu-0.50-nvu.patch ...

 * Failed Patch: nvu-0.50-nvu.patch !
 *  ( /usr/portage/app-editors/nvu/files/1.0/nvu-0.50-nvu.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/nvu-0.90-r2/temp/nvu-0.50-nvu.patch-9766.out


!!! ERROR: app-editors/nvu-0.90-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_install
  ebuild.sh, line 1020:   Called src_install
  nvu-0.90-r2.ebuild, line 65:   Called epatch '/usr/portage/app-editors/nvu/files/1.0/nvu-0.50-nvu.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: nvu-0.50-nvu.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.

treat ~ #   


===============================================================================
treat ~ # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.4-r3, 2.6.17-gentoo-r8-kosmanor i686)
=================================================================
System uname: 2.6.17-gentoo-r8-kosmanor i686 Intel(R) XEON(TM) CPU 1.80GHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 19 Sep 2006 08:50:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://fido.online.kz/gentoo/pub http://gentoo.inf.elte.hu/ ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://gentoo.scphost.com"
LINGUAS=""
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acl acpi adns aim alsa apache2 apm arts ati audiofile avi bash-completion bcmath berkdb bitmap-fonts bzip2 cairo calendar caps cdr cli crypt cscope ctype cups dbm dbus dbx dlloader doc dri dvd dvdr eds elibc_glibc emacs emboss encode esd ethereal exif fam fastcgi firefox flatfile foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile hal icq imagemagik imap imlib input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 isdnlog java joystick jpeg jpeg2k junit kde kdeenablefinal kerberos kernel_linux ldap libg++ libwww mad mbox mcal mikmod mime mmap mmx motif mp3 mpeg mpi msession mysql ncurses nis nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis openal opengl oscar oss pam pcre pdflib perl pic png posix postgres ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba sdl session snmp sockets spell spl sse ssl svga sysvipc tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_fglrx video_cards_mach64 video_cards_r128 video_cards_radeon video_cards_vesa video_cards_vga vorbis win32codecs xml xml2 xmms xorg xpm xv yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

treat ~ #  



============================================================================
treat ~ # cat /usr/portage/app-editors/nvu/files/1.0/nvu-0.50-nvu.patch
--- composer/app/nvu_old        2004-10-16 03:25:35.694372104 +0900
+++ composer/app/nvu    2004-10-16 03:25:16.489291720 +0900
@@ -35,10 +35,11 @@
 moz_libdir=/usr/lib/nvu
 MRE_HOME=/usr/lib/mre/mre

+# no, don't honor it, that breaks stuff :) - Chris
 # honor MOZILLA_FIVE_HOME if it's there
-if [ -n "$MOZILLA_FIVE_HOME" ] ; then
-  dist_bin="$MOZILLA_FIVE_HOME"
-else
+#if [ -n "$MOZILLA_FIVE_HOME" ] ; then
+#  dist_bin="$MOZILLA_FIVE_HOME"
+#else
   # Use run-mozilla.sh in the current dir if it exists
   # If not, then start resolving symlinks until we find run-mozilla.sh
   found=0
@@ -77,7 +78,7 @@
       exit 1
     fi
   fi
-fi
+#fi

 script_args=""
 moreargs="-edit"
treat ~ #
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-19 23:59:14 UTC
*** This bug has been marked as a duplicate of 125832 ***