Bug 18245 - Unable to rebuild the package
Summary: Unable to rebuild the package
Status: CLOSED NOTABUG
Alias: None
Product: Branch 4.0
Classification: Distributions
Component: librpm-devel (show other bugs)
Version: 4.0
Hardware: x86_64 Linux
: P2 normal
Assignee: Dmitry V. Levin
QA Contact: Q.A. 4.0
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-18 14:50 MSK by Grigory Batalov
Modified: 2008-12-19 04:05 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grigory Batalov 2008-12-18 14:50:30 MSK
rpm-utils-0.9.5-alt1 в бранче 4.0 не пересобирается с ошибкой:
...
g++  -pipe -Wall -Werror -O2 -D_GNU_SOURCE -I/usr/include/rpm  -c -o chkign.o ch
kign.cc
g++  -pipe -Wall -Werror -O2 -D_GNU_SOURCE -I/usr/include/rpm  -c -o chksubst.o 
chksubst.cc
In file included from rpmdbq.cc:28:
/usr/include/rpm/rpmmacro.h:177: warning: `sentinel' attribute directive ignored
/usr/include/rpm/rpmmacro.h:196: warning: `sentinel' attribute directive ignored
make[1]: *** [rpmdbq.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/src/RPM/BUILD/rpm-utils-0.9.5/src'
make: *** [all] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/rpm-utils-0.9.5'
error: Bad exit status from /usr/src/tmp/rpm-tmp.85241 (%build)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.85241 (%build)
Command exited with non-zero status 1
2.54user 0.30system 0:02.84elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+47937minor)pagefaults 0swaps
hsh-rebuild: rebuild of `rpm-utils-0.9.5-alt1.src.rpm' failed.
Comment 1 Dmitry V. Levin 2008-12-18 15:22:04 MSK
4.0.4-alt96.12-1-g328d65d:
rpmmacro.h (rpmGetPath, rpmExpand): Add __attribute__ ((sentinel))
Comment 2 Grigory Batalov 2008-12-18 18:29:54 MSK
Не понял, этот патч нужно откатить? Он был добавлен в rpm-4.0.4-alt77.M40.7 (а сейчас 4.0.4-alt77.M40.8).
Comment 3 Grigory Batalov 2008-12-19 04:05:58 MSK
Вероятно, здесь тоже виноват был неверный gcc (лог не сохранился). С параметром --without-stuff сборка удалась.