Opened 9 years ago

Closed 9 years ago

#25467 closed defect (fixed)

port install rpm52 failed

Reported by: cimcom88@… Owned by: afb@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: n3npq@…
Port: rpm52

Description (last modified by jmroot (Joshua Root))

try to install rpm52, always failed. on the mac, x11 and xcode and macports are installed.

please help. Thanks.

#sudo port install rpm52
Password:
--->  Computing dependencies for rpm52
--->  Building rpm52
Error: Target org.macports.build returned: shell command failed
Log for rpm52 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_rpm52/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

:info:build /usr/bin/gnumake  all-am
:info:build /bin/sh ../../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../..  -I.  -I../..  -I/opt/local/include -I/opt/local/include/xar -I/opt/local/include/ossp -DRPM_OS_DARWIN=100200 -I/opt/local/include   -I/opt/local/include/neon   -I/opt/local/include   -I/opt/local/include   -DXP_UNIX -pipe -O2 -arch x86_64 -D_GNU_SOURCE -D_REENTRANT         -MT libjs_la-jsprf.lo -MD -MP -MF .deps/libjs_la-jsprf.Tpo -c -o libjs_la-jsprf.lo `test -f 'jsprf.c' || echo './'`jsprf.c
:info:build /bin/sh ../../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../..  -I.  -I../..  -I/opt/local/include -I/opt/local/include/xar -I/opt/local/include/ossp -DRPM_OS_DARWIN=100200 -I/opt/local/include   -I/opt/local/include/neon   -I/opt/local/include   -I/opt/local/include   -DXP_UNIX -pipe -O2 -arch x86_64 -D_GNU_SOURCE -D_REENTRANT         -MT libjs_la-prmjtime.lo -MD -MP -MF .deps/libjs_la-prmjtime.Tpo -c -o libjs_la-prmjtime.lo `test -f 'prmjtime.c' || echo './'`prmjtime.c
:info:build libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I/opt/local/include -I/opt/local/include/xar -I/opt/local/include/ossp -DRPM_OS_DARWIN=100200 -I/opt/local/include -I/opt/local/include/neon -I/opt/local/include -I/opt/local/include -DXP_UNIX -pipe -O2 -arch x86_64 -D_GNU_SOURCE -D_REENTRANT -MT libjs_la-jsprf.lo -MD -MP -MF .deps/libjs_la-jsprf.Tpo -c jsprf.c  -fno-common -DPIC -o .libs/libjs_la-jsprf.o
:info:build libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I/opt/local/include -I/opt/local/include/xar -I/opt/local/include/ossp -DRPM_OS_DARWIN=100200 -I/opt/local/include -I/opt/local/include/neon -I/opt/local/include -I/opt/local/include -DXP_UNIX -pipe -O2 -arch x86_64 -D_GNU_SOURCE -D_REENTRANT -MT libjs_la-prmjtime.lo -MD -MP -MF .deps/libjs_la-prmjtime.Tpo -c prmjtime.c  -fno-common -DPIC -o .libs/libjs_la-prmjtime.o
:info:build jsprf.c: In function 'BuildArgArray':
:info:build jsprf.c:644: error: incompatible types in assignment
:info:build gnumake[3]: *** [libjs_la-jsprf.lo] Error 1
:info:build gnumake[3]: *** Waiting for unfinished jobs....
:info:build libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../.. -I. -I../.. -I/opt/local/include -I/opt/local/include/xar -I/opt/local/include/ossp -DRPM_OS_DARWIN=100200 -I/opt/local/include -I/opt/local/include/neon -I/opt/local/include -I/opt/local/include -DXP_UNIX -pipe -O2 -arch x86_64 -D_GNU_SOURCE -D_REENTRANT -MT libjs_la-prmjtime.lo -MD -MP -MF .deps/libjs_la-prmjtime.Tpo -c prmjtime.c -o libjs_la-prmjtime.o >/dev/null 2>&1
:info:build mv -f .deps/libjs_la-prmjtime.Tpo .deps/libjs_la-prmjtime.Plo
:info:build gnumake[2]: *** [all] Error 2
:info:build gnumake[1]: *** [all-recursive] Error 1
:info:build gnumake: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_rpm52/work/rpm-5.2.0" && /usr/bin/gnumake -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for rpm52): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for rpm52 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_rpm52/main.log

Attachments (2)

main.log (1.8 KB) - added by cimcom88@… 9 years ago.
patch-jsprf.c (626 bytes) - added by afb@… 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by cimcom88@…

Attachment: main.log added

comment:1 Changed 9 years ago by jmroot (Joshua Root)

Cc: n3npq@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to afb@…
Port: rpm52 added

Please remember to fill in the Port field and cc the maintainers.

Changed 9 years ago by afb@…

Attachment: patch-jsprf.c added

comment:2 Changed 9 years ago by afb@…

Try the attached patchfile, or use RPM5-20090707.dmg meanwhile...

comment:3 Changed 9 years ago by afb@…

Resolution: fixed
Status: newclosed
Version: 1.9.1

Committed, r73022.

Note: See TracTickets for help on using tickets.