Opened 13 years ago

Closed 12 years ago

#31536 closed defect (wontfix)

openldap fails build in liblber : multiple target patterns

Reported by: from-macports.org@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: openldap

Description (last modified by ryandesign (Ryan Carsten Schmidt))

My /Developer partition is on another drive. Therefore, the path to the drive is /Volumes/750gb HDD/Developer.

When compiling openldap (gnupg requires this) it fails due to a:

:info:build Makefile:402: *** multiple target patterns.  Stop.

error. This appears to be due to a path problem in the library makefiles. Example excerpt from the Makefile:

assert.lo: ../../include/portable.h
assert.lo: assert.c
assert.lo: ../../include/ldap_cdefs.h
assert.lo: ../../include/ac/fdset.h
assert.lo: ../../include/ac/assert.h

When you combine the lines:

assert.lo: /Volumes/750gb\HDD/Developer/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h

It compiles normally.

Other makes in libraries seem to have this as well.

Attached: Full error log, makefile excerpt.

Attachments (2)

Makefile (36.2 KB) - added by from-macports.org@… 13 years ago.
The resulting Makefile.
error_log.txt (2.5 KB) - added by from-macports.org@… 13 years ago.
Exerpt of the build log that shows the error.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by from-macports.org@…

Attachment: Makefile added

The resulting Makefile.

Changed 13 years ago by from-macports.org@…

Attachment: error_log.txt added

Exerpt of the build log that shows the error.

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

Owner: changed from macports-tickets@… to landonf@…

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Having spaces in the path to your compiler, or in the path to MacPorts, is not a good idea; a lot of software projects have not been tested in that configuration and will probably fail. So you will have a better experience if you rename your paths (in this case your "750gb HDD" volume) so that they do not contain spaces.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.