Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23663 - noweb doesnt build, it asks for itself
Summary: noweb doesnt build, it asks for itself
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
: 24016 24390 24899 28772 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-28 18:59 UTC by Olivier Crete (RETIRED)
Modified: 2003-11-13 23:14 UTC (History)
6 users (show)

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


Attachments
Patched noweb ebuild with the touch fix (noweb-2.9-r3.ebuild,1.15 KB, text/plain)
2003-07-15 16:48 UTC, Robert Holak
Details
Patched noweb ebuild with the touch fix (noweb-2.9-r3.ebuild,1.15 KB, text/plain)
2003-07-15 16:48 UTC, Robert Holak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Crete (RETIRED) gentoo-dev 2003-06-28 18:59:45 UTC
trying to emerge noweb fails, in the build process, it seems to use itself to
generate its documentation. 

Reproducible: Always
Steps to Reproduce:


Actual Results:  
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
noweb -t roff.nw
make[1]: noweb: Command not found
make[1]: *** [tmac.w] Error 127

....
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
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2003-06-29 13:44:48 UTC
Brw, noweb-2.9-r2 does build properly, this bug is only for 2.9-r3
and r3 is buidable if r2 is installed. So its only for the case where r3 is installed when no previous noweb installation was there.
Comment 2 Thorsten Hirsch 2003-07-02 12:36:33 UTC
Same problem here. 
In the FAQ it says that this could be the result of false timestamps!
A resolution should be, to download the source again from a different server and try again. I did so, but still the same error :-(

Btw, I need noweb as it is required for LyX!!! Please solve this problem!
Comment 3 Marien Zwart (RETIRED) gentoo-dev 2003-07-03 03:35:39 UTC
Ran into this as well, and it seems to be caused by those timestamps. My guess is one of the patches touches a .nw file, so make wants to rebuild the .c file from that. A solution would be to do "make touch" (documented in the noweb faq) right after applying the two patches. 
Since I don't know a thing about ebuilds, I can't modify the ebuild. However, I've tested this by suspending the ebuild (ctrl+z) right after the patching, doing a manual "make touch" in the work directory, and resuming the ebuild (fg). This seemed to work ;)
Now all we need is for someone to verify this is the correct solution, and add a "make touch" to the ebuild somewhere, I think.
Comment 4 Robert Holak 2003-07-15 16:48:22 UTC
Created attachment 14523 [details]
Patched noweb ebuild with the touch fix

This ebuild implements the "make touch" fix discussed in the bug.  It fixes the
compile problem until there is a cleaner soulution, possibly in the noweb
makefile itself.
Comment 5 Robert Holak 2003-07-15 16:48:32 UTC
Created attachment 14524 [details]
Patched noweb ebuild with the touch fix

This ebuild implements the "make touch" fix discussed in the bug.  It fixes the
compile problem until there is a cleaner soulution, possibly in the noweb
makefile itself.
Comment 6 Robert Holak 2003-07-15 16:49:52 UTC
Comment on attachment 14523 [details]
Patched noweb ebuild with the touch fix

Sorry - bugzilla's attach script threw an ugly error, so I accidentally
submitted twice.
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-07-15 23:23:12 UTC
*** Bug 24390 has been marked as a duplicate of this bug. ***
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-07-20 14:31:38 UTC
*** Bug 24899 has been marked as a duplicate of this bug. ***
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2003-07-20 14:31:48 UTC
*** Bug 24016 has been marked as a duplicate of this bug. ***
Comment 10 Daniel Ahlberg (RETIRED) gentoo-dev 2003-07-22 07:20:41 UTC
Comitting a fix to the tree now.  
Comment 11 Daniel Ahlberg (RETIRED) gentoo-dev 2003-08-02 03:11:08 UTC
*** Bug 25251 has been marked as a duplicate of this bug. ***
Comment 12 Patrick Kursawe (RETIRED) gentoo-dev 2003-09-16 06:52:43 UTC
*** Bug 28772 has been marked as a duplicate of this bug. ***
Comment 13 Dirk Heinrichs 2003-11-13 23:14:08 UTC
I don't consider this bug fixed, because the fix is not in the portage tree. When I sync, I get version 1.5 of the 2.9-r3 ebuild, which has

	find -type f | xargs touch

in source_unpack(). This doesn't work for me. It only works if I replace the above line with

	make touch

Bye...

	Dirk