Opened 10 years ago

Closed 7 months ago

#41862 closed defect (worksforme)

freetype: freetype-config differs and cannot be merged

Reported by: dscottj431@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: freetype

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Consistently getting this message. Have tried clean. Five other packages rely on freetype, so would rather not uninstall everything:

Error: org.macports.destroot for port freetype returned: freetype-config differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_freetype/freetype/work/destroot-i386//opt/local/bin and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_freetype/freetype/work/destroot-x86_64//opt/local/bin and cannot be merged
Please see the log file for port freetype for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_freetype/freetype/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Attachments (2)

freetype-config(i386) (3.5 KB) - added by dscottj431@… 10 years ago.
freetype-config(x64) (3.5 KB) - added by dscottj431@… 10 years ago.

Download all attachments as: .zip

Change History (6)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: freetype added
Summary: error upgrading wine-devel, fails on freetypefreetype: freetype-config differs and cannot be merged

Please attach the two freetype-config files so that I can see how they differ.

Changed 10 years ago by dscottj431@…

Attachment: freetype-config(i386) added

Changed 10 years ago by dscottj431@…

Attachment: freetype-config(x64) added

comment:2 Changed 10 years ago by dscottj431@…

Added (XXX) to the file name. On the pc the files have the same name freetype-config

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

The difference between them is:

--- freetype-config(i386)	2013-12-20 06:46:08.000000000 -0600
+++ freetype-config(x64)	2013-12-20 06:46:32.000000000 -0600
@@ -137,7 +137,7 @@
 fi
 
 if test "$echo_libs" = "yes" ; then
-  libs="-lfreetype  -lbz2 -lpng15 "
+  libs="-lfreetype -lz -lbz2 -lpng15 "
   if test "${SYSROOT}$libdir" != "/usr/lib"  &&
      test "${SYSROOT}$libdir" != "/usr/lib64"; then
     echo -L${SYSROOT}$libdir $libs

I don't know why, and I don't see this problem on my system. Do you still see it on yours? If so, please attach the main.log; perhaps it will reveal a relevant difference between our systems.

comment:4 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Since we haven't seen this again in 9 years, hopefully it won't happen again.

Note: See TracTickets for help on using tickets.