Date: Thu, 19 Oct 2000 17:50:30 -0600 (MDT) From: Chad David <davidc@lodge.guild.ab.ca> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/22137: rpm-3.0.6 port does not compile on 4.1.1-STABLE Message-ID: <200010192350.RAA45506@lodge.guild.ab.ca>
next in thread | raw e-mail | index | archive | help
>Number: 22137 >Category: ports >Synopsis: rpm-3.0.6 port does not compile on 4.1.1-STABLE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 19 17:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Chad David >Release: FreeBSD 4.1.1-STABLE i386 >Organization: Guild Software Inc. >Environment: 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Fri Oct 20 03:02:34 GMT 2000 >Description: The rpm-3.0.6 port does not comple on 4.1.1 stable as lib/transaction.c in and around line 1235 uses struct statfs which is not defined in any of the included header files. STATFS_IN_SYS_MOUNT is not getting defined by configure, so sys/mount.h is not being included. >How-To-Repeat: cd /usr/ports/misc/rpm make >Fix: I am not a configure expert, but I believe the correct fix is to modifiy the configure script around line 7174 to properly detect that sys/mount.h is required. A worse, but easier fix is to just to patch a #define STATFS_IN_SYS_MOUNT 1 into lib/transaction.c. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010192350.RAA45506>