Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310179 - [PATCH] media-libs/netpbm-10.49.00: build failure on Gentoo/FreeBSD: undefined signal SIGPWR
Summary: [PATCH] media-libs/netpbm-10.49.00: build failure on Gentoo/FreeBSD: undefine...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 09:29 UTC by Naohiro Aota
Modified: 2010-03-21 16:58 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2010-03-19 09:29:01 UTC
Cannot build netpbm-10.49.00 on Gentoo/FreeBSD because of using undefined
signal SIGPWR.

Upstream trunk already fix this problem. Here is a patch. 
http://netpbm.svn.sourceforge.net/viewvc/netpbm/trunk/lib/libsystem.c?r1=1129&r2=1149&view=patch

I've confirmed that appling this patch make it possible to emerge
netpbm-10.49.00 on Gentoo/FreeBSD.


Reproducible: Always

Steps to Reproduce:
1.emerge =netpbm-10.49.00


Actual Results:  
build fail with te follwing output.

i686-gentoo-freebsd7.1-gcc -Wall -c -I.  -Iimportinc -Iimportinc/netpbm -I/usr/tmp/portage/media-libs/netpbm-10.49.00/work/netpbm-10.49.00/lib  -DNDEBUG  -O2 -pipe -march=prescott --param l1-cache-size=16 --param l1-cache-line-size=64 -mtune=prescott -fPIC \
            -o libsystem.o libsystem.c
libsystem.c: In function ‘signalName’:
libsystem.c:249: error: ‘SIGPWR’ undeclared (first use in this function)
libsystem.c:249: error: (Each undeclared identifier is reported only once
libsystem.c:249: error: for each function it appears in.)
Comment 1 Alexis Ballier gentoo-dev 2010-03-19 11:16:02 UTC
if its applied upstream, I suppose it's worth applying it in the tree
Comment 2 SpanKY gentoo-dev 2010-03-19 20:04:50 UTC
if you want to commit the patch to the current 10.49.00, feel free
Comment 3 Alexis Ballier gentoo-dev 2010-03-21 08:53:09 UTC
(In reply to comment #2)
> if you want to commit the patch to the current 10.49.00, feel free
> 
seems you did it:

  20 Mar 2010; Mike Frysinger <vapier@gentoo.org> netpbm-10.49.00.ebuild,
  +files/netpbm-10.49.00-sigpower.patch:
  Add fix from upstream for BSD systems #310179 by Naohiro Aota.

Comment 4 SpanKY gentoo-dev 2010-03-21 16:58:59 UTC
sorry, meant to close this bug in the process