ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] g++: error: unrecognized command line option '-R'
@ 2020-09-09 19:48 Vitaly Lipatov
  2020-09-09 20:43 ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Vitaly Lipatov @ 2020-09-09 19:48 UTC (permalink / raw)
  To: devel

Добрый день!
Некоторые пакете перестали собираться с ошибкой
g++: error: unrecognized command line option '-R'

Это правда, что этот параметр надо заменить на -Wl,-rpath=
как рекомендуют здесь?
https://github.com/rbgirshick/py-faster-rcnn/issues/706

Соответственно, и удалить, если rpath не требуется.

Только я не понял, в какой момент пропал -R.

Ну на самом деле пакетов всего 3:
cpprest-2.10.16-alt1:x86_64-alt-linux-g++: error: unrecognized command 
line option '-R'
fontforge-20200314-alt2:x86_64-alt-linux-g++: error: unrecognized 
command line option '-R'
node-iltorb-2.4.5-alt1:x86_64-alt-linux-g++: error: unrecognized command 
line option '-R'

Нельзя ли узнать политику, и когда и где произошло изменение?
Ещё недавно fontforge собирался:
  * Вт авг 04 2020 Michael Shigorin <mike@altlinux.org> 20200314-alt2
  - E2K: avoid lcc-unsupported option

А последнее изменение gcc9 было ещё раньше:
* Пн мая 18 2020 Gleb F-Malinovskiy <glebfm@altlinux.org> 9.3.1-alt1
- Updated to git://gcc.gnu.org/git/gcc.git releases/gcc-9
   commit e8dcd6c79335997a80f75db389263b63dfa45ca1.
- Rebased redhat vendor branch to releases/gcc-9 branch.

-- 
С уважением,
Виталий Липатов,
ALT Linux Team


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

* Re: [devel] g++: error: unrecognized command line option '-R'
  2020-09-09 19:48 [devel] g++: error: unrecognized command line option '-R' Vitaly Lipatov
@ 2020-09-09 20:43 ` Dmitry V. Levin
  2020-09-09 21:20   ` Vitaly Lipatov
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2020-09-09 20:43 UTC (permalink / raw)
  To: ALT Devel discussion list

On Wed, Sep 09, 2020 at 10:48:42PM +0300, Vitaly Lipatov wrote:
> Добрый день!
> Некоторые пакете перестали собираться с ошибкой
> g++: error: unrecognized command line option '-R'
> 
> Это правда, что этот параметр надо заменить на -Wl,-rpath=
> как рекомендуют здесь?
> https://github.com/rbgirshick/py-faster-rcnn/issues/706
> 
> Соответственно, и удалить, если rpath не требуется.
> 
> Только я не понял, в какой момент пропал -R.
> 
> Ну на самом деле пакетов всего 3:
> cpprest-2.10.16-alt1:x86_64-alt-linux-g++: error: unrecognized command 
> line option '-R'
> fontforge-20200314-alt2:x86_64-alt-linux-g++: error: unrecognized 
> command line option '-R'
> node-iltorb-2.4.5-alt1:x86_64-alt-linux-g++: error: unrecognized command 
> line option '-R'
> 
> Нельзя ли узнать политику, и когда и где произошло изменение?

Это результат обновления пакета libbrotli-devel:

$ diff -u <(rpmpeek p9/files/x86_64/RPMS/libbrotli-devel-1.0.7-alt1.x86_64.rpm cat ./usr/lib64/pkgconfig/libbrotlidec.pc) <(rpmpeek Sisyphus/files/x86_64/RPMS/libbrotli-devel-1.0.9-alt1.x86_64.rpm cat ./usr/lib64/pkgconfig/libbrotlidec.pc)
--- /dev/fd/63
+++ /dev/fd/62
@@ -6,7 +6,7 @@
 Name: libbrotlidec
 URL: https://github.com/google/brotli
 Description: Brotli decoder library
-Version: 1.0.7
-Libs: -lbrotlidec
+Version: 1.0.9
+Libs: -R${libdir} -lbrotlidec
 Requires.private: libbrotlicommon >= 1.0.2
 Cflags: 

-- 
ldv


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

* Re: [devel] g++: error: unrecognized command line option '-R'
  2020-09-09 20:43 ` Dmitry V. Levin
@ 2020-09-09 21:20   ` Vitaly Lipatov
  0 siblings, 0 replies; 3+ messages in thread
From: Vitaly Lipatov @ 2020-09-09 21:20 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Dmitry V. Levin писал 9.9.20 23:43:
> On Wed, Sep 09, 2020 at 10:48:42PM +0300, Vitaly Lipatov wrote:
>> Добрый день!
...
> Это результат обновления пакета libbrotli-devel:
> 
> $ diff -u <(rpmpeek
> p9/files/x86_64/RPMS/libbrotli-devel-1.0.7-alt1.x86_64.rpm cat
> ./usr/lib64/pkgconfig/libbrotlidec.pc) <(rpmpeek
> Sisyphus/files/x86_64/RPMS/libbrotli-devel-1.0.9-alt1.x86_64.rpm cat
> ./usr/lib64/pkgconfig/libbrotlidec.pc)
> --- /dev/fd/63
> +++ /dev/fd/62
> @@ -6,7 +6,7 @@
>  Name: libbrotlidec
>  URL: https://github.com/google/brotli
>  Description: Brotli decoder library
> -Version: 1.0.7
> -Libs: -lbrotlidec
> +Version: 1.0.9
> +Libs: -R${libdir} -lbrotlidec
>  Requires.private: libbrotlicommon >= 1.0.2
>  Cflags:

Спасибо, смотрел в сгенерированных мейфайлах на эту строку, но сразу не 
дошло.
https://bugzilla.altlinux.org/show_bug.cgi?id=38913

-- 
С уважением,
Виталий Липатов,
ALT Linux Team


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

end of thread, other threads:[~2020-09-09 21:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 19:48 [devel] g++: error: unrecognized command line option '-R' Vitaly Lipatov
2020-09-09 20:43 ` Dmitry V. Levin
2020-09-09 21:20   ` Vitaly Lipatov

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