Hi Chen, If you don't give the explicit package name with -p, a match is done. -p gdb is ambiguous as it matches both and gdbm is first in the build list.
In this case you need: $./ltib -p gdb.spec Regards, Stuart On 30/05/11 02:50, chen gang wrote: > Hi, Stuart > > Thanks for the reply.... > > the package I want is gdb, while the ltib is processing gdbm and they > are totally different. > So I think this is a bug! > > Br, Chen Gang > > > ------------------ Original ------------------ > *From: * "Stuart Hughes"<[email protected]>; > *Date: * Sat, May 28, 2011 08:54 PM > *To: * "chen gang"<[email protected]>; > *Cc: * "ltib"<[email protected]>; > *Subject: * Re: [Ltib] a bug of ltib - build gdbm while gdb is wanted. > > Hi Chen, > > Why are using -m prep? of course this will complain if the package is > already unpacked. > > This is a user error not a bug. You should just run ./ltib, or possibly > ./ltib -p pkg > > Regards, Stuart > > On 28/05/11 04:09, chen gang wrote: >> >> Is this a bug of ltib? >> I can bypass this by disable gdbm from pkg_map. >> >> >> >> >> >> >> [user1@localhost non-distributable-ltib-modelo-20100708]$ ./ltib --m >> prep --pkg gdb >> >> Processing: gdbm >> ================== >> Build path taken because: directory build, build key set, no prebuilt rpm, >> >> Cowardly refusing to clobber existing directory: >> > /home/user1/linux/non-distributable-ltib-modelo-20100708/rpm/BUILD/gdbm-1.8.3 >> Remove this by hand if you really want to rebuild this package from > scratch >> >> >> >> f_prep() returned an error, exiting >> traceback: >> main:560 >> >> >> >> _______________________________________________ >> 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
