<?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>87918</bug_id>
          
          <creation_ts>2005-04-04 08:31 0000</creation_ts>
          <short_desc>emerging dev-libs/libmimedir breaks /usr/lib64</short_desc>
          <delta_ts>2005-04-09 16:42:43 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>Applications</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InCVS</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>duckman@speakeasy.net</reporter>
          <assigned_to>amd64@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>duckman@speakeasy.net</who>
            <bug_when>2005-04-04 08:31:20 0000</bug_when>
            <thetext>When I tried to emerge dev-libs/libmimedir (in the process of emerging synce-kde) it replaced the symlink pointing /usr/lib64 to /usr/lib with a file containing gibberish.  This prevents gcc from working properly.  The actual compile itself seems to work properly. I copied libmimedir.a to /usr/lib and fixed the symlink and everything works fine now.

Reproducible: Always
Steps to Reproduce:
1. Emerge dev-libs/libmimedir
2. Try and emerge anything else
Actual Results:  
I got an error claiming that gcc could not create any executables.

Expected Results:  
Installed correctly without borking my symlink and, in turn, gcc.

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  4 2005, 07:02:38)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -march=athlon64 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=athlon64 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;amd64 X acpi alsa apm arts berkdb bitmap-fonts cdparanoia cdr crypt cups
curl dvd dvdr fam flac font-server foomaticdb fortran gif gpm imagemagick ipv6
java jp2 jpeg junit kde lm_sensors lzw lzw-tiff motif mp3 ncurses nls nptl
oggvorbis opengl oss pam perl png python qt readline samba spell sqlite ssl tcpd
tiff truetype truetype-fonts type1-fonts usb userlocales xinerama xml2 xpm
xrandr xv zlib&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

I know that amd64 is not listed as a supported architechture in the ebuild, but
aside from the system breaking during install, the library itself works without
problems.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kugelfang@gentoo.org</who>
            <bug_when>2005-04-09 16:42:43 0000</bug_when>
            <thetext>Changed &apos;dodir /usr/lib&apos; to &apos;dodir /usr/$(get_libdir)&apos;. Marked ~amd64 as well.
FIXED.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>