Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281484 - media-libs/celt-0.6.1 fails to compile with ogg USE flag set
Summary: media-libs/celt-0.6.1 fails to compile with ogg USE flag set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Timo Gurr (RETIRED)
URL:
Whiteboard:
Keywords: Inclusion, REVIEWED
Depends on:
Blocks:
 
Reported: 2009-08-14 17:13 UTC by ron widler
Modified: 2015-01-05 23:20 UTC (History)
3 users (show)

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


Attachments
paludis gentoo.out log (1250269518-install-media-libs_celt-0.6.1:0::gentoo.out,46.49 KB, text/plain)
2009-08-14 17:15 UTC, ron widler
Details
paludis gentoo.message log (1250269518-install-media-libs_celt-0.6.1:0::gentoo.messages,371 bytes, text/plain)
2009-08-14 17:16 UTC, ron widler
Details
fix patch (celt.patch,241 bytes, patch)
2009-09-12 13:06 UTC, kiorky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ron widler 2009-08-14 17:13:58 UTC
When i tried to install media-libs/celt-0.6.1 with the off USE flag set the compilation/linking failed with the following error:
---
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99  -march=k8 -O2 -pipe -fvisibility=hidden -W -Wstrict-prototypes -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wno-parentheses -Wno-unused-parameter -Wno-sign-compare  -Wl,-O1 -o celtdec celtdec.o wav_io.o ../libcelt/libcelt.la -Lyes/lib -logg -lm 
../libtool: line 4992: cd: yes/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `yes/lib'
make[2]: *** [celtdec] Error 1
make[2]: *** Waiting for unfinished jobs....
../libtool: line 4992: cd: yes/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `yes/lib'
---
when i grep for 'yes/lib' in the workdir, i get the following results:

Makefile:OGG_LIBS = -Lyes/lib -logg
config.log:configure:12445: x86_64-pc-linux-gnu-gcc -std=gnu99 -o conftest -march=k8 -O2 -pipe -Iyes/include  -Wl,-O1 conftest.c  -Lyes/lib -logg >&5
config.log:OGG_LIBS='-Lyes/lib -logg'
config.status:S["OGG_LIBS"]="-Lyes/lib -logg"


Reproducible: Always

Steps to Reproduce:
1. paludis -i media/libs/celt
2. "Install error: Install failed for 'media-libs/celt-0.6.1:0::gentoo"
3.

Actual Results:  
fails to compile

Expected Results:  
compile with and without ogg

system is partially ~amd64, i've been using paludis for quite some time so my emerge --info won't help much, so...

paludis --info:
paludis 0.38.2
Paludis build information:
    Compiler:
        CXX:                   x86_64-pc-linux-gnu-g++ 4.1.2 (Gentoo 4.1.2 p1.0.2)
        CXXFLAGS:               -march=k8 -O2 -pipe
        LDFLAGS:               -Wl,-O1
        DATE:                  2009-08-03T05:17:49+0200

    Libraries:
        C++ Library:           GNU libstdc++ 20070214

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

System:
    Linux sndstat64 2.6.30-gentoo-r4-sndstat64 #1 SMP PREEMPT Sun Jul 26 23:27:22 CEST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux

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

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/no-multilib
    securitydir:               /usr/portage/metadata/glsa
    setsdir:                   /usr/portage/sets
    sync:                      rsync://rsync.europe.gentoo.org/gentoo-portage
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p39
        dev-java/java-config:  2.1.8-r1
        dev-lang/python:       2.4.4-r13 2.5.4-r3 2.6.2-r1
        dev-python/pycrypto:   2.0.1-r8
        dev-util/ccache:       2.4-r7
        dev-util/cmake:        2.6.2-r1
        dev-util/confcache:    (none)
        sys-apps/baselayout:   1.12.11.1
        sys-apps/openrc:       (none)
        sys-apps/sandbox:      1.9
        sys-devel/autoconf:    2.13 2.63-r1
        sys-devel/automake:    1.10.2 1.4_p6 1.5 1.7.9-r1 1.8.5-r3 1.9.6-r2
        sys-devel/binutils:    2.18-r3
        sys-devel/gcc-config:  1.4.1
        sys-devel/libtool:     2.2.6a
        virtual/os-headers:    2.6.30-r1 (for sys-kernel/linux-headers::installed)

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

