Giter Club home page Giter Club logo

Comments (4)

dholbert avatar dholbert commented on July 21, 2024

http://dholbert.pastebin.mozilla.org/1106632

I'm a bit new to github, so I'm not sure what the best way is to attach a patch. So I've just included one inline, as it's pretty trivial. The following patch fixes the issue for me and lets checkinstall run to completion. (I've confirmed that the generated .deb is functional, too)

EDIT: Replaced patch with a pastebin, since github's whitespace formatting seems to destroy tabs, even in 'pre' regions

Patch available here: http://dholbert.pastebin.mozilla.org/1106632

Basically, the "p" in "cp -Rp" isn't useful here -- it tells cp to preserve the user & timestamp & mode. It's counterproductive to preserve the user, though, since the source's owner might very well be a normal system-user-account, whereas we want the system-installed versions to be owned by root. Meanwhile, the timestamp isn't worth preserving, and the mode should get preserved automatically without any special request needed. (not to mention that these files don't have any special modes that need preserving)

(I'm not 100% sure what about timestamp-preservation confuses checkinstall, but I'm guessing it's something about trying to do an extra operation on the just-copied file, and getting confused because the file ended up in a checkinstall-generated temporary directory rather than at its expected location.)

from znc.

psychon avatar psychon commented on July 21, 2024

The usual way to attach a patch with github is to create your own clone of a repo, commit you changes there and then send a pull request.

from znc.

dholbert avatar dholbert commented on July 21, 2024

Done -- here's the pull request: #14

from znc.

psychon avatar psychon commented on July 21, 2024

Pulled that commit, thanks a lot

from znc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.