Opened 8 years ago

Closed 7 years ago

#51856 closed enhancement (fixed)

upx port doesn't include LZMA support

Reported by: redpola (Neil Brewitt) Owned by: 0xced (Cédric Luthi)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: upx

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

I'm guessing this is a dependency change and build switch?

$ upx -d foo.exe
                       Ultimate Packer for eXecutables
                          Copyright (C) 1996 - 2013
UPX 3.09        Markus Oberhumer, Laszlo Molnar & John Reiser   Feb 18th 2013

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
Assertion failed: (0 && "Internal error - LZMA not compiled in"), function isValidCompressionMethod, file packer_c.cpp, line 43.
Abort trap: 6

Change History (4)

comment:1 Changed 8 years ago by redpola (Neil Brewitt)

Cc: neil@… added

Cc Me!

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

Cc: neil@… removed
Description: modified (diff)
Keywords: upx lzma removed
Milestone: MacPorts Future
Owner: changed from macports-tickets@… to cedric.luthi@…
Type: requestenhancement

According to port variants upx, the port has an +lzma variant. Did you try installing with that?

sudo port install upx +lzma

If use of lzma is common, maybe that should be made a default variant, or the variant removed and the functionality always turned on.

comment:3 in reply to:  2 Changed 8 years ago by redpola (Neil Brewitt)

Replying to ryandesign@…:

According to port variants upx, the port has an +lzma variant. Did you try installing with that?

I didn't. I didn't realise there was a variant available.

sudo port install upx +lzma

If use of lzma is common, maybe that should be made a default variant, or the variant removed and the functionality always turned on.

I can't speak about whether it's common or not. I needed to unpack a upx-packed windows EXE file. It failed with the error I gave.

comment:4 Changed 7 years ago by l2dy (Zero King)

Resolution: fixed
Status: newclosed

In 8ece1040/macports-ports:

upx: update to 3.92

Fixes: #51856
Fixes: #52140

Note: See TracTickets for help on using tickets.