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.
On Mar 17, 2007, at 22:42, Keith Irwin wrote:
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?
[snip]
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
I searched for the error message you got, and found this thread which seems relevant: https://lists.dulug.duke.edu/pipermail/rpm-devel/2006-November/ 001838.html It says the problem exists because rpm 4.4.5 doesn't support neon 0.26.2, but rpm 4.4.6 does. The rpm web site is very confusing to me and I cannot determine whether rpm 4.4.6 has been released or not. You may want to get in touch with the maintainer of the rpm port.
On Mar 17, 2007, at 9:01 PM, Ryan Schmidt wrote:
On Mar 17, 2007, at 22:42, Keith Irwin wrote:
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.
I searched for the error message you got, and found this thread which seems relevant:
https://lists.dulug.duke.edu/pipermail/rpm-devel/2006-November/ 001838.html
It says the problem exists because rpm 4.4.5 doesn't support neon 0.26.2, but rpm 4.4.6 does. The rpm web site is very confusing to me and I cannot determine whether rpm 4.4.6 has been released or not. You may want to get in touch with the maintainer of the rpm port.
Hm. As suggested on that thread, I'd be fine without neon. Can I simply edit the port file to alter the configure args? And if I did that, would "port clean rpm" then "port install rpm" be what I'd do next? Keith
On Mar 17, 2007, at 23:16, Keith Irwin wrote:
On Mar 17, 2007, at 9:01 PM, Ryan Schmidt wrote:
On Mar 17, 2007, at 22:42, Keith Irwin wrote:
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.
I searched for the error message you got, and found this thread which seems relevant:
https://lists.dulug.duke.edu/pipermail/rpm-devel/2006-November/ 001838.html
It says the problem exists because rpm 4.4.5 doesn't support neon 0.26.2, but rpm 4.4.6 does. The rpm web site is very confusing to me and I cannot determine whether rpm 4.4.6 has been released or not. You may want to get in touch with the maintainer of the rpm port.
Hm. As suggested on that thread, I'd be fine without neon. Can I simply edit the port file to alter the configure args? And if I did that, would "port clean rpm" then "port install rpm" be what I'd do next?
That should work. Also, once you edit the portfile, port will notice that the portfile has been changed and will auto-clean it for your before install.
On Mar 17, 2007, at 9:21 PM, Ryan Schmidt wrote:
On Mar 17, 2007, at 23:16, Keith Irwin wrote:
On Mar 17, 2007, at 9:01 PM, Ryan Schmidt wrote:
On Mar 17, 2007, at 22:42, Keith Irwin wrote:
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.
I searched for the error message you got, and found this thread which seems relevant:
https://lists.dulug.duke.edu/pipermail/rpm-devel/2006-November/ 001838.html
It says the problem exists because rpm 4.4.5 doesn't support neon 0.26.2, but rpm 4.4.6 does. The rpm web site is very confusing to me and I cannot determine whether rpm 4.4.6 has been released or not. You may want to get in touch with the maintainer of the rpm port.
Hm. As suggested on that thread, I'd be fine without neon. Can I simply edit the port file to alter the configure args? And if I did that, would "port clean rpm" then "port install rpm" be what I'd do next?
That should work. Also, once you edit the portfile, port will notice that the portfile has been changed and will auto-clean it for your before install.
Hm. Well, --without-neon didn't seem to remove the dependency. Alas, I never learned the gnu tool chain. Well, I'll look further. Keith
On Mar 17, 2007, at 9:21 PM, Ryan Schmidt wrote:
On Mar 17, 2007, at 23:16, Keith Irwin wrote:
On Mar 17, 2007, at 9:01 PM, Ryan Schmidt wrote:
On Mar 17, 2007, at 22:42, Keith Irwin wrote:
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.
I searched for the error message you got, and found this thread which seems relevant:
https://lists.dulug.duke.edu/pipermail/rpm-devel/2006-November/ 001838.html
It says the problem exists because rpm 4.4.5 doesn't support neon 0.26.2, but rpm 4.4.6 does. The rpm web site is very confusing to me and I cannot determine whether rpm 4.4.6 has been released or not. You may want to get in touch with the maintainer of the rpm port.
Hm. As suggested on that thread, I'd be fine without neon. Can I simply edit the port file to alter the configure args? And if I did that, would "port clean rpm" then "port install rpm" be what I'd do next?
That should work. Also, once you edit the portfile, port will notice that the portfile has been changed and will auto-clean it for your before install.
Hi Ryan-- Found newer tarballs here: http://wraptastic.org/pub/rpm-4.4.x/ I edited the portfile to use 4.4.6, changed the checksum, but, of course, the patches don't apply. I'm not sure who the maintainer is. I see that the Portfile itself indicates "n3npq@mac.com", but that the last source control tag is "blair@macports.org". I've emailed n3npq. Should I email blair as well? Keith
On Mar 18, 2007, at 10:40, Keith Irwin wrote:
Found newer tarballs here: http://wraptastic.org/pub/rpm-4.4.x/
I edited the portfile to use 4.4.6, changed the checksum, but, of course, the patches don't apply. I'm not sure who the maintainer is. I see that the Portfile itself indicates "n3npq@mac.com", but that the last source control tag is "blair@macports.org". I've emailed n3npq. Should I email blair as well?
If you look at the revision log, you'll see that blair's changes were not really relevant to the content of the portfile. http://trac.macosforge.org/projects/macports/log/trunk/dports/ sysutils/rpm/Portfile n3npq is the maintainer and is responsible for the port's content. However, because it's not an @macports.org address, it's reasonable to guess that this person does not have commit access and cannot therefore make their own changes in the port.
participants (2)
-
Keith Irwin
-
Ryan Schmidt