Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16122 closed defect (fixed)

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

Reported by: mf2k (Frank Schima) 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 (1)

Portfile-libprelude.diff (532 bytes) - added by usx303@… 16 years ago.
Portfile patch

Download all attachments as: .zip

Change History (10)

comment:1 Changed 16 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.

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

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 16 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 16 years ago by usx303@…

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

Changed 16 years ago by usx303@…

Attachment: Portfile-libprelude.diff added

Portfile patch

comment:5 Changed 16 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 16 years ago by mf2k (Frank Schima)

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

comment:7 Changed 16 years ago by mf2k (Frank Schima)

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

comment:8 Changed 16 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

lftp is fixed in r39163 and r39164.

comment:9 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.