Repository desktop-effects:
    format:                    ebuild
    location:                  /var/paludis/repositories/desktop-effects
    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/desktop-effects/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /var/paludis/repositories/desktop-effects/.cache/names
    newsdir:                   /var/paludis/repositories/desktop-effects/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/no-multilib
    securitydir:               /var/paludis/repositories/desktop-effects/metadata/glsa
    setsdir:                   /var/paludis/repositories/desktop-effects/sets
    sync:                      git://git.overlays.gentoo.org/proj/desktop-effects.git
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Repository gentoo-china:
    format:                    ebuild
    location:                  /var/paludis/repositories/gentoo-china
    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/gentoo-china/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /var/paludis/repositories/gentoo-china/.cache/names
    newsdir:                   /var/paludis/repositories/gentoo-china/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/no-multilib
    securitydir:               /var/paludis/repositories/gentoo-china/metadata/glsa
    setsdir:                   /var/paludis/repositories/gentoo-china/sets
    sync:                      svn+http://gentoo-china-overlay.googlecode.com/svn/trunk/
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Repository local-portage:
    format:                    ebuild
    location:                  /usr/local/portage
    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 /usr/local/portage/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /usr/local/portage/.cache/names
    newsdir:                   /usr/local/portage/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/no-multilib
    securitydir:               /usr/local/portage/metadata/glsa
    setsdir:                   /usr/local/portage/sets
    sync:                      
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Repository pd-overlay:
    format:                    ebuild
    location:                  /var/paludis/repositories/pd-overlay
    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/pd-overlay/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /var/paludis/repositories/pd-overlay/.cache/names
    newsdir:                   /var/paludis/repositories/pd-overlay/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/no-multilib
    securitydir:               /var/paludis/repositories/pd-overlay/metadata/glsa
    setsdir:                   /var/paludis/repositories/pd-overlay/sets
    sync:                      svn+https://pd-overlay.svn.sourceforge.net/svnroot/pd-overlay/pd-overlay
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Repository proaudio:
    format:                    ebuild
    location:                  /var/paludis/repositories/pro-audio
    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/pro-audio/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /var/paludis/repositories/pro-audio/.cache/names
    newsdir:                   /var/paludis/repositories/pro-audio/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/no-multilib
    securitydir:               /var/paludis/repositories/pro-audio/metadata/glsa
    setsdir:                   /var/paludis/repositories/pro-audio/sets
    sync:                      svn://svn.tuxfamily.org/svnroot/proaudio/proaudio/trunk/overlays/proaudio
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Repository sunrise:
    format:                    ebuild
    location:                  /var/paludis/repositories/sunrise
    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/sunrise/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /var/paludis/repositories/sunrise/.cache/names
    newsdir:                   /var/paludis/repositories/sunrise/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/no-multilib
    securitydir:               /var/paludis/repositories/sunrise/metadata/glsa
    setsdir:                   /var/paludis/repositories/sunrise/sets
    sync:                      svn+http://overlays.gentoo.org/svn/proj/sunrise/reviewed/
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Repository zugaina:
    format:                    ebuild
    location:                  /var/paludis/repositories/zugaina
    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/zugaina/eclass
    ignore_deprecated_profiles: false
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /var/paludis/repositories/zugaina/.cache/names
    newsdir:                   /var/paludis/repositories/zugaina/metadata/news
    profile_eapi_when_unspecified: 0
    profiles:                  /usr/portage/profiles/default/linux/amd64/2008.0/no-multilib
    securitydir:               /var/paludis/repositories/zugaina/metadata/glsa
    setsdir:                   /var/paludis/repositories/zugaina/sets
    sync:                      rsync://gentoo.zugaina.org/zugaina-portage
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata
Comment 1 ron widler 2009-08-14 17:15:31 UTC
Created attachment 201249 [details]
paludis gentoo.out log
Comment 2 ron widler 2009-08-14 17:16:02 UTC
Created attachment 201250 [details]
paludis gentoo.message log
Comment 3 ron widler 2009-08-14 17:40:26 UTC
this seems to come from this part in the configure script ($ogg_prefix get set to $with_ogg - which is "yes" - before):

---
  if test "x$ogg_libraries" != "x" ; then
    OGG_LIBS="-L$ogg_libraries"
  elif test "x$ogg_prefix" != "x" ; then
    OGG_LIBS="-L$ogg_prefix/lib"
  elif test "x$prefix" != "xNONE" ; then
    OGG_LIBS="-L$prefix/lib"
  fi

  OGG_LIBS="$OGG_LIBS -logg"
---

Comment 4 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-12 12:55:10 UTC
I got it too.
Any news about a fix Timo ?
Comment 5 kiorky 2009-09-12 12:59:27 UTC
replace $(use_with ogg) with $(use_with ogg /usr) for configure script to work.
Comment 6 kiorky 2009-09-12 13:02:36 UTC
oops, missed paste, 
replace the econf call by:
        econf $(use_with ogg ogg /usr)
Comment 7 kiorky 2009-09-12 13:06:31 UTC
Created attachment 203860 [details, diff]
fix patch
Comment 8 Patrick Lauer gentoo-dev 2009-09-12 13:18:44 UTC
Cannot reproduce. So I'm unable to fix anything 
Comment 9 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-09-26 14:22:10 UTC
Patch provided by kiorky is working fine.
Let me know if I can patch the ebuild (as I'm not from sound herd).
Comment 10 Timo Gurr (RETIRED) gentoo-dev 2009-09-29 00:42:45 UTC
I've committed the provided fix since it does no harm, but I'm also unable to reproduce the bug (also using paludis, different ~arch systems).