Closed
Bug 658831
Opened 14 years ago
Closed 14 years ago
Shared smime build in comm-1.9.2 fails: Makefile:84: *** missing separator.
Categories
(MailNews Core :: Security: S/MIME, defect)
Tracking
(thunderbird3.1 .15-fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
thunderbird3.1 | --- | .15-fixed |
People
(Reporter: imphil, Assigned: standard8)
References
Details
Attachments
(1 file, 2 obsolete files)
568 bytes,
patch
|
Bienvenu
:
review+
standard8
:
approval-thunderbird3.1.15+
|
Details | Diff | Splinter Review |
The Makefile in mailnews/extensions/smime/build contains an error which prevents a build with the message
Makefile:84: *** missing separator.
A patch is attached. Who is doing reviews in this component?
Reporter | ||
Comment 1•14 years ago
|
||
Ah well, this does not yet completely solve the problem. There is another problem after that:
make export
make[1]: Entering directory `/home/philipp/src/comm-1.9.2/obj-debug/mailnews/extensions/smime/build'
make[1]: Nothing to be done for `export'.
make[1]: Leaving directory `/home/philipp/src/comm-1.9.2/obj-debug/mailnews/extensions/smime/build'
make libs
make[1]: Entering directory `/home/philipp/src/comm-1.9.2/obj-debug/mailnews/extensions/smime/build'
make[1]: *** No rule to make target `../../../base/util/libmsgbsutl_s.a', needed by `libmsgsmime.so'. Stop.
make[1]: Leaving directory `/home/philipp/src/comm-1.9.2/obj-debug/mailnews/extensions/smime/build'
make: *** [default] Error 2
I currently don't have a clue where that's coming from. Any ideas?
Reporter | ||
Comment 2•14 years ago
|
||
so, I took the approach as in import/build/Makefile and TB builds and works, looks like this code path has never been tested?
Attachment #534257 -
Attachment is obsolete: true
Reporter | ||
Updated•14 years ago
|
Attachment #534259 -
Flags: review?(kaie)
Reporter | ||
Comment 3•14 years ago
|
||
Hm, coming back to this with a bit more sleep, things look this way:
* The whole code is changed in comm-central, and the problematic line is not there any more
* I mixed up static/shared, sorry.
* With this patch the build works with --enable-static/--disable-shared as well as without those two flags (using a minimal mozconfig)
* Since this whole code changed in comm-central, I'm not convinced if it's worth the effort to change this on the branch, since it seems to have been like that for ages.
Summary: Static smime build fails: Makefile:84: *** missing separator. → Shared smime build in comm-1.9.2 fails: Makefile:84: *** missing separator.
Version: Other Branch → 1.9.2 Branch
Assignee | ||
Comment 4•14 years ago
|
||
Comment on attachment 534259 [details] [diff] [review]
patch v2
I think we might as well just get this landed.
+ EXTRA_DSO_LDOPTS += ../../base/util/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)
Note we don't normally indent here, but I'll fix that on checkin.
Attachment #534259 -
Flags: review?(kaie)
Attachment #534259 -
Flags: review+
Attachment #534259 -
Flags: approval-thunderbird3.1.13+
Assignee | ||
Comment 5•14 years ago
|
||
Comment on attachment 534259 [details] [diff] [review]
patch v2
Actually, I'm not sure this is quite right. Taking a closer look.
Attachment #534259 -
Flags: review?(mbanner)
Attachment #534259 -
Flags: review+
Attachment #534259 -
Flags: approval-thunderbird3.1.13+
Updated•14 years ago
|
Assignee: nobody → mail
Assignee | ||
Comment 6•14 years ago
|
||
I took a bit of a look at this and realised that if the non-static-mail-build case we currently have two sets of options for linking against msgbaseutil - one using EXTRA_DSO_LIBS and one using SHARED_LIBRARY_LIBS. Trying it locally, we don't need the SHARED_LIBRARY_LIBS version.
Hence we can just drop SHARED_LIBRARY_LIBS and shouldn't have to worry about this. It doesn't affect our release builds as they are static builds with static mail.
David: just looking for an rs here, this will only land on 1.9.2 branch.
Assignee: mail → mbanner
Attachment #534259 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #534259 -
Flags: review?(mbanner)
Attachment #558418 -
Flags: review?(dbienvenu)
Assignee | ||
Updated•14 years ago
|
Attachment #558418 -
Flags: review?(dbienvenu) → review?(mconley)
![]() |
||
Comment 7•14 years ago
|
||
Comment on attachment 558418 [details] [diff] [review]
Simpler fix
rs=me
Attachment #558418 -
Flags: review?(mconley) → review+
Comment 8•14 years ago
|
||
Comment on attachment 558418 [details] [diff] [review]
Simpler fix
Review of attachment 558418 [details] [diff] [review]:
-----------------------------------------------------------------
I should point out that I'm only familiar with the build system as a user. I have little inkling about the ramifications of a change like this.
I can, however, confirm that this does not break my local buildage of TB 3.1.x. So, r+ from me.
Assignee | ||
Comment 9•14 years ago
|
||
Checked in for 3.1.15: http://hg.mozilla.org/releases/comm-1.9.2/rev/fee5369a4b8c
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
status-thunderbird3.1:
--- → .15-fixed
Flags: in-testsuite-
Resolution: --- → FIXED
Assignee | ||
Updated•14 years ago
|
Attachment #558418 -
Flags: approval-thunderbird3.1.15+
You need to log in
before you can comment on or make changes to this bug.
Description
•