1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Don't upgrade MPD 0.18.10- bug, not working

Discussion in 'Tomato Firmware' started by leandroong, Apr 18, 2014.

  1. leandroong

    leandroong Addicted to LI Member

    opkg upgrade gives me new MPD version 0.18.10 which resulted in having my MPD not working. It won't load playlist and sometimes database error reading.
    I request that this be remove from opkg update list until proven to be working. Lucky that I have backup.

    edit: I tried current upgrade and new entware installation, faulty on both. Installation upgrade not yielding any error just not working. So, I refrain from doing any "opkg update and opkg upgrade" for the meantime.
     
    Last edited: Apr 18, 2014
  2. ryzhov_al

    ryzhov_al Networkin' Nut Member

    Hi!

    Please, report any problem on Issues page.

    Here is as mirror of packages which ever been created for Entware. In case you wish to use some previous version of any package, you may install it from this mirror.

    As for mpd, please write down output of following commands


    opkg install strace
    strace /opt/bin/mpd -v /opt/etc/mpd.conf


    on pastebin.com of similar site. If there will be more complains about new mpd, I'll roll back my upgrades down to mpd 0.16.8 as in OpenWRT trunk.


    BTW, you may mark any package to prevent it to be upgraded by:

    opkg hold mpd


    Regards, Alexander Ryzhov.
     
    Last edited: Apr 19, 2014
  3. leandroong

    leandroong Addicted to LI Member

    Thans for the information. Here is the result:

    1. report for strace /opt/bin/mpd -v /opt/etc/mpd.conf

    2. sample test run
    root@BTRouter2:/tmp/home/root# mpd /opt/etc/mpd.conf
    server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
    root@BTRouter2:/tmp/home/root# opkg load radio-country
    error: Connection refused
     
  4. ryzhov_al

    ryzhov_al Networkin' Nut Member

    There is no such package in Entware and never was. Use

    opkg list | grep <key word>

    or

    opkg find *<key word>*

    before install something or refer to full (auto generated) list of packages here.
     
  5. leandroong

    leandroong Addicted to LI Member

    my syntax error, it should be, "mpc load radio-country", same error.
    edit: radio-country is playlist file with extension of m3u.
    edit2: from mpd_0.18.5_error, from line 347, missing file messages appearing

    Code:
    open("/opt/entware-toolchain/lib/libFLAC.so.8", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/opt/lib/libFLAC.so.8", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0755, st_size=307316, ...}) = 0
    close(3)                                = 0
    open("/opt/entware-toolchain/lib/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/opt/lib/libstdc++.so.6", O_RDONLY) = 3
    fstat(3, {st_mode=S_IFREG|0755, st_size=821824, ...}) = 0
    close(3)                                = 0
    open("/opt/entware-toolchain/lib/libm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/opt/lib/libm.so.0", O_RDONLY)    = 3
    fstat(3, {st_mode=S_IFREG|0755, st_size=50420, ...}) = 0
    close(3)                                = 0
    open("/opt/entware-toolchain/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/opt/lib/libc.so.0", O_RDONLY)    = 3
    fstat(3, {st_mode=S_IFREG|0755, st_size=678856, ...}) = 0
    close(3)                                = 0
    open("/opt/entware-toolchain/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/opt/lib/libgcc_s.so.1", O_RDONLY) = 3
    
    edit3: I can test for new MPD compilation that you will produce.
     
    Last edited: Apr 19, 2014
  6. leandroong

    leandroong Addicted to LI Member

    here is sample of my current mpd, 0.17.5 run
     
  7. ryzhov_al

    ryzhov_al Networkin' Nut Member

    Thanks for report. Unfortunately, no any clues there.

    I have no mood for fighting with this bug forever, I want to pay my attention to ARM feed.

    Please, test the latest of 0.17.x:

    opkg --autoremove remove mpd
    opkg install http://files.ryzhov-al.ru/Temp/mpd-full_0.17.6-1_entware.ipk


    If it will be fine, I'll put it into repo.
     
  8. leandroong

    leandroong Addicted to LI Member

    root@BTRouter2:/tmp/home/root# mpc stop
    volume: 30% repeat: off random: on single: off consume: off
    root@BTRouter2:/tmp/home/root# killall -kill mpd
    root@BTRouter2:/tmp/home/root# opkg --autoremove remove mpd
    No packages removed.
    root@BTRouter2:/tmp/home/root#

    edit2: will use, opkg remove mpd-full and install ur version test

    edit3: problem with libaudiofile.so.1

    will try with clean entware install
     
    Last edited: Apr 19, 2014
  9. leandroong

    leandroong Addicted to LI Member

    edit4: Using clean entware install. I got this errors
    Code:
    root@BTRouter2:/opt# mpd /opt/etc/mpd.conf
    server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anywaybecause binding to '[::]:6600' succeeded)
    root@BTRouter2:/opt# mpc load radio-country
    error: Connection refused
    root@BTRouter2:/opt#
    
    Just roll back to old version, I got mine working using 0.17.5. I can check if I have that entware ipk if you want to use it.

    edit 4; my opkg list that has working mpd
    Code:
    root@BTRouter2:/opt# opkg list_installed
    alsa-lib - 1.0.27.2-1
    findutils - 4.5.12-1
    glib2 - 2.26.1-3
    ldconfig - 0.9.32-6
    libaudiofile - 0.2.7-1
    libbz2 - 1.0.6-1
    libc - 0.9.32-6
    libcurl - 7.34.0-1c
    libevent2 - 2.0.21-1
    libfaad2 - 2.7-2
    libffmpeg-full - 0.11.2-2
    libflac - 1.2.1-1
    libgcc - 4.6.4-6
    libgcrypt - 1.5.3-1
    libgnutls - 2.8.6-2
    libgpg-error - 1.9-1
    libiconv-full - 1.11.1-1
    libid3tag - 0.15.1b-3
    libidn - 1.18-1
    libintl-full - 0.18.2.1-1
    libmad - 0.15.1b-3
    libminiupnpc - 1.8-1
    libmms - 0.6-1
    libmpdclient - 2.4-1
    libogg - 1.3.1-1
    libopenssl - 1.0.1e-2
    libpthread - 0.9.32-6
    librt - 0.9.32-6
    librtmp - 2.4-20121209-1
    libshout - 2.3.1-1
    libsndfile - 1.0.25-2
    libsoup - 2.28.2-1
    libspeex - 1.2rc1-1
    libstdcpp - 4.6.4-6
    libtheora - 1.1.1-1
    libvorbis - 1.3.3-1
    libvorbisidec - 1.0.2+svn18153-1
    libxml2 - 2.7.8-2
    madplay - 0.15.2b-3
    mpc - 0.20-1
    mpd-full - 0.17.5-1
    msmtp - 1.4.31-1
    openssh-sftp-server - 6.4p1-5
    uclibc-opt - 0.9.32-4
    zlib - 1.2.8-1
    root@BTRouter2:/opt#
    
     
    Last edited: Apr 19, 2014
  10. leandroong

    leandroong Addicted to LI Member

    How about giving me your mpd-0.18.5 makefile? I will try to compile and test it here

    edit2: I have mpd-full_0.17.3-1_entware.ipk stored.
     
    Last edited: Apr 19, 2014
  11. ryzhov_al

    ryzhov_al Networkin' Nut Member

    'Cause you have to change bind_to_address in /opt/etc/mpd.conf

    Just tried 0.17.6, works fine. Take a look at my asciicast record.
     
  12. leandroong

    leandroong Addicted to LI Member

    1. from 0.17.5 upgrade to 0.17.6.
    2. test run
    Code:
    root@BTRouter2:/tmp/home/root# mpd /opt/etc/mpd.conf
    mpd: can't resolve symbol 'g_mutex_new' in lib 'mpd'.
    root@BTRouter2:/tmp/home/root#
    
    Maybe, it will work on other router. Hopefully, someone can test install it for verification also

    edit2: looks like the error is from glib, im using 2.26.1. where can I get the latest?
     
  13. leandroong

    leandroong Addicted to LI Member

    Good news, it works.
    1. upgrade 0.17.5 to 0.17.6
    2. opkg update && opkg upgrade
    3. without any modification about bind_to_address or anything, it just work
    Code:
    root@BTRouter2:/tmp/home/root# opkg upgrade
    root@BTRouter2:/tmp/home/root# mpd /opt/etc/mpd.conf
    listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
    root@BTRouter2:/tmp/home/root# mpc load radio-dance
    loading: radio-dance
    root@BTRouter2:/tmp/home/root# mpc play
    http://184.95.62.170:8002
    [playing] #44/52   0:00/0:00 (0%)
    volume: 30%   repeat: off   random: on    single: off   consume: off
    root@BTRouter2:/tmp/home/root#
    
    Will try upgrading it to 0.18.10 and see if it makes miracle. Result is still error
    Code:
    root@BTRouter2:/opt# opkg install http://entware.wl500g.ru/binaries/entware/arch
    ive/mpd-full_0.18.10-1_entware.ipk
    Downloading http://entware.wl500g.ru/binaries/entware/archive/mpd-full_0.18.10-1_entware.ipk.
    Upgrading mpd-full on root from 0.17.6-1 to 0.18.10-1...
    Configuring mpd-full.
    Collected errors:
    * resolve_conffiles: Existing conffile /opt/etc/mpd.conf is different from the conffile in the new package. The new conffile will be placed at /opt/etc/mpd.conf-opkg.
    root@BTRouter2:/opt# killall -kill mpd
    root@BTRouter2:/opt# mpd /opt/etc/mpd.conf
    server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
    root@BTRouter2:/opt# mpc load radio-chi-kor-jap
    error: Connection refused
    root@BTRouter2:/opt#
    
    I will settle at 0.17.6
     
    Last edited: Apr 19, 2014
  14. ryzhov_al

    ryzhov_al Networkin' Nut Member

    I'm closing this issue. mpd 0.17.6 is in repo. The newer version will be added only after it's proven as working.
     
  15. leandroong

    leandroong Addicted to LI Member

  16. leandroong

    leandroong Addicted to LI Member

    RE:0.18.10 problem (for info)

    Code:
    root@BTRouter2:/tmp/home/root# mpd /opt/etc/mpd.conf
    server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
    root@BTRouter2:/tmp/home/root# mpc load radio-korean
    error: Connection refused
    root@BTRouter2:/tmp/home/root# mpd --stdout --no-daemon --verbose
    config_file: loading file /opt/etc/mpd.conf
    server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
    path: SetFSCharset: fs charset is: UTF-8
    db: reading DB
    curl: version 7.36.0
    curl: with OpenSSL/1.0.1g
    fatal_error: eventfd() failed: Invalid argument
    
     

Share This Page