Bug 2336

Summary: cannot rebuild src.rpm
Product: Sisyphus Reporter: Vitaly A. Ostanin <vyt>
Component: samba3Assignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P5 CC: ab
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
0002336-rpm.qa none

Description Vitaly A. Ostanin 2003-03-06 18:01:10 MSK
На свежеустановленном (Master 2.0) и просизифленом сервере не пересобирается samba3-3.0-alt7.src.rpm

Список установленных пакетов приложен в файле rpm.qa

Вывод последних строк сборки:

Compiling lib/ldap_escape.c
Compiling printing/printing.c
Compiling printing/nt_printing.c
Compiling printing/notify.c
Compiling printing/printing_db.c
Compiling smbd/quotas.c
smbd/quotas.c: In function `get_smb_linux_vfs_quota\':
smbd/quotas.c:115: storage size of `D\' isn\'t known
smbd/quotas.c:115: warning: unused variable `D\'
make: *** [smbd/quotas.o] Error 1
ошибка: Неверный код возврата из /home/vyt/tmp/rpm-tmp.9944 (%build)


Ошибки сборки пакетов:
    Неверный код возврата из /home/vyt/tmp/rpm-tmp.9944 (%build)

---

---

Comment 1 Alexander Bokovoy 2003-08-25 21:53:04 MSD
This is a problem with glibc-kernheaders, not samba. glibc-kernheaders package
provided outdated version of quota.h incompatible with kernel's one.
This is known problem across Linux distributions, SuSE also has it.

In my opinion fix should have a merge between linux/quota.h and sys/quota.h to
provide proper structs and ioctl numbers.
Comment 2 Dmitry V. Levin 2003-08-28 19:38:57 MSD
Seems to be fixed; 
tested with samba3-3.0-alt26.src.rpm 
 
Please open another bug report if you think quota.h problem requires additional 
attention.