<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>192716</bug_id>
          
          <creation_ts>2007-09-16 18:20 0000</creation_ts>
          <short_desc>media-sound/gsm-1.0.12 not installing libs and includes after successful compile</short_desc>
          <delta_ts>2007-09-16 18:33:40 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2007.0</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>justin.t.riley@gmail.com</reporter>
          <assigned_to>sound@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>justin.t.riley@gmail.com</who>
            <bug_when>2007-09-16 18:20:30 0000</bug_when>
            <thetext>Just for the record, I was having issues getting /usr/include/gsm.h or /usr/lib64/libgsm.a to show up after a successful build/install of gsm-1.0.12.

After playing around with the makefile by hand I realized the project doesn&apos;t create the target install directories itself, hence the need for &quot;dodir blah blah&quot; to make the target dirs show up in /var/tmp/portage/.../image.  

The catch here is that in src_install() we&apos;re using GSM_INSTALL_LIB=&quot;${D}&quot;/usr/$(get_libdir) however the dodir statically defines the lib dir in the image folder to be /usr/lib.  In the case of amd64 this will obviously fail. 

Changing /usr/lib to /usr/$(get_libdir) in the dodir line of the ebuild fixes this issue for me

~jtriley</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2007-09-16 18:33:40 0000</bug_when>
            <thetext>(In reply to comment #0)
&gt; Changing /usr/lib to /usr/$(get_libdir) in the dodir line of the ebuild fixes
&gt; this issue for me

Changed. Sorry, I missed it because system I used when adding it was x86.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>