GithubHelp home page GithubHelp logo

Comments (7)

AngryPenguinPL avatar AngryPenguinPL commented on July 30, 2024 1

Yes, that's not a problem for me.

from libdnet.

ofalk avatar ofalk commented on July 30, 2024

Hi!

Thanks for opening this issue @AngryPenguinPL !

Looking at the full build log, it looks like you're missing libbsd(-devel). Can you try compiling with the same installed?

from libdnet.

AngryPenguinPL avatar AngryPenguinPL commented on July 30, 2024

Yes. With libbsd there is the same error
https://file-store.openmandriva.org/api/v1/file_stores/2a4359b39d46db091a79a8cac5f45e1e75710108.log?show=true

from libdnet.

ofalk avatar ofalk commented on July 30, 2024

Sorry for the late reply, but since I didn't have any OpenMandriva install at hand, I first had to get one running.

Can you try applying the following patch?

index d9cbc90..8201104 100644
--- a/python/dnet.pyx
+++ b/python/dnet.pyx
@@ -43,6 +43,9 @@ cdef extern from *:
 cdef extern from "string.h":
     int     strlcpy(char *dst, char *src, int size)
 
+cdef extern from "bsd/string.h":
+    int     strlcpy(char *dst, char *src, int size)
+
 cdef __memcpy(char *dst, object src, int n):
     if PyBytes_Size(src) != n:
         raise ValueError, "not a %d-byte binary string: %r" % (n, src)

from libdnet.

AngryPenguinPL avatar AngryPenguinPL commented on July 30, 2024

Yes, this patch works. Package now compiling fine.
Thanks.

from libdnet.

ofalk avatar ofalk commented on July 30, 2024

Thanks for the confirmation. I've fixed it in devel now. I guess you can live with having the patch in the RPM spec for the moment?

from libdnet.

ofalk avatar ofalk commented on July 30, 2024

Perfect! Thank you!

from libdnet.

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.