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

Bug 20798

Summary: Proftpd 1.2.8 fails with -fPIC
Product: Gentoo Linux Reporter: Jordan Newman <phoem>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: normal CC: avenj
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jordan Newman 2003-05-11 11:59:16 UTC
Proftpd fails to compile with -fPIC flag.

Adding the following to the top of the ebuild file fixes the problem:

inherit flag-o-matic

filter-flags -fPIC

Reproducible: Always
Steps to Reproduce:
1. set cflags to include -fPIC
2. emerge proftpd


Actual Results:  
doesnt compile.

Expected Results:  
should compile.
Comment 1 Jon Portnoy (RETIRED) gentoo-dev 2003-05-13 15:05:51 UTC
Why would you be using -fPIC with it?

You should _never_ _ever_ set -fPIC manually. Stripping -fPIC from every ebuild that breaks with it would be an endless job...