{"action":"created","issue":{"url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/71","labels_url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/71/comments","events_url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/71/events","html_url":"https://github.com/mikebrady/shairport-sync/issues/71","id":68293724,"number":71,"title":"Build fail - Raspberry Pi 2 Arch Linux ARM","user":{"login":"joaodriessen","id":3994246,"avatar_url":"https://avatars.githubusercontent.com/u/3994246?v=3","gravatar_id":"","url":"https://api.github.com/users/joaodriessen","html_url":"https://github.com/joaodriessen","followers_url":"https://api.github.com/users/joaodriessen/followers","following_url":"https://api.github.com/users/joaodriessen/following{/other_user}","gists_url":"https://api.github.com/users/joaodriessen/gists{/gist_id}","starred_url":"https://api.github.com/users/joaodriessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaodriessen/subscriptions","organizations_url":"https://api.github.com/users/joaodriessen/orgs","repos_url":"https://api.github.com/users/joaodriessen/repos","events_url":"https://api.github.com/users/joaodriessen/events{/privacy}","received_events_url":"https://api.github.com/users/joaodriessen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-14T07:44:57Z","updated_at":"2015-04-20T09:35:49Z","closed_at":null,"body":"used PKGBUILD from here: https://github.com/EliaCereda/shairport-sync-PKGBUILD\r\nwhich says \"Track upstream's HEAD instead of the 2.1 branch\".\r\n\r\ntried to make on my system, here's the output of makepkg -a:\r\n\r\nmakepkg -s\r\n==> Making package: shairport-sync-git 2.1.15.r1.gcf6594d-1 (Tue 14 Apr 09:33:10 CEST 2015)\r\n==> Checking runtime dependencies...\r\n==> Installing missing dependencies...\r\n[sudo] password for joao: \r\nresolving dependencies...\r\nlooking for conflicting packages...\r\n\r\nPackages (1) libsoxr-0.1.1-3\r\n\r\nTotal Download Size:   0.06 MiB\r\nTotal Installed Size:  0.18 MiB\r\n\r\n:: Proceed with installation? [Y/n] Y\r\n:: Retrieving packages ...\r\n libsoxr-0.1.1-3-armv7h    57.5 KiB   117K/s 00:00 [######################] 100%\r\n(1/1) checking keys in keyring                     [######################] 100%\r\n(1/1) checking package integrity                   [######################] 100%\r\n(1/1) loading package files                        [######################] 100%\r\n(1/1) checking for file conflicts                  [######################] 100%\r\n(1/1) checking available disk space                [######################] 100%\r\n(1/1) installing libsoxr                           [######################] 100%\r\n==> Checking buildtime dependencies...\r\n==> Retrieving sources...\r\n  -> Cloning shairport-sync git repo...\r\nCloning into bare repository '/home/joao/Downloads/shairport-sync-PKGBUILD-master/shairport-sync'...\r\nremote: Counting objects: 3002, done.\r\nremote: Compressing objects: 100% (4/4), done.\r\nremote: Total 3002 (delta 0), reused 0 (delta 0), pack-reused 2998\r\nReceiving objects: 100% (3002/3002), 1.11 MiB | 212.00 KiB/s, done.\r\nResolving deltas: 100% (1801/1801), done.\r\nChecking connectivity... done.\r\n  -> Found shairport-sync.install\r\n  -> Found shairport-sync.service\r\n  -> Found shairport-sync.conf\r\n  -> Found remove-init.d.patch\r\n==> Validating source files with sha1sums...\r\n    shairport-sync ... Skipped\r\n    shairport-sync.install ... Passed\r\n    shairport-sync.service ... Passed\r\n    shairport-sync.conf ... Passed\r\n    remove-init.d.patch ... Passed\r\n==> Extracting sources...\r\n  -> Creating working copy of shairport-sync git repo...\r\nCloning into 'shairport-sync'...\r\ndone.\r\n==> Starting pkgver()...\r\n==> Updated version: shairport-sync-git 2.2.2.r52.g82011bb-1\r\n==> Starting prepare()...\r\n==> Starting build()...\r\nconfigure.ac:21: installing './compile'\r\nconfigure.ac:6: installing './install-sh'\r\nconfigure.ac:6: installing './missing'\r\nMakefile.am: installing './depcomp'\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking whether build environment is sane... yes\r\nchecking for a thread-safe mkdir -p... /usr/bin/mkdir -p\r\nchecking for gawk... gawk\r\nchecking whether make sets $(MAKE)... yes\r\nchecking whether make supports nested variables... yes\r\nchecking for gcc... gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking whether gcc understands -c and -o together... yes\r\nchecking for style of include used by make... GNU\r\nchecking dependency style of gcc... gcc3\r\nchecking for pkg-config... /usr/bin/pkg-config\r\nchecking pkg-config is at least version 0.9.0... yes\r\nchecking for clock_gettime in -lrt... yes\r\nchecking for daemon_log in -ldaemon... yes\r\nchecking for pthread_create in -lpthread... yes\r\nchecking for exp in -lm... yes\r\nchecking for POPT... yes\r\nchecking encryption libraries chosen... checking for SSL... yes\r\n>>Including support for soxr-based interpolation\r\nchecking for soxr_create in -lsoxr... yes\r\n>>Including Avahi mDNS support\r\nchecking for avahi_client_new in -lavahi-client... yes\r\nchecking for avahi_strerror in -lavahi-common... yes\r\n>>Including an ALSA back end\r\nchecking for ALSA... yes\r\nchecking how to run the C preprocessor... gcc -E\r\nchecking for grep that handles long lines and -e... /usr/bin/grep\r\nchecking for egrep... /usr/bin/grep -E\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking getopt_long.h usability... no\r\nchecking getopt_long.h presence... no\r\nchecking for getopt_long.h... no\r\nchecking arpa/inet.h usability... yes\r\nchecking arpa/inet.h presence... yes\r\nchecking for arpa/inet.h... yes\r\nchecking fcntl.h usability... yes\r\nchecking fcntl.h presence... yes\r\nchecking for fcntl.h... yes\r\nchecking mach/mach.h usability... no\r\nchecking mach/mach.h presence... no\r\nchecking for mach/mach.h... no\r\nchecking for memory.h... (cached) yes\r\nchecking netdb.h usability... yes\r\nchecking netdb.h presence... yes\r\nchecking for netdb.h... yes\r\nchecking netinet/in.h usability... yes\r\nchecking netinet/in.h presence... yes\r\nchecking for netinet/in.h... yes\r\nchecking for stdint.h... (cached) yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for string.h... (cached) yes\r\nchecking sys/ioctl.h usability... yes\r\nchecking sys/ioctl.h presence... yes\r\nchecking for sys/ioctl.h... yes\r\nchecking sys/socket.h usability... yes\r\nchecking sys/socket.h presence... yes\r\nchecking for sys/socket.h... yes\r\nchecking sys/time.h usability... yes\r\nchecking sys/time.h presence... yes\r\nchecking for sys/time.h... yes\r\nchecking syslog.h usability... yes\r\nchecking syslog.h presence... yes\r\nchecking for syslog.h... yes\r\nchecking for unistd.h... (cached) yes\r\nchecking for inline... inline\r\nchecking for int16_t... yes\r\nchecking for int32_t... yes\r\nchecking for int64_t... yes\r\nchecking for pid_t... yes\r\nchecking for size_t... yes\r\nchecking for ssize_t... yes\r\nchecking for uint16_t... yes\r\nchecking for uint32_t... yes\r\nchecking for uint64_t... yes\r\nchecking for uint8_t... yes\r\nchecking for error_at_line... yes\r\nchecking vfork.h usability... no\r\nchecking vfork.h presence... no\r\nchecking for vfork.h... no\r\nchecking for fork... yes\r\nchecking for vfork... yes\r\nchecking for working fork... yes\r\nchecking for working vfork... (cached) yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for GNU libc compatible malloc... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for GNU libc compatible realloc... yes\r\nchecking for clock_gettime... yes\r\nchecking for gethostname... yes\r\nchecking for gettimeofday... yes\r\nchecking for inet_ntoa... yes\r\nchecking for memchr... yes\r\nchecking for memmove... yes\r\nchecking for memset... yes\r\nchecking for pow... yes\r\nchecking for select... yes\r\nchecking for socket... yes\r\nchecking for stpcpy... yes\r\nchecking for strcasecmp... yes\r\nchecking for strchr... yes\r\nchecking for strdup... yes\r\nchecking for strerror... yes\r\nchecking for strstr... yes\r\nchecking for strtol... yes\r\nchecking for strtoul... yes\r\nchecking that generated files are newer than configure... done\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: creating man/Makefile\r\nconfig.status: creating config.h\r\nconfig.status: executing depfiles commands\r\nmake  all-recursive\r\nmake[1]: Entering directory '/home/joao/Downloads/shairport-sync-PKGBUILD-master/src/shairport-sync'\r\nMaking all in man\r\nmake[2]: Entering directory '/home/joao/Downloads/shairport-sync-PKGBUILD-master/src/shairport-sync/man'\r\nmake[2]: Nothing to be done for 'all'.\r\nmake[2]: Leaving directory '/home/joao/Downloads/shairport-sync-PKGBUILD-master/src/shairport-sync/man'\r\nmake[2]: Entering directory '/home/joao/Downloads/shairport-sync-PKGBUILD-master/src/shairport-sync'\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT shairport.o -MD -MP -MF .deps/shairport.Tpo -c -o shairport.o shairport.c\r\nmv -f .deps/shairport.Tpo .deps/shairport.Po\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT rtsp.o -MD -MP -MF .deps/rtsp.Tpo -c -o rtsp.o rtsp.c\r\nmv -f .deps/rtsp.Tpo .deps/rtsp.Po\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT mdns.o -MD -MP -MF .deps/mdns.Tpo -c -o mdns.o mdns.c\r\nmv -f .deps/mdns.Tpo .deps/mdns.Po\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT mdns_external.o -MD -MP -MF .deps/mdns_external.Tpo -c -o mdns_external.o mdns_external.c\r\nmv -f .deps/mdns_external.Tpo .deps/mdns_external.Po\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c\r\nmv -f .deps/common.Tpo .deps/common.Po\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT rtp.o -MD -MP -MF .deps/rtp.Tpo -c -o rtp.o rtp.c\r\nmv -f .deps/rtp.Tpo .deps/rtp.Po\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT player.o -MD -MP -MF .deps/player.Tpo -c -o player.o player.c\r\nmv -f .deps/player.Tpo .deps/player.Po\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT alac.o -MD -MP -MF .deps/alac.Tpo -c -o alac.o alac.c\r\nmv -f .deps/alac.Tpo .deps/alac.Po\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT audio.o -MD -MP -MF .deps/audio.Tpo -c -o audio.o audio.c\r\nmv -f .deps/audio.Tpo .deps/audio.Po\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT audio_dummy.o -MD -MP -MF .deps/audio_dummy.Tpo -c -o audio_dummy.o audio_dummy.c\r\nmv -f .deps/audio_dummy.Tpo .deps/audio_dummy.Po\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT audio_pipe.o -MD -MP -MF .deps/audio_pipe.Tpo -c -o audio_pipe.o audio_pipe.c\r\nmv -f .deps/audio_pipe.Tpo .deps/audio_pipe.Po\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT mdns_avahi.o -MD -MP -MF .deps/mdns_avahi.Tpo -c -o mdns_avahi.o mdns_avahi.c\r\nmv -f .deps/mdns_avahi.Tpo .deps/mdns_avahi.Po\r\ngcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT audio_alsa.o -MD -MP -MF .deps/audio_alsa.Tpo -c -o audio_alsa.o audio_alsa.c\r\nmv -f .deps/audio_alsa.Tpo .deps/audio_alsa.Po\r\ngcc -Wno-multichar  -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4  -Wl,-O1,--sort-common,--as-needed,-z,relro -o shairport-sync shairport.o rtsp.o mdns.o mdns_external.o common.o rtp.o player.o alac.o audio.o audio_dummy.o audio_pipe.o mdns_avahi.o  audio_alsa.o      -lasound  -lavahi-common -lavahi-client -lsoxr -lssl  -lpopt  -lm -lpthread -ldaemon -lrt \r\nshairport.o: In function `main':\r\nshairport.c:(.text.startup+0x4d0): undefined reference to `MD5_Init'\r\nshairport.c:(.text.startup+0x4ec): undefined reference to `MD5_Update'\r\nshairport.c:(.text.startup+0x4f8): undefined reference to `MD5_Final'\r\nrtsp.o: In function `rtsp_conversation_thread_func':\r\nrtsp.c:(.text+0x1394): undefined reference to `MD5_Init'\r\nrtsp.c:(.text+0x13ac): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x13c0): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x13dc): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x13f8): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x141c): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x142c): undefined reference to `MD5_Final'\r\nrtsp.c:(.text+0x1434): undefined reference to `MD5_Init'\r\nrtsp.c:(.text+0x1450): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x1464): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x147c): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x148c): undefined reference to `MD5_Final'\r\nrtsp.c:(.text+0x14c8): undefined reference to `MD5_Init'\r\nrtsp.c:(.text+0x14dc): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x14f0): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x1508): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x151c): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x1558): undefined reference to `MD5_Update'\r\nrtsp.c:(.text+0x156c): undefined reference to `MD5_Final'\r\ncommon.o: In function `base64_enc':\r\ncommon.c:(.text+0x234): undefined reference to `BIO_f_base64'\r\ncommon.c:(.text+0x238): undefined reference to `BIO_new'\r\ncommon.c:(.text+0x240): undefined reference to `BIO_s_mem'\r\ncommon.c:(.text+0x244): undefined reference to `BIO_new'\r\ncommon.c:(.text+0x254): undefined reference to `BIO_push'\r\ncommon.c:(.text+0x260): undefined reference to `BIO_set_flags'\r\ncommon.c:(.text+0x270): undefined reference to `BIO_write'\r\ncommon.c:(.text+0x284): undefined reference to `BIO_ctrl'\r\ncommon.c:(.text+0x298): undefined reference to `BIO_ctrl'\r\ncommon.c:(.text+0x2d8): undefined reference to `BIO_free_all'\r\ncommon.o: In function `base64_dec':\r\ncommon.c:(.text+0x2fc): undefined reference to `BIO_f_base64'\r\ncommon.c:(.text+0x300): undefined reference to `BIO_new'\r\ncommon.c:(.text+0x310): undefined reference to `BIO_set_flags'\r\ncommon.c:(.text+0x314): undefined reference to `BIO_s_mem'\r\ncommon.c:(.text+0x318): undefined reference to `BIO_new'\r\ncommon.c:(.text+0x328): undefined reference to `BIO_push'\r\ncommon.c:(.text+0x33c): undefined reference to `BIO_write'\r\ncommon.c:(.text+0x358): undefined reference to `BIO_write'\r\ncommon.c:(.text+0x37c): undefined reference to `BIO_ctrl'\r\ncommon.c:(.text+0x3ac): undefined reference to `BIO_read'\r\ncommon.c:(.text+0x3b8): undefined reference to `BIO_free_all'\r\ncommon.o: In function `rsa_apply':\r\ncommon.c:(.text+0x3f8): undefined reference to `RSA_size'\r\ncommon.c:(.text+0x42c): undefined reference to `RSA_private_decrypt'\r\ncommon.c:(.text+0x464): undefined reference to `RSA_private_encrypt'\r\ncommon.c:(.text+0x480): undefined reference to `BIO_new_mem_buf'\r\ncommon.c:(.text+0x494): undefined reference to `PEM_read_bio_RSAPrivateKey'\r\ncommon.c:(.text+0x4a0): undefined reference to `BIO_free'\r\nplayer.o: In function `alac_decode':\r\nplayer.c:(.text+0x74): undefined reference to `AES_cbc_encrypt'\r\nplayer.o: In function `player_play':\r\nplayer.c:(.text+0x1c54): undefined reference to `AES_set_decrypt_key'\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:455: recipe for target 'shairport-sync' failed\r\nmake[2]: *** [shairport-sync] Error 1\r\nmake[2]: Leaving directory '/home/joao/Downloads/shairport-sync-PKGBUILD-master/src/shairport-sync'\r\nMakefile:505: recipe for target 'all-recursive' failed\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory '/home/joao/Downloads/shairport-sync-PKGBUILD-master/src/shairport-sync'\r\nMakefile:359: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n==> ERROR: A failure occurred in build().\r\n    Aborting..."},"comment":{"url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/comments/94408143","html_url":"https://github.com/mikebrady/shairport-sync/issues/71#issuecomment-94408143","issue_url":"https://api.github.com/repos/mikebrady/shairport-sync/issues/71","id":94408143,"user":{"login":"joaodriessen","id":3994246,"avatar_url":"https://avatars.githubusercontent.com/u/3994246?v=3","gravatar_id":"","url":"https://api.github.com/users/joaodriessen","html_url":"https://github.com/joaodriessen","followers_url":"https://api.github.com/users/joaodriessen/followers","following_url":"https://api.github.com/users/joaodriessen/following{/other_user}","gists_url":"https://api.github.com/users/joaodriessen/gists{/gist_id}","starred_url":"https://api.github.com/users/joaodriessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaodriessen/subscriptions","organizations_url":"https://api.github.com/users/joaodriessen/orgs","repos_url":"https://api.github.com/users/joaodriessen/repos","events_url":"https://api.github.com/users/joaodriessen/events{/privacy}","received_events_url":"https://api.github.com/users/joaodriessen/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T09:35:49Z","updated_at":"2015-04-20T09:35:49Z","body":"you know what. I never considered the problem could lie with my mac.\r\nI rebooted my mac and was able to find my raspberry pi on the local network again via mDNS.\r\nNow, I don't know whether this is a problem with my mac or not, i.e. whether services are rebroadcast by avahi-daemon when a new device is added to the network. I have no technical expertise.\r\nI'll keep any eye on this for a while and if there's anything related to shairport-sync I can find, I'll be sure to inform you.\r\n\r\n(Also, I don't want to bother you with technical support type questions)\r\n"}}