ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Что это? Переопределение функций?
@ 2017-07-30 16:56 Дмитрий Ханжин
  2017-07-30 17:00 ` Pavel Vainerman
  0 siblings, 1 reply; 11+ messages in thread
From: Дмитрий Ханжин @ 2017-07-30 16:56 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]

Привет.
Собираю новый релиз icewm, не пойму, что там наворотили.
Такое впечатление, что переопределяются strlcpy и strlcat.
Что это, и с чего начать, попробовать откатить
https://github.com/bbidulock/icewm/commit/a81206ffa7ae42ec32ed0c2b3e558a5ce72c6c41

[-- Attachment #2: log.txt --]
[-- Type: text/plain, Size: 9831 bytes --]

-- Build files have been written to: /usr/src/RPM/BUILD/icewm-githubmod/BUILD
+ popd
~/RPM/BUILD/icewm-githubmod
+ pushd BUILD
~/RPM/BUILD/icewm-githubmod/BUILD ~/RPM/BUILD/icewm-githubmod
+ '[' -n '' ']'
+ NPROCS=4
+ make -j4
make: Entering directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
make[1]: Entering directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
make[2]: Entering directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
make[2]: Entering directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
make[2]: Entering directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
make[2]: Entering directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
Scanning dependencies of target icesh
make[2]: Leaving directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
Scanning dependencies of target icewm-session
make[2]: Entering directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
make[2]: Leaving directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
Scanning dependencies of target icewmhint
Scanning dependencies of target genpref
make[2]: Entering directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
make[2]: Leaving directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
make[2]: Leaving directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
make[2]: Entering directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
[  0%] Building CXX object src/CMakeFiles/icesh.dir/icesh.cc.o
make[2]: Entering directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
[  0%] Building CXX object src/CMakeFiles/icewm-session.dir/icesm.cc.o
[  0%] Building CXX object src/CMakeFiles/icewmhint.dir/icewmhint.cc.o
[  0%] Building CXX object src/CMakeFiles/genpref.dir/genpref.cc.o
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/mstring.h:5:0,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/upath.h:4,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/ypixmap.h:6,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/ypaint.h:5,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/ypaths.h:12,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/yapp.h:4,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/yxapp.h:4,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/icesm.cc:4:
/usr/include/string.h:583:15: error: conflicting declaration of 'size_t strlcpy(char*, const char*, size_t)' with 'C' linkage
 extern size_t strlcpy (char *__restrict __dest,
               ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/icesm.cc:2:0:
/usr/src/RPM/BUILD/icewm-githubmod/src/base.h:47:8: note: previous declaration with 'C++' linkage
 size_t strlcpy(char *dest, const char *from, size_t dest_size);
        ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/mstring.h:5:0,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/upath.h:4,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/ypixmap.h:6,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/ypaint.h:5,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/ypaths.h:12,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/yapp.h:4,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/yxapp.h:4,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/icesm.cc:4:
/usr/include/string.h:583:15: error: declaration of 'size_t strlcpy(char*, const char*, size_t) throw ()' has a different exception specifier
 extern size_t strlcpy (char *__restrict __dest,
               ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/icesm.cc:2:0:
/usr/src/RPM/BUILD/icewm-githubmod/src/base.h:47:8: note: from previous declaration 'size_t strlcpy(char*, const char*, size_t)'
 size_t strlcpy(char *dest, const char *from, size_t dest_size);
        ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/mstring.h:5:0,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/upath.h:4,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/ypixmap.h:6,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/ypaint.h:5,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/ypaths.h:12,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/yapp.h:4,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/yxapp.h:4,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/icesm.cc:4:
/usr/include/string.h:589:15: error: conflicting declaration of 'size_t strlcat(char*, const char*, size_t)' with 'C' linkage
 extern size_t strlcat (char *__restrict __dest,
               ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/icesm.cc:2:0:
/usr/src/RPM/BUILD/icewm-githubmod/src/base.h:49:8: note: previous declaration with 'C++' linkage
 size_t strlcat(char *dest, const char *from, size_t dest_size);
        ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/mstring.h:5:0,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/upath.h:4,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/ypixmap.h:6,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/ypaint.h:5,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/ypaths.h:12,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/yapp.h:4,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/yxapp.h:4,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/icesm.cc:4:
/usr/include/string.h:589:15: error: declaration of 'size_t strlcat(char*, const char*, size_t) throw ()' has a different exception specifier
 extern size_t strlcat (char *__restrict __dest,
               ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/icesm.cc:2:0:
/usr/src/RPM/BUILD/icewm-githubmod/src/base.h:49:8: note: from previous declaration 'size_t strlcat(char*, const char*, size_t)'
 size_t strlcat(char *dest, const char *from, size_t dest_size);
        ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/sysdep.h:16:0,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/genpref.cc:9:
/usr/include/string.h:583:15: error: conflicting declaration of 'size_t strlcpy(char*, const char*, size_t)' with 'C' linkage
 extern size_t strlcpy (char *__restrict __dest,
               ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/genpref.cc:2:0:
/usr/src/RPM/BUILD/icewm-githubmod/src/base.h:47:8: note: previous declaration with 'C++' linkage
 size_t strlcpy(char *dest, const char *from, size_t dest_size);
        ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/sysdep.h:16:0,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/genpref.cc:9:
/usr/include/string.h:583:15: error: declaration of 'size_t strlcpy(char*, const char*, size_t) throw ()' has a different exception specifier
 extern size_t strlcpy (char *__restrict __dest,
               ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/genpref.cc:2:0:
/usr/src/RPM/BUILD/icewm-githubmod/src/base.h:47:8: note: from previous declaration 'size_t strlcpy(char*, const char*, size_t)'
 size_t strlcpy(char *dest, const char *from, size_t dest_size);
        ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/sysdep.h:16:0,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/genpref.cc:9:
/usr/include/string.h:589:15: error: conflicting declaration of 'size_t strlcat(char*, const char*, size_t)' with 'C' linkage
 extern size_t strlcat (char *__restrict __dest,
               ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/genpref.cc:2:0:
/usr/src/RPM/BUILD/icewm-githubmod/src/base.h:49:8: note: previous declaration with 'C++' linkage
 size_t strlcat(char *dest, const char *from, size_t dest_size);
        ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/sysdep.h:16:0,
                 from /usr/src/RPM/BUILD/icewm-githubmod/src/genpref.cc:9:
/usr/include/string.h:589:15: error: declaration of 'size_t strlcat(char*, const char*, size_t) throw ()' has a different exception specifier
 extern size_t strlcat (char *__restrict __dest,
               ^~~~~~~
In file included from /usr/src/RPM/BUILD/icewm-githubmod/src/genpref.cc:2:0:
/usr/src/RPM/BUILD/icewm-githubmod/src/base.h:49:8: note: from previous declaration 'size_t strlcat(char*, const char*, size_t)'
 size_t strlcat(char *dest, const char *from, size_t dest_size);
        ^~~~~~~
make[2]: *** [src/CMakeFiles/genpref.dir/genpref.cc.o] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
make[1]: *** [src/CMakeFiles/genpref.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  0%] Building CXX object src/CMakeFiles/icewmhint.dir/misc.cc.o
[  0%] Building CXX object src/CMakeFiles/icesh.dir/misc.cc.o
make[2]: *** [src/CMakeFiles/icewm-session.dir/icesm.cc.o] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
make[1]: *** [src/CMakeFiles/icewm-session.dir/all] Error 2
[  1%] Building CXX object src/CMakeFiles/icesh.dir/mstring.cc.o
[  1%] Linking CXX executable ../icewmhint
[  1%] Linking CXX executable ../icesh
make[2]: Leaving directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
[  1%] Built target icewmhint
make[2]: Leaving directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
[  1%] Built target icesh
make[1]: Leaving directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
make: *** [all] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/icewm-githubmod/BUILD'
error: Bad exit status from /usr/src/tmp/rpm-tmp.97538 (%build)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.97538 (%build)
Command exited with non-zero status 1
2.80user 16.99system 0:16.23elapsed 121%CPU (0avgtext+0avgdata 40236maxresident)k
0inputs+0outputs (0major+607291minor)pagefaults 0swaps
hsh-rebuild: rebuild of `pkg.tar' failed.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-08-01 17:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-30 16:56 [devel] Что это? Переопределение функций? Дмитрий Ханжин
2017-07-30 17:00 ` Pavel Vainerman
2017-07-30 18:12   ` Дмитрий Ханжин
2017-07-30 18:57     ` Pavel Vainerman
2017-07-31  5:13       ` Дмитрий Ханжин
2017-07-31  9:58         ` Michael Shigorin
2017-07-31 10:15           ` Konstantin Lepikhov
2017-07-31 10:52             ` Dmitry V. Levin
2017-07-31 18:56               ` Дмитрий Ханжин
2017-07-31 19:30                 ` Dmitry V. Levin
2017-08-01 17:42                   ` [devel] [thx] " Дмитрий Ханжин

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git