bugzilla-daemon at mindrot.org
2003-Sep-01 07:46 UTC
[Bug 631] Build fails on Redhat Linux 6.x
http://bugzilla.mindrot.org/show_bug.cgi?id=631 Summary: Build fails on Redhat Linux 6.x Product: Portable OpenSSH Version: 3.6.1p2 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: Build system AssignedTo: openssh-bugs at mindrot.org ReportedBy: mdobel at kawo2.rwth-aachen.de I needed this package for a box running Redhat 6.2. So I changed the build6x-define in the specfile from 0 to 1 and tried to build the package. rpm complained about error: failed build dependencies: db1-devel is needed by openssh-3.6.1p1-1 caused by this part of the specfile: %if ! %{build6x} BuildPreReq: glibc-devel, pam %else BuildPreReq: db1-devel, /usr/include/security/pam_appl.h %endif There is no db1 package in Redhat 6.x, db1 was intruduced in 7.x. In Redhat 6.x the contents of db1 are part of the glibc package. It seems like that the condition is the wrong way around. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Sep-06 04:35 UTC
[Bug 631] Build fails on Redhat Linux 6.x
http://bugzilla.mindrot.org/show_bug.cgi?id=631 ------- Additional Comments From dtucker at zip.com.au 2003-09-06 14:35 ------- Created an attachment (id=389) --> (http://bugzilla.mindrot.org/attachment.cgi?id=389&action=view) Add build7x variable. There seems to be some confusion about this. $ cvs log openssh.spec revision 1.109 date: 2002/09/04 07:19:06; author: djm; state: Exp; lines: +1 -1 - (djm) Fix Redhat RPM build dependancy test and from Redhat bug #55105: "If build_6x is defined for building openssh on a 6.x box, it won't build because it claims to need db1-devel. However db1-devel does not exist for 6.x, as it is included in glibc-devel." A quick survey shows db1-devel present *only* in 7.x releases, so no amount of fiddling with build6x is going to get it right for all cases. How about this patch? I'm not fluent in specfile so it might be wrong, but it works on my RH8.0 box. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.