Bug#329686: Processed: Re: Bug#329686: FTBFS: fails to detect libkrb5

2005-10-12 Thread Martin Pitt
Hi Sam!

Sam Hartman [2005-10-11 23:20 -0400]:
 Nope.  I seem to be running 1.3.6-5, which since it was uploaded by my
 co-maintainer not me means I'm using a version built on the buildds.

Does the postgresql-7.4 or -8.0 build work locally on your machine?

Thanks,

Martin
-- 
Martin Pitthttp://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org


signature.asc
Description: Digital signature


Bug#329686: Processed: Re: Bug#329686: FTBFS: fails to detect libkrb5

2005-10-11 Thread Russ Allbery
Sam Hartman [EMAIL PROTECTED] writes:

 Hi.  I cannot reproduce this.  My desktop is a powerpc machine and I
 build all my packages (including ones that depend on krb5) on it just
 fine.

It's definitely affecting the buildds, and Marc Brockschmidt just
mentioned to me that he couldn't build webauth on powerpc with the krb5
packages currently in unstable.  Currently everything I upload with a krb5
dependency is failing to build on powerpc.

The symptoms for me are that libkrb5 is not detected by configure and then
the package fails to build due to undefined symbols.

-- 
Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#329686: Processed: Re: Bug#329686: FTBFS: fails to detect libkrb5

2005-10-11 Thread Martin Pitt
Hi Sam!

Sam Hartman [2005-10-09 16:56 -0400]:
 Hi.  I cannot reproduce this.  My desktop is a powerpc machine and I
 build all my packages (including ones that depend on krb5) on it just
 fine.

Odd. Then why is postgresql-8.0 on powerpc building fine on Ubuntu,
but not on the Debian buildds? Do you happen to use a locally built
krb5 package on your desktop?

Thanks for investigating,

Martin

-- 
Martin Pitthttp://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?


signature.asc
Description: Digital signature


Bug#329686: Processed: Re: Bug#329686: FTBFS: fails to detect libkrb5

2005-10-11 Thread Sam Hartman
 Martin == Martin Pitt [EMAIL PROTECTED] writes:

Martin Hi Sam!  Sam Hartman [2005-10-09 16:56 -0400]:
 Hi.  I cannot reproduce this.  My desktop is a powerpc machine
 and I build all my packages (including ones that depend on
 krb5) on it just fine.

Martin Odd. Then why is postgresql-8.0 on powerpc building fine
Martin on Ubuntu, but not on the Debian buildds? Do you happen to
Martin use a locally built krb5 package on your desktop?

Nope.  I seem to be running 1.3.6-5, which since it was uploaded by my
co-maintainer not me means I'm using a version built on the buildds.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#329686: Processed: Re: Bug#329686: FTBFS: fails to detect libkrb5

2005-10-09 Thread Sam Hartman


Hi.  I cannot reproduce this.  My desktop is a powerpc machine and I
build all my packages (including ones that depend on krb5) on it just
fine.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#329686: FTBFS: fails to detect libkrb5

2005-10-07 Thread Martin Pitt
reassign 329686 libkrb53
retitle 329686 libkrb53: linker error on powerpc makes depending packages FTBFS
severity 329686 critical
tag 329686 - experimental
thanks

Hi!

Roger Leigh [2005-09-22 19:57 +0100]:
 Package: postgresql-8.1
 Version: 8.0+8.1beta-3
 Severity: important
 Tags: experimental
 Justification: fails to build from source
 
 Hi,
 
 I get this failure in an experimental chroot, sid chroot and host sid
 system:
 
 checking for library containing krb5_encrypt... no
 configure: error: could not find function 'krb5_encrypt' required for 
 Kerberos 5
 make: *** [build-tree/postgresql-8.1beta1/config.status] Error 1
 
 However, krb5_encrypt is not present in libkrb5.so:
 
 # nm -D /usr/lib/libkrb5.so | grep krb5_encrypt
 0001e2c0 T decode_krb5_encryption_key
 00024540 T encode_krb5_encryption_key
  U krb5_encrypt_data
 0003a520 T krb5_encrypt_helper
 0003a800 T krb5_encrypt_tkt_part
 
 Perhaps the configure check is broken, or libkrb5 has not built
 correctly on powerpc?

This is due to a recent binutils change, krb5 on powerpc got a weird
linking error.  Rebuilding krb5 from source on powerpc fixes the
error.

Can you please do another upload of krb5 to fix this? It does not just
break the experimental version of postgresql, but also the sid and
etch ones, and probably a whole lot of other packages that use krb5.

Thanks!

Martin

-- 
Martin Pitt  http://www.piware.de
Ubuntu Developer   http://www.ubuntulinux.org
Debian Developerhttp://www.debian.org


signature.asc
Description: Digital signature


Bug#329686: FTBFS: fails to detect libkrb5

2005-09-22 Thread Roger Leigh
Package: postgresql-8.1
Version: 8.0+8.1beta-3
Severity: important
Tags: experimental
Justification: fails to build from source

