ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] E: incoming i586 reject: perl-AptPkg-0.1.20-alt1
  @ 2006-06-17 20:57 ` Alexey Tourbin
  2006-06-17 21:40   ` Alexey Tourbin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Tourbin @ 2006-06-17 20:57 UTC (permalink / raw)
  To: devel

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

On Sun, Jun 18, 2006 at 12:43:12AM +0400, Upravdom Team Robot wrote:
> Dear Alexey Tourbin (AT) !
> The perl-AptPkg-0.1.20-alt1 package has been rejected from incoming for
> i586 architecture.
> 
> Possible reason follows:
> Verifying and fixing files in /usr/src/tmp/perl-AptPkg-buildroot (binconfig,pkgconfig,libtool)
> Compressing files in /usr/src/tmp/perl-AptPkg-buildroot (auto)
> Adjusting library links in /usr/src/tmp/perl-AptPkg-buildroot
> ./usr/lib:
> Verifying ELF objects in /usr/src/tmp/perl-AptPkg-buildroot (arch=normal,fhs=normal,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
> Stripping binaries in /usr/src/tmp/perl-AptPkg-buildroot (executable,shared)
> Processing files: perl-AptPkg-0.1.20-alt1
> error: File not found by glob: /usr/src/tmp/perl-AptPkg-buildroot/usr/lib/perl5/vendor_perl/i386-linux/AptPkg*
> Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.7337
> + umask 022
> + /bin/mkdir -p /usr/src/RPM/BUILD
> + cd /usr/src/RPM/BUILD
> + cd libapt-pkg-perl-0.1.20
> + DOCDIR=/usr/src/tmp/perl-AptPkg-buildroot/usr/share/doc/perl-AptPkg-0.1.20
> + export DOCDIR
> + rm -rf /usr/src/tmp/perl-AptPkg-buildroot/usr/share/doc/perl-AptPkg-0.1.20
> + /bin/mkdir -p /usr/src/tmp/perl-AptPkg-buildroot/usr/share/doc/perl-AptPkg-0.1.20
> + cp -prL README debian/changelog examples /usr/src/tmp/perl-AptPkg-buildroot/usr/share/doc/perl-AptPkg-0.1.20
> + chmod -R go-w /usr/src/tmp/perl-AptPkg-buildroot/usr/share/doc/perl-AptPkg-0.1.20
> + chmod -R a+rX /usr/src/tmp/perl-AptPkg-buildroot/usr/share/doc/perl-AptPkg-0.1.20
> + exit 0
> 
> 
> RPM build errors:
>     File not found by glob: /usr/src/tmp/perl-AptPkg-buildroot/usr/lib/perl5/vendor_perl/i386-linux/AptPkg*

Похоже, что все перловые arch-пакеты теперь не собираются.
Скоро пересборка будет?

Кажется это из-за gcc4.1-4.1.1-alt2 (с alt1 у меня локально собралось).

c++ -c  -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
 -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -pipe -Wall -Os -march=i586 -mtune=pentium4 -D_GNU_SOURCE -momit-leaf-frame-pointer   -DVERSION=\
"1.11\" -DXS_VERSION=\"1.11\" -fPIC -DPIC "-I/usr/lib/perl5/i386-linux/CORE"   AptPkg.c
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:34: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:38: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:40: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:42: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:43: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:45: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:46: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:47: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:49: error: invalid use of 'register' in linkage specification

И ещё одно неприятное: почему-то errexit mode не сработал (на стадии
%install), и ошибка проявилась только на стадии %files.

AptPkg.c: At global scope:
AptPkg.c:3089: error: invalid use of 'register' in linkage specification
make: *** [AptPkg.o] Error 1
make: Leaving directory `/usr/src/RPM/BUILD/libapt-pkg-perl-0.1.20'
+ _perl_vendor_check_dso

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

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

* Re: [devel] E: incoming i586 reject: perl-AptPkg-0.1.20-alt1
  2006-06-17 20:57 ` [devel] E: incoming i586 reject: perl-AptPkg-0.1.20-alt1 Alexey Tourbin
@ 2006-06-17 21:40   ` Alexey Tourbin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Tourbin @ 2006-06-17 21:40 UTC (permalink / raw)
  To: devel

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

On Sun, Jun 18, 2006 at 12:57:25AM +0400, Alexey Tourbin wrote:
> On Sun, Jun 18, 2006 at 12:43:12AM +0400, Upravdom Team Robot wrote:
> Похоже, что все перловые arch-пакеты теперь не собираются.

Нет, только С+плюсные.

> Кажется это из-за gcc4.1-4.1.1-alt2 (с alt1 у меня локально собралось).
> 
> c++ -c  -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
>  -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -pipe -Wall -Os -march=i586 -mtune=pentium4 -D_GNU_SOURCE -momit-leaf-frame-pointer   -DVERSION=\
> "1.11\" -DXS_VERSION=\"1.11\" -fPIC -DPIC "-I/usr/lib/perl5/i386-linux/CORE"   AptPkg.c
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:34: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:38: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:40: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:42: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:43: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:45: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:46: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:47: error: invalid use of 'register' in linkage specification
> /usr/lib/perl5/i386-linux/CORE/thrdvar.h:49: error: invalid use of 'register' in linkage specification

# 34 "/usr/lib/perl5/i386-linux/CORE/thrdvar.h"
extern "C" SV *** Perl_Tstack_sp_ptr(register PerlInterpreter *my_perl __attribute__((unused)));

С+плюс теперь такие декларации не хочет понимать.

$ gcc -I/usr/lib/perl5/i386-linux/CORE -include EXTERN.h -include perl.h -include XSUB.h ~/ldtest.c
$ c++ -I/usr/lib/perl5/i386-linux/CORE -include EXTERN.h -include perl.h -include XSUB.h ~/ldtest.c  
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:34: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:38: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:40: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:42: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:43: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:45: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:46: error: invalid use of 'register' in linkage specification
/usr/lib/perl5/i386-linux/CORE/thrdvar.h:47: error: invalid use of 'register' in linkage specification
$

Это точно в C+плюсе такие объявление запрещены?
Но ведь с extern "C" объявлено!

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

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

end of thread, other threads:[~2006-06-17 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-17 20:57 ` [devel] E: incoming i586 reject: perl-AptPkg-0.1.20-alt1 Alexey Tourbin
2006-06-17 21:40   ` Alexey Tourbin

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