Opened 9 years ago

Closed 8 years ago

#29121 closed defect (fixed)

lbdb @0.36 xcodebuild -buildstyle not supported

Reported by: steve@… Owned by: reilles@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: xcode4 compatibility Cc: claus@…, trey@…, andreas@…, tomxtobin@…
Port: lbdb

Description

deprecated option: -buildstyle is no longer supported in xcodebuild. Use -configuration instead.

Attached is a small patch to Makefile.in to fix this problem.

Once applied it works like a charm:

sudo port install lbdb
Portfile changed since last build; discarding previous state.
--->  Fetching lbdb
--->  Verifying checksum(s) for lbdb
--->  Extracting lbdb
--->  Applying patches to lbdb
--->  Configuring lbdb
--->  Building lbdb
--->  Staging lbdb into destroot
--->  Installing lbdb @0.36_1
--->  Activating lbdb @0.36_1
--->  Cleaning lbdb

Attachments (2)

Makefile.in.patch (887 bytes) - added by steve@… 9 years ago.
replaces -buildstyle with -configuration
Portfile.patch (395 bytes) - added by andreas@… 9 years ago.
Include Steve's patch to Makefile.in in Portfile

Download all attachments as: .zip

Change History (11)

Changed 9 years ago by steve@…

Attachment: Makefile.in.patch added

replaces -buildstyle with -configuration

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

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

Please remember to cc the maintainer.

comment:2 Changed 9 years ago by claus@…

This patch doesn't work for me on Lion using MacPorts 2.0.1 (detailed description in closed ticket #30570).

comment:3 Changed 9 years ago by claus@…

Cc: claus@… added

Cc Me!

comment:4 Changed 9 years ago by trey@…

As of today, lbdb will still not build on Mac OSX Lion with MacPorts 2.0.1.

port install lbdb +gpg2 +ldap
--->  p5-perl-ldap is replaced by p5.12-perl-ldap
--->  Deactivating p5-perl-ldap @0.360.0_2
--->  Cleaning p5-perl-ldap
--->  Computing dependencies for p5.12-perl-ldap
--->  Cleaning p5.12-perl-ldap
--->  Computing dependencies for lbdb
--->  Dependencies to be installed: p5-perl-ldap
--->  Activating p5-perl-ldap @0.360.0_2
--->  Cleaning p5-perl-ldap
--->  Building lbdb
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Can anyone provide a status update? Is this being worked on?

comment:5 Changed 9 years ago by trey@…

Cc: trey@… added

Cc Me!

comment:6 Changed 9 years ago by andreas@…

The patch worked fine for me. However, I had to manually update the Portfile and add Steve's patch to my macports tree. I guess these changes should be added to the macports subversion repository, but I don't know how to get authorized to do this. Ideally the package maintainer should do the updates?

comment:7 Changed 9 years ago by andreas@…

Cc: andreas@… added

Cc Me!

Changed 9 years ago by andreas@…

Attachment: Portfile.patch added

Include Steve's patch to Makefile.in in Portfile

comment:8 Changed 9 years ago by tomxtobin@…

Cc: tomxtobin@… added

Cc Me!

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

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