Opened 14 years ago

Closed 13 years ago

#25111 closed defect (fixed)

gdbm doesn't fully support build_arch

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: nerdling (Jeremy Lavergne)
Port: gdbm

Description

On Snow Leopard, I've set build_arch to i386 in macports.conf but not all parts of gdbm obey this:

$ /i386-10.6-mp/bin/port contents gdbm | sed 1d | xargs -n 1 lipo -info
lipo: can't figure out the architecture type of: /i386-10.6-mp/include/gdbm.h
Non-fat file: /i386-10.6-mp/lib/libgdbm.3.0.0.dylib is architecture: x86_64
Non-fat file: /i386-10.6-mp/lib/libgdbm.3.dylib is architecture: x86_64
input file /i386-10.6-mp/lib/libgdbm.a is not a fat file
Non-fat file: /i386-10.6-mp/lib/libgdbm.a is architecture: i386
Non-fat file: /i386-10.6-mp/lib/libgdbm.dylib is architecture: x86_64
lipo: can't figure out the architecture type of: /i386-10.6-mp/lib/libgdbm.la
lipo: can't figure out the architecture type of: /i386-10.6-mp/share/info/gdbm.info
lipo: can't figure out the architecture type of: /i386-10.6-mp/share/man/man3/gdbm.3.gz

See, the static library libgdbm.a is i386 as I wanted, but the dynamic library libgdbm.dylib is still x86_64.

Attachments (1)

gdbm.diff (596 bytes) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
proposed patch

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: gdbm.diff added

proposed patch

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

This patch seems to fix it.

comment:2 Changed 13 years ago by digdog@…

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

Retired and reassign to macports-tickets@

comment:3 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:4 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Committed in r74718.

Note: See TracTickets for help on using tickets.