Opened 12 years ago

Closed 12 years ago

#3637 closed defect (invalid)

osx-packager.pl fails on flac xmms plugin when libraries already exist under /sw

Reported by: anonymous Owned by:
Priority: minor Milestone: unknown
Component: contrib Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When using the osx-packager.pl script to build MythFrontend packages for the Mac, the Flac libraries fail while trying to install the xmms-plugin for flac into /sw. The following output is the error received.

Making install in metaflac
/bin/sh ../../mkinstalldirs /nobackup/myth/.osx-packager/build/bin
  /bin/sh ../../libtool --mode=install /usr/bin/install -c metaflac /nobackup/myth/.osx-packager/build/bin/metaflac
/usr/bin/install -c .libs/metaflac /nobackup/myth/.osx-packager/build/bin/metaflac
make[3]: Nothing to be done for `install-data-am'.
Making install in monkeys_audio_utilities
Making install in flac_mac
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in flac_ren
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in plugin_common
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in plugin_xmms
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /sw/lib/xmms/Input
 ../../libtool-disable-static --mode=install /usr/bin/install -c  libxmms-flac.la /sw/lib/xmms/Input/libxmms-flac.la
/usr/bin/install -c .libs/libxmms-flac.so /sw/lib/xmms/Input/libxmms-flac.so
install: /sw/lib/xmms/Input/libxmms-flac.so: Permission denied
make[3]: *** [install-xmmsinputpluginLTLIBRARIES] Error 71
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
[osx-pkg] Failed system call: " /usr/bin/make all install " with error code 2
Died at /nobackup/myth/.osx-packager/src/myth-svn/mythtv/contrib/OSX/osx-packager.pl line 707.

Modifying the osx-packager.pl script to exclude xmms-plugin from the flac build allows the compile to continue.

  'flac' =>
  {
    'url' => "$sourceforge/sourceforge/flac/flac-1.1.4.tar.gz",
    # Workaround Intel problem - Missing _FLAC__lpc_restore_signal_asm_ia32
    'conf' => [ '--disable-asm-optimizations', 
                '--disable-xmms-plugin' ]
  },

Change History (6)

comment:1 Changed 12 years ago by Nigel

I assume you have Fink packages installed? What is your path? Can you try a build with /sw/bin removed from your path?

comment:2 Changed 12 years ago by Nigel

Or, if you can provide the full output from osx-packager.pl --verbose

comment:3 Changed 12 years ago by stuartm

Owner: changed from Isaac Richards to Nigel
Status: newassigned

comment:4 Changed 12 years ago by stuartm

Owner: Nigel deleted
Status: assignednew

comment:5 Changed 12 years ago by stuartm

Status: newinfoneeded_new

comment:6 Changed 12 years ago by Janne Grunau

Resolution: invalid
Status: infoneeded_newclosed

closing this since it waits since 8 months for a response of the reporter

Note: See TracTickets for help on using tickets.