Closed
Bug 894462
Opened 12 years ago
Closed 12 years ago
servo build slaves need libpng
Categories
(Infrastructure & Operations :: RelOps: Puppet, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jack, Assigned: bhearsum)
Details
Attachments
(2 files)
|
667 bytes,
patch
|
mozilla
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
|
4.12 KB,
patch
|
dustin
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
libpng was recently added as a Servo dependency, but it doesn't seem to exist on either build mac or linux build slaves.
Updated•12 years ago
|
Assignee: server-ops-releng → nobody
Component: Server Operations: RelEng → RelOps: Puppet
Product: mozilla.org → Infrastructure & Operations
QA Contact: arich → dustin
| Assignee | ||
Comment 1•12 years ago
|
||
Linux is taken care of by Mozharness. This patch should do it.
Attachment #776478 -
Flags: review?(aki)
Updated•12 years ago
|
Attachment #776478 -
Flags: review?(aki) → review+
| Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 776478 [details] [diff] [review]
install libpng
Should be fixed for Linux now.
Attachment #776478 -
Flags: checked-in+
| Assignee | ||
Comment 3•12 years ago
|
||
Dustin, any idea how to install this on Mac? Jack says he uses libpng from "brew" locally, but I suspect we can't use brew on the build machines.
Flags: needinfo?(dustin)
Comment 4•12 years ago
|
||
You'll need to build a pkgdmg. It shouldn't be too difficult, based on the other scripts in modules/packages/manifests/*-dmg.sh
Flags: needinfo?(dustin)
| Assignee | ||
Comment 5•12 years ago
|
||
Linux build still failed due to a missing symbol:
11:17:20 INFO - note: /builds/slave/linux/build/objdir/src/support/png/rust-png/libpng-102129e09d96658-0.1.so: undefined reference to `png_set_longjmp_fn'
11:17:20 INFO - collect2: ld returned 1 exit status
Jack, is this something you can work around? libpng 1.2.46 is the latest that's available in CentOS 6.
Flags: needinfo?(jack)
| Assignee | ||
Comment 6•12 years ago
|
||
This is based on the yasm stuff. I had to use `pwd`/installroot in "make install" because libpng is fussy about having an absolute dir. DMG installed fine by hand.
Comment 7•12 years ago
|
||
Comment on attachment 776588 [details] [diff] [review]
libpng puppet stuff
Review of attachment 776588 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, assuming it's OK to install libpng on *all* Darwin build slaves, including moco.
Attachment #776588 -
Flags: review?(dustin) → review+
| Assignee | ||
Comment 8•12 years ago
|
||
(In reply to Dustin J. Mitchell [:dustin] from comment #7)
> Comment on attachment 776588 [details] [diff] [review]
> libpng puppet stuff
>
> Review of attachment 776588 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Looks good, assuming it's OK to install libpng on *all* Darwin build slaves,
> including moco.
Yup, my intent has always been to keep Servo and non-Servo slaves the same.
| Reporter | ||
Comment 9•12 years ago
|
||
I've got a patch for libpng 1.2 support. Will retry the build shortly.
Flags: needinfo?(jack)
| Reporter | ||
Comment 10•12 years ago
|
||
I now get
/usr/include/pngconf.h:390: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token
on the linux slave. :(
| Reporter | ||
Comment 11•12 years ago
|
||
It works now with some additional fixes to rust-png.
| Assignee | ||
Updated•12 years ago
|
Attachment #776588 -
Flags: checked-in+
| Assignee | ||
Comment 12•12 years ago
|
||
I've seen Servo and non-Servo slaves grab the libpng package without issue -> FIXED. I did notice bug 894907 in the process, though, which makes us need to manually reboot the Mac Servo slaves whenever we make a Puppet change.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•