Cant build package with default rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postfix (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Ubuntu 12.04 LTS
Source package Postfix 2.9.1-5 0
The build process dies with
gcc -Wmissing-
../../lib/libdns.a: undefined reference to `__res_search'
../../lib/libdns.a: undefined reference to `__dn_expand'
collect2: выполнение ld завершилось с кодом возврата 1
make: *** [smtpd] Ошибка 1
make: Выход из каталога `/usr/src/
make[1]: *** [update] Ошибка 1
make[1]: Выход из каталога `/usr/src/
make: *** [build] Ошибка 2
dpkg-buildpackage: ошибка: debian/rules build возвратил код ошибки 2
To get rid of it I had to add -lresolv to AUXLIBS in debian/rules .
I am not able to reproduce this with the stock package, are you adding anything else to the package?