New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22408 (closed defect: worksforme)

Opened 4 years ago

Last modified 3 years ago

libmpdclient does not build

Reported by: thd042@… Owned by: rmsfisher@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: libmpdclient

Description (last modified by macsforever2000@…) (diff)

Error message is:

make[1]: *** [src/libmpdclient.la] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libmpdclient/work/libmpdclient-2.0" && /usr/bin/make -j1 all " returned error 2
Command output: /usr/bin/make  all-am
/bin/sh ./libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -std=gnu99 -DNDEBUG -O2 -arch i386 -Wall -W -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -version-info 2:0:0 -no-undefined -Wl,--version-script=./libmpdclient.ld -L/opt/local/lib -o src/libmpdclient.la -rpath /opt/local/lib async.lo ierror.lo resolver.lo capabilities.lo connection.lo database.lo directory.lo rdirectory.lo error.lo output.lo coutput.lo entity.lo idle.lo iso8601.lo list.lo mixer.lo parser.lo password.lo player.lo playlist.lo rplaylist.lo cplaylist.lo queue.lo quote.lo recv.lo response.lo run.lo search.lo send.lo socket.lo song.lo status.lo cstatus.lo stats.lo cstats.lo sync.lo tag.lo
libtool: link: /usr/bin/gcc-4.0 -std=gnu99 -dynamiclib  -o src/.libs/libmpdclient.2.dylib  .libs/async.o .libs/ierror.o .libs/resolver.o .libs/capabilities.o .libs/connection.o .libs/database.o .libs/directory.o .libs/rdirectory.o .libs/error.o .libs/output.o .libs/coutput.o .libs/entity.o .libs/idle.o .libs/iso8601.o .libs/list.o .libs/mixer.o .libs/parser.o .libs/password.o .libs/player.o .libs/playlist.o .libs/rplaylist.o .libs/cplaylist.o .libs/queue.o .libs/quote.o .libs/recv.o .libs/response.o .libs/run.o .libs/search.o .libs/send.o .libs/socket.o .libs/song.o .libs/status.o .libs/cstatus.o .libs/stats.o .libs/cstats.o .libs/sync.o .libs/tag.o   -L/opt/local/lib  -arch i386 -Wl,--version-script=./libmpdclient.ld   -install_name  /opt/local/lib/libmpdclient.2.dylib -compatibility_version 3 -current_version 3.0 -Wl,-single_module
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: unknown option character `-' in: --version-script=./libmpdclient.ld
Usage: /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: /usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
make[1]: *** [src/libmpdclient.la] Error 1
make: *** [all] Error 2

The reason is that libmpdclient requires automake-1.10, but automake-1.11 is current. Can be cured by cd'ing into the build directory and doing an autoreconf to rebuild the build system for 1.11.

Change History

comment:1 Changed 4 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to rmsfisher@…
  • Port changed from libpmdclient to libmpdclient
  • Description modified (diff)

comment:2 Changed 3 years ago by rmsfisher@…

thd042, The portfile includes "use_autoreconf yes" and builds for both me and macsforever2000. If you still cannot install this port, let me know. Otherwise I will be closing this ticket in 7 days as "worksforme".

Cheers, Ryan* *not Schmidt

comment:3 Changed 3 years ago by rmsfisher@…

  • Status changed from new to closed
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.