Jump to content

Why won't fslint build?


Recommended Posts

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]

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

  • 3 weeks later...
Guest Pádraig Brady

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.

Link to comment
Share on other sites

  • 1 month later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...