Package: libqt4-core
Version: 4.0.1-5
Severity: important

I noticed that the ia64 buildd was unable to compile the package
'sailcut', it systematically hangs when running lrelease. Upon closer
inspection, it turns out that lrelease hangs when making a call to
QFile::open.

I tried compiling a minimal Qt4 program that makes use of this function
and sucessfully reproduced the problem. I have attached the program to
this bug report.

Cheers,
Jeremy

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ia64
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-dsa-mckinley-smp
#include <qfile.h>

int main( int argc, char **argv )
{
  if (argc < 2) {
    fprintf(stderr, "No file specified\n");
    return 1;
  }

  QFile f(argv[1]);

  fprintf(stderr, "Trying to open '%s'\n", argv[1]);
  if ( f.open(QIODevice::ReadOnly) ) {
    fprintf(stderr, "Opening worked\n");
  } else {
    fprintf(stderr, "Opening failed\n");
  }
  f.close();

  return 0;
}

Reply via email to