#musicbrainz

/

      • Leftmost
        Well, when I'm less tired I'll add these releases and ask for thoughts on them.
      • _dmn joined the channel
      • _dmn
        Hey, when I try to run the code I've written using libmusicbrainz, I get an error saying
      • error while loading shared libraries: libmusicbrainz5.so.0: cannot open shared object file: No such file or directory
      • what should I do?
      • kepstin-work
        _dmn: sounds like your libmusicbrainz isn't installed correctly... where did you get it from? a distribution package, manually installed?
      • _dmn: what linux distribution are you using?
      • _dmn
        kepstin-work: I installed it manually
      • kepstin-work: I'm using archlinux
      • kepstin-work
        huh, I thought there was an archlinux package for it.
      • Mineo
        there's one for libmusicbrainz3, 4 and 5 :)
      • kepstin-work
        _dmn: what does this command output: `pkg-config --variable=libdir libmusicbrainz5` ?
      • _dmn
        Package libmusicbrainz5 was not found in the pkg-config search path. Perhaps you should add the directory containing `libmusicbrainz5.pc' to the PKG_CONFIG_PATH environment variable. No package 'libmusicbrainz5' found.
      • derwin
        13:42 < CallerNo6:#musicbrainz> I would argue that somebody like Alan Lomax had a huge role in the material he recorded
      • +1
      • kepstin-work
        _dmn: sounds like your package isn't installed correctly :)
      • _dmn
        kepstin-work: ^^
      • kepstin-work
        you must have not installed it to a prefix in your system that's in the library search paths
      • derwin
        how about this case : http://www.folkways.si.edu/lead-belly/last-sess... where the recorder is audible, prompting leadbelly etc
      • kepstin-work
        _dmn: just install it from a distribution package, should save you a bit of pain.
      • _dmn
        kepstin-work: Oh..k. Thanks.
      • kepstin-work
        _dmn: the package is called "libmusicbrainz5", and it's in the "Extra" repository. https://www.archlinux.org/packages/extra/x86_64...
      • _dmn
        kepstin-work: The source code doesn't contain pkgbuild :-/
      • Mineo
        _dmn: you don't need a pkgbuild to install a package that's in the official repositories, a simple "pacman -S libmusicbrainz5" will suffice
      • kepstin-work
        _dmn: open a terminal as root, and run the command "pacman -S libmusicbrainz5"
      • then tada! it installs
      • like any other system package ;?
      • _dmn
        kepstin-work: I wanted to build it manually.
      • kepstin-work
        _dmn: why?
      • _dmn
        kepstin-work: Working on a project.
      • kepstin-work can't imagine any reason why a project would require modifying libmusicbrainz5 - it's really tied tightly to the webservice, and doesn't need changing unless the webservice changes
      • hasil joined the channel
      • kepstin-work
        but yeah, the libmusicbrainz build system is kinda confusing. i'm not a cmake fan.
      • by default it installs to /usr/local tho - which should be fine
      • did you remember to run 'make install' as root after you built it?
      • _dmn
        kepstin-work: Yup.
      • kepstin-work
        so, you should have the file /usr/local/lib/libmusicbrainz5.so.0 - do you?
      • Prophet5 joined the channel
      • _dmn
        kepstin-work: Yes, I do.
      • kepstin-work
        hmm. ok, so arch must be doing something strange with the library paths then; /usr/local/lib should normally be in the search path
      • their pkg-config isn't checking /usr/local either
      • and installing it manually to /usr isn't a good idea, since that might collide with the distribution package
      • ijabz
        reosarevok: yo
      • JonnyJD
        _dmn: you can get the PKGBUILD from the origial package with "abs extra/libmusicbrainz5"
      • oh and I remember, there is something fishy with th pkg-config in arch, but only for lmb3 and lmb, lmb5 was fine imho
      • kepstin-work
        I wonder why arch didn't find the library under /usr/local with the manually installed package
      • do they have a patched pkg-config that doesn't check under /usr/local for pkg-config files?
      • _dmn
        kepstin-work: I changed the patch to /usr and tried; works fine :)
      • kepstin-work
        it should be installed to /usr/local/lib/pkgconfig/libmusicbrainz5.pc, which is in the default pkg-config search path
      • JonnyJD
      • _dmn
        patch*
      • path*
      • JonnyJD
        _dmn: but really. You can create your own package if you think you need to change things (or use -git),but you should start with a copy of the official package then
      • _dmn: https://projects.archlinux.org/svntogit/package... the PKGBUILD and a patch that is applied
      • by the way, that patch is hopefully reported "upstream" and in "master" now
      • _dmn
        JonnyJD: Now that I've installed it in /usr, will it be a problem in the future?
      • kepstin-work
        with exherbo we've seen so many packages not work with out-of-source builds that we added a special mode to our multilib builds that copies the entire source directory rather than doing out-of-source builds
      • _dmn: strange things might happen if you later install the distribution package.
      • JonnyJD
        patch by luks an ahawkins, I would be very suprised if that isn't applied upstream
      • Jozo
        (It's just easier build debian package than build out of dpkg and later remember what you did past... also easier remove and so)
      • JonnyJD
        _dmn: what kepstin-work says. It WILL lead to problems later on. Although these are easy to fix. Just remove your local copy again. Another problem is that you don't have a package and therefore no "provides"
      • kepstin-work
        so now if you install a package that wants libmusicbrainz5, it'll pull it in from pacman and overwrite yours
      • i really don't know why the /usr/local one didn't work; the arch folks must have screwed that up somehow :(
      • _dmn
        kepstin-work: I don't think I'll use pacman to install it again.
      • JonnyJD
        well, it won't install. The installation will complain about conflicts in /usr and exit.
      • kepstin-work
        _dmn: but it might get pulled in as a dependency of something else
      • _dmn
        kepstin-work: Oh yeah. Crap..
      • Jozo
        (I use /opt or some other weird dir to install if I build something out of package manager.... LD_* variables is easy to use)
      • _dmn
        And is there any other proper documentation for libmusicbrainz C API apart from the one given on the main website?
      • or examples
      • ruaok joined the channel
      • kepstin-work
        not really :/
      • _dmn
        kepstin-work: no example programs also?
      • JonnyJD
      • intgr
        "Whoops. Our bad.
      • ?
      • Looks like the MusicBrainz side of CAA is broken now.
      • nikki
        hm?
      • intgr
      • _dmn
        JonnyJD: kepstin-work: Thanks guys, for your help.
      • intgr
        nikki: Does it work for you?
      • nikki
        no
      • I just pointed it out to ocharles
      • it's probably because we're having a lot of server issues at the moment and we've been pointing various things to different servers and forgetting to update everything
      • hasil1 joined the channel
      • intgr
        Is there a Nagios check for the CAA images?
      • nikki
        intgr: should work now
      • intgr
        Still dog-slow, but indeed it works.
      • Jozo
        intgr: You have bot. Can you get it to do some task.... example get discogs cover art for every linked release for defined (finnish) artist... Or Have I do it my self.....
      • reosarevok
        ijabz: I was out, sowwy
      • intgr
        Jozo: Probably half a day of coding, but Discogs doesn't have cover art types and has low-resolution artwork so I haven't bothered.
      • reosarevok
        ijabz: nikki and I were wondering if changing all the "vocal" attributes to be "whatever vocals" would cause any problems for Jaikos
      • (so, instead of the relationship being "performed 'soprano' vocals", it would be "performed 'soprano vocals'"
      • )
      • nikki
        ijabz: basically, do you do anything special with vocal relationships in your taggers?
      • Jozo
        intgr: discogs has still has ordered list cover art?
      • intgr
        Jozo: Oh, someone has already written "discogs_cover_art.py"
      • Ordered list cover art?
      • reosarevok
        intgr: well, the first picture in discigs is 99% of times Front I guess is what he means
      • discogs even
      • Jozo
        intgr: I don't want set bot for just pretty easy task. I like if some one else command bot, I can review edits.
      • intgr: (I'm not read discosgs apis, but front is usually first in web pages)
      • intgr
        Jozo: I can give it a try, what artist?
      • Jozo
        500
      • intgr
        What 500?
      • xplt
        Error?
      • _dmn has left the channel
      • Jozo
        intgr: "Leevi and the Leavings" my first. I added and reviewed discogs links in this year.
      • (and there is not so many to do)
      • intgr
        What's your MB username?
      • kaik?
      • Jozo
        intgr: yep
      • intgr
        Wow you can speak No linguistic content? :)
      • Jozo
        =)
      • reosarevok
        intgr: well, he's a Finn
      • They're good at silence, aren't they :p
      • kepstin-work
        hanr et fdhs ag re uyieruth skfdh, asdfdfg
      • intgr
        kepstin-work: Nope, that's written in Gibberish.
      • kepstin-work
        i didn't say i was speaking in no linguistic content :)
      • in fact, i kinda didn't say anything at all with meaning.
      • reosarevok
        Hmm
      • kepstin-work
        hmm, android 2.3 behaves weirdly when the top status bar panel crashes
      • reosarevok
        I guess No linguistic content != No semantic content
      • kepstin-work
        took down the network panel as well :/
      • xplt
        I'm sick of these "502"s :( Do you have status page for servers?
      • kepstin-work was in fact just randomly mashing keys on a keyboard
      • kepstin-work
        xplt: there's some detailed monitoring pages, but no user-friendly 'status' :/
      • people would forget to update it anyways :)
      • xplt
        I see :-/
      • kepstin-work
        basically, there are server issues atm, the replacement db server is overloaded, and it'll stay that way until it can be replaced :/
      • there may be plans to mitigate some of the load by moving part of the webservice to a read-only db mirror
      • xplt
        Any ETA?
      • kepstin-work
        none that I know of; probably be at least a day
      • intgr
        What happened to the database server?
      • kepstin-work
        intgr: i dunno, i missed that part
      • they moved the db to baron, the failover server.
      • i think pingu's completely out, due to possible ram/motherboard failure
      • nikki
        pingu's out so we can replace the motherboard and ram. tests on them apparently weren't showing any problems but we're replacing them anyway because pingu's been acting up
      • ijabz
        nikki, reosarevok back now
      • no, thanks for asking but I don't currently make use of vocal relationships
      • nikki
        not entirely sure why totoro is out, other than that totoro's also been acting up
      • intgr
        WTF, this "discogs_cover_art.py" thing is a dependency hell
      • nikki
        ijabz: ah, good to know :)
      • kepstin-work
        sounds like the issue right now is that the db server is somewhat overloaded (cpu usage?)
      • nikki
        for baron, yes. it's not as powerful as totoro apparently
      • kepstin-work
        which of course makes things run slower, which causes 502s :(
      • ijabz
        and whats wrong with totoro ?
      • Jozo
        intgr: If that was too much to ask, don't bother. I can do myself someday.... (Just hint that every bot script is useful when it can take arguments)
      • nikki
        all I know about that is that it had maxed out network transfer three times in the last couple of days
      • intgr
        Jozo: Already working on making the dependencies optional οΊ•