Opened 15 years ago

Closed 15 years ago

#23519 closed defect (invalid)

jpeg does not build universal

Reported by: ih-mon@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: jpeg

Description

Hey, I try to build libjpeg universal, but it is just i386

[lib]$ otool -hv /usr/local/lib/libjpeg.62.dylib 
/usr/local/lib/libjpeg.62.dylib:
Mach header
      magic cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
   MH_MAGIC    I386        ALL  0x00       DYLIB    11       1208   NOUNDEFS DYLDLINK TWOLEVEL NO_REEXPORTED_DYLIBS

Change History (7)

comment:1 Changed 15 years ago by ih-mon@…

Cc: ih-mon@… added

Cc Me!

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: wagar ih-mon@… removed
Owner: changed from macports-tickets@… to waqar@…

You have to put full email addresses in the cc field (and spell them correctly).

I really think you're looking at the wrong file here, both because MacPorts can't be installed into /usr/local unless you modify the source and because the current version of jpeg is 7.

comment:3 Changed 15 years ago by ih-mon@…

hmm yeah you're right but also:

[~]$ otool -hv /opt/local/lib/libjpeg.7.dylib 
/opt/local/lib/libjpeg.7.dylib:
Mach header
      magic cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
   MH_MAGIC    I386        ALL  0x00       DYLIB     9       1132   NOUNDEFS DYLDLINK TWOLEVEL NO_REEXPORTED_DYLIBS
[~]$ otool -hv /opt/local/lib/libjpeg.dylib 
/opt/local/lib/libjpeg.dylib:
Mach header
      magic cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
   MH_MAGIC    I386        ALL  0x00       DYLIB     9       1132   NOUNDEFS DYLDLINK TWOLEVEL NO_REEXPORTED_DYLIBS

also where do I find the E-Mail of the Maintainers?

But it's also weird that perl is looking in /usr/lib. I'm a bit confused.

comment:4 in reply to:  3 Changed 15 years ago by jmroot (Joshua Root)

Replying to ih-mon@…:

also where do I find the E-Mail of the Maintainers?

port info jpeg

On my system:

% lipo -info /opt/local/lib/libjpeg.7.dylib
Architectures in the fat file: /opt/local/lib/libjpeg.7.dylib are: i386 x86_64

comment:5 Changed 15 years ago by jmroot (Joshua Root)

I think your expectation of what that otool command does is incorrect.

comment:6 Changed 15 years ago by ih-mon@…

okay.. you're right ... so I need to to say to perl that it should prefer this lib. But you can close that bug - I'm sorry

comment:7 Changed 15 years ago by jmroot (Joshua Root)

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