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

Bug 201958

Summary: net-misc/pump fails due to dev-libs/popt-1.12 conflict
Product: Gentoo Linux Reporter: Preston Crow <pc-gentoo-bugs08a>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 201993    
Bug Blocks:    
Attachments: pump-0.8.24-redefinition.patch

Description Preston Crow 2007-12-11 16:34:43 UTC
cc -fPIC -O3 -march=nocona -pipe -fomit-frame-pointer -I. -Wall -Werror -g  -D__STANDALONE__ -DVERSION=\"0.8.24\" -D_GNU_SOURCE   -c -o pump.o pump.c
pump.c:61:1: error: "N_" redefined
In file included from pump.c:34:
/usr/include/popt.h:161:1: error: this is the location of the previous definition
make: *** [pump.o] Error 1

It looks like pump.c needs a patch to only define N_ if it hasn't already been defined (just like in popt.h).

Downgrading to popt--1.10.7 resolves the issue.
Comment 1 Christian Heim (RETIRED) gentoo-dev 2007-12-29 19:58:01 UTC
Created attachment 139579 [details, diff]
pump-0.8.24-redefinition.patch

Here's the patch, gonna commit it soon.
Comment 2 Christian Heim (RETIRED) gentoo-dev 2007-12-29 20:06:02 UTC
Thanks for the hint Preston, its fixed as soon as the mirrors catch-up with CVS.