Bug 157734 - rpmhandler.h expects private file from apt
rpmhandler.h expects private file from apt
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: apt (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Panu Matilainen
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-14 04:50 EDT by Ralf Corsepius
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-04-18 17:45:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Ralf Corsepius 2005-05-14 04:50:24 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050417 Fedora/1.7.7-1.3.1

Description of problem:
Including <apt-pkg/rpmhandler.h> from inside of an application based on apt-devel triggers this compilation error:

/usr/include/apt-pkg/rpmhandler.h:18:20: config.h: No such file or directory


Version-Release number of selected component (if applicable):
apt-0.5.15cnc7-1

How reproducible:
Always

Steps to Reproduce:
1. Compile this file: 
cat hello.cc
#include <apt-pkg/rpmhandler.h>

2. g++ -Wall -o hello.o -c hello.cc
In file included from hello.cc:1:
/usr/include/apt-pkg/rpmhandler.h:18:20: config.h: No such file or directory

  

Additional info:

The <config.h> is rpmhandler.h is trying to include is a private file being used inside of the apt-source tree. It must not be used in public headers.
Comment 1 Panu Matilainen 2006-04-18 17:45:17 EDT
I'd forgotten all about this old bug... Fixed in SVN now so will be fixed in
next package version.

Note You need to log in before you can comment on or make changes to this bug.