Roxanne Sandesara wrote:
I'm looking for anyone who might be able to help me puzzle out the cause and correction for a build error I'm getting with simscan. Every other package in the whole Toaster install came out wonderfully, but this.


What follows is a script taken during an attempt to build the package, and then a cat of the tmp file from the build.


In function 'open',
    inlined from 'make_cdb' at simscanmk.c:379:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [simscanmk.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/simscan-1.3.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/simscan-1.3.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.79697 (%build)




RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.79697 (%build)
[EMAIL PROTECTED]:/usr/src/redhat/[EMAIL PROTECTED] SRPMS]# cat /var/tmp/rpm-tmp.79697
#!/bin/sh


You're building for F8 using FC6 flags, right? F8 uses a new glibc and gcc, and specifically they require 3 sets for the open command:

int open(const char *pathname, int flags, mode_t mode);

(mode_t mode is the new set required). There is a compat package out there that will allow you to build the "older" packages like this, but I don't remember what it is off the top of my head (something like compat-gcc34 or some-such). Google around for it, or set up FC6 in VMWare and build it there and move it to your F8 machine. You could also root around in the source code and bring it up to date for your version of gcc and glibc. Since development on the 1.3 branch of QMT has been frozen by Erik I doubt there'll be a patch written to allow it to build on the newer distros. This shouldn't be a problem once the 1.4 branch is released.


---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to