Hi. I'm facing following issue, when building deadbeef: mv -f .deps/conf.Tpo .deps/conf.Po cc -DHAVE_CONFIG_H -I. -I../dumb/dumb-kode54/include -I../../plugins/libmp4ff -I../../plugins/gme/game-music-emu-0.6pre -I./sidplay-libs/libsidplay/include/sidplay -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -std=c99 -O2 -pipe -march=ivybridge -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -D_GNU_SOURCE -DLIBDIR=\"/usr/local/lib\" -DPREFIX=\"/usr/local\" -DDOCDIR=\"/usr/local/share/doc/deadbeef\" -DDDB_WARN_DEPRECATED=1 -MT volume.o -MD -MP -MF .deps/volume.Tpo -c -o volume.o volume.c 1 warning generated. mv -f .deps/threading_pthread.Tpo .deps/threading_pthread.Po cc -DHAVE_CONFIG_H -I. -I../dumb/dumb-kode54/include -I../../plugins/libmp4ff -I../../plugins/gme/game-music-emu-0.6pre -I./sidplay-libs/libsidplay/include/sidplay -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -std=c99 -O2 -pipe -march=ivybridge -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -D_GNU_SOURCE -DLIBDIR=\"/usr/local/lib\" -DPREFIX=\"/usr/local\" -DDOCDIR=\"/usr/local/share/doc/deadbeef\" -DDDB_WARN_DEPRECATED=1 -MT junklib.o -MD -MP -MF .deps/junklib.Tpo -c -o junklib.o junklib.c mv -f .deps/volume.Tpo .deps/volume.Po cc -DHAVE_CONFIG_H -I. -I../dumb/dumb-kode54/include -I../../plugins/libmp4ff -I../../plugins/gme/game-music-emu-0.6pre -I./sidplay-libs/libsidplay/include/sidplay -I/usr/local/include -DLIBICONV_PLUG -D_THREAD_SAFE -std=c99 -O2 -pipe -march=ivybridge -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -D_GNU_SOURCE -DLIBDIR=\"/usr/local/lib\" -DPREFIX=\"/usr/local\" -DDOCDIR=\"/usr/local/share/doc/deadbeef\" -DDDB_WARN_DEPRECATED=1 -MT utf8.o -MD -MP -MF .deps/utf8.Tpo -c -o utf8.o utf8.c junklib.c:43:12: fatal error: 'ConvertUTF/ConvertUTF.h' file not found #include "ConvertUTF/ConvertUTF.h" ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from utf8.c:47: u8_uc_map.txt:6:9: warning: 'TOTAL_KEYWORDS' macro redefined [-Wmacro-redefined] #define TOTAL_KEYWORDS 1006 ^ u8_lc_map.txt:6:9: note: previous definition is here #define TOTAL_KEYWORDS 1007 ^ In file included from utf8.c:47: u8_uc_map.txt:8:9: warning: 'MAX_WORD_LENGTH' macro redefined [-Wmacro-redefined] #define MAX_WORD_LENGTH 7 ^ u8_lc_map.txt:8:9: note: previous definition is here #define MAX_WORD_LENGTH 4 ^ In file included from utf8.c:47: u8_uc_map.txt:10:9: warning: 'MAX_HASH_VALUE' macro redefined [-Wmacro-redefined] #define MAX_HASH_VALUE 2780 ^ u8_lc_map.txt:10:9: note: previous definition is here #define MAX_HASH_VALUE 2519 ^ 1 error generated. gmake[4]: *** [Makefile:665: junklib.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... utf8.c:695:35: warning: passing 'const signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int ll = u8_tolower_slow (c, l, out); ^ utf8.c:671:30: note: passing argument to parameter 'input' here u8_tolower_slow (const char *input, int len, char *out) { ^ utf8.c:730:35: warning: passing 'const signed char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int ll = u8_toupper_slow (c, l, out); ^ utf8.c:706:30: note: passing argument to parameter 'input' here u8_toupper_slow (const char *input, int len, char *out) { ^ utf8.c:766:34: warning: passing 'const char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] int l1 = u8_tolower (p1, i1, lw1); ^~ utf8.c:683:32: note: passing argument to parameter 'c' here u8_tolower (const signed char *c, int l, char *out) { ^ utf8.c:767:34: warning: passing 'const char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] int l2 = u8_tolower (p2, i2, lw2); ^~ utf8.c:683:32: note: passing argument to parameter 'c' here u8_tolower (const signed char *c, int l, char *out) { ^ utf8.c:801:34: warning: passing 'const char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] int l1 = u8_tolower (p1, i1, lw1); ^~ utf8.c:683:32: note: passing argument to parameter 'c' here u8_tolower (const signed char *c, int l, char *out) { ^ utf8.c:828:30: warning: passing 'const char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] int l1 = u8_tolower (p1, i1, s1); ^~ utf8.c:683:32: note: passing argument to parameter 'c' here u8_tolower (const signed char *c, int l, char *out) { ^ utf8.c:829:30: warning: passing 'const char *' to parameter of type 'const signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] int l2 = u8_tolower (p2, i2, s2); ^~ utf8.c:683:32: note: passing argument to parameter 'c' here u8_tolower (const signed char *c, int l, char *out) { ^ 10 warnings generated. mv -f .deps/utf8.Tpo .deps/utf8.Po mv -f .deps/streamer.Tpo .deps/streamer.Po 25 warnings generated. mv -f .deps/playlist.Tpo .deps/playlist.Po gmake[4]: Leaving directory '/usr/obj/usr/ports/audio/deadbeef/work/deadbeef-0.7.2' gmake[3]: *** [Makefile:769: all-recursive] Error 1 gmake[3]: Leaving directory '/usr/obj/usr/ports/audio/deadbeef/work/deadbeef-0.7.2' gmake[2]: *** [Makefile:527: all] Error 2 gmake[2]: Leaving directory '/usr/obj/usr/ports/audio/deadbeef/work/deadbeef-0.7.2' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/audio/deadbeef *** Error code 1 Stop. make: stopped in /usr/ports/audio/deadbeef it looks that ConvertUTF/ConvertUTF.h' file is not found in the archive, while it could be found on git. Can you please help to resolve the issue? Best regards, Sergey.
What arch and FreeBSD version? Tried on amd64, 12 and did not get any error when building with all options
Can you show us the output of "make showconfig" please?
$ uname -a FreeBSD KPECT 11.2-STABLE FreeBSD 11.2-STABLE #0: Wed Sep 12 20:28:15 +03 2018 root@KPECT amd64 $ make showconfig ===> The following configuration options are available for deadbeef-0.7.2_11: AAC=off: AAC/MP4 format support ADPLUG=off: AdPlug audio format (OPL2/OPL3) support ALAC=off: Apple Lossless audio format support ART=on: Cover artwork loader plugin CDDA=off: Digital Audio CD support CONVERTER=on: Plugin for converting files from/to any formats DCA=off: DTS support via libdca DSP=on: High-quality sample rate conversion support DUMB=off: D.U.M.B. plugin for MOD, S3M, etc. FFAP=off: Monkey's Audio lossless format support FFMPEG=off: FFmpeg support (WMA, AIFF, AC3, APE...) FLAC=off: FLAC lossless audio codec support GME=off: Chiptune music support (based on GME) GUI=on: Standard GUI plugin HOTKEYS=on: Local and global hotkeys support LASTFM=on: Last.fm/Libre.fm scrobbler plugin M3U=on: M3U and PLS playlist format support MMS=on: MMS streaming support MONO2STEREO=off: Mono to stereo converter DSP plugin MUSEPACK=off: MPC audio format support NLS=off: Native Language Support NOTIFY=on: OSD notification support in GTKUI plugin OGG=off: Ogg media format support PLTBROWSER=on: Playlist browser GUI plugin PSF=off: AOSDK-based PSF(,QSF,SSF,DSF) plugin PULSEAUDIO=off: PulseAudio output plugin (unsupported) SC68=off: sc68 Atari ST And Amiga player SHELLEXEC=off: Shell commands execution plugin SHN=on: Shorten waveform encoder support SID=off: Commodore 64 SID music player plugin SNDFILE=off: Audio conversion support via libsndfile SUPEREQ=on: SuperEQ DSP plugin (equalizer) TTA=off: TTA lossless audio format support VFS=on: HTTP streaming VFS plugin VFS_ZIP=off: Play files directly from ZIP archives VTX=off: VTX ZX-Spectrum music player plugin WAVPACK=off: WavPack lossless audio format support WILDMIDI=off: WildMIDI synthesizer plugin WMA=off: Windows Media Audio audio format support ====> MP3 audio format support MAD=on: MAD MP3 audio decoder support MPG123=off: MP3 decoding support via mpg123 ====> Standard GUI plugin: you can only select none or one of them GTK2=off: GTK+ 2 GUI toolkit support GTK3=on: GTK+ 3 GUI toolkit support ===> Use 'make config' to modify these settings $ cat /etc/src.conf WITHOUT_ACCT=YES WITHOUT_AMD=YES WITHOUT_APM=YES WITHOUT_ASSERT_DEBUG=YES WITHOUT_ATM=YES WITHOUT_AUDIT=YES WITHOUT_AUTHPF=YES WITHOUT_AUTOFS=YES WITHOUT_BHYVE=YES WITHOUT_BLACKLIST=YES WITHOUT_BLUETOOTH=YES WITHOUT_BOOTPARAMD=YES WITHOUT_BOOTPD=YES WITHOUT_BSNMP=YES WITHOUT_CALENDAR=YES WITHOUT_CAPSICUM=YES WITHOUT_CASPER=YES WITHOUT_CCD=YES WITHOUT_CLANG_FULL=YES WITHOUT_CROSS_COMPILER=YES WITHOUT_CTF=YES WITHOUT_CTM=YES WITHOUT_CUSE=YES WITHOUT_CXGBETOOL=YES WITHOUT_DEBUG_FILES=YES WITHOUT_DICT=YES WITHOUT_DMAGENT=YES WITHOUT_ED_CRYPTO=YES WITHOUT_EE=YES WITHOUT_EFI=YES WITHOUT_EXAMPLES=YES WITHOUT_FDT=YES WITHOUT_FINGER=YES WITHOUT_FLOPPY=YES WITHOUT_FORMAT_EXTENSIONS=YES WITHOUT_FREEBSD_UPDATE=YES WITHOUT_FTP=YES WITHOUT_GAMES=YES WITHOUT_GCC=YES WITHOUT_GCOV=YES WITHOUT_GDB=YES WITHOUT_GNU_SUPPORT=YES WITHOUT_GPIB=YES WITHOUT_GPIO=YES WITHOUT_GROFF=YES WITHOUT_GSSAPI=YES WITHOUT_HAST=YES WITHOUT_HTML=YES WITHOUT_HYPERV=YES WITHOUT_INET6=YES WITHOUT_INETD=YES WITHOUT_INFO=YES WITHOUT_IPFILTER=YES WITHOUT_IPSEC_SUPPORT=YES WITHOUT_ISCSI=YES WITHOUT_JAIL=YES WITHOUT_KERBEROS=YES WITHOUT_KERNEL_SYMBOLS=YES WITHOUT_KVM=YES WITHOUT_KVM_SUPPORT=YES WITHOUT_LIB32=YES WITHOUT_LLD=YES WITHOUT_LLDB=YES WITHOUT_LOADER_FIREWIRE=YES WITHOUT_LOADER_GELI=YES WITHOUT_LOCATE=YES WITHOUT_LPR=YES WITHOUT_MAIL=YES WITHOUT_MANDOCDB=YES WITHOUT_MAN_UTILS=YES WITHOUT_NDIS=YES WITHOUT_NETGRAPH=YES WITHOUT_NIS=YES WITHOUT_NLS=YES WITHOUT_NLS_CATALOGS=YES WITHOUT_NS_CACHING=YES WITHOUT_NTP=YES WITHOUT_OFED=YES WITHOUT_PAM_SUPPORT=YES WITHOUT_PC_SYSINSTALL=YES WITHOUT_PF=YES WITHOUT_PMC=YES WITHOUT_PPP=YES WITHOUT_PROFILE=YES WITHOUT_QUOTAS=YES WITHOUT_RADIUS_SUPPORT=YES WITHOUT_RBOOTD=YES WITHOUT_RCMDS=YES WITHOUT_RCS=YES WITHOUT_ROUTED=YES WITHOUT_SENDMAIL=YES WITHOUT_SHAREDOCS=YES WITHOUT_SVNLITE=YES WITHOUT_SYSCONS=YES WITHOUT_SYSINSTALL=YES WITHOUT_TALK=YES WITHOUT_TCP_WRAPPERS=YES WITHOUT_TCSH=YES WITHOUT_TELNET=YES WITHOUT_TESTS=YES WITHOUT_TFTP=YES WITHOUT_TIMED=YES WITHOUT_UNBOUND=YES WITHOUT_USB_GADGET_EXAMPLES=YES $ cat /etc/make.conf CPUTYPE?=ivybridge CFLAGS+=-Os -pipe -fomit-frame-pointer -ffast-math COPTFLAGS+=-O2 -pipe -fomit-frame-pointer BOOTWAIT=0 WRKDIRPREFIX=/usr/obj DISTDIR=/var/cache/distfiles PACKAGES=/var/cache/pkg MALLOC_PRODUCTION=YES NO_DOCUPDATE=YES NO_PORTSUPDATE=YES PORTSEARCH_MOVED=0 OPTIONS_SET=AESNI AVX FAST_MATH CPU_OPTS GSSAPI_NONE NONFREE OPTIMIZE* THREADS VAAPI OPTIONS_UNSET=BASH CONSOLEKIT CUPS DBUS DEBUG *DOCS DTRACE EXAMPLES GCONF GNUTLS GS_* GSSAPI_BASE GUI GVFS HAL *HELP ICONV IPV6 KERBEROS LINUX MANPAGES NLS PROFILE SMB TEST* UPNP ZSH .if ${.CURDIR:M*/www/firefox} || ${.CURDIR:M*/audio/opus} || ${.CURDIR:M*/ports-mgmt/pkg} CFLAGS+=-fno-fast-math .endif