samdump2 version 1.1.1-1 failed to build on i386

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

Bug Description

samdump2 version 1.1.1-1 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2409808

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2409808/+files/buildlog_ubuntu-natty-i386.samdump2_1.1.1-1_FAILEDTOBUILD.txt.gz

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

hive.c: In function '_RegQueryValue':
hive.c:261:18: warning: unused variable 'j'
/usr/bin/gcc -Wall -g -O2 -c -o samdump2.o samdump2.c
samdump2.c: In function 'main':
samdump2.c:166:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result
Building binary...
/usr/bin/gcc -o samdump2 hive.o samdump2.o -Wall -g -O2 -lssl
/usr/bin/ld: samdump2.o: undefined reference to symbol 'MD5_Final@@OPENSSL_0.9.8'
/usr/bin/ld: note: 'MD5_Final@@OPENSSL_0.9.8' is defined in DSO /lib/libcrypto.so.0.9.8 so try adding it to the linker command line
/lib/libcrypto.so.0.9.8: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [samdump2] Error 1
make[1]: Leaving directory `/build/buildd/samdump2-1.1.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110408-1748
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/samdump2-1.1.1

Matthias Klose (doko)
Changed in samdump2 (Ubuntu):
importance: Undecided → High
tags: added: oneiric
Changed in samdump2 (Ubuntu):
milestone: none → oneiric-alpha-1
Changed in samdump2 (Ubuntu Oneiric):
milestone: oneiric-alpha-1 → oneiric-alpha-2
Revision history for this message
Sebastian Carneiro (scarneiro) wrote :

Hi. I have a question regarding this issue.

I have downloaded and built it and seems to build ok. I attached the build log.

The steps I took to do this is:

1) branch it from bzr: bzr branch lp:ubuntu/samdump2
2) build source package bzr bd -- -S -us -uc
3) Using pbuilder, I built it: sudo pbuilder build ../samdump2_1.1.1-1.1.dsc

What am I doing wrong ? The line that throws the error is different in my build from the one in this bug report:

- Bug report: /usr/bin/gcc -o samdump2 hive.o samdump2.o -Wall -g -O2 -lssl
- My build: /usr/bin/gcc -o samdump2 hive.o samdump2.o -Wall -g -O2 -lcrypto

Thanks and best regards.

Sebastian.

Revision history for this message
Sebastian Carneiro (scarneiro) wrote :

Seems to me like this bug has been fixed at Debian (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556335), and then has been synced in Ubuntu. This is the last change:

samdump2 (1.1.1-1.1) unstable; urgency=low

  * Non-maintainer upload.
  * Link with -lcrypto instead of -lssl. (Closes: #556335)
  * debian/rules: Use dh_prep instead of dh_clean -k.

 -- Ansgar Burchardt <email address hidden> Sat, 04 Jun 2011 09:56:51 +0200

Revision history for this message
Stefano Rivera (stefanor) wrote :

Fixed in 1.1.1-1.1

Changed in samdump2 (Ubuntu Oneiric):
status: New → 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.