New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19106 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

dbus-1.2.12 has wrong patches for darwin-7.9.0

Reported by: yokota33@… Owned by: mcalhoun@…
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

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

Change History

  Changed 3 years ago by blb@…

  • owner changed from macports-tickets@… to mcalhoun@…
  • port set to dbus

Changed 3 years ago by yokota33@…

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

follow-up: ↓ 3   Changed 3 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.

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

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

  Changed 3 years ago by yokota33@…

  • cc yokota33@… added

Cc Me!

  Changed 3 years ago by mcalhoun@…

  • status changed from new to closed
  • resolution set to fixed

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

  Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.