Closed Bug 299237 Opened 20 years ago Closed 19 years ago

Mozilla build breaks on Solaris with pkg-config >= 0.17.1

Categories

(Firefox Build System :: General, defect)

All
Other
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: matt.keenan, Assigned: matt.keenan)

Details

Attachments

(1 file, 2 obsolete files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20050214
Build Identifier: Mozilla 1.7

Recent version of pkg-config no longer include all dependent libraries
when printing --libs.  (See
http://www.advogato.org/person/jamesh/diary.html?start=192
for details.)  On Solaris, binaries that directly use APIs from library L
now need to link to L explicitely, even if they link to another library M
that links to L.

Any source using libIDL-2 will also need glib-2.0, same for gtk+2.0 will
also need glib-2.0.


Reproducible: Always

Steps to Reproduce:
1. On Solaris, install pkgbuild-0.17.2
2. Try building mozilla-1.7

Actual Results:  
The build breaks with unresolved symbols trying to build 
  xpcom/typelib/xpidl/xpidl_idl.c 

The unresolved symbols all come from glib-2.0, -lglib-2.0 is not included
in the compile line, should be.

Expected Results:  
Should Build :(
Attachment #187791 - Attachment is obsolete: true
Attachment #187843 - Flags: review?(benjamin)
Severity: normal → blocker
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Mozilla Application Suite → Core
Version: unspecified → Trunk
Attachment #187843 - Flags: review?(benjamin) → review+
I took out the configure changes, since that's autogenerated from configure.in anyway.
Attachment #187843 - Attachment is obsolete: true
Attachment #201438 - Flags: review?(benjamin)
Attachment #201438 - Flags: review?(benjamin) → review+
Assignee: nobody → matt.keenan
are all those gobject-2.0 dependencies really needed?
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: