Bug 2336 - cannot rebuild src.rpm
Summary: cannot rebuild src.rpm
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: samba3 (show other bugs)
Version: unstable
Hardware: all Linux
: P5 minor
Assignee: Dmitry V. Levin
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-06 18:01 MSK by Vitaly A. Ostanin
Modified: 2003-09-01 11:31 MSD (History)
1 user (show)

See Also:


Attachments
0002336-rpm.qa (5.33 KB, application/octet-stream)
2003-03-06 18:01 MSK, Vitaly A. Ostanin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.