Hi,

I get this failure in an experimental chroot, sid chroot and host sid
system:

checking for library containing krb5_encrypt... no
configure: error: could not find function 'krb5_encrypt' required for Kerberos 5
make: *** [build-tree/postgresql-8.1beta1/config.status] Error 1

However, krb5_encrypt is not present in libkrb5.so:

# nm -D /usr/lib/libkrb5.so | grep krb5_encrypt
0001e2c0 T decode_krb5_encryption_key
00024540 T encode_krb5_encryption_key
 U krb5_encrypt_data
0003a520 T krb5_encrypt_helper
0003a800 T krb5_encrypt_tkt_part

Perhaps the configure check is broken, or libkrb5 has not built
correctly on powerpc?


Regards,
Roger


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.1
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#329686: FTBFS: fails to detect libkrb5

2005-09-22 Thread Roger Leigh
This is the output of config.log.  The symbol in question
(krb5_encrypt) is present in libk5crypto.so, which is NEEDED by
libkrb5.so.  Some wierd linker error causes the check to fail:


configure:6951: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wold-style-definition -Wendif-labels 
-fno-strict-aliasing -D_GNU_SOURCEconftest.c -lkrb5  -lcom_err -lz 
-lreadline -lcrypt -lresolv -lnsl -ldl -lm  5
conftest.c: In function 'main':
conftest.c:32: warning: old-style function definition
/usr/bin/ld: dynamic variable `_SDA_BASE_@@krb5_3_MIT' is zero size
/usr/bin/ld: 
/usr/lib/gcc/powerpc-linux-gnu/4.0.2/../../../../lib/crt1.o(.rodata+0x0): 
unresolvable R_PPC_ADDR32 relocation against symbol `_SDA_BASE_@@krb5_3_MIT'
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
configure:6957: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME PostgreSQL
| #define PACKAGE_TARNAME postgresql
| #define PACKAGE_VERSION 8.1beta2
| #define PACKAGE_STRING PostgreSQL 8.1beta2
| #define PACKAGE_BUGREPORT pgsql-bugs@postgresql.org
| #define PG_VERSION 8.1beta2
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR 5432
| #define PG_VERSION_STR PostgreSQL 8.1beta2 on powerpc-unknown-linux-gnu, 
compiled by GCC gcc (GCC) 4.0.2 20050917 (prerelease) (Debian 4.0.1-8)
| #define KRB5 1
| #define PG_KRB_SRVNAM postgres
| #define HAVE_LIBM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBNSL 1
| #define HAVE_LIBRESOLV 1
| #define HAVE_LIBREADLINE 1
| #define HAVE_LIBZ 1
| #define HAVE_SPINLOCKS 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern C
| #endif
| /* We use char because int might match the return type of a gcc2
|builtin and then its argument prototype would still apply.  */
| char krb5_encrypt ();
| int
| main ()
| {
| krb5_encrypt ();
|   ;
|   return 0;
| }
configure:6951: gcc -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wold-style-definition -Wendif-labels 
-fno-strict-aliasing -D_GNU_SOURCEconftest.c -lkrb5 -ldes -lasn1 -lroken  
-lcom_err -lz -lreadline -lcrypt -lresolv -lnsl -ldl -lm  5
conftest.c: In function 'main':
conftest.c:32: warning: old-style function definition
/usr/bin/ld: cannot find -ldes
collect2: ld returned 1 exit status
configure:6957: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME PostgreSQL
| #define PACKAGE_TARNAME postgresql
| #define PACKAGE_VERSION 8.1beta2
| #define PACKAGE_STRING PostgreSQL 8.1beta2
| #define PACKAGE_BUGREPORT pgsql-bugs@postgresql.org
| #define PG_VERSION 8.1beta2
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR 5432
| #define PG_VERSION_STR PostgreSQL 8.1beta2 on powerpc-unknown-linux-gnu, 
compiled by GCC gcc (GCC) 4.0.2 20050917 (prerelease) (Debian 4.0.1-8)
| #define KRB5 1
| #define PG_KRB_SRVNAM postgres
| #define HAVE_LIBM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBNSL 1
| #define HAVE_LIBRESOLV 1
| #define HAVE_LIBREADLINE 1
| #define HAVE_LIBZ 1
| #define HAVE_SPINLOCKS 1
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern C
| #endif
| /* We use char because int might match the return type of a gcc2
|builtin and then its argument prototype would still apply.  */
| char krb5_encrypt ();
| int
| main ()
| {
| krb5_encrypt ();
|   ;
|   return 0;
| }

-- 
Roger Leigh
Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#329686: FTBFS: fails to detect libkrb5

2005-09-22 Thread Roger Leigh
This is due to a recent binutils change.  Rebuilding krb5 from source
fixes the error.  Bugs have been filed against krb5 and binutils.


Regards,
Roger

-- 
Roger Leigh
Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]