[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mklibs.sh oddess



I've seen this each time I built i386 boot-floppies:

I: doing library reduction
/usr/home/davidw/tmp/boot-floppies-2.3.5/scripts/rootdisk/mklibs.sh: find-file-glob: internal error: multiple matches

The disks work and the build doesn't stop, just the mysterious error message.
Either I have multiple versions of some library, or else the regex isn't
correct. I put in a little debug output that would probably be a welcome
addition to mklibs.sh:

--- scripts/rootdisk/mklibs.sh  2001/04/02 18:07:23     1.20
+++ scripts/rootdisk/mklibs.sh  2001/06/11 17:21:43
@@ -421,7 +421,7 @@
       if [ "$file" ] ; then
         second_match=`echo $file | cut -s -d " " -f 2`
        if [ $second_match ] ; then
-          echo 1>&2 $0: find-file-glob: internal error: multiple matches
+          echo 1>&2 $0: find-file-glob: $dir/$regex internal error: multiple
matches
          exit 1
        fi  
         echo "$file"


So now I get a more helpful error message:
I: doing library reduction
/home/davidw/debian/boot-floppies/scripts/rootdisk/mklibs.sh: find-file-glob:
/usr/lib/libnewt-utf8_pic.a /usr/lib/libnewt_pic.a internal error: multiple
matches


$ ls /usr/lib/libnewt*_pic.a
/usr/lib/libnewt-utf8_pic.a  /usr/lib/libnewt_pic.a
$ dpkg -S /usr/lib/libnewt-utf8_pic.a
libnewt-utf8-pic: /usr/lib/libnewt-utf8_pic.a
$ dpkg -S /usr/lib/libnewt_pic.a
libnewt-pic: /usr/lib/libnewt_pic.a
$ 

Comments?  Should I not have both installed?

-David



Reply to: