aptitude_0.4.0-1(ia64/unstable): FTBFS: sa_restorer is optional

Bug #25027 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
aptitude (Debian)
Fix Released
Unknown
aptitude (Ubuntu)
Fix Released
High
Michael Vogt

Bug Description

Automatically imported from Debian bug report #337536 http://bugs.debian.org/337536

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #337536 http://bugs.debian.org/337536

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.2 KiB)

Message-ID: <email address hidden>
Date: Fri, 4 Nov 2005 14:11:49 -0700
From: <email address hidden>
To: <email address hidden>
Subject: aptitude_0.4.0-1(ia64/unstable): FTBFS: sa_restorer is optional

Package: aptitude
Version: 0.4.0-1
Severity: serious
Tags: patch

There was an error while trying to autobuild your package:

> Automatic build of aptitude_0.4.0-1 on caballero by sbuild/ia64 69
> Build started at 20051104-1923

[...]

> ** Using build dependencies supplied by package:
> Build-Depends: libapt-pkg-dev (>= 0.6.0), debhelper (>= 4.0.0), libsigc++-2.0-dev, libcppunit-dev, libncursesw5-dev, gettext, g++ (>= 4:3.2.2-0), docbook-xsl, docbook-xml, xsltproc, html2text

[...]

> **** The following central src deps are (probably) missing:
> autoconf, automake, m4, libncurses5-dev (>= 5.3.20030510-1)

[...]

