Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454952 - media-libs/opencv-2.4.3 failed to build
Summary: media-libs/opencv-2.4.3 failed to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 455506
  Show dependency tree
 
Reported: 2013-02-01 05:36 UTC by Alexandr Gluzskiy
Modified: 2013-02-05 00:40 UTC (History)
1 user (show)

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


Attachments
buildlog (buildlog,80.48 KB, text/plain)
2013-02-01 05:53 UTC, Alexandr Gluzskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Gluzskiy 2013-02-01 05:36:51 UTC
cannot install some graphicks packages from kde due to opencv compilation error

Reproducible: Always

Steps to Reproduce:
1.try to install opencv

Actual Results:  
compilation failed

Expected Results:  
succesful compilation and installation

ackage Manager Information:
    Package Name              paludis
    Package Version           0.82.0
    Build Date                2013-01-30T01:58:17+0200
    Built with CXX            x86_64-pc-linux-gnu-g++ 4.6.3
    Built with CXXFLAGS        -march=core2 -mcx16 -msahf -msse4.1 -O2 -pipe -Wno-error -pedantic
    Built with LDFLAGS        -Wl,-O1 -Wl,--as-needed

Environment Information:
    Format                    paludis
    Config dir                /etc/paludis
    Root                      /
    System Root               /
    World file                /etc/paludis/world

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

Repository gentoo:
    format                    e
    location                  /mnt/lan/nfs/192.168.0.1/var/paludis/repositories/gentoo
    builddir                  /home/tmp/tmp-root-var/paludis
    cache                     /var/paludis/repositories/gentoo/metadata/md5-cache
    distdir                   /mnt/lan/nfs/192.168.0.1/home/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /var/paludis/repositories/gentoo/eclass
    layout                    traditional
    manifest_hashes           SHA256 SHA512 WHIRLPOOL
    names_cache               /mnt/lan/nfs/192.168.0.1/var/paludis/repositories/gentoo/.cache/names
    newsdir                   /mnt/lan/nfs/192.168.0.1/var/paludis/repositories/gentoo/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /usr/portage/profiles/default/linux/amd64/10.0
    securitydir               /mnt/lan/nfs/192.168.0.1/var/paludis/repositories/gentoo/metadata/glsa
    setsdir                   /var/paludis/repositories/gentoo/sets
    sync                      rsync://rsync.gentoo.org/gentoo-portage/
    sync_options              
    thin_manifests            false
    use_manifest              use
    write_cache               /var/cache/paludis/metadata
    Package information
        app-shells/bash       4.2_p42
        dev-java/java-config  2.1.12-r1
        dev-lang/python       2.7.3-r3 3.2.3-r2
        dev-util/ccache       3.1.9
        dev-util/cmake        2.8.10.2-r2
        dev-util/pkgconfig    0.28
        sys-apps/baselayout   2.2
        sys-apps/openrc       9999
        sys-apps/sandbox      2.6
        sys-devel/autoconf    2.13 2.69
        sys-devel/automake    1.10.3 1.11.6 1.12.6 1.9.6-r3
        sys-devel/binutils    2.23.1
        sys-devel/gcc         4.5.4 4.6.3 4.7.2
        sys-devel/gcc-config  1.8
        sys-devel/libtool     1.3.5 2.4.2
        sys-devel/make        3.82-r4
        sys-freebsd/freebsd-lib (none)
        sys-kernel/linux-headers 3.7
        sys-libs/glibc        2.16.0
        sys-libs/uclibc       (none)
