rpm won't build

Keith Irwin keith.irwin at gmail.com
Sat Mar 17 20:42:30 PDT 2007


Folks--

I'd like to build some RPMs on my mac for deployment on, well, not my  
mac.  I issued:

  $ sudo port install rpm

and, after some time, got the following.  I'm assuming there's  
something building rpm depends on which is not included in the  
dependency list.

Do I need rpmdav, which doesn't seem to show up on the "port list"  
command?  Is it something else entirely?

Keith

--->  Fetching rpm
--->  Verifying checksum(s) for rpm
--->  Extracting rpm
--->  Applying patches to rpm
--->  Configuring rpm
--->  Building rpm with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/ 
var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_sysutils_rpm/work/rpm-4.4.5" && gnumake all" returned error 2
Command output:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/opt/local/include/ 
beecrypt -I/opt/local/include/neon -I../lua/include -I../lua/local - 
I../popt -I../misc -I../zlib -I/opt/local/include -I/opt/local/ 
include -I/Library/Frameworks/Python.framework/Versions/2.4/include/ 
python2.4 -I/System/Library/Frameworks/CoreFoundation.framework/ 
Headers -I/Library/Frameworks/Python.framework/Versions/2.4/include - 
I/opt/local/include -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall - 
Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char- 
subscripts -MT fts.lo -MD -MP -MF .deps/fts.Tpo -c fts.c  -fno-common  
-DPIC -o .libs/fts.o

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/opt/local/include/ 
beecrypt -I/opt/local/include/neon -I../lua/include -I../lua/local - 
I../popt -I../misc -I../zlib -I/opt/local/include -I/opt/local/ 
include -I/Library/Frameworks/Python.framework/Versions/2.4/include/ 
python2.4 -I/System/Library/Frameworks/CoreFoundation.framework/ 
Headers -I/Library/Frameworks/Python.framework/Versions/2.4/include - 
I/opt/local/include -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall - 
Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char- 
subscripts -MT fts.lo -MD -MP -MF .deps/fts.Tpo -c fts.c -o fts.o >/ 
dev/null 2>&1

if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.  
-I. -I.. -I. -I.. -I/opt/local/include/beecrypt -I/opt/local/include/ 
neon -I../lua/include -I../lua/local -I../popt -I../misc -I../zlib -I/ 
opt/local/include  -I/opt/local/include -I/Library/Frameworks/ 
Python.framework/Versions/2.4/include/python2.4 -I/System/Library/ 
Frameworks/CoreFoundation.framework/Headers  -I/Library/Frameworks/ 
Python.framework/Versions/2.4/include -I/opt/local/include -fPIC - 
DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict- 
prototypes -Wmissing-prototypes -Wno-char-subscripts -MT macro.lo -MD  
-MP -MF ".deps/macro.Tpo" -c -o macro.lo macro.c; \

then mv -f ".deps/macro.Tpo" ".deps/macro.Plo"; else rm -f ".deps/ 
macro.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/opt/local/include/ 
beecrypt -I/opt/local/include/neon -I../lua/include -I../lua/local - 
I../popt -I../misc -I../zlib -I/opt/local/include -I/opt/local/ 
include -I/Library/Frameworks/Python.framework/Versions/2.4/include/ 
python2.4 -I/System/Library/Frameworks/CoreFoundation.framework/ 
Headers -I/Library/Frameworks/Python.framework/Versions/2.4/include - 
I/opt/local/include -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall - 
Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char- 
subscripts -MT macro.lo -MD -MP -MF .deps/macro.Tpo -c macro.c  -fno- 
common -DPIC -o .libs/macro.o

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/opt/local/include/ 
beecrypt -I/opt/local/include/neon -I../lua/include -I../lua/local - 
I../popt -I../misc -I../zlib -I/opt/local/include -I/opt/local/ 
include -I/Library/Frameworks/Python.framework/Versions/2.4/include/ 
python2.4 -I/System/Library/Frameworks/CoreFoundation.framework/ 
Headers -I/Library/Frameworks/Python.framework/Versions/2.4/include - 
I/opt/local/include -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall - 
Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char- 
subscripts -MT macro.lo -MD -MP -MF .deps/macro.Tpo -c macro.c -o  
macro.o >/dev/null 2>&1

if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.  
-I. -I.. -I. -I.. -I/opt/local/include/beecrypt -I/opt/local/include/ 
neon -I../lua/include -I../lua/local -I../popt -I../misc -I../zlib -I/ 
opt/local/include  -I/opt/local/include -I/Library/Frameworks/ 
Python.framework/Versions/2.4/include/python2.4 -I/System/Library/ 
Frameworks/CoreFoundation.framework/Headers  -I/Library/Frameworks/ 
Python.framework/Versions/2.4/include -I/opt/local/include -fPIC - 
DPIC -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict- 
prototypes -Wmissing-prototypes -Wno-char-subscripts -MT rpmdav.lo - 
MD -MP -MF ".deps/rpmdav.Tpo" -c -o rpmdav.lo rpmdav.c; \

then mv -f ".deps/rpmdav.Tpo" ".deps/rpmdav.Plo"; else rm -f ".deps/ 
rpmdav.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/opt/local/include/ 
beecrypt -I/opt/local/include/neon -I../lua/include -I../lua/local - 
I../popt -I../misc -I../zlib -I/opt/local/include -I/opt/local/ 
include -I/Library/Frameworks/Python.framework/Versions/2.4/include/ 
python2.4 -I/System/Library/Frameworks/CoreFoundation.framework/ 
Headers -I/Library/Frameworks/Python.framework/Versions/2.4/include - 
I/opt/local/include -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT -Wall - 
Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char- 
subscripts -MT rpmdav.lo -MD -MP -MF .deps/rpmdav.Tpo -c rpmdav.c  - 
fno-common -DPIC -o .libs/rpmdav.o

rpmdav.c: In function 'davInit':
rpmdav.c:348: warning: implicit declaration of function 'ne_set_persist'
rpmdav.c: In function 'fetch_destroy_item':
rpmdav.c:409: warning: implicit declaration of function 'NE_FREE'
rpmdav.c: In function 'davFetch':
rpmdav.c:695: warning: passing argument 2 of  
'ne_propfind_set_private' from incompatible pointer type
rpmdav.c:695: error: too few arguments to function  
'ne_propfind_set_private'
rpmdav.c:697: warning: passing argument 3 of 'ne_propfind_named' from  
incompatible pointer type
rpmdav.c: In function 'davWrite':
rpmdav.c:1086: warning: unused variable 'fd'
rpmdav.c: In function 'avReaddir':
rpmdav.c:1422: warning: pointer targets in assignment differ in  
signedness
rpmdav.c: In function 'avOpendir':
rpmdav.c:1475: warning: pointer targets in assignment differ in  
signedness
rpmdav.c: In function 'davReaddir':
rpmdav.c:1546: warning: pointer targets in assignment differ in  
signedness
rpmdav.c: In function 'davOpendir':
rpmdav.c:1631: warning: pointer targets in assignment differ in  
signedness
gnumake[2]: *** [rpmdav.lo] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2

Error: Status 1 encountered during processing.



More information about the macports-users mailing list