Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24899 - Cannot emerge "app-text/noweb"
Summary: Cannot emerge "app-text/noweb"
Status: RESOLVED DUPLICATE of bug 23663
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-20 09:19 UTC by Michael Stahl
Modified: 2005-07-17 13:06 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 Michael Stahl 2003-07-20 09:19:58 UTC
Emerging this package fails with:
...
...
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
notangle -Rtotex totex.nw > totex
/bin/sh: line 1: notangle: command not found
make[1]: *** [totex] Error 127
make[1]: Leaving directory `/var/tmp/portage/noweb-2.9-r3/work/src/awk'
make: *** [all] Error 2

!!! ERROR: app-text/noweb-2.9-r3 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)

According to http://www.eecs.harvard.edu/~nr/noweb/FAQ.html the following is the
reason:
Q. The build fails because it can't find notangle. What am I doing wrong? 

A. Your source files have the wrong timestamps. The noweb files are carefully
distributed so that the C code is more recent than the literate source code.
Retrieving that noweb distribution as a compressed tar file preserves these
stamps. The CTAN sites will create a compressed tar file on the fly for any
directory. Your best bet is to get the tar file, unpack it, and try again,
because your abortive attempt will probably have stomped on a C file that you need. 

I have reports that the former CTAN site ftp.shsu.edu fouled the timestamps.
Don't use the site! If you get bad timestamps, you can try `make touch' as soon
as you unpack the distribution, which should touch all of the derived files.
This trick won't work on NeXT systems, which have a strange idea of 'touch'. 



Reproducible: Always
Steps to Reproduce:
1. emerge noweb

Actual Results:  
I cannot build lyx since noweb is a prerequisite.


emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(TM) XP 2200+
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm foomaticdb gif jpeg libg++ mad mikmod ncurses nls spell
xml2 zlib gdbm berkdb slang tetex svga java sdl gpm tcpd libwww perl python esd
imlib oggvorbis gtk motif alsa arts avi cdr crypt cups dga dvd encode -gnome
gphoto imap informix kde maildir mmx mozilla mpeg odbc opengl pam ppds pdflib
png postgres qt quicktime readline ruby samba scanner sse ssl tiff truetype usb
X xmms xv"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-07-20 14:31:38 UTC

*** This bug has been marked as a duplicate of 23663 ***