RE: [Rust-users] rust rpm problem
Status: Beta
Brought to you by:
psychogenic
From: Depankar N. <dn...@wi...> - 2003-04-24 19:09:08
|
-----Original Message----- From: Michael D. Hirsch [mailto:mh...@nu...] Sent: Thu 4/24/2003 2:45 PM To: Depankar Neogi; rus...@li... Cc:=09 Subject: Re: [Rust-users] rust rpm problem On Thursday 24 April 2003 02:22 pm, Depankar Neogi wrote: > Hi - > I am having a weird behavior while trying to create an rpm where for = two > files, the sizes are changing. Even if I moved the files to another = dir > and created the rpm, still the file size changes in the rpm. For = example > - > The original file size is 1450408 for /usr/sbin/dhcpd. > The new file size in the rpm is 623186 for /usr/sbin/dhcpd. > > When I install the rpm, the file size is 623K though the original was > 1450K. > > If I manually created the rpm, using rpm -bb -r ...., my flle sizes do > not change and I get the original size. > > I would like to use RUST to build my rpms. This is the first time I > faced such a problem. I have built other rpms and even in this rpm, = the > other file sizes are unchanged. > > Any help is appreciated. Two questions. First, does the new file still work? Second, what is the output of "file /usr/sbin/dhcpd" on the two = versions=20 of the file? I think that rpm (or rust, I'm not sure) may be stripping the file to = make=20 it smaller. There is probably an option in rpm to turn off that = behavior. Michael 1. The new file does not work. 2. Original - file dhcpd dhcpd: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically = linked (uses shared libs), not stripped # ls -l dhcpd -rwxr-xr-x 1 root root 1450408 Apr 14 20:25 dhcpd From rpm - $ file dhcpd dhcpd: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically = linked (uses shared libs), not stripped $ ls -l dhcpd -rwxr-xr-x 1 root root 623186 Apr 23 07:39 dhcpd -Depankar |