Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 9 Nov 2006 10:35:19 -1000
From: cpb@...ver.log2.net
To: owl-users@...ts.openwall.com
Subject: Re: Odd problem building latest bind package

My problem building package "bind" is solved.
I had usr/lib/rpm/*-linux/macros.rpmnew files waiting for years.
Thank you GM and everyone else on the list!

On Thu, Nov 09, 2006 at 07:56:01PM +0300, (GalaxyMaster) wrote:

> Could you please tell us what version of RPM is installed on your
> system?  The _initrddir macro is defined in /usr/lib/rpm/*-macros and

For the record, my RPM is rpm-4.2-owl14, but see embarrassing detail below.
The problem was so serious and so basic that it was invisible to me:

# cd /usr/lib/rpm
# fgrep -l initrddir i?86-linux/*
i386-linux/macros.rpmnew
i486-linux/macros.rpmnew
i586-linux/macros.rpmnew
i686-linux/macros.rpmnew

# # !!! NOT GOOD !!!

# ls -l i?86-linux/*  # athlon-linux/ and noarch-linux/ OK, that makes sense
-rw-r--r-- 1 root root 1665 Aug 23  2004 i386-linux/macros
-rw-r--r-- 1 root root 2493 Feb  3  2006 i386-linux/macros.rpmnew
-rw-r--r-- 1 root root 1665 Aug 23  2004 i486-linux/macros
-rw-r--r-- 1 root root 2493 Feb  3  2006 i486-linux/macros.rpmnew
-rw-r--r-- 1 root root 1654 Aug 23  2004 i586-linux/macros
-rw-r--r-- 1 root root 2481 Feb  3  2006 i586-linux/macros.rpmnew
-rw-r--r-- 1 root root 1654 Aug 23  2004 i686-linux/macros
-rw-r--r-- 1 root root 2481 Feb  3  2006 i686-linux/macros.rpmnew

# # Yikes, been using 2-year old Owl rpm macros !!!

# for f in 3 4 5 6; do mv -fv i${f}86-linux/macros.rpmnew i${f}86-linux/macros; done
`i386-linux/macros.rpmnew' -> `i386-linux/macros'
`i486-linux/macros.rpmnew' -> `i486-linux/macros'
`i586-linux/macros.rpmnew' -> `i586-linux/macros'
`i686-linux/macros.rpmnew' -> `i686-linux/macros'

Now that the RPM macros are finally in place, package "bind" builds fine.
Next: scan entire system for *.rpmnew files, buildworld a few times, and
in the future, I should deal with *.rpmnew files sooner, not later!

Amazing I made it this long without obvious build problems. Now that's a
stable build environment! :) Thanks again very much.

Chris Bopp, Honolulu, Hawaii, a little wiser

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.