Ticket #16122 (closed defect: fixed)
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@… yunzheng.hu@… |
| 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
Change History
comment:2 Changed 5 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
comment:3 Changed 5 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?
comment:4 Changed 5 years ago by usx303@…
I'm going to fix it in libprelude according to Ryan's examples.
comment:5 Changed 5 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?
comment:6 Changed 5 years ago by macsforever2000@…
Committed revision r38798. Thanks! I did update the revision.


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.