Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74343 - nvu fails to patch vertion 0.6
Summary: nvu fails to patch vertion 0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Chris White (RETIRED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-13 21:06 UTC by ewan paton
Modified: 2005-04-02 12:44 UTC (History)
6 users (show)

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


Attachments
Output While Attempting to Apply: nvu-0.50-nvu.patch (nvu-0.50-nvu.patch-15335.out,2.59 KB, text/plain)
2005-01-03 09:04 UTC, Derek Berube
Details
Output of emerge net-www/nvu (nvu-060.build.out.gz,84.49 KB, application/octet-stream)
2005-01-03 09:07 UTC, Derek Berube
Details
Freetype patch (nvu-0.50-freetype-compile.patch,13.32 KB, patch)
2005-02-04 22:05 UTC, Jory A. Pratt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ewan paton 2004-12-13 21:06:45 UTC
im trying to emerge nvu 0.6 but it fails with an error about failing to patch, forum post link has the outputs im currently running a full amd64 system on amd64 stable with nvu in package.keywords, 

Reproducible: Always
Steps to Reproduce:
1.emerge nvu
2.nvu fails to build
3.
Actual Results:  
Perhaps you should add the directory containing `libIDL-2.0.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'libIDL-2.0' found 
 
configure: error: Library requirements (libIDL-2.0 >= 0.8.0) not met; consider 
adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
nonstandard prefix so pkg-config can find them. 
*** Fix above errors and then restart with "make -f client.mk build" 
make: *** [/var/tmp/portage/nvu-0.60/work/mozilla/Makefile] Error 1 
>>> Test phase [not enabled]: net-www/nvu-0.60 
 
>>> Install nvu-0.60 into /var/tmp/portage/nvu-0.60/image/ category net-www 
 * Applying nvu-0.50-nvu.patch ... 
 
 * Failed Patch: nvu-0.50-nvu.patch! 
 * 
 * Include in your bugreport the contents of: 
 * 
 *   /var/tmp/portage/nvu-0.60/temp/nvu-0.50-nvu.patch-17360.out 
 
 
!!! ERROR: net-www/nvu-0.60 failed. 
!!! Function epatch, Line 402, Exitcode 0 
!!! Failed Patch: nvu-0.50-nvu.patch! 
!!! If you need support, post the topmost build error, NOT this status message 

Expected Results:  
nvu to build 

 emerge info 
Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, 
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 x86_64) 
================================================================= 
System uname: 2.6.9-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.4.16 
distcc 2.18.2 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-march=k8 -O2 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=k8 -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox userpriv 
usersandbox" 
GENTOO_MIRRORS="ftp://gentoo.itdnet.net/gentoo/ 
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo 
ftp://ftp.easynet.nl/mirror/gentoo/ 
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X acpi alsa arts artswrappersuid berkdb bitmap-fonts cdr chroot 
crypt dvd dvdr dvdread encode fam flac fortran gif gpm gtk ipv6 java jikes jp2 
jpeg junit kde lzw lzw-tiff mp3 mpeg multilib ncurses nls nptl nptlonly 
oggvorbis opengl oss pam perl png python qt readline ssl tcpd tiff transcode 
truetype usb userlocales xml2 xmms xpm xrandr xv xvid zlib"
Comment 1 Derek Berube 2005-01-03 08:03:07 UTC
I'm running into a similar problem running on a Dell Latitude C840 with a P4M processor.
Comment 2 Chris White (RETIRED) gentoo-dev 2005-01-03 08:38:00 UTC
Just to be sure, see if you guys can get it to work with >= idl-0.8.0.  If you can, it just needs to be added as a non-conditional dep for nvu (right now it's based upon the gtk2 USE flag).  If it starts asking for more gtk2 style deps.. then gtk2 deps will just have to be enforced.  I myself would prefer to do that.. but for people that wish to keep with gtk 1, least I can do.
Comment 3 Derek Berube 2005-01-03 09:04:46 UTC
Created attachment 47497 [details]
Output While Attempting to Apply: nvu-0.50-nvu.patch
Comment 4 Derek Berube 2005-01-03 09:07:32 UTC
Created attachment 47498 [details]
Output of emerge net-www/nvu

If it is of any interest, I've attached a copy of the emerge output to this
bug.  There were some errors that I encountered while compiling the
nsFreeType.cpp code (lines 285, 286, 287 to name a few).
Comment 5 Derek Berube 2005-01-03 09:08:17 UTC
Here is the output of emerge info run from my machine:

wildstar ~ # emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r10 i686)
=================================================================
System uname: 2.6.9-gentoo-r10 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Sep 26 2004, 13:20:59)]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg candy ccache distlocks sandbox sfperms"GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main /usr/local/bmg-gnome-current"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups dvd encode esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg junit kerberos krb4 ldap libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png postgres python quicktime readline samba scanner sdl slang spell ssl svga tcpd tiff truetype xml xml2 xmms xv zlib"
Comment 6 Derek Berube 2005-01-03 11:58:13 UTC
I'm not sure if this is what you mean, but I had dev-libs/libIDL-0.8.4 installed when I attempted the build.  I'm something of a neophyte when it comes to compiling stuff under LINUX, so if you could let me know what else you would like me to try I'd be happy to do so.
Comment 7 Grzegorz Artur Daszuta 2005-01-07 16:26:30 UTC
Maybe version bump to 0.70 help? Now I'm testing it.
Comment 8 Haroon Rafique 2005-01-30 10:14:29 UTC
If I can quickly summarize here, please bear with me. Ewan reported an issue in comment 0 about:

a) a configure error about libIDL-2.0 >= 0.8.0
b) failed application of a patch

Then, in comment 1, Derek says he's having a similar problem, however, in comment 4, it looks like his problem is really not the same. (Derek's emerge output even has a line "checking for libIDL-2.0 >= 0.8.0... yes"). His issue seems to be:

a) a make error while compiling nsFreeType.cpp
b) failed application of a patch

Now, I hope I didn't miss anything obvious, but, in my mind, these are two separate issues and should probably be filed as separate bugs. In any case, I am experiencing the same issue as Derek (the freetype wierdness/compile error).

Just curious, shouldn't the failed patch be reported as soon as the patch fails, rather than waiting for a "error" to occur and then reporting it after the fact?  I find it a little odd. Oh, well!

Chris, is there anything I can do to help you out?
Comment 9 Chris White (RETIRED) gentoo-dev 2005-01-30 21:08:33 UTC
Well.. basically, that patch fails if anything in the compilation process fails.  As for freetype, I'm working on that right now and getting nowhere.  I've contact upstream who, after about a couple of weeks, responded with a recommendation, which I tried and still failed.  I sent a response back and I'm still waiting while people are eagerly spamming the mailing lists with information on runtime errors :| (love how that works..).  Until I get time to sit down and work out the code, I don't expect much there...
Comment 10 Jory A. Pratt 2005-02-02 15:42:16 UTC
A simple look at the patch says it all it is trying to patch files that aren't present seeing they have been compiled or what not. Review the patch for all your problems you figure out the patch you figure out all errors.
Comment 11 J.T Hill 2005-02-04 20:46:55 UTC
Chris I might have found the patch we need to make this bug report go away for good let me test it and I will repost what comes up in a bit.
Comment 12 Jory A. Pratt 2005-02-04 22:03:38 UTC
Well after much need work I have finally fixed the problems for all I do believe. Chris if you could get this added to ebuild and updated as soon as possible we could get this bug report closed. It is a patch I found online had to do some modifications manually but all works well with it. Patch will apply clean just add "epatch ${FILESDIR}/nvu-0.50-freetype-compile.patch" directly blow "epatch ${FILESDIR}/nvu-0.50-dir.patch" and emerge till your heart is content.
Comment 13 Jory A. Pratt 2005-02-04 22:05:03 UTC
Created attachment 50409 [details, diff]
Freetype patch 

just add this to your FILES dir and read previous post for how to modify ebuild
and you should be good to go enjoy!!!
Comment 14 Jory A. Pratt 2005-02-17 12:20:42 UTC
This ISN'T A BLOCKER this is a simple bug that should be fixed a blocker is some package that prevents ya from  using your system!! This is simple a bug that should be fixed and just so all know nothing in portage depends on NVU so go read about filling a bug report please this is ridiculious Chris you chould change severity as soon as possible so these ppl get the clue.
Comment 15 Chris White (RETIRED) gentoo-dev 2005-03-14 20:56:45 UTC
Fixed in the latest releases.