Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231751 - media-libs/slv2-0.5.0 installs bogus pkgconfig file
Summary: media-libs/slv2-0.5.0 installs bogus pkgconfig file
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-14 08:52 UTC by Thomas Kuther
Modified: 2008-07-15 07:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
slv2-pc.in.patch (slv2-pc.in.patch,281 bytes, patch)
2008-07-14 08:53 UTC, Thomas Kuther
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kuther 2008-07-14 08:52:15 UTC
media-libs/slv2 installs an pkgconfig .pc file with wrong include dir information.

includedir=${prefix}/include - but headers are installed in /usr/include/slv2

Reproducible: Always

Steps to Reproduce:
1. install slv2
2. look at slv2.pc
Actual Results:  
includedir=${prefix}/include

Expected Results:  
includedir=${prefix}/include/slv2

Portage 2.2_rc1 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-rc8-zenmm2 x86_64)
=================================================================                                                
System uname: Linux-2.6.26-rc8-zenmm2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-glibc2.2.5      
Timestamp of tree: Sun, 13 Jul 2008 10:03:01 +0000                                                               
ccache version 2.4 [enabled]                                                                                     
app-shells/bash:     3.2_p39                                                                                     
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                            
dev-lang/python:     2.5.2-r5                                                                                    
dev-util/ccache:     2.4-r7                                                                                      
sys-apps/baselayout: 2.0.0                                                                                       
sys-apps/openrc:     0.2.4-r1, 0.2.5                                                                             
sys-apps/sandbox:    1.2.18.1-r3                                                                                 
sys-devel/autoconf:  2.13, 2.62-r1                                                                               
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                 
sys-devel/binutils:  2.18-r3                                                                                     
sys-devel/gcc-config: 1.4.0-r4                                                                                   
sys-devel/libtool:   2.2.4                                                                                       
virtual/os-headers:  2.6.25-r4                                                                                   
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                     
CFLAGS="-march=athlon64 -O2 -msse3 -fno-ident -fweb -pipe"                                                       
CHOST="x86_64-pc-linux-gnu"                                                                                      
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"                                                               
CONFIG_PROTECT_MASK="/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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                       
CXXFLAGS="-march=athlon64 -O2 -msse3 -fno-ident -fweb -pipe"                                                        
DISTDIR="/usr/portage/distfiles"                                                                                    
FEATURES="candy ccache collision-protect distlocks parallel-fetch prelink preserve-libs sandbox sfperms strict unmerge-orphans userfetch"                                                                                               
GENTOO_MIRRORS=" ftp://ftp.gentoo.mesh-solutions.com/gentoo"                                                        
LANG="de_DE.UTF-8"                                                                                                  
LC_ALL="de_DE.UTF-8"                                                                                                
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"                                                              
LINGUAS="en de"                                                                                                     
MAKEOPTS="-j3"                                                                                                      
PKGDIR="/usr/portage/packages"                                                                                      
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/portage/local/layman/enlightenment /usr/portage/local/layman/java-overlay /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/gentoo-gis /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/mozilla /usr/portage/local/layman/xfce /usr/portage/local/layman/vmware /usr/portage/local/layman/gnome /usr/portage/local/layman/sunrise /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/dertobi123 /usr/portage/local/layman/lottanzb /usr/portage/local/layman/kde /usr/portage/local/layman/java-binary /usr/local/overlays/gimpel /home/tom/cvs/gimpel/ecomp /home/tom/cvs/proaudio/trunk/overlays/proaudio /home/tom/cvs/plasmoids-kde-svn"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam fbcon firefox gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jack jpeg kdeenablefinal kdehiddenvisibility libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png ppds pppd pthreads python qt3 qt3support qt4 quicktimereadline reflection sdl session shadow spell spl sse sse2 ssl ssse3 startup-notification svg tcpd threads tiff truetype unicode userlocales vorbis xcb xml xorg xv zlib" ALSA_CARDS="ice1712 ice1724" ALSA_PCM_PLUGINS="adpcm alaw asymcopy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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_cachemime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias log_forensic" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Kuther 2008-07-14 08:53:28 UTC
Created attachment 160311 [details, diff]
slv2-pc.in.patch

This patch fixes the issue.
Comment 2 Alexis Ballier gentoo-dev 2008-07-14 14:08:29 UTC
Why do you say it's bogus ? Perhaps upstream wants people to #include <slv2/foo.h> instead of just foo.h ?

I've just had a look at 0.6.0 which has been recently released and that didn't change. Could you please mail the author to get a statement on this?
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-07-14 18:24:47 UTC
Alexis is right. Almost all packages that make you include just the filename are doing it wrong, as it makes it impossible to actually have a distinction between libraries.

FFmpeg for instance recently switched from including, for instance, <crc.h> to <libavutil/crc.h>.

Unless upstream declares their .pc wrong, I'm considering this bug invalid.
Comment 4 Thomas Kuther 2008-07-15 07:47:56 UTC
Makes sense!

Seems I came across some bogus application then. It indeed #include's lv2.h directly.

Sorry for the noise!