Hi Erico,

Is dproxy something new?

What's wrong is that it's in the build list before base_libs which provides glibc. You need to change the build order in pkg_map.

Regards, Stuart

On 13/01/12 12:26, Érico Porto wrote:
Solved in a bizar way:

./ltib -p dproxy -m prep
./ltib -p dproxy -m scbuild
./ltib -p dproxy -m scdeploy

Now when I type ./ltib, it passes this stage and finally builds the base_libs!

Érico V. Porto


On Fri, Jan 13, 2012 at 10:09 AM, Érico Porto <[email protected] <mailto:[email protected]>> wrote:

    Ok, found this


    On ltib directory, when I look for the files in rootfs, they are
    there :

    ls -la rootfs/lib/libc*
    -rw-r--r-- 1 root root 0 2012-01-12 16 <tel:2012-01-12%2016>:04
    rootfs/lib/libc-2.3.6.so <http://libc-2.3.6.so>
    -rw-r--r-- 1 root root 0 2012-01-12 16 <tel:2012-01-12%2016>:04
    rootfs/lib/libcrypt-2.3.6.so <http://libcrypt-2.3.6.so>
    -rw-r--r-- 1 root root 0 2012-01-12 16 <tel:2012-01-12%2016>:04
    rootfs/lib/libcrypt.so.1
    -rw-r--r-- 1 root root 0 2012-01-12 16 <tel:2012-01-12%2016>:04
    rootfs/lib/libc.so.6
    -rw-r--r-- 1 root root 0 2012-01-12 16 <tel:2012-01-12%2016>:04
    rootfs/lib/libc.so.bak
    -rw-r--r-- 1 root root 0 2012-01-12 16 <tel:2012-01-12%2016>:04
    rootfs/lib/libc.so_orig

    But, when I use the rpm command to check if glibc is installed, I
    get nothing, so it isn't installed - I think!

    rpm --root `pwd`/rootfs -q base_libs --provides | grep libc.so

    Any thoughts?

    Érico V. Porto



    On Fri, Jan 13, 2012 at 9:59 AM, Érico Porto
    <[email protected] <mailto:[email protected]>> wrote:

        Is this where I should bee looking for libc? If it is, than it
        is not installed - just need to find out how to...

        ls /opt/freescale/ltib/usr/lib/
        libbeecrypt.la <http://libbeecrypt.la>        libltdl.a
        libpopt.la <http://libpopt.la>        librpm.a
        librpmdb-4.0.4.so <http://librpmdb-4.0.4.so>  librpmio.a   liby.a
        libbeecrypt.so        libltdl.so        libpopt.so
        librpmbuild-4.0.4.so <http://librpmbuild-4.0.4.so>  librpmdb.a
        librpmio.la <http://librpmio.la>  rpm
libbeecrypt.so.2 libltdl.so.3 libpopt.so.0 librpmbuild.a librpmdb.la <http://librpmdb.la> librpmio.so rpmpopt
        libbeecrypt.so.2.2.0  libltdl.so.3.1.0  libpopt.so.0.0.0
        librpmbuild.la <http://librpmbuild.la>        librpmdb.so
        librpm.la <http://librpm.la>    rpmrc
        libfl.a               libpopt.a librpm-4.0.4.so
        <http://librpm-4.0.4.so>   librpmbuild.so librpmio-4.0.4.so
        <http://librpmio-4.0.4.so>  librpm.so


        Érico V. Porto



        On Fri, Jan 13, 2012 at 9:41 AM, Érico Porto
        <[email protected] <mailto:[email protected]>>
        wrote:

            Hello!

            I'm trying to install ltib in my computer, but I'm getting
            some errors about glibc not installed. Anyone has ever got
            those?

            ./ltib

            Processing platform: CPqD CPE-SS CPU board
            ============================================
            using config/platform/cpe_ss/.config

            Processing: fake-provides
            ===========================

            Processing: u-boot-1.1.6-cpe_ss
            =================================

            Processing: kernel-2.6.20-cpe_ss
            ==================================

            Processing: dev
            =================

            Processing: skell
            ===================

            Processing: dproxy
            ====================
            rpm is
            
/home/erico/Downloads/sources_svn/ltib/trunk/source/ltib-mpc832x_rdb/ltib-mpc832x_rdb-20070507/rpm/RPMS/ppc/dproxy-0.5-1.ppc.rpm
            sudo /opt/freescale/ltib/usr/bin/rpm --dbpath
            
/home/erico/Downloads/sources_svn/ltib/trunk/source/ltib-mpc832x_rdb/ltib-mpc832x_rdb-20070507/rpmdb
            -e --allmatches --nodeps dproxy 2>/dev/null
            sudo /opt/freescale/ltib/usr/bin/rpm --dbpath
            
/home/erico/Downloads/sources_svn/ltib/trunk/source/ltib-mpc832x_rdb/ltib-mpc832x_rdb-20070507/rpmdb
            --prefix
            
/home/erico/Downloads/sources_svn/ltib/trunk/source/ltib-mpc832x_rdb/ltib-mpc832x_rdb-20070507/rootfs
            --ignorearch -ivh --force --excludedocs
            
/home/erico/Downloads/sources_svn/ltib/trunk/source/ltib-mpc832x_rdb/ltib-mpc832x_rdb-20070507/rpm/RPMS/ppc/dproxy-0.5-1.ppc.rpm
            error: failed dependencies:
                libc.so.6(GLIBC_2.0)   is needed by dproxy-0.5-1
                libc.so.6(GLIBC_2.1)   is needed by dproxy-0.5-1
                libc.so.6(GLIBC_2.3)   is needed by dproxy-0.5-1


            f_buildrpms() returned an error, exiting

            Started: Fri Jan 13 09:25:31 2012
            Ended:   Fri Jan 13 09:25:33 2012
            Elapsed: 2 seconds

            Build Failed

            Exiting on error or interrupt

            I was reading through the web looking for information, and
            saw I could see the packets successfully installed using rpm.

            /opt/freescale/ltib/usr/bin/rpm -qa
            mkspooflinks-3.3-1
            flex-2.5.4-1
            autoconf-2.57-1
            lkc-1.4-2
            cksum-19990607-1
            genromfs-0.5.1-1
            mtd-utils-20060302-1
            cramfs-1.1-1
            unifdef-1.0-1
            rpm-fs-4.0.4-1
            fake-provides-1.0-5
            bison-1.875-1
            texinfo-4.8-1
            libtool-1.5-1
            wget-1.9.1-1
            genext2fs-1.3-1
            u-boot-tools-1.1.6-1
            dtc-20070307-1
            distcc-2.18.3-1
            tc-fsl-x86lnx-e300c2-nptl-4.0.2-2

            In another machine that also has ubuntu 11.10, everything
            simply works, but that's an older machine so I guess some
            older packages somewhere made this work - in the past it
            was a 10.04, and I upgraded the version...

            If no one know why this happens, it's okay.

            Érico V. Porto





_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to