Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270648 - x11-base/xorg-server: useless x11-libs/libXinerama dependency
Summary: x11-base/xorg-server: useless x11-libs/libXinerama dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-21 02:26 UTC by Jared Allen
Modified: 2009-07-06 12:54 UTC (History)
0 users

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


Attachments
Build Log for x11-base/xorg-server-9999 (1242838649-install-x11-base_xorg-server-9999:0::x11.out,15.08 KB, text/plain)
2009-05-26 18:42 UTC, Jared Allen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Allen 2009-05-21 02:26:45 UTC
Configure fails with "No package 'xinerama' found"
I was able to get around the problem by manually merging x11-libs/libXinerama-9999.

Reproducible: Always

Steps to Reproduce:
1. Try to merge x11-base/xorg-server-9999 from the x11 overlay without having any versions of x11-libs/libXinerama merged prior.
2.
3.

Actual Results:  
Configuring x11-base/xorg-server-9999 failed.

Expected Results:  
The x11-base/xorg-server ebuild should have pulled in x11-libs/libXinerama as a dependency
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2009-05-26 16:35:23 UTC
please attach output of emerge --info and the build.log.
Comment 2 Jared Allen 2009-05-26 18:42:16 UTC
Created attachment 192528 [details]
Build Log for x11-base/xorg-server-9999
Comment 3 Jared Allen 2009-05-26 18:46:40 UTC
I've attached the build log above, here is paludis --info output (I suppose I
should have mentioned previously that I'm using paludis)

sudo paludis --info xorg-server
paludis 0.36.1                                     
Paludis build information:                         
    Compiler:                                      
        CXX:                   x86_64-pc-linux-gnu-g++ 4.3.3
        CXXFLAGS:               -march=core2 -O2 -pipe      
        LDFLAGS:               -Wl,-O1                      
        DATE:                  2009-05-20T13:30:31+0000     

    Libraries:
        C++ Library:           GNU libstdc++ 20090124

    Reduced Privs:
        reduced_uid:           101
        reduced_uid->name:     paludisbuild
        reduced_uid->dir:      /var/tmp/paludis
        reduced_gid:           1002            
        reduced_gid->name:     paludisbuild    

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc        
        PYTHONINSTALLDIR:                  
        RUBYINSTALLDIR:        /usr/lib64/ruby/site_ruby/1.8/x86_64-linux

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/db/pkg/world

Repository layman:
    format:                    unavailable
    location:                  /var/db/paludis/repositories/layman
    sync:                     
tar+http://git.exherbo.org/layman_repositories.tar.bz2
    sync_options:                                                               

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /                 

Repository virtuals:
    format:                    virtuals

Repository gentoo:
    format:                    ebuild
    location:                  /usr/portage
    append_repository_name_to_write_cache: true
    binary_destination:        false           
    binary_keywords:                           
    binary_uri_prefix:                         
    builddir:                  /var/tmp/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /usr/portage/distfiles     
    eapi_when_unknown:         0                          
    eapi_when_unspecified:     0                          
    eclassdirs:                /usr/portage/eclass        
    ignore_deprecated_profiles: false                     
    layout:                    traditional                
    names_cache:               /usr/portage/.cache/names  
    newsdir:                   /usr/portage/metadata/news 
    profile_eapi_when_unspecified: 0                      
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0
    securitydir:               /usr/portage/metadata/glsa                      
    setsdir:                   /usr/portage/sets                               
    sync:                      rsync://rsync.gentoo.org/gentoo-portage         
    sync_options:                                                              
    use_manifest:              use                                             
    write_cache:               /var/cache/paludis/metadata                     

Repository installed:
    format:                    vdb
    location:                  /var/db/pkg
    builddir:                  /var/tmp/paludis
    names_cache:               /var/db/pkg/.cache/names
    provides_cache:            /var/db/pkg/.cache/provides
    root:                      /                          

Repository x11:
    format:                    ebuild
    location:                  /var/paludis/repositories/x11
    append_repository_name_to_write_cache: true             
    binary_destination:        false                        
    binary_keywords:                                        
    binary_uri_prefix:                                      
    builddir:                  /var/tmp/paludis             
    cache:                     /var/empty                   
    distdir:                   /usr/portage/distfiles       
    eapi_when_unknown:         0                            
    eapi_when_unspecified:     0                            
    eclassdirs:                /usr/portage/eclass
/var/paludis/repositories/x11/eclass
    ignore_deprecated_profiles: false                                           
    layout:                    traditional                                      
    master_repository:         gentoo                                           
    names_cache:               /var/paludis/repositories/x11/.cache/names       
    newsdir:                   /var/paludis/repositories/x11/metadata/news      
    profile_eapi_when_unspecified: 0                                            
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0 
    securitydir:               /var/paludis/repositories/x11/metadata/glsa      
    setsdir:                   /var/paludis/repositories/x11/sets               
    sync:                      git://git.overlays.gentoo.org/proj/x11           
    sync_options:                                                               
    use_manifest:              use                                              
    write_cache:               /var/cache/paludis/metadata                      

Package x11-base/xorg-server-9999::installed:

        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        bunzip2 < /var/db/pkg/x11-base/xorg-server-9999/environment.bz2 >
/var/tmp/paludis/environment-x11-base-xorg-server-9999-12677                    
        /usr/libexec/paludis/ebuild.bash: line 325:
/var/tmp/paludis/environment-x11-base-xorg-server-9999-12677: Permission denied 

        !!! ERROR in x11-base/xorg-server-9999:
        !!! In ebuild_load_environment at line 326
        !!! Can't extract /var/db/pkg/x11-base/xorg-server-9999/environment.bz2

        !!! Call stack:
        !!!    * ebuild_load_environment (/usr/libexec/paludis/ebuild.bash:326)
        !!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:478)
        !!!    * main (/usr/libexec/paludis/ebuild.bash:498)


        !!! Could not extract the saved environment file. This is usually
        !!! caused by a broken environment.bz2 that was generated by an old
        !!! Portage version. The file that needs repairing is:
        !!!     /var/db/pkg/x11-base/xorg-server-9999/environment.bz2
        !!! Try copying this file, bunzip2ing it and sourcing it using a new
        !!! bash shell (do not continue to use said shell afterwards). You
        !!! should get an error that gives you a rough idea of where the
        !!! problem lies.


        diefunc: making ebuild PID 12677 exit with error
        die trap: exiting with error.
Output log:
/var/log/paludis/1243338330-info-x11-base_xorg-server-9999:0::installed.out

Unhandled exception:
  * In program paludis --info xorg-server:
  * When handling query 'xorg-server':
  * When infoing 'x11-base/xorg-server-9999::installed':
  * When running an ebuild command on 'x11-base/xorg-server-9999:0::installed':
  * Info error: Info command failed (paludis::InfoActionError)
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-06-24 09:05:19 UTC
actually, all versions of >=xorg-server-1.6 should DEPEND on libXinerama.

/me looks into it

Thanks
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-07-06 11:53:45 UTC
@Jared, xorg-server from master should no longer dep on libXinerama, could you confirm it?

Thanks
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-07-06 12:54:15 UTC
Ok, I committed 1.6.1.902-r1 with the 2 patches backported from master that remove the dep. And I've nominated those patches for inclusion in the 1.6 branch.

Let's just say this bug is fixed :)

Thanks