Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334029 - =app-backup/bacula-5.0.3 does not build - Cannot link SD - OpenSSL library issue
Summary: =app-backup/bacula-5.0.3 does not build - Cannot link SD - OpenSSL library issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-22 23:42 UTC by Stejarel Veres
Modified: 2010-08-23 20:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info =app-backup/bacula-5.0.3 on sparc (emerge_info_app_bacula_5.0.3_sparc.txt,3.24 KB, text/plain)
2010-08-22 23:46 UTC, Stejarel Veres
Details
emerge -pqv =app-backup/bacula-5.0.3 on sparc (emerge_pqv_app_bacula_5.0.3_sparc.txt,198 bytes, text/plain)
2010-08-22 23:47 UTC, Stejarel Veres
Details
build.log for =app-backup/bacula-5.0.3 on sparc (build_log_app_bacula_5.0.3_sparc.txt,66.34 KB, text/plain)
2010-08-22 23:48 UTC, Stejarel Veres
Details
emerge --info =app-backup/bacula-5.0.3 on x86 (emerge_info_app_bacula_5.0.3_x86.txt,4.15 KB, text/plain)
2010-08-22 23:52 UTC, Stejarel Veres
Details
emerge -pqv =app-backup/bacula-5.0.3 on x86 (emerge_pqv_app_bacula_5.0.3_x86.txt,195 bytes, text/plain)
2010-08-22 23:53 UTC, Stejarel Veres
Details
build.log for =app-backup/bacula-5.0.3 on x86 (build_log_app_bacula_5.0.3_x86.txt,98.63 KB, text/plain)
2010-08-23 00:00 UTC, Stejarel Veres
Details
build.log for x86_64 (build.log,65.17 KB, text/plain)
2010-08-23 13:32 UTC, Arno Ekkes
Details
My emerge --info for 86_64 machine (emerge.info,4.11 KB, text/plain)
2010-08-23 13:33 UTC, Arno Ekkes
Details
ebuild patch (bacula-5.0.3.ebuild.patch,322 bytes, patch)
2010-08-23 18:07 UTC, Joe Pelkey
Details | Diff
analog to 5.0.2's patch (bacula-5.0.3-as-needed.patch,1.95 KB, patch)
2010-08-23 18:08 UTC, Joe Pelkey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stejarel Veres 2010-08-22 23:42:25 UTC
=app-backup/bacula-5.0.3 does not compile when the storage daemon has to be built (-bacula-clientonly -bacula-nodir -bacula-nosd). The build process fails to link the storage daemon, apparently due to undefined references to OpenSSL routines in libbac.

Reproducible: Always

Steps to Reproduce:
1. Try to emerge =app-backup/bacula-5.0.3 (or upgrade from 5.0.2-r2 or an earlier version).

Actual Results:  
Bacula fails to build successfully (at least on x86 and sparc). See attachments for details.

Expected Results:  
The build process should have completed without error.

See attachments for details.
Comment 1 Stejarel Veres 2010-08-22 23:46:55 UTC
Created attachment 244121 [details]
emerge --info =app-backup/bacula-5.0.3 on sparc
Comment 2 Stejarel Veres 2010-08-22 23:47:52 UTC
Created attachment 244123 [details]
emerge -pqv =app-backup/bacula-5.0.3 on sparc
Comment 3 Stejarel Veres 2010-08-22 23:48:24 UTC
Created attachment 244125 [details]
build.log for =app-backup/bacula-5.0.3 on sparc
Comment 4 Stejarel Veres 2010-08-22 23:52:03 UTC
Created attachment 244127 [details]
emerge --info =app-backup/bacula-5.0.3 on x86
Comment 5 Stejarel Veres 2010-08-22 23:53:16 UTC
Created attachment 244129 [details]
emerge -pqv =app-backup/bacula-5.0.3 on x86
Comment 6 Stejarel Veres 2010-08-23 00:00:55 UTC
Created attachment 244131 [details]
build.log for =app-backup/bacula-5.0.3 on x86
Comment 7 Arno Ekkes 2010-08-23 13:31:29 UTC
The same issue arise on a x86_64 system. I attached my emerge --info and build log.
Comment 8 Arno Ekkes 2010-08-23 13:32:27 UTC
Created attachment 244203 [details]
build.log for x86_64
Comment 9 Arno Ekkes 2010-08-23 13:33:01 UTC
Created attachment 244205 [details]
My emerge --info for 86_64 machine
Comment 10 Thomas Beierlein gentoo-dev 2010-08-23 17:54:25 UTC
Thanks for reporting. I wonder why I get no problem here in stable chroot, but can reproduce it. Same problem as in bug #310087.

Fixed. 

+*bacula-5.0.3-r1 (23 Aug 2010)
+
+  23 Aug 2010; Thomas Beierlein <tomjbe@gentoo.org> +bacula-5.0.3-r1.ebuild,
+  +files/5.0.3/bacula-5.0.3-as-needed.patch:
+  Fix as-needed problem, bug #334029
+
Comment 11 Joe Pelkey 2010-08-23 18:07:39 UTC
Created attachment 244239 [details, diff]
ebuild patch

The patches for 5.0.2 included an --as-needed patch while 5.0.3 didn't.  I made one based on what the 5.0.2 patch did, and it compiles and runs.  I don't know Makefile.in syntax too well, so the patch may have problems or do too much.
Comment 12 Joe Pelkey 2010-08-23 18:08:15 UTC
Created attachment 244243 [details, diff]
analog to 5.0.2's patch
Comment 13 Stejarel Veres 2010-08-23 20:39:09 UTC
5.0.3-r1 hasn't made it yet into the sparc and x86_64 trees, as far as I can see. But I can confirm that it works just fine on x86.