Opened 15 years ago

Closed 15 years ago

#23417 closed defect (duplicate)

Amarok fails during the install stage

Reported by: macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: amarok install Cc:
Port: amarok

Description

This appears to be a regression of r47748 reported by #18741. I do not have privileges to reopen tickets.

Fresh port tree, clean amarok. MacOS 10.6.2, XCode 3.2 (1610).

There is no amarok.app directory inside the ${destroot}${prefix}/bin directory to move.

Thanks. I can provide full build debug.

Failure

DEBUG: Executing proc-post-org.macports.destroot-destroot-0
mv: rename /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/destroot/opt/local/bin/amarok.app/Contents/Resources/* to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/destroot/Applications/MacPorts/KDE4/Amarok.app/Contents/Resources/*: No such file or directory
0 apollo local/bin % pwd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_amarok/work/destroot/opt/local/bin

0 apollo local/bin % ls -aFlq
total 208
drwxr-xr-x   3 root  admin     102 Jan 24 11:12 ./
drwxr-xr-x  13 root  admin     442 Jan 24 11:11 ../
-rwxr-xr-x   1 root  admin  212432 Jan 24 11:11 amarokmp3tunesharmonydaemon*

Portfile

0 apollo kde/amarok % pwd
/opt/local/var/macports/sources/rsync.macports.org/release/ports/kde/amarok

0 apollo kde/amarok % cat Portfile 
# $Id: Portfile 61914 2009-12-23 21:36:13Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           kde4    1.0

name                amarok
version             2.2.0
categories          kde kde4
maintainers         illogic-al openmaintainer
description         Amarok, the world-renowned media player.
long_description    Amarok is a music player and manager with an intuitive \
                    interface. It provides a variety of feature which helps \
                    to discover and manage your music.
platforms           darwin
homepage            http://amarok.kde.org
master_sites        kde:stable/${name}/${version}/src/
use_bzip2           yes
checksums           md5 5a0188c5eb7d343109b82964942d8eb5

depends_lib-append  port:kdebase4-runtime port:kdelibs4 \
                    port:qtscriptgenerator port:liblastfm \
                    port:taglib port:taglib-extras \
                    port:loudmouth \
                    path:bin/mysql_config5:mysql5

pre-configure {
    if {![file exists ${prefix}/lib/mysql5/mysql/libmysqld.a]} {
        ui_error "${name} cannot be installed because MySQL was not installed with the libmysqld embedded server."
        return -code error "incompatible MySQL installation"
    }
}

patchfiles          patch-src-app-mac.patch
patch.dir           ${workpath}/${distname}
patch.pre_args      -p1

configure.env           QTDIR=${prefix}/libexec/qt4-mac
configure.args-append   ../${distname}

post-destroot {
    # Place bundle icons in correct location
        system "mv ${destroot}${prefix}/bin/amarok.app/Contents/Resources/* ${destroot}${applications_dir}/KDE4/Amarok.app/Contents/Resources/"
        system "rm -rf ${destroot}${prefix}/bin"
}

Change History (2)

comment:1 Changed 15 years ago by macports@…

Oops, dupe of #22144

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.