New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16122 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

lftp conflict with libprelude over /opt/local/lib/charset.alias

Reported by: macsforever2000@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: libprelude lftp Cc: usx303@…
Port:

Description

When trying to install lftp, i see the following activation error:

--->  Activating lftp @3.7.3_0+darwin_9
Error: Target org.macports.activate returned: Image error: /opt/local/lib/charset.alias is being used by the active libprelude port.  Please deactivate this port first, or use the -f flag to force the activation.
Error: Status 1 encountered during processing.

I believe that charset.alias file should not be created there for either port. Perhaps the maintainers of both ports (CC'ed) can fix this?

Attachments

Portfile-libprelude.diff Download (0.5 KB) - added by usx303@… 4 years ago.
Portfile patch

Change History

Changed 4 years ago by blb@…

Looks like lftp explicitly installs charset.alias via lib/Makefile. It only appears to add lftp as one of the packages using that file (in a comment section), however, so it probably isn't a necessity to install the file.

Changed 4 years ago by ryandesign@…

No port should install ${prefix}/lib/charset.alias. The following ports all go to some length to delete this file. lftp and libprelude should take similar steps.

aria2 arm-aout-gcc arm-elf-gcc arm-elf-gcc3 arm-none-linux-gnueabi-gcc arm-rtems-gcc avr-gcc coreutils enscript findutils gettext gimp-print glib2 glib2-devel gnupg12 gnutar i386-elf-gcc i386-mingw32-gcc i386-rtems-gcc i960-rtems-gcc libiconv m4 m68k-elf-gcc m68k-rtems-gcc minicom mips-elf-gcc mips-rtems-gcc nc6 popt powerpc-rtems-gcc recode sh-rtems-gcc sparc-rtems-gcc texinfo vorbis-tools yencode

Changed 4 years ago by blb@…

If it's that common, perhaps it should be handled like ${prefix}/share/info/dir is:  deleted in base during destroot?

Changed 4 years ago by usx303@…

I'm going to fix it in libprelude according to Ryan's examples.

Changed 4 years ago by usx303@…

Portfile patch

Changed 4 years ago by usx303@…

Added a patch for libprelude to fix cleaning "charset.alias"
But I'm not sure if it's necessary to increase revision?

Changed 4 years ago by macsforever2000@…

Committed revision r38798. Thanks! I did update the revision.

Changed 4 years ago by macsforever2000@…

I created a new ticket for fixing lftp. #16152.

Changed 4 years ago by macsforever2000@…

  • status changed from new to closed
  • resolution set to fixed

lftp is fixed in r39163 and r39164.

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.