mittfh Posted May 31, 2009 Report Share Posted May 31, 2009 After noticing several duplicate files in my music collection (the result of saving to backup, reorganising, saving to backup again, then restoring...), I thought I'd download and install fslint to find the rest of 'em... [ -f /etc/mandrake-release ] && pkg=rpm svn checkout [url="http://fslint.googlecode.com/svn/trunk/"]http://fslint.googlecode.com/svn/trunk/[/url] fslint-2.29 tar czf fslint-2.29.tar.gz --exclude=.svn fslint-2.29 So far, so good... However, the next command in sequence... sudo rpmbuild -ta fslint-2.29.tar.gz ...returns with... RPM build errors: File not found by glob: /root/rpmbuild/BUILDROOT/fslint-2.29-2.mdv.i386/usr/share/fslint/fslint/supprt/rmlint/fixdup.py[oc] What's going wrong? (And yes, I have successfully added myself to sudoers - although I wondered shy it didn't appear to work at first... ...until I RTFM and discovered it's asking for my password, not roots!) [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
dexter11 Posted June 1, 2009 Report Share Posted June 1, 2009 From what I read you shouldn't build packages as root. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted June 1, 2009 Report Share Posted June 1, 2009 I agree with dexter, you shouldn't be building packages as root, and I won't waste any of my time debating that issue. I would suggest that you follow these instructions to set up a special build tree: Development/Howto/RPM I've built you (or anyone else that needs it) an fslint rpm. :) I've made it, installed it, and tested it on a Mandriva 2009.1 system. If you have any questions, please check the ‎/usr/share/doc/fslint directory for help. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details, which is available at www.gnu.org I'll attach it here for awhile: Quote Link to comment Share on other sites More sharing options...
Guest Pádraig Brady Posted June 19, 2009 Report Share Posted June 19, 2009 Thanks Greg for providing the package. I've updated the repository to fix mandriva support, so mittfh, if you would like to follow the Mandriva instructions for building and installing the RPM as detailed here http://www.pixelbeat.org/fslint/ I would appreciate it. thanks again! Pádraig. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted June 20, 2009 Report Share Posted June 20, 2009 You're welcome, Pádraig. Thanks for all of your work on this program, I use it with my music and photo files. Quote Link to comment Share on other sites More sharing options...
Sagittarius Posted August 4, 2009 Report Share Posted August 4, 2009 Thanks for the tip. I've built it for 2009.1 noarch here. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.