Opened 4 years ago
Closed 4 years ago
#62081 closed defect (duplicate)
libjpeg-turbo doesn't build +universal on 10.10.5
Reported by: | metbic | Owned by: | larryv (Lawrence Velázquez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | yosemite universal | Cc: | metbic, mascguy (Christopher Nielsen), jmroot (Joshua Root) |
Port: | libjpeg-turbo |
Description (last modified by mf2k (Frank Schima))
now libjpeg-turbo doesn't build (and this doesnt even give me the chance to find out wether openal-soft builds or not)
the shell tells me:
---> Building libjpeg-turbo Error: Failed to build libjpeg-turbo: command execution failed
and:
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libjpeg-turbo/libjpeg-turbo/main.log
Attachments (4)
Change History (31)
Changed 4 years ago by metbic
Attachment: | logfile.txt added |
---|
comment:1 Changed 4 years ago by metbic
Cc: | metbic added |
---|---|
Keywords: | 10.10.5 added |
Port: | libjpeg-turbo added |
comment:2 Changed 4 years ago by mascguy (Christopher Nielsen)
Please assign to the libjpeg-turbo maintainer, larryv
.
comment:3 Changed 4 years ago by metbic
Owner: | set to larryv |
---|---|
Status: | new → assigned |
comment:4 Changed 4 years ago by metbic
Keywords: | yosemite added |
---|---|
Version: | → 2.6.4 |
comment:5 Changed 4 years ago by kencu (Ken)
except for one or two drop-ins, we haven't seen larry since 2016.
comment:8 Changed 4 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:10 Changed 4 years ago by mascguy (Christopher Nielsen)
Since Larry's gone, I'm happy to step up. Please assign to me.
Also, what version of Xcode, and/or XCode Command-Line Tools, do you have installed?
comment:11 Changed 4 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:12 Changed 4 years ago by kencu (Ken)
Summary: | libjpeg-turbo doesn't build on 10.10.5 → libjpeg-turbo doesn't build +universal on 10.10.5 |
---|
comment:13 Changed 4 years ago by kencu (Ken)
Keywords: | universal added; 10.10.5 removed |
---|
comment:14 follow-up: 16 Changed 4 years ago by mascguy (Christopher Nielsen)
Somehow I missed the fact that this was a universal build attempt.
Do you have a specific need for a universal binary?
comment:15 Changed 4 years ago by metbic
The menu-about-xcode window states
version 7.1.1 (7B1005)
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
tells me:
version: 7.2.0.0.1.1447826929
clang --version
tells me:
Apple LLVM version 7.0.0 (clang-700.1.76)
comment:16 Changed 4 years ago by metbic
Replying to mascguy:
Somehow I missed the fact that this was a universal build attempt.
Do you have a specific need for a universal binary?
I don't know, I did not request this port specifically. My guess is that wine-devel or some other port behind it wants libjpeg-turbo, and I need wine-devel.
comment:17 Changed 4 years ago by mascguy (Christopher Nielsen)
Okay, run the following commands:
sudo port clean --all libjpeg-turbo sudo port -N install libjpeg-turbo
If that succeeds, you can proceed to install other ports.
Let me know if that takes care of the issue.
comment:18 Changed 4 years ago by metbic
cleaning didn't help.
---> Dependencies to be installed: libjpeg-turbo ---> Fetching archive for libjpeg-turbo ---> Attempting to fetch libjpeg-turbo-2.0.4_0+universal.darwin_14.i386-x86_64.tbz2 from https://packages.macports.org/libjpeg-turbo ---> Attempting to fetch libjpeg-turbo-2.0.4_0+universal.darwin_14.i386-x86_64.tbz2 from https://cph.dk.packages.macports.org/libjpeg-turbo ---> Attempting to fetch libjpeg-turbo-2.0.4_0+universal.darwin_14.i386-x86_64.tbz2 from http://fco.it.packages.macports.org/libjpeg-turbo ---> Fetching distfiles for libjpeg-turbo ---> Attempting to fetch libjpeg-turbo-2.0.4.tar.gz from https://lil.fr.distfiles.macports.org/libjpeg-turbo ---> Verifying checksums for libjpeg-turbo ---> Extracting libjpeg-turbo ---> Configuring libjpeg-turbo ---> Building libjpeg-turbo Error: Failed to build libjpeg-turbo: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libjpeg-turbo/libjpeg-turbo/main.log for details.
comment:19 Changed 4 years ago by mascguy (Christopher Nielsen)
Ah, try this instead:
sudo port clean --all libjpeg-turbo sudo port -N install libjpeg-turbo -universal
comment:20 Changed 4 years ago by mascguy (Christopher Nielsen)
If that doesn't work, we'll need to dig into some other things, like your default variants. But let's start with that.
comment:21 Changed 4 years ago by metbic
didn't work (I had already tried a simple sudo port clean libjpeg-turbo
before creating this ticket, although not with your additional parameters)
Changed 4 years ago by metbic
Attachment: | 3rd main.log added |
---|
comment:22 Changed 4 years ago by mascguy (Christopher Nielsen)
Ken/anyone,
It looks like MacPorts is trying to build for i386, rather than x86_64. Given that this is a 10.10 installation, that's interesting.
Meanwhile, during compilation, we end up with both -arch x86_64
and -arch -i386
, with the latter presumably taking precedence:
:info:build /usr/bin/clang -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libjpeg-turbo/libjpeg-turbo/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libjpeg-turbo/libjpeg-turbo/work/libjpeg-turbo-2.0.4 -pipe -Os -DNDEBUG -I/opt/local/include -arch x86_64 -arch i386 -mmacosx-version-min=10.10 -o CMakeFiles/jpegtran-static.dir/cdjpeg.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_libjpeg-turbo/libjpeg-turbo/work/libjpeg-turbo-2.0.4/cdjpeg.c
I thought 10.10 was 64-bit only?
comment:23 Changed 4 years ago by mascguy (Christopher Nielsen)
metbic, can you attach file /opt/local/etc/macports/macports.conf
?
Changed 4 years ago by metbic
Attachment: | macports.conf added |
---|
comment:24 Changed 4 years ago by mascguy (Christopher Nielsen)
Let's call in one of the MacPorts Elders for this. Can you reasign to jmroot
?
comment:25 Changed 4 years ago by mf2k (Frank Schima)
Cc: | jmroot added |
---|
comment:26 Changed 4 years ago by kencu (Ken)
10.10 is i386/x86_84 capable.
wine requires +universal to function, so don't force universal off if you're trying to install wine.
multiple arch flags are handled by clang transparently (it lipos the results together for you automagicallly).
First, someone should see if libjpeg-turbo has a problem building +universal I guess. It might, I dunno.
comment:27 Changed 4 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
main.log