Ticket #30977 (closed defect: fixed)
dvipng @1.14 +universal configure cannot find libkpathsea
| Reported by: | macports.org2@… | Owned by: | dports@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.1 |
| Keywords: | Cc: | ||
| Port: | dvipng |
Description
[...]
:debug:configure configure phase started at Thu Aug 25 20:26:33 EEST 2011
:notice:configure ---> Configuring dvipng
:debug:configure Using compiler 'Mac OS X llvm-gcc 4.2'
:debug:configure Executing org.macports.configure (dvipng)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64 -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -
arch x86_64 -arch i386' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/Developer/usr/bin/llvm-g++-4.2' CC_PRINT_OPTIONS_
FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_dvipng/dvipng/work/.CC_PRINT_OPTIONS
' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib -arch x86_64 -arch i386' OBJC='/Developer/usr/bin/llvm-gcc-4.2' FCFLAGS='-O2' INSTALL='/usr/bin/in
stall -c' OBJCFLAGS='-O2 -arch x86_64 -arch i386' FFLAGS='-O2' CC_PRINT_OPTIONS='YES' CC='/Developer/usr/bin/llvm-gcc-4.2'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_d
vipng/dvipng/work/dvipng-1.14" && ./configure --prefix=/opt/local --disable-dependency-tracking'
:debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_
tex_dvipng/dvipng/work/dvipng-1.14" && ./configure --prefix=/opt/local --disable-dependency-tracking
:info:configure configure: WARNING: unrecognized options: --disable-dependency-tracking
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking for gcc... /Developer/usr/bin/llvm-gcc-4.2
[...]
:info:configure checking for kpse_set_program_name in -lkpathsea... no
:info:configure configure: error: cannot find/use libkpathsea
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_dvipng/dvipng/work/dvipng-1.14" && ./configure --prefix=/opt/local --disable-dependency-tracking " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for dvipng): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:configure Failed to install dvipng
:notice:configure Log for dvipng is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_dvipng/dvipng/main.log
However, libkpathsea has already been built as part of texlive-bin:
$ find /opt/local -name "libkpathsea*" -ls 31527081 192 -rwxr-xr-x 1 root admin 95412 Aug 25 20:25 /opt/local/lib/libkpathsea.6.dylib 31527082 336 -rw-r--r-- 1 root admin 171656 Aug 25 20:25 /opt/local/lib/libkpathsea.a 31527083 8 lrwxr-xr-x 1 root admin 19 Aug 25 20:25 /opt/local/lib/libkpathsea.dylib -> libkpathsea.6.dylib 31527084 8 -rwxr-xr-x 1 root admin 932 Aug 25 20:25 /opt/local/lib/libkpathsea.la
OS X 10.6.8
Attachments
Change History
comment:1 Changed 21 months ago by dports@…
- Owner changed from macports-tickets@… to dports@…
- Status changed from new to assigned
comment:2 Changed 21 months ago by dports@…
I haven't seen that one before. Can you provide the config.log? It's probably in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_dvipng/dvipng/work/dvipng-1.14/
comment:3 Changed 21 months ago by macports.org2@…
Log attached. Hmm, curious: it seems like there's a x86_64 vs i386 mismatch, yet I've been building everything with +universal in my variants.conf (and indeed both architectures are on the command line; I'm not very familiar with OS X innards so don't know if that's even legal).
comment:4 Changed 21 months ago by dports@…
Ah. texlive-bin doesn't support universal builds, so that's the problem. (Actually, the problems that were keeping it from building universal before might have been solved; let's see if we can re-enable the universal variant)
Also, MacPorts should have caught the architecture mismatch and politely declined to build +universal. Looks like it didn't because I didn't list texlive-bin as a direct dependency, only texlive-basic. Fixed in r83084.
comment:5 Changed 21 months ago by dports@…
- Status changed from assigned to closed
- Resolution set to fixed
- Summary changed from dvipng @1.14 configure cannot find libkpathsea to dvipng @1.14 +universal configure cannot find libkpathsea
And it looks like we can build texlive +universal without any obvious problems. Re-enabled in r83085. You'll need to install texlive-bin +universal to use it.

