Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298245 - media-libs/libpgf-6.09.44 installs a wrong libpgf.pc file
Summary: media-libs/libpgf-6.09.44 installs a wrong libpgf.pc file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-24 18:47 UTC by Ronan Arraes Jardim Chagas
Modified: 2009-12-29 19:19 UTC (History)
0 users

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 Ronan Arraes Jardim Chagas 2009-12-24 18:47:41 UTC
The ebuild libpgf-6.09.44.ebuild installs a wrong /usr/lib/pkgconfig/libpgf.pc file.

By now, it was stated that the include directory of libpgf is /usr/include, but it is really installed at /usr/include/libpgf.

This breaks pkg-config, since it reports a wrong include directory for compilation.

The libpgf.pc line 4 is:

includedir=${prefix}/include

But it need to be:

includedir=${prefix}/include/libpgf

Reproducible: Always

Steps to Reproduce:
1. Install libpgf
2. Check the includedir variable at /usr/lib/pkgconfig/libpgf.pc

Actual Results:  
includedir is pointing to /usr/include

Expected Results:  
includedir should be pointing to /usr/include/libpgf

emerge --info
Portage 2.2_rc61 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32.2-ronan-kernel-r4 x86_64)
=================================================================                                                      
System uname: Linux-2.6.32.2-ronan-kernel-r4-x86_64-AMD_Turion-tm-_X2_Dual-Core_Mobile_RM-72-with-gentoo-2.0.1         
Timestamp of tree: Thu, 24 Dec 2009 15:15:01 +0000                                                                     
ccache version 2.4 [disabled]                                                                                          
app-shells/bash:     4.0_p35                                                                                           
dev-java/java-config: 2.1.9-r1                                                                                         
dev-lang/python:     2.6.4                                                                                             
dev-util/ccache:     2.4-r7                                                                                            
dev-util/cmake:      2.6.4-r3                                                                                          
sys-apps/baselayout: 2.0.1                                                                                             
sys-apps/openrc:     0.5.3                                                                                             
sys-apps/sandbox:    2.2                                                                                               
sys-devel/autoconf:  2.13, 2.63-r1                                                                                     
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                              
sys-devel/binutils:  2.18-r3                                                                                           
sys-devel/gcc-config: 1.4.1                                                                                            
sys-devel/libtool:   2.2.6b                                                                                            
virtual/os-headers:  2.6.27-r2                                                                                         
ACCEPT_KEYWORDS="amd64"                                                                                                
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1"                                                                                 
CBUILD="x86_64-pc-linux-gnu"                                                                                           
CFLAGS="-march=k8-sse3 -O2 -pipe"                                                                                      
CHOST="x86_64-pc-linux-gnu"                                                                                            
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"                                             
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                                             
CXXFLAGS="-march=k8-sse3 -O2 -pipe"                                                                                                                              
DISTDIR="/usr/portage/distfiles"                                                                                                                                 
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ "
LANG="pt_BR.UTF-8"
LC_ALL="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pt_BR en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/ronan"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 audiofile bash-completion berkdb bluetooth branding bzip2 cairo cdr cdrparanoia cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran ftp gdbm gif gpm gstreamer gtk hal handbook iconv imagemagick ipv6 java javascript jpeg kde ldap libnotify lzma mad mikmod mmx mng modules mp3 mp4 mpeg msn mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png policykit ppds pppd python qt3support qt4 quicktime readline reflection rss samba sdl session spell spl sse sse2 ssl startup-notification svg swat sysfs tcpd thunar tiff truetype unicode usb vorbis wma x264 xcomposite xml xorg xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2 canon sony_dscf1 sony_dscf55" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-12-29 19:19:44 UTC
+*libpgf-6.09.44-r1 (29 Dec 2009)
+
+  29 Dec 2009; Samuli Suominen <ssuominen@gentoo.org>
+  +libpgf-6.09.44-r1.ebuild, +files/libpgf-6.09.44-pkg.patch:
+  Fix pkg-config file wrt #298245, thanks to Ronan Arraes Jardim Chagas for
+  reporting.
+