Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
It seems to happen also with 8.3.3rc1 and to solve with the same patch as referred in August.... HIH, Gianluca On Thu, Aug 6, 2009 at 2:59 PM, Gianluca Cecchi <gianluca.cecchi at gmail.com>wrote: > Donna if already processed, but on my F11 x86_64, taking the sources > for 8.3.2, the command > make rpm > fails with: > ... > + /usr/lib/rpm/brp-compress > + /usr/lib/rpm/brp-strip > + /usr/lib/rpm/brp-strip-static-archive > + /usr/lib/rpm/brp-strip-comment-note > Processing files: drbd-8.3.2-3.x86_64 > error: Could not open %files file > > /home/gcecchi/drbd-8.3.2/dist/BUILD/drbd-8.3.2/home/gcecchi/drbd-8.3.2/dist/BUILD/drbd-8.3.2/file.list: > No such file or directory > > RPM build errors: > Could not open %files file > > /home/gcecchi/drbd-8.3.2/dist/BUILD/drbd-8.3.2/home/gcecchi/drbd-8.3.2/dist/BUILD/drbd-8.3.2/file.list: > No such file or directory > make: *** [rpm] Error 1 > > The path above is duplicated... > It seems that this patch get me right: > > [gcecchi]# diff -u -U 3 drbd.spec.in drbd.spec.in.new > --- drbd.spec.in 2009-07-03 15:34:01.000000000 +0200 > +++ drbd.spec.in.new 2009-08-06 14:46:48.936052656 +0200 > @@ -125,7 +125,7 @@ > %clean > [ -n $RPM_BUILD_ROOT -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf > $RPM_BUILD_ROOT > > -%files -f %{_builddir}/%{name}-%{version}/file.list > +%files -f file.list > %defattr(755,root,root) > /sbin/drbdsetup > /sbin/drbdadm > > Now the build process correctly completes with: > > + rm -rf /home/gcecchi/drbd-8.3.2/dist/install > + exit 0 > You have now: > -rw-r--r-- 1 gcecchi gcecchi 220881 2009-08-06 14:47 > dist/RPMS/x86_64/drbd-8.3.2-3.x86_64.rpm > -rw-r--r-- 1 gcecchi gcecchi 1147120 2009-08-06 14:47 > dist/RPMS/x86_64/drbd-km-2.6.29.6_217.2.3.fc11.x86_64-8.3.2-3.x86_64.rpm > > > Bye, > Gianluca > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090908/70c944d5/attachment.htm>