Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#19106 closed defect (fixed)

dbus-1.2.12 has wrong patches for darwin-7.9.0

Reported by: yokota33@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: yokota33@…
Port: dbus

Description

Dbus-1.2.12 fails to compile due to old(?) patches applied only to darwin 7. Console messages are as follows:

--->  Cleaning dbus
mac:/opt/local/var/macports/sources/dports user$ sudo port install dbus
--->  Fetching dbus
--->  Verifying checksum(s) for dbus
--->  Extracting dbus
--->  Applying patches to dbus
Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_dports_devel_dbus/work/dbus-1.2.12" && patch -p0 < '/opt/local/var/macports/sources/dports/devel/dbus/files/patch-dbus-sysdeps-util-unix.c.diff'" returned error 1
Command output: patching file dbus/dbus-sysdeps-util-unix.c
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file dbus/dbus-sysdeps-util-unix.c.rej

Error: Status 1 encountered during processing.

Attachments (1)

patch-devel-dbus-Portfile.diff (1.0 KB) - added by yokota33@… 12 years ago.
This patch solves the problems in patching and configuring, however raising another problem

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by blb@…

Owner: changed from macports-tickets@… to mcalhoun@…
Port: dbus added

Changed 12 years ago by yokota33@…

This patch solves the problems in patching and configuring, however raising another problem

comment:2 Changed 12 years ago by yokota33@…

The attachment patch-devel-dbus-Portfile.diff solves the patchng and configuring problems. However, it leads to an existing bug for dbus-1.2.4_2 (Ticket #17198) and build cannot complete. The error messages on build are as follows:

 /usr/bin/gcc-3.3 -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -fPIC -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\"/opt/local/var/lib/dbus/machine-id\" -DDBUS_SYSTEM_CONFIG_FILE=\"/opt/local/etc/dbus-1/system.conf\" -DDBUS_SESSION_CONFIG_FILE=\"/opt/local/etc/dbus-1/session.conf\" -I/opt/local/include -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -fno-common -Wno-unused -Wno-sign-compare -Wno-format -fno-strict-aliasing -MT dbus-sysdeps-unix.lo -MD -MP -MF .deps/dbus-sysdeps-unix.Tpo -c dbus-sysdeps-unix.c  -fno-common -DPIC -o .libs/dbus-sysdeps-unix.o
dbus-sysdeps-unix.c: In function `fill_user_info':
dbus-sysdeps-unix.c:1494: error: `_SC_GETPW_R_SIZE_MAX' undeclared (first use in this function)
dbus-sysdeps-unix.c:1494: error: (Each undeclared identifier is reported only once
dbus-sysdeps-unix.c:1494: error: for each function it appears in.)
make[3]: *** [dbus-sysdeps-unix.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

comment:3 in reply to:  2 Changed 12 years ago by yokota33@…

Waiting for an admission of a fix in Ticket #17198, which is a superset of the patch attached here.

comment:4 Changed 12 years ago by yokota33@…

Cc: yokota33@… added

Cc Me!

comment:5 Changed 12 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

This should be fixed in r49300.
Please let me know if there are any problems.

comment:6 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.