ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] неподставленные ошмётки _LT_DECL в configure | Fwd:  wmforkplop-0.9.3-alt8: Sisyphus/x86_64 test rebuild failed
@ 2021-09-11  7:55 Michael Shigorin
  2021-09-11 10:21 ` Dmitry V. Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Shigorin @ 2021-09-11  7:55 UTC (permalink / raw)
  To: devel

	Здравствуйте.
Старый configure и новый %configure; добавил %autoreconf; огрёб:

---
checking host system type... x86_64-alt-linux-gnu
./configure: line 2943: syntax error near unexpected token `build_old_libs,'
./configure: line 2943: `    _LT_DECL(build_old_libs, enable_static, 0,'
---

В сгенерированном configure:

---
else
  enable_static=no
fi


    _LT_DECL(build_old_libs, enable_static, 0,
        Whether or not to build static libraries)


# Check whether --enable-shared was given.
---

Это вообще что было?!

----- Forwarded message from ALT beekeeper -----

Date: Wed, 25 Aug 2021 08:17:24 +0000 (UTC)
Subject: wmforkplop-0.9.3-alt8: Sisyphus/x86_64 test rebuild failed

Package: wmforkplop-0.9.3-alt8
Status: Sisyphus/x86_64 test rebuild failed
URL: http://git.altlinux.org/beehive/logs/Sisyphus/x86_64/archive/2021/0825/error/wmforkplop-0.9.3-alt8
Cannot build this package.
Please investigate.
Excerpt from build log:

[...]
+ echo 'Patch #2 (wmforkplop-0.9.3-alt-configure.patch):'
Patch #2 (wmforkplop-0.9.3-alt-configure.patch):
+ /usr/bin/patch -p1
patching file configure.ac

// вообще не про то

+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.69752
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd wmforkplop-0.9.3
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
[...]
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --runstatedir=/var/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext
configure: error: unrecognized option: --runstatedir=/var/run
Try `./configure --help' for more information.
error: Bad exit status from /usr/src/tmp/rpm-tmp.69752 (%build)

----- End forwarded message -----

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


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

* Re: [devel] неподставленные ошмётки _LT_DECL в configure | Fwd: wmforkplop-0.9.3-alt8: Sisyphus/x86_64 test rebuild failed
  2021-09-11  7:55 [devel] неподставленные ошмётки _LT_DECL в configure | Fwd: wmforkplop-0.9.3-alt8: Sisyphus/x86_64 test rebuild failed Michael Shigorin
@ 2021-09-11 10:21 ` Dmitry V. Levin
  2021-09-11 11:33   ` Michael Shigorin
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry V. Levin @ 2021-09-11 10:21 UTC (permalink / raw)
  To: ALT Devel discussion list

On Sat, Sep 11, 2021 at 10:55:41AM +0300, Michael Shigorin wrote:
[...]
> configure: error: unrecognized option: --runstatedir=/var/run

От добавления --runstatedir= в %configure мы быстро отказались.


-- 
ldv


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

* Re: [devel] неподставленные ошмётки _LT_DECL в configure | Fwd:  wmforkplop-0.9.3-alt8: Sisyphus/x86_64 test rebuild failed
  2021-09-11 10:21 ` Dmitry V. Levin
@ 2021-09-11 11:33   ` Michael Shigorin
  2021-09-11 12:22     ` Dmitry V. Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Shigorin @ 2021-09-11 11:33 UTC (permalink / raw)
  To: devel

On Sat, Sep 11, 2021 at 01:21:36PM +0300, Dmitry V. Levin wrote:
> > configure: error: unrecognized option: --runstatedir=/var/run
> От добавления --runstatedir= в %configure мы быстро отказались.

Спасибо, не перепроверил (хоть и немножко удивился, что wmhdplop
продолжил ftbfs'иться, а wmforkplop будто отстал, но внимательно
не смотрел); оставил собирающийся пакет в покое.

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


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

* Re: [devel] неподставленные ошмётки _LT_DECL в configure | Fwd: wmforkplop-0.9.3-alt8: Sisyphus/x86_64 test rebuild failed
  2021-09-11 11:33   ` Michael Shigorin
@ 2021-09-11 12:22     ` Dmitry V. Levin
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry V. Levin @ 2021-09-11 12:22 UTC (permalink / raw)
  To: devel

On Sat, Sep 11, 2021 at 02:33:17PM +0300, Michael Shigorin wrote:
> On Sat, Sep 11, 2021 at 01:21:36PM +0300, Dmitry V. Levin wrote:
> > > configure: error: unrecognized option: --runstatedir=/var/run
> > От добавления --runstatedir= в %configure мы быстро отказались.
> 
> Спасибо, не перепроверил (хоть и немножко удивился, что wmhdplop
> продолжил ftbfs'иться, а wmforkplop будто отстал, но внимательно
> не смотрел); оставил собирающийся пакет в покое.

wmhdplop пострадал от LTO:

process-lto: ERROR: ./usr/lib64/gkrellm2/plugins/gkhdplop.a: contains __gnu_lto_slim only.
061-brp-strip-lto.brp: Most likely this file contains GIMPLE bytecode that should NOT be packaged
061-brp-strip-lto.brp: since its format can change between GCC versions.
061-brp-strip-lto.brp: Use -ffat-lto-objects option to package machine code in static libraries, e.g.
061-brp-strip-lto.brp: %{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}
061-brp-strip-lto.brp: Alternatively, you might want to stop packaging static libraries
061-brp-strip-lto.brp: or disable link-time optimization for this package.


-- 
ldv


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

end of thread, other threads:[~2021-09-11 12:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-11  7:55 [devel] неподставленные ошмётки _LT_DECL в configure | Fwd: wmforkplop-0.9.3-alt8: Sisyphus/x86_64 test rebuild failed Michael Shigorin
2021-09-11 10:21 ` Dmitry V. Levin
2021-09-11 11:33   ` Michael Shigorin
2021-09-11 12:22     ` Dmitry V. Levin

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