> Actually, rpm is displaying a warning message that I missed. "Target > buffer overflow". This signifies that a macro is expanding to a string > larger than the available buffer and is getting truncated. > > The problem is that on Solaris BUFSIZ is defined as 1024, rather than 8192 > as on Linux, which is too small for the __build_pre macro. > > To overcome this problem I made two changes to the openpkg.spec file: > 1) I added a call to find and perl to replace all reference to 'BUFSIZ' > with 'RPMBUFSIZ'. > 2) I added "-DBUFSIZ=1024" to the appropriate CFLAGS variable definition. > > After doing this I no longer have the problem, however, I expect that > would be better accomplished using a patch and a check in the configure > script to do the right thing. > > -Greg > > > > > -----Original Message----- > > From: Warnes, Gregory R > > Sent: Friday, July 12, 2002 3:43 PM > > To: Warnes, Gregory R; '[EMAIL PROTECTED]' > > Subject: RE: Problem building source packages > > > > Oh, I forgot to mention. This is under Solaris 8, with gcc > > 3.0.3 from http://www.sunfreeware.org. > > > > -Greg > > > > > -----Original Message----- > > > From: Warnes, Gregory R > > > Sent: Friday, July 12, 2002 3:42 PM > > > To: '[EMAIL PROTECTED]' > > > Subject: Problem building source packages > > > > > > > > > After wrestling with my paths and with a broken gcc install, > > > I've finally bootstrapped openpkg > > > openpkg-20020625-20020625.src.sh into > > > /net/gsun492/Volumes/app/appman/. > > > > > > Now, however, I get an error trying to compile *any* source package > > > > > > rpm-tmp.22379: line 24: unexpected EOF while looking > > > for matching `"' > > > rpm-tmp.22379: line 38: syntax error: unexpected end of file > > > > > > The offending line is: > > > > > > RPM_BUILD_ROOT="/net/cd /net/gsun492/Volumes/app/appman/RPM/TMP > > > > > > which seems to have two problems. First there is an extra > > > '/net/cd ', and second the string isn't terminated. > > > > > > > > > Where is this value computed, and how do I fix it? > > > > > > Thanks, > > > > > > Greg > > > > > > > > >
LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately. ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
