<?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>173032</bug_id>
          
          <creation_ts>2007-04-01 15:55 0000</creation_ts>
          <short_desc>sys-apps/coreutils-6.8 - funky error in ls -x on x86</short_desc>
          <delta_ts>2007-04-30 18:55:50 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>Core system</component>
          <version>unspecified</version>
          <rep_platform>All</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>g2boojum@gentoo.org</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>oku.ns@dream.com</cc>

      

      
          <long_desc isprivate="0">
            <who>g2boojum@gentoo.org</who>
            <bug_when>2007-04-01 15:55:10 0000</bug_when>
            <thetext>server ~ &gt; mkdir ~/entries
server ~ &gt; cd ~/entries 
server entries &gt; touch computers gentoo home
server entries &gt; /bin/ls
computers  gentoo  home
server entries &gt; /bin/ls -x
home	   gentoo  home

Clearly something is going wrong.  It&apos;s interesting that the ls -x
line appropriately allocates space for the first entry (&quot;computers&quot;),
but then fills it with &quot;home&quot;.

server ~ # paludis --info
paludis 0.22.1

Built by root@server on 2007-03-28T15:10:21-0500
CXX:         i686-pc-linux-gnu-g++ 4.1.2 (Gentoo 4.1.2)
CXXFLAGS:    -O2 -mtune=i686 -pipe -fomit-frame-pointer
LDFLAGS:     
DATADIR:     /usr/share
LIBDIR:      /usr/lib
LIBEXECDIR:  /usr/libexec
SYSCONFDIR:  /etc
stdlib:      GNU libstdc++ 20070214
libebt:      1.3.0
libwrapiter: 1.0.0
sandbox:     enabled

Repository virtuals:
    Configuration information:
        format:                virtuals

Repository installed_virtuals:
    Configuration information:
        format:                installed_virtuals

Repository gentoo:
    Configuration information:
        buildroot:             /var/tmp/paludis
        cache:                 /usr/portage/metadata/cache
        distdir:               /usr/portage/distfiles
        eclassdirs:            /usr/portage/eclass
        format:                ebuild
        location:              /usr/portage
        names_cache:           /var/empty
        newsdir:               /usr/portage/metadata/news
        pkgdir:                /usr/portage/packages
        profiles:              /usr/portage/profiles/default-linux/x86/2006.0
        securitydir:           /usr/portage/metadata/glsa
        setsdir:               /usr/portage/sets
        sync:                  rsync://rsync.gentoo.org/gentoo-portage
        sync_options:          
        write_cache:           /var/empty

    Package information:
        app-admin/eselect-compiler: (none)
        dev-java/java-config:  (none)
        dev-lang/python:       2.3.6, 2.4.4
        dev-python/pycrypto:   2.0.1-r5
        dev-util/ccache:       2.4-r6
        dev-util/confcache:    (none)
        sys-apps/sandbox:      1.2.18.1
        sys-devel/autoconf:    2.13, 2.61
        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
        sys-devel/binutils:    2.17
        sys-devel/gcc-config:  1.3.15-r1
        sys-devel/libtool:     1.5.23b
        virtual/os-headers:    2.6.20-r2

    Variable information:
        ACCEPT_KEYWORDS:       
        AUTOCLEAN:             
        CBUILD:                i686-pc-linux-gnu
        CFLAGS:                -O2 -mtune=i686 -pipe -fomit-frame-pointer
        CHOST:                 i686-pc-linux-gnu
        CONFIG_PROTECT:         
        CONFIG_PROTECT_MASK:    
        CTARGET:               
        CXXFLAGS:              -O2 -mtune=i686 -pipe -fomit-frame-pointer
        DISTDIR:               /usr/portage/distfiles
        FEATURES:              
        GENTOO_MIRRORS:        
        INSTALL_MASK:          
        LANG:                  
        LC_ALL:                
        LDFLAGS:               
        LINGUAS:               
        MAKEOPTS:              -j2
        PKGDIR:                
        PORTAGE_COMPRESS:      
        PORTAGE_COMPRESS_FLAGS: 
        PORTAGE_RSYNC_EXTRA_OPTS: 
        PORTAGE_RSYNC_OPTS:    
        PORTAGE_TMPDIR:        /var/tmp/paludis
        PORTDIR:               /usr/portage
        PORTDIR_OVERLAY:       
        SYNC:                  
        USE:                   

Repository installed:
    Configuration information:
        buildroot:             /var/tmp/paludis
        format:                vdb
        location:              /var/db/pkg
        names_cache:           /var/empty
        provides_cache:        /var/empty
        root:                  /
        world:                 /var/db/pkg/world

Repository local_overlay:
    Configuration information:
        buildroot:             /var/tmp/paludis
        cache:                 /var/empty
        distdir:               /usr/portage/distfiles
        eclassdirs:            /usr/portage/eclass /usr/local/portage/eclass
        format:                ebuild
        location:              /usr/local/portage
        master_repository:     gentoo
        names_cache:           /var/empty
        newsdir:               /usr/local/portage/metadata/news
        pkgdir:                /usr/portage/packages
        profiles:              /usr/portage/profiles/default-linux/x86/2006.0
        securitydir:           /usr/local/portage/metadata/glsa
        setsdir:               /usr/local/portage/sets
        sync:                  
        sync_options:          
        write_cache:           /var/empty

Thanks to mark_alec, who verified that the same bug occurs on
a portage-based system, so that we can rule out paludis as being
the cause of the problem (or me just being outright insane, for
that matter).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>g2boojum@gentoo.org</who>
            <bug_when>2007-04-01 16:07:44 0000</bug_when>
            <thetext>Downgrading to sys-apps/coreutils-6.7-r1 &quot;fixes&quot; the problem, so it&apos;s
definitely a 6.9 issue.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-04-01 23:41:47 0000</bug_when>
            <thetext>6.8 has same problem</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-04-02 12:52:12 0000</bug_when>
            <thetext>talked with upstream and got this fixed ... it&apos;ll be in next coreutils version</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>g2boojum@gentoo.org</who>
            <bug_when>2007-04-02 21:10:15 0000</bug_when>
            <thetext>Thank you very much; I definitely appreciate it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2007-04-30 18:55:50 0000</bug_when>
            <thetext>*** Bug 176432 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>