Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 732572

Summary: net-proxy/privoxy fails to compile
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Andrew Savchenko <bircoph>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
other.tar.bz2

Description Agostino Sarubbo gentoo-dev 2020-07-14 15:57:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-proxy/privoxy fails to compile.
Discovered on: amd64  (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-14 15:57:59 UTC
Created attachment 649172 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-07-14 15:58:01 UTC
Created attachment 649174 [details]
other.tar.bz2

other logs
Comment 3 Andrew Savchenko gentoo-dev 2020-07-15 08:19:33 UTC
This is very strange:

install-xattr: failed to stat x86_64-pc-linux-gnu-strip: No such file or directory

Was binutils implementation selected properly via binutils-config before this build? Do you have /usr/bin/x86_64-pc-linux-gnu-strip on this system?

I can't reproduce this on ~amd64 setup with privoxy-3.0.28-r1 and the same USE flags.
Comment 4 Agostino Sarubbo gentoo-dev 2020-07-15 08:32:52 UTC
it looks strange to me too.

Can you try with -native-symlink everywhere and by setting STRIP to x86_64-pc-linux-gnu-strip ?

I guess this is something strange done by the build system.
Comment 5 Larry the Git Cow gentoo-dev 2020-08-19 13:42:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=406d69036668018cd3086eff091b37c36019ffc9

commit 406d69036668018cd3086eff091b37c36019ffc9
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2020-08-19 13:35:52 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2020-08-19 13:42:09 +0000

    net-proxy/privoxy: fix build without native symlinks and custom STRIP
    
    Original GNUMakefile uses $(STRIP) to pass optional -s argument to
    install and $(STRIP_PROG) for strip binary. This caused problems
    with custom STRIP set by portage. Fixed now by using $(STRIP) and
    $(STRIP_ARGS).
    
    Closes: https://bugs.gentoo.org/732572
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 net-proxy/privoxy/files/privoxy-3.0.28-strip.patch | 47 ++++++++++++++++++++++
 net-proxy/privoxy/privoxy-3.0.28-r1.ebuild         |  1 +
 2 files changed, 48 insertions(+)