ALT Linux architecture porting
 help / color / mirror / Atom feed
From: gosha <gosha@elins.ru>
To: devel-ports@lists.altlinux.org
Subject: [devel-ports] Можно ли как-то отредактить .spec, чтобы строчка -Werror удалялась из Makefile или это необходимо делать вручную?
Date: Tue, 21 Oct 2008 23:33:24 +0400
Message-ID: <200810212333.24362.gosha@elins.ru> (raw)
In-Reply-To: <48FCB983.4080407@gmail.com>

                       Добрый день.

пакет elfutils-0.131-alt1.src.rpm по причине warning только у меня не 
собирается? 

Не собирается он также : ./configure, make

Не очень в .spec. Значит ли это, что subst собралось не правильно?"
"cc1: warnings being treated as errors"
%__subst -p 's/ -Werror / /' tests/Makefile*
http://sisyphus.ru/srpm/Sisyphus/elfutils/spec

Можно ли как-то отредактить .spec, чтобы строчка -Werror удалялась из Makefile 
или это необходимо делать вручную?


make[2]: Entering directory 
`/home/builder/RPM/BUILD/elfutils-0.131/build-mips-alt-linux/libelf'
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I.. -I../../libelf -I../../libelf -I../../lib -I..    -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99  -pipe -Wall -O2 -fexceptions -MT 
elf_version.o -MD -MP -MF .deps/elf_version.Tpo -c -o 
elf_version.o ../../libelf/elf_version.c
mv -f .deps/elf_version.Tpo .deps/elf_version.Po
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I.. -I../../libelf -I../../libelf -I../../lib -I..    -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99  -pipe -Wall -O2 -fexceptions -MT 
elf_hash.o -MD -MP -MF .deps/elf_hash.Tpo -c -o 
elf_hash.o ../../libelf/elf_hash.c
mv -f .deps/elf_hash.Tpo .deps/elf_hash.Po
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I.. -I../../libelf -I../../libelf -I../../lib -I..    -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99  -pipe -Wall -O2 -fexceptions -MT 
elf_error.o -MD -MP -MF .deps/elf_error.Tpo -c -o 
elf_error.o ../../libelf/elf_error.c
mv -f .deps/elf_error.Tpo .deps/elf_error.Po
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I.. -I../../libelf -I../../libelf -I../../lib -I..    -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99  -pipe -Wall -O2 -fexceptions -MT 
elf_fill.o -MD -MP -MF .deps/elf_fill.Tpo -c -o 
elf_fill.o ../../libelf/elf_fill.c
mv -f .deps/elf_fill.Tpo .deps/elf_fill.Po
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I.. -I../../libelf -I../../libelf -I../../lib -I..    -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99  -pipe -Wall -O2 -fexceptions -MT 
elf_begin.o -MD -MP -MF .deps/elf_begin.Tpo -c -o 
elf_begin.o ../../libelf/elf_begin.c
cc1: warnings being treated as errors
../../libelf/common.h:116: error: 'libelf_acquire_all' defined but not used
../../libelf/common.h:135: error: 'libelf_release_all' defined but not used
make[2]: *** [elf_begin.o] Error 1
make[2]: Leaving directory 
`/home/builder/RPM/BUILD/elfutils-0.131/build-mips-alt-linux/libelf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/builder/RPM/BUILD/elfutils-0.131/build-mips-alt-linux'
make: *** [all] Error 2
make: Leaving directory 
`/home/builder/RPM/BUILD/elfutils-0.131/build-mips-alt-linux'
ошибка: Неверный код возврата из /home/builder/tmp/rpm-tmp.83663 (%build)

-- 
С Уваженим,
       gosha.


  parent reply	other threads:[~2008-10-21 19:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 14:40   ` [devel-ports] Можно ли как-то отредактить .spec, чтобы при сборке rpm-4.0.4-alt96.8.src.rpm /build/rpmio/rpmio.la выглядела следующим образом? gosha
2008-10-21 19:33   ` gosha [this message]
2008-10-22 11:15   ` [devel-ports] Собирался ли glibc-2.8.90-alt1.src.rpm для arm? gosha
2008-10-22 11:32     ` Igor Zubkov
2008-10-23 12:44       ` [devel-ports] Re4: " gosha
2008-10-23 12:53         ` Kirill A. Shutemov
2008-10-23 14:25           ` [devel-ports] Re5: : " gosha
2008-10-23 18:04             ` Kirill A. Shutemov
2008-10-24  6:02               ` [devel-ports] " gosha
2008-10-24  6:05               ` gosha
2008-10-22 11:50     ` [devel-ports] " Kirill A. Shutemov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200810212333.24362.gosha@elins.ru \
    --to=gosha@elins.ru \
    --cc=devel-ports@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux architecture porting

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-ports/0 devel-ports/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-ports devel-ports/ http://lore.altlinux.org/devel-ports \
		devel-ports@lists.altlinux.org devel-ports@lists.altlinux.ru devel-ports@lists.altlinux.com
	public-inbox-index devel-ports

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


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