Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#39401 - [xbase] build fails
Attached to Project:
Arch Linux
Opened by Joel Teichroeb (klusark) - Friday, 14 March 2014, 02:24 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 20 April 2014, 09:09 GMT
Opened by Joel Teichroeb (klusark) - Friday, 14 March 2014, 02:24 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 20 April 2014, 09:09 GMT
|
DetailsDescription:
/bin/sh ../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I/build/xbase/src/xbase-2.0.0 -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c expproc.cpp dbf.cpp: In member function 'xbShort xbDbf::OpenDatabase(const char*)': dbf.cpp:915:31: error: 'F_SETLKW' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_RDLCK, 0L )) != XB_NO_ERROR) ^ dbf.cpp:915:41: error: 'F_RDLCK' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_RDLCK, 0L )) != XB_NO_ERROR) ^ dbf.cpp:1028:21: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp:1028:30: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp: In member function 'xbShort xbDbf::AppendRecord()': dbf.cpp:1089:31: error: 'F_SETLKW' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_WRLCK, 0L )) != XB_NO_ERROR) ^ dbf.cpp:1089:41: error: 'F_WRLCK' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_WRLCK, 0L )) != XB_NO_ERROR) ^ dbf.cpp:1095:24: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp:1095:33: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp:1106:38: error: 'F_SETLKW' was not declared in this scope if(( rc = i->index->LockIndex( F_SETLKW, F_WRLCK )) != XB_NO_ERROR ) ^ dbf.cpp:1106:48: error: 'F_WRLCK' was not declared in this scope if(( rc = i->index->LockIndex( F_SETLKW, F_WRLCK )) != XB_NO_ERROR ) ^ dbf.cpp:1236:21: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp:1236:30: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp:1241:28: error: 'F_SETLK' was not declared in this scope i->index->LockIndex( F_SETLK, F_UNLCK ); ^ dbf.cpp:1241:37: error: 'F_UNLCK' was not declared in this scope i->index->LockIndex( F_SETLK, F_UNLCK ); ^ dbf.cpp: In member function 'xbShort xbDbf::GetRecord(xbULong)': dbf.cpp:1298:31: error: 'F_SETLKW' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_RDLCK, RecNo )) != 0 ) return rc; ^ dbf.cpp:1298:41: error: 'F_RDLCK' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_RDLCK, RecNo )) != 0 ) return rc; ^ dbf.cpp:1303:24: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1303:33: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1318:24: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1318:33: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1327:21: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1327:30: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1334:21: error: 'F_SETLKW' was not declared in this scope LockDatabase( F_SETLKW, F_UNLCK, RecNo ); ^ dbf.cpp:1334:31: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLKW, F_UNLCK, RecNo ); ^ dbf.cpp: In member function 'xbShort xbDbf::PutRecord(xbULong)': dbf.cpp:1680:31: error: 'F_SETLKW' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_WRLCK, RecNo )) != XB_NO_ERROR ) ^ dbf.cpp:1680:41: error: 'F_WRLCK' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_WRLCK, RecNo )) != XB_NO_ERROR ) ^ dbf.cpp:1686:31: error: 'F_SETLKW' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_WRLCK, 0L )) != XB_NO_ERROR ) ^ dbf.cpp:1686:41: error: 'F_WRLCK' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_WRLCK, 0L )) != XB_NO_ERROR ) ^ dbf.cpp:1690:24: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1690:33: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1698:27: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1698:36: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1715:38: error: 'F_SETLKW' was not declared in this scope if(( rc = i->index->LockIndex( F_SETLKW, F_WRLCK )) != XB_NO_ERROR ) ^ dbf.cpp:1715:48: error: 'F_WRLCK' was not declared in this scope if(( rc = i->index->LockIndex( F_SETLKW, F_WRLCK )) != XB_NO_ERROR ) ^ dbf.cpp:1756:28: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1756:37: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1763:35: error: 'F_SETLK' was not declared in this scope i->index->LockIndex( F_SETLK, F_UNLCK ); ^ dbf.cpp:1763:44: error: 'F_UNLCK' was not declared in this scope i->index->LockIndex( F_SETLK, F_UNLCK ); ^ dbf.cpp:1777:28: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1777:37: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1784:35: error: 'F_SETLK' was not declared in this scope i->index->LockIndex( F_SETLK, F_UNLCK ); ^ dbf.cpp:1784:44: error: 'F_UNLCK' was not declared in this scope i->index->LockIndex( F_SETLK, F_UNLCK ); ^ dbf.cpp:1806:26: error: 'F_SETLK' was not declared in this scope rc = LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1806:35: error: 'F_UNLCK' was not declared in this scope rc = LockDatabase( F_SETLK, F_UNLCK, RecNo ); ^ dbf.cpp:1824:28: error: 'F_SETLK' was not declared in this scope i->index->LockIndex( F_SETLK, F_UNLCK ); ^ dbf.cpp:1824:37: error: 'F_UNLCK' was not declared in this scope i->index->LockIndex( F_SETLK, F_UNLCK ); ^ dbf.cpp: In member function 'xbShort xbDbf::DeleteRecord()': dbf.cpp:1883:31: error: 'F_SETLKW' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_WRLCK, CurRec )) != XB_NO_ERROR ) ^ dbf.cpp:1883:41: error: 'F_WRLCK' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_WRLCK, CurRec )) != XB_NO_ERROR ) ^ dbf.cpp:1887:31: error: 'F_SETLKW' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_WRLCK, 0L )) != XB_NO_ERROR ) ^ dbf.cpp:1887:41: error: 'F_WRLCK' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_WRLCK, 0L )) != XB_NO_ERROR ) ^ dbf.cpp:1889:24: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, CurRec ); ^ dbf.cpp:1889:33: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, CurRec ); ^ dbf.cpp:1897:27: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, CurRec ); ^ dbf.cpp:1897:36: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, CurRec ); ^ dbf.cpp:1910:38: error: 'F_SETLKW' was not declared in this scope if(( rc = i->index->LockIndex( F_SETLKW, F_WRLCK )) != XB_NO_ERROR ) ^ dbf.cpp:1910:48: error: 'F_WRLCK' was not declared in this scope if(( rc = i->index->LockIndex( F_SETLKW, F_WRLCK )) != XB_NO_ERROR ) ^ dbf.cpp:1982:21: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, CurRec ); ^ dbf.cpp:1982:30: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, CurRec ); ^ dbf.cpp:1990:28: error: 'F_SETLK' was not declared in this scope i->index->LockIndex( F_SETLK, F_UNLCK ); ^ dbf.cpp:1990:37: error: 'F_UNLCK' was not declared in this scope i->index->LockIndex( F_SETLK, F_UNLCK ); ^ dbf.cpp: In member function 'long int xbDbf::NoOfRecords()': dbf.cpp:2744:31: error: 'F_SETLKW' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_RDLCK, 0L )) != XB_NO_ERROR ) ^ dbf.cpp:2744:41: error: 'F_RDLCK' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_RDLCK, 0L )) != XB_NO_ERROR ) ^ dbf.cpp:2753:27: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp:2753:36: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp:2769:21: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp:2769:30: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp: In member function 'long int xbDbf::PhysicalNoOfRecords()': dbf.cpp:2793:31: error: 'F_SETLKW' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_RDLCK, 0L )) != XB_NO_ERROR ) ^ dbf.cpp:2793:41: error: 'F_RDLCK' was not declared in this scope if(( rc = LockDatabase( F_SETLKW, F_RDLCK, 0L )) != XB_NO_ERROR ) ^ dbf.cpp:2802:27: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp:2802:36: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp:2814:21: error: 'F_SETLK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp:2814:30: error: 'F_UNLCK' was not declared in this scope LockDatabase( F_SETLK, F_UNLCK, 0L ); ^ dbf.cpp: In member function 'xbShort xbDbf::OpenDatabase(const char*)': dbf.cpp:984:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread( &buf, 1, 32, fp ); ^ Makefile:296: recipe for target 'dbf.lo' failed make[1]: *** [dbf.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/build/xbase/src/xbase-2.0.0/xbase' Makefile:239: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 ==> ERROR: A failure occurred in build(). Aborting... Steps to reproduce: sudo extra-x86_64-build |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Sunday, 20 April 2014, 09:09 GMT
Reason for closing: Fixed
Additional comments about closing: xbase 2.0.0-3
Sunday, 20 April 2014, 09:09 GMT
Reason for closing: Fixed
Additional comments about closing: xbase 2.0.0-3
I tried by setting CPP to /usr/bin/cpp but the configure seems to ignore it.
I'm reporting here in the case someone wants to take a look.