On 9/21/05, Chris Grau <chris@xxxxxxxxxxxxx> wrote: > > > > > > I am trying to build a rpm for gnome-games-2.12, but I get the following error: > > > > > > > > > > > > # rpm -ihv gnome-games-2.12.0-1.i386.rpm > > > > > > Preparing... ########################################### [100%] > > > > > > file /var/log/scrollkeeper.log from install of > > > > > > gnome-games-2.12.0-1 conflicts with file from package > > > > > > scrollkeeper-0.3.14-5 > > > > > > > > > > It's a file conflict! The message is quite specific. > > > > > > > > > > I'm assuming the following - if you're not doing thes consult some docs > > > > > on howto[0]: > > > > > > > > > > 1) You're not building as root > > > > > 2) You are using BuildRoot in your sepc > > > > > > > > > > > > > > > Check your payload and %files section of your built rpm. Do rpmbuild > > > > > -bi gnome-games.spec and then check the build root, to see if there is > > > > > a <path to RPM_BUILD_ROOT>/var/log/scrollkeeper.log file in there, > > > > > figure out what is generating it or nuke it in %install or use %exclude > > > > > in the files list. > > > > > > > > Thanks, Paul. Yes, am build as root and I am using BuildRoot in my > > > > spec. I have done the following: > > > > > > > > * copied gnome-games tarball into > > > > > > > > /usr/src/redhat/SOURCES > > > > > > > > * copied gnome-games-spec into > > > > > > > > /usr/src/redhat/SPECS > > > > > > > > but when I run the command > > > > > > > > rpmbuild -bi gnome-games.spec > > > > > > > > I get the following error: > > > > > > > > # rpmbuild -bi gnome-games.spec > > > > error: Legacy syntax is unsupported: copyright > > > > error: line 16: Unknown tag: Copyright: GPL > > > > # > > > > > > > > Replacing Copyright with Licence does not help. > > > > > > > > Any ideas? > > > > > > Try the American English spelling for "License"? > > > > Thanks, Chris. Now, I get the following errors: > > > > RPM build errors: > > File not found by glob: /var/tmp/gnome-games-2.12.0-root/usr/lib/*.so.* > > File not found: /var/tmp/gnome-games-2.12.0-root/usr/include/gdkcardimage > > File not found by glob: /var/tmp/gnome-games-2.12.0-root/usr/lib/*.so > > > > Maybe a problem of dependencies? > > That means you have entries in your %files section that aren't installed > to the build root in your %install section. Any more than that, I don't > have the information to tell you. Thanks, Chris. The problem was solved meanwhile by a developer of the program whose rpm I was trying to build. Paul _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list