Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30231 - noweb-2.9-r3 fails due to security patch.
Summary: noweb-2.9-r3 fails due to security patch.
Status: RESOLVED DUPLICATE of bug 25251
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-03 00:22 UTC by Brandon Low (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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 Brandon Low (RETIRED) gentoo-dev 2003-10-03 00:22:10 UTC
the security patch applied to noweb causes the build to fail.  Additionally,
there is a hack in the makefile to try and make it succeed which would negate
the effect of the security patch if it actually worked.

the security patch applies to the .nw files in the build system, these files
aren't actually used in the build, but are used to generate the files for the
build.  By attempting to circumvent this creation by touching all the files in
the dir, you negate the patch.

The solution:  Not sure... force it to build notangle first so it can use it maybe?

Reproducible: Always
Steps to Reproduce:
emerge noweb
Actual Results:  
notangle: command not found
make[1]: *** [totex] Error 127

or some such error

Expected Results:  
correct merge with the security patch active.
Comment 1 Brandon Low (RETIRED) gentoo-dev 2003-10-03 00:26:12 UTC
wait, there is a solution!  Make it merge itself w/o the security patch first,
and then with... *shrug*
Comment 2 Kasper Souren 2003-10-09 09:13:25 UTC
Here's what it says on my box:


>>> md5 src_uri ;-) noweb-src-2.9.tar.gz
>>> Unpacking source...
>>> Unpacking noweb-src-2.9.tar.gz to /var/tmp/portage/noweb-2.9-r3/work
 * Applying noweb-2.9-security.patch...                                 
                                 [ ok ]
 * Applying noweb-2.9-gentoo.diff...                                    
                                 [ ok ]
>>> Source unpacked.
cd c; make "CC=gcc -ansi -pedantic" "CFLAGS=-march=pentium3 -O3 -pipe -fomit-frame-pointer"
all
make[1]: Entering directory `/var/tmp/portage/noweb-2.9-r3/work/src/c'
notangle -L notangle.nw >notangle.c
/bin/sh: line 1: notangle: command not found
make[1]: *** [notangle.c] Error 127
make[1]: Leaving directory `/var/tmp/portage/noweb-2.9-r3/work/src/c'
make: *** [all] Error 2

!!! ERROR: app-text/noweb-2.9-r3 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2004-01-03 16:40:18 UTC

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