logo       

Glibc extraction: msg#00100

Subject: Glibc extraction
Hi and good morning Rene!

I rebuilt the stage0 packages, solved the two errors I had, and began
rebuilding stage1 packages.
I'm having again a problem with Glibc-2.5.
For stage0 after some trying I managed the unpacking, today the same
code that worked for stage0 doesn't work anymore...

Since I downgraded Glibc to Glibc-2.5-* I have a package added to ports
and linuxthreads, it's the separated glibc-libidn.

So yesterday I solved modifying the glibc conf file in this way:
glibc_prepatch() {
    for tarball in `match_source_file -p ports` \
               `match_source_file -p libidn` \
               `match_source_file -p linuxthread`
    do
        # extract via the symlink into the top-level
        if [[ $tarball = *libidn* ]]; then
            ln -s libidn `echo $tarball | sed -e 's,[^/]*/,,g' -e
s/.tar.*//`
        ln -s glibc-libidn-2.5 libidn # I used a symlink but it can be
used mv -v glibc-libidn-2.5 libidn
        else
        ln -s . `echo $tarball | sed -e 's,[^/]*/,,g' -e s/.tar.*//`
        fi
        # do not overwrite the configure script and such
        if [[ $tarball = *ports* ]]; then
            echo -e "*sysdeps*" > x
        elif [[ $tarball = *libidn* ]]; then
            echo -e "*libidn*" > x
        else
            echo -e "*linuxthreads*" > x
        fi
         find -name CVS | xargs rm -rfv
        tar ${taropt%f} --files-from x -v -f $tarball ; rm x

    done

I don't understand... yesterday worked and today not...

The build command I use is
'./scripts/Build-Target -cfg system -job 1-glibc'

The errors it outputs are these:
===[glibc_prepatch:86 (last $?=0)> for tarball in '`match_source_file -p
ports`' '`match_source_file -p libidn`' '`match_source_file -p linuxthread`'
===[glibc_prepatch:91 (last $?=0)> [[
/sources/T2/t2-trunk/download/mirror/g/glibc-ports-2.5.tar.bz2 = *libidn* ]]
====[glibc_prepatch:95 (last $?=1)> echo
/sources/T2/t2-trunk/download/mirror/g/glibc-ports-2.5.tar.bz2
====[glibc_prepatch:95 (last $?=0)> sed -e 's,[^/]*/,,g' -e 's/.tar.*//'
===[glibc_prepatch:95 (last $?=0)> ln -s . glibc-ports-2.5
===[glibc_prepatch:98 (last $?=0)> [[
/sources/T2/t2-trunk/download/mirror/g/glibc-ports-2.5.tar.bz2 = *ports* ]]
===[glibc_prepatch:99 (last $?=0)> echo -e '*sysdeps*'
===[glibc_prepatch:106 (last $?=0)> tar --use-compress-program=bzip2 -x
--files-from x -v -f
/sources/T2/t2-trunk/download/mirror/g/glibc-ports-2.5.tar.bz2
tar: Pattern matching characters used in file names. Please,
tar: use --wildcards to enable pattern matching, or --no-wildcards to
tar: suppress this warning.
tar: *sysdeps*: Not found in archive
tar: Error exit delayed from previous errors
Due to previous errors, no 1-glibc.log file!
(Try enabling xtrace in the config to track an error inside the build
system.)
--- BUILD ERROR ---
Install SysV Init script 'nscd' (19/81):  rcX done.
Creating file list and doing final adaptions ...
Processing static lib corrections ...
Verifing the .la files ...
Searching for orphaned files ...
Found 8 files for this package.
Found 0 orphaned files for this package.
Clear (old) md5sums and cksums ...
Creating md5sum and cksum files ... done.
Creating package description ...
Making post-install adaptions.
-> $root/var/adm/logs/1-glibc.out -> 1-glibc.err
== 10/27/06 10:06:19 =[1]=> Aborted building package glibc.
-> Unmounting loop mounts ...

Hope can help me in understanding this behavior,

Thanks in advance,

Yours,
Luca





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe