Closed Bug 894462 Opened 12 years ago Closed 12 years ago

servo build slaves need libpng

Categories

(Infrastructure & Operations :: RelOps: Puppet, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jack, Assigned: bhearsum)

Details

Attachments

(2 files)

libpng was recently added as a Servo dependency, but it doesn't seem to exist on either build mac or linux build slaves.
Assignee: server-ops-releng → nobody
Component: Server Operations: RelEng → RelOps: Puppet
Product: mozilla.org → Infrastructure & Operations
QA Contact: arich → dustin
Attached patch install libpngSplinter Review
Linux is taken care of by Mozharness. This patch should do it.
Attachment #776478 - Flags: review?(aki)
Attachment #776478 - Flags: review?(aki) → review+
Comment on attachment 776478 [details] [diff] [review] install libpng Should be fixed for Linux now.
Attachment #776478 - Flags: checked-in+
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)
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)
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)
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.
Assignee: nobody → bhearsum
Status: NEW → ASSIGNED
Attachment #776588 - Flags: review?(dustin)
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+
(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.
I've got a patch for libpng 1.2 support. Will retry the build shortly.
Flags: needinfo?(jack)
I now get /usr/include/pngconf.h:390: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token on the linux slave. :(
It works now with some additional fixes to rust-png.
Attachment #776588 - Flags: checked-in+
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.

Attachment

General

Created:
Updated:
Size: