Re: Error building mkvtoolnix-9.6.0-1.fc26.src.rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/19/2017 04:21 PM, JD wrote:
> Ditto with fc25 src: mkvtoolnix-9.5.0-1.fc25.src.rpm
> 
> 
> On 01/19/2017 05:19 PM, JD wrote:
>> $ rpmbuild -v -bb mkvtoolnix.spec 2>&1 | tee mkvtoolnix.build.out
>>
>> .
>> .
>> .
>> WARNING: unable to read lib/avilib-0.6.10/avilib.c: invalid byte
>> sequence in US-ASCII
>> WARNING: unable to read lib/avilib-0.6.10/avimisc.c: invalid byte
>> sequence in US-ASCII
>> WARNING: unable to read src/common/checksums/adler32.cpp: invalid byte
>> sequence in US-ASCII
>> WARNING: unable to read src/common/checksums/base.cpp: invalid byte
>> sequence in US-ASCII
>> WARNING: unable to read src/common/checksums/crc.cpp: invalid byte
>> sequence in US-ASCII
>> WARNING: unable to read src/common/checksums/md5.cpp: invalid byte
>> sequence in US-ASCII
>> WARNING: unable to read src/common/spu.cpp: invalid byte sequence in
>> US-ASCII
>> .
>> .
>> .
>> At end of build, it belched
>>
>> g++ -Wall -Wno-comment -Wfatal-errors -Wlogical-op
>> -D_FILE_OFFSET_BITS=64 -DMTX_LOCALE_DIR=\"/usr/share/locale\"
>> -DMTX_PKG_DATA_DIR=\"/usr/share/mkvtoolnix\"
>> -DMTX_DOC_DIR=\"/usr/share/doc/mkvtoolnix\" -fstack-protector -fPIC
>> -std=gnu++11 -Wnon-virtual-dtor -Woverloaded-virtual -Wextra
>> -Wno-missing-field-initializers -Wno-maybe-uninitialized
>> -I/usr/include/qt5/QtWidgets -I/usr/include/qt5
>> -I/usr/include/qt5/QtGui -I/usr/include/qt5
>> -I/usr/include/qt5/QtNetwork -I/usr/include/qt5
>> -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/usr/include -O2 -g
>> -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>> -fstack-protector-strong --param=ssp-buffer-size=4
>> -grecord-gcc-switches -m64 -mtune=generic -include
>> src/common/common_pch.h -I. -Ilib -Ilib/avilib-0.6.10 -Isrc -c -MMD
>> -MF ./rake.d/dependency.d/tmp/src_common_json_o.d -o src/common/json.o
>> -x c++ src/common/json.cpp
>> In file included from src/common/json.cpp:19:0:
>> src/common/json.h:23:76: error: 'nlohmann::json<std::map, std::vector,
>> std::basic_string<char, std::char_traits<char>, std::allocator<char>
>> >, bool, long int, double, std::allocator>::parser_callback_t' has not
>> been declared
>>  nlohmann::json parse(nlohmann::json::string_t const &data,
>> nlohmann::json::parser_callback_t callback = nullptr);
>> ^
>> compilation terminated due to -Wfatal-errors.

The code was probably written with UTF-8 locale characters and you may
not be using the UTF-8 locale. You may need to do something similar to

	export LANG=en_US.UTF-8
	export LC_ALL=en_US.UTF-8

in your spec file so things get built under the UTF-8 locale instead
of whatever your default locale is. That's just a wild guess (this
seems to be a problem often with Ruby developers).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
- If at first you don't succeed, quit. No sense being a damned fool! -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux