$ 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.
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.
On 01/20/17 08:21, JD wrote:
Ditto with fc25 src: mkvtoolnix-9.5.0-1.fc25.src.rpm
F25 is currently at mkvtoolnix-9.6.0-1
rpmbuild -v -bb rpm/SPECS/mkvtoolnix.spec 2>&1 | tee mkvtoolnix.build.out . . . [egreshko@meimei ~]$ tail mkvtoolnix.build.out Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/egreshko/rpm/BUILDROOT/mkvtoolnix-9.6.0-1.fc25.x86_64 Wrote: /home/egreshko/rpm/RPMS/x86_64/mkvtoolnix-9.6.0-1.fc25.x86_64.rpm Wrote: /home/egreshko/rpm/RPMS/x86_64/mkvtoolnix-gui-9.6.0-1.fc25.x86_64.rpm Wrote: /home/egreshko/rpm/RPMS/x86_64/mkvtoolnix-debuginfo-9.6.0-1.fc25.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vw65qB + umask 022 + cd /home/egreshko/rpm/BUILD + cd mkvtoolnix-9.6.0 + /usr/bin/rm -rf /home/egreshko/rpm/BUILDROOT/mkvtoolnix-9.6.0-1.fc25.x86_64 + exit 0
works fine here....
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.
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
On 01/20/17 09:29, Ed Greshko wrote:
works fine here....
Even with the same WARNINGS....
[egreshko@meimei ~]$ grep ^WARN 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
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@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - If at first you don't succeed, quit. No sense being a damned fool! - ----------------------------------------------------------------------
On 01/20/17 10:11, Rick Stevens wrote:
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).
FWIW, my environment is en_US.UTF-8 and as noted in another post I get the warnings yet everything completes just fine for me.
On 01/19/2017 07:47 PM, Ed Greshko wrote:
On 01/20/17 10:11, Rick Stevens wrote:
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).
FWIW, my environment is en_US.UTF-8 and as noted in another post I get the warnings yet everything completes just fine for me.
Then it must be my java packages that are the problem. Will look into updates thereof.
On 01/19/2017 07:11 PM, Rick Stevens wrote:
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).
Hi Rick, I did as you suggested (Sorry for th elong delay, as I have been busy ...
Here is the failure now:
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. error: Bad exit status from /var/tmp/rpm-tmp.qx2Qx9 (%build)
users@lists.stg.fedoraproject.org