nodm version 0.7-1.1 failed to build on amd64 with GCC-4.6/oneiric

Bug #771123 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nodm (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

nodm version 0.7-1.1 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2463319

Details about the rebuild:
https://lists.ubuntu.com/archives/ubuntu-devel/2011-April/033042.html

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2463319/+files/buildlog_ubuntu-natty-amd64.nodm_0.7-1.1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 360 lines into the build log:

/build/buildd/nodm-0.7/nodm.c:730: undefined reference to `pam_close_session'
/build/buildd/nodm-0.7/nodm.c:731: undefined reference to `pam_setcred'
/build/buildd/nodm-0.7/nodm.c:711: undefined reference to `pam_strerror'
/build/buildd/nodm-0.7/nodm.c:713: undefined reference to `pam_strerror'
/build/buildd/nodm-0.7/nodm.c:714: undefined reference to `pam_setcred'
/build/buildd/nodm-0.7/nodm.c:703: undefined reference to `pam_strerror'
nodm-nodm.o:(.data+0x0): undefined reference to `misc_conv'
collect2: ld returned 1 exit status
make[2]: *** [nodm] Error 1
make[2]: Leaving directory `/build/buildd/nodm-0.7'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/nodm-0.7'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110425-0104
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/nodm-0.7

Matthias Klose (doko)
Changed in nodm (Ubuntu):
importance: Undecided → High
Changed in nodm (Ubuntu):
milestone: none → oneiric-alpha-3
Changed in nodm (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
status: New → Confirmed
tags: added: universe
Revision history for this message
Ilya Barygin (randomaction) wrote :

Another problem in 0.10-1:

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNODM_SESSION='"/usr/sbin/nodm"' -g -O2 -Wall -Werror -c -o nodm-xserver.o `test -f 'xserver.c' || echo './'`xserver.c
xserver.c: In function 'nodm_xserver_read_window_path':
xserver.c:413:17: error: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Werror=unused-result]
xserver.c:415:17: error: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors

make[2]: *** [nodm-xserver.o] Error 1
make[2]: Leaving directory `/build/buildd/nodm-0.10'

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nodm - 0.10-1ubuntu1

---------------
nodm (0.10-1ubuntu1) oneiric; urgency=low

  * Fix FTBFS:
    - Makefile.*: build without -Werror.
    - Makefile.*: place libraries in LIBS, not LDFLAGS (LP: #771123).
 -- Ilya Barygin <email address hidden> Sat, 13 Aug 2011 22:55:42 +0400

Changed in nodm (Ubuntu Oneiric):
status: Confirmed → Fix Released
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.