Comment 1 Alexandr Gluzskiy 2013-02-01 05:42:14 UTC
(In reply to comment #0)
> cannot install some graphicks packages from kde due to opencv compilation
> error
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.try to install opencv
> 
> Actual Results:  
> compilation failed
> 
> Expected Results:  
> succesful compilation and installation
> 
> ackage Manager Information:
>     Package Name              paludis
>     Package Version           0.82.0
>     Build Date                2013-01-30T01:58:17+0200
>     Built with CXX            x86_64-pc-linux-gnu-g++ 4.6.3
>     Built with CXXFLAGS        -march=core2 -mcx16 -msahf -msse4.1 -O2 -pipe
> -Wno-error -pedantic
>     Built with LDFLAGS        -Wl,-O1 -Wl,--as-needed
> 
> Environment Information:
>     Format                    paludis
>     Config dir                /etc/paludis
>     Root                      /
>     System Root               /
>     World file                /etc/paludis/world
> 
> Repository layman:
>     format                    unavailable
>     location                  /var/paludis/repositories/layman
>     sync                     
> tar+http://git.exherbo.org/layman_repositories.tar.bz2
>     sync_options              
> 
> Repository gentoo:
>     format                    e
>     location                 
> /mnt/lan/nfs/192.168.0.1/var/paludis/repositories/gentoo
>     builddir                  /home/tmp/tmp-root-var/paludis
>     cache                    
> /var/paludis/repositories/gentoo/metadata/md5-cache
>     distdir                   /mnt/lan/nfs/192.168.0.1/home/distfiles
>     eapi_when_unknown         0
>     eapi_when_unspecified     0
>     eclassdirs                /var/paludis/repositories/gentoo/eclass
>     layout                    traditional
>     manifest_hashes           SHA256 SHA512 WHIRLPOOL
>     names_cache              
> /mnt/lan/nfs/192.168.0.1/var/paludis/repositories/gentoo/.cache/names
>     newsdir                  
> /mnt/lan/nfs/192.168.0.1/var/paludis/repositories/gentoo/metadata/news
>     profile_eapi_when_unspecified 0
>     profile_layout            traditional
>     profiles                  /usr/portage/profiles/default/linux/amd64/10.0
>     securitydir              
> /mnt/lan/nfs/192.168.0.1/var/paludis/repositories/gentoo/metadata/glsa
>     setsdir                   /var/paludis/repositories/gentoo/sets
>     sync                      rsync://rsync.gentoo.org/gentoo-portage/
>     sync_options              
>     thin_manifests            false
>     use_manifest              use
>     write_cache               /var/cache/paludis/metadata
>     Package information
>         app-shells/bash       4.2_p42
>         dev-java/java-config  2.1.12-r1
>         dev-lang/python       2.7.3-r3 3.2.3-r2
>         dev-util/ccache       3.1.9
>         dev-util/cmake        2.8.10.2-r2
>         dev-util/pkgconfig    0.28
>         sys-apps/baselayout   2.2
>         sys-apps/openrc       9999
>         sys-apps/sandbox      2.6
>         sys-devel/autoconf    2.13 2.69
>         sys-devel/automake    1.10.3 1.11.6 1.12.6 1.9.6-r3
>         sys-devel/binutils    2.23.1
>         sys-devel/gcc         4.5.4 4.6.3 4.7.2
>         sys-devel/gcc-config  1.8
>         sys-devel/libtool     1.3.5 2.4.2
>         sys-devel/make        3.82-r4
>         sys-freebsd/freebsd-lib (none)
>         sys-kernel/linux-headers 3.7
>         sys-libs/glibc        2.16.0
>         sys-libs/uclibc       (none)

wait, on this machine it builds ..., looks like chroot issue, few minutes ....
Comment 2 Alexandr Gluzskiy 2013-02-01 05:52:31 UTC
so here is info from affected chroot env

Package Manager Information:
    Package Name              paludis
    Package Version           0.82.0
    Build Date                2012-11-19T10:48:43+0000
    Built with CXX            i686-pc-linux-gnu-g++ 4.6.3
    Built with CXXFLAGS        -mtune=generic -Os -pipe -fomit-frame-pointer -mmmx -msse -m32 -Wno-error -pedantic
    Built with LDFLAGS        -Wl,-O1 -Wl,--as-needed

Environment Information:
    Format                    paludis
    Config dir                /etc/paludis
    Root                      /
    System Root               /
    World file                /etc/paludis/world

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

Repository gentoo:
    format                    e
    location                  /var/paludis/repositories/gentoo
    builddir                  /var/tmp/paludis
    cache                     /var/paludis/repositories/gentoo/metadata/md5-cache
    distdir                   /home/distfiles
    eapi_when_unknown         0
    eapi_when_unspecified     0
    eclassdirs                /var/paludis/repositories/gentoo/eclass
    layout                    traditional
    manifest_hashes           SHA256 SHA512 WHIRLPOOL
    names_cache               /var/paludis/repositories/gentoo/.cache/names
    newsdir                   /var/paludis/repositories/gentoo/metadata/news
    profile_eapi_when_unspecified 0
    profile_layout            traditional
    profiles                  /usr/portage/profiles/default/linux/x86/10.0
    securitydir               /var/paludis/repositories/gentoo/metadata/glsa
    setsdir                   /var/paludis/repositories/gentoo/sets
    sync                      rsync://rsync.gentoo.org/gentoo-portage/
    sync_options              
    thin_manifests            false
    use_manifest              use
    write_cache               /var/cache/paludis/metadata
    Package information
        app-shells/bash       4.2_p42
        dev-java/java-config  (none)
        dev-lang/python       2.7.3-r3 3.2.3-r2
        dev-util/ccache       3.1.9
        dev-util/cmake        2.8.10.2-r1
        dev-util/pkgconfig    0.28
        sys-apps/baselayout   2.2
        sys-apps/openrc       0.11.8
        sys-apps/sandbox      2.6
        sys-devel/autoconf    2.13 2.69
        sys-devel/automake    1.11.6 1.12.6 1.9.6-r3
        sys-devel/binutils    2.23.1
        sys-devel/gcc         4.6.3
        sys-devel/gcc-config  1.8
        sys-devel/libtool     2.4.2
        sys-devel/make        3.82-r4
        sys-freebsd/freebsd-lib (none)
        sys-kernel/linux-headers 3.7
        sys-libs/glibc        2.16.0
        sys-libs/uclibc       (none)
Comment 3 Alexandr Gluzskiy 2013-02-01 05:53:02 UTC
Created attachment 337544 [details]
buildlog
Comment 4 Michael Palimaka (kensington) gentoo-dev 2013-02-01 15:29:13 UTC
Are you really using ccache with distcc (with different versions of core packages on slaves), with paludis, on Exherbo?
Comment 5 Alexandr Gluzskiy 2013-02-01 20:58:07 UTC
no, just on gentoo, i have two more amd64 gentoo systems
Comment 6 Alexandr Gluzskiy 2013-02-01 21:00:01 UTC
same problem also present in x86 chroot
some time ago i have similar problem with incorrect path in *.la files, but here are correct path, so it something different
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2013-02-01 21:10:52 UTC
Please try to reproduce this with distcc and ccache both disabled.
Comment 8 Alexandr Gluzskiy 2013-02-01 21:16:41 UTC
same problem
Comment 9 Alexandr Gluzskiy 2013-02-01 21:17:46 UTC
i can provide entire chroot, it have not important data, it's for livecd
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2013-02-04 21:21:47 UTC
(In reply to comment #8)
> same problem

OK could you for this case (no distcc, no ccache) please provide the log and emerge --info ?!

Also, 
* does /lib/libz.so exist?
* what is the output of "equery files zlib" ?
* did you perform larger upgrades involving many packages recently?
Comment 11 Alexandr Gluzskiy 2013-02-05 00:33:49 UTC
yes this problem appears during world upgrade
thx for suggestion, i have few broken simlinks under /lib directory, i will fix it and check again
Comment 12 Alexandr Gluzskiy 2013-02-05 00:37:03 UTC
i have fixed symlinks and problem is gone, but i can't say what exactly broke it
Comment 13 Andreas K. Hüttel archtester gentoo-dev 2013-02-05 00:40:15 UTC
Ah, a Heisenbug. Well, now that it works...