> if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -I../.. -I. -I../.. -I../../src -g -O2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -D_REENTRANT -MT vscreen.o -MD -MP -MF ".deps/vscreen.Tpo" -c -o vscreen.o vscreen.cc; \
> then mv -f ".deps/vscreen.Tpo" ".deps/vscreen.Po"; else rm -f ".deps/vscreen.Tpo"; exit 1; fi
> vscreen.cc: In function 'void vscreen_suspend()':
> vscreen.cc:973: error: 'struct sigaction' has no member named 'sa_restorer'
> make[5]: *** [vscreen.o] Error 1
> make[5]: Leaving directory `/build/buildd/aptitude-0.4.0/src/vscreen'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/build/buildd/aptitude-0.4.0/src/vscreen'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/build/buildd/aptitude-0.4.0/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/aptitude-0.4.0'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/aptitude-0.4.0'
> make: *** [build-stamp] Error 2

A full build log can be found at:
http://buildd.debian.org/build.php?arch=ia64&pkg=aptitude&ver=0.4.0-1

This patch fixes the problem:
========================================================================
diff -ur t/aptitude-0.4.0/src/pkg_ver_item.cc aptitude-0.4.0/src/pkg_ver_item.cc
--- t/aptitude-0.4.0/src/pkg_ver_item.cc 2005-10-23 23:51:32.000000000 -0600
+++ aptitude-0.4.0/src/pkg_ver_item.cc 2005-11-04 12:52:32.000000000 -0700
@@ -736,11 +736,10 @@

       struct sigaction oldact;
       struct sigaction act;
+
+ memset(&act,0,sizeof(act));
       act.sa_handler = SIG_DFL;
- act.sa_sigaction = 0;
       sigemptyset(&act.sa_mask);
- act.sa_flags = 0;
- act.sa_restorer = 0;

       sigaction(SIGCONT, &act, &oldact);

diff -ur t/aptitude-0.4.0/src/vscreen/vscreen.cc aptitude-0.4.0/src/vscreen/vscreen.cc
--- t/aptitude-0.4.0/src/vscreen/vscreen.cc 2005-10-23 23:03:28.000000000 -0600
+++ aptitude-0.4.0/src/vscreen/vscreen.cc 2005-11-04 12:53:17.000000000 -0700
@@ -966,11 +966,10 @@
   suspended_with_signals = true;

   struct sigaction act;
+
+ memset(&act,0,sizeof(act));
   act.sa_handler = SIG_IGN;
- act.sa_sigaction = 0;
   sigemptyset(&act.sa_mask);
- act.sa_flags = 0;
- act.sa_restorer = 0;

   sigaction(SIGCONT, &act, &oldsigcont);
   sigaction(SIGTSTP, &act, &old...

Read more...

Revision history for this message
In , Daniel Burrows (dburrows) wrote : Bug#337536: fixed in aptitude 0.4.0-2

Source: aptitude
Source-Version: 0.4.0-2

We believe that the bug you reported is fixed in the latest version of
aptitude, which is due to be installed in the Debian FTP archive:

aptitude-doc-cs_0.4.0-2_all.deb
  to pool/main/a/aptitude/aptitude-doc-cs_0.4.0-2_all.deb
aptitude-doc-en_0.4.0-2_all.deb
  to pool/main/a/aptitude/aptitude-doc-en_0.4.0-2_all.deb
aptitude-doc-fi_0.4.0-2_all.deb
  to pool/main/a/aptitude/aptitude-doc-fi_0.4.0-2_all.deb
aptitude-doc-fr_0.4.0-2_all.deb
  to pool/main/a/aptitude/aptitude-doc-fr_0.4.0-2_all.deb
aptitude_0.4.0-2.diff.gz
  to pool/main/a/aptitude/aptitude_0.4.0-2.diff.gz
aptitude_0.4.0-2.dsc
  to pool/main/a/aptitude/aptitude_0.4.0-2.dsc
aptitude_0.4.0-2_i386.deb
  to pool/main/a/aptitude/aptitude_0.4.0-2_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Burrows <email address hidden> (supplier of updated aptitude package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 4 Nov 2005 17:01:12 -0500
Source: aptitude
Binary: aptitude-doc-cs aptitude-doc-fr aptitude-doc-fi aptitude-doc-en aptitude
Architecture: source all i386
Version: 0.4.0-2
Distribution: unstable
Urgency: low
Maintainer: Daniel Burrows <email address hidden>
Changed-By: Daniel Burrows <email address hidden>
Description:
 aptitude - terminal-based apt frontend
 aptitude-doc-cs - Czech manual for aptitude, a terminal-based apt frontend
 aptitude-doc-en - English manual for aptitude, a terminal-based apt frontend
 aptitude-doc-fi - Finnish manual for aptitude, a terminal-based apt frontend
 aptitude-doc-fr - French manual for aptitude, a terminal-based apt frontend
Closes: 337536
Changes:
 aptitude (0.4.0-2) unstable; urgency=low
 .
   * Apply patch from <email address hidden> to be POSIX-compliant and thus
     build on ia64. (Closes: #337536)
Files:
 93f270f6ac6707b1ba01d02aca4af4d1 796 admin - aptitude_0.4.0-2.dsc
 1fa463c7f9bb62ac06e1d2516c9d6c4b 20727 admin - aptitude_0.4.0-2.diff.gz
 c00f72cf1a5e526972f95c45c5befd11 267720 doc optional aptitude-doc-cs_0.4.0-2_all.deb
 0f88e52a9d2c027c85f4c0610bff77b5 318792 doc optional aptitude-doc-en_0.4.0-2_all.deb
 2a272ba207e5ccf9ed460f164ff41f67 252710 doc optional aptitude-doc-fi_0.4.0-2_all.deb
 9549043eb9cb7198792f7b6e919c3f53 244206 doc optional aptitude-doc-fr_0.4.0-2_all.deb
 7d22d4ae5128838a8e5fe5ba58002f00 2418248 admin important aptitude_0.4.0-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDa91Bch6xsM7kSXgRAnunAJ456iNPrZSA0vlJMz6jI+aUHmfVLgCg91OP
UimWv+Kijz7c9J+osIe/290=
=hMsS
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.2 KiB)

Message-Id: <email address hidden>
Date: Fri, 04 Nov 2005 14:32:07 -0800
From: Daniel Burrows <email address hidden>
To: <email address hidden>
Subject: Bug#337536: fixed in aptitude 0.4.0-2

Source: aptitude
Source-Version: 0.4.0-2

We believe that the bug you reported is fixed in the latest version of
aptitude, which is due to be installed in the Debian FTP archive:

aptitude-doc-cs_0.4.0-2_all.deb
  to pool/main/a/aptitude/aptitude-doc-cs_0.4.0-2_all.deb
aptitude-doc-en_0.4.0-2_all.deb
  to pool/main/a/aptitude/aptitude-doc-en_0.4.0-2_all.deb
aptitude-doc-fi_0.4.0-2_all.deb
  to pool/main/a/aptitude/aptitude-doc-fi_0.4.0-2_all.deb
aptitude-doc-fr_0.4.0-2_all.deb
  to pool/main/a/aptitude/aptitude-doc-fr_0.4.0-2_all.deb
aptitude_0.4.0-2.diff.gz
  to pool/main/a/aptitude/aptitude_0.4.0-2.diff.gz
aptitude_0.4.0-2.dsc
  to pool/main/a/aptitude/aptitude_0.4.0-2.dsc
aptitude_0.4.0-2_i386.deb
  to pool/main/a/aptitude/aptitude_0.4.0-2_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Burrows <email address hidden> (supplier of updated aptitude package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 4 Nov 2005 17:01:12 -0500
Source: aptitude
Binary: aptitude-doc-cs aptitude-doc-fr aptitude-doc-fi aptitude-doc-en aptitude
Architecture: source all i386
Version: 0.4.0-2
Distribution: unstable
Urgency: low
Maintainer: Daniel Burrows <email address hidden>
Changed-By: Daniel Burrows <email address hidden>
Description:
 aptitude - terminal-based apt frontend
 aptitude-doc-cs - Czech manual for aptitude, a terminal-based apt frontend
 aptitude-doc-en - English manual for aptitude, a terminal-based apt frontend
 aptitude-doc-fi - Finnish manual for aptitude, a terminal-based apt frontend
 aptitude-doc-fr - French manual for aptitude, a terminal-based apt frontend
Closes: 337536
Changes:
 aptitude (0.4.0-2) unstable; urgency=low
 .
   * Apply patch from <email address hidden> to be POSIX-compliant and thus
     build on ia64. (Closes: #337536)
Files:
 93f270f6ac6707b1ba01d02aca4af4d1 796 admin - aptitude_0.4.0-2.dsc
 1fa463c7f9bb62ac06e1d2516c9d6c4b 20727 admin - aptitude_0.4.0-2.diff.gz
 c00f72cf1a5e526972f95c45c5befd11 267720 doc optional aptitude-doc-cs_0.4.0-2_all.deb
 0f88e52a9d2c027c85f4c0610bff77b5 318792 doc optional aptitude-doc-en_0.4.0-2_all.deb
 2a272ba207e5ccf9ed460f164ff41f67 252710 doc optional aptitude-doc-fi_0.4.0-2_all.deb
 9549043eb9cb7198792f7b6e919c3f53 244206 doc optional aptitude-doc-fr_0.4.0-2_all.deb
 7d22d4ae5128838a8e5fe5ba58002f00 2418248 admin important aptitude_0.4.0-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDa91Bch6xsM7kSXgRAnunAJ456iNPrZSA0vlJMz6jI+aUHmfVLgCg91OP
UimWv+Kijz7...

Read more...

Revision history for this message
Michael Vogt (mvo) wrote :

fixed in dapper already (thanks to lamont).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.