#66779 closed defect (fixed)
libnetpbm: Failed to extract libnetpbm: extract.rename: multiple directories exist in /opt/local/var/macports/build/_opt_mports_macports-ports_graphics_netpbm/libnetpbm/work — at Version 10
Reported by: | mf2k (Frank Schima) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.99 |
Keywords: | Cc: | jmroot (Joshua Root) | |
Port: | libnetpbm |
Description (last modified by mf2k (Frank Schima))
Running latest base from HEAD. It appears that the fix for issues like #66415 does not work for multiple distfiles.
:error:extract Failed to extract libnetpbm: extract.rename: multiple directories exist in /opt/local/var/macports/build/_opt_mports_macports-ports_graphics_netpbm/libnetpbm/work: /opt/local/var/macports/build/_opt_mports_macports-ports_graphics_netpbm/libnetpbm/work/netpbm-mirror-62c62a8423c7d6746f437f46c35499281c39e4dd /opt/local/var/macports/build/_opt_mports_macports-ports_graphics_netpbm/libnetpbm/work/netpbm-mirror-a70405848cb06782036364a88e27f452fb0a0b32
Change History (11)
Changed 21 months ago by mf2k (Frank Schima)
comment:1 Changed 21 months ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:2 Changed 21 months ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 Changed 21 months ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:4 Changed 21 months ago by mf2k (Frank Schima)
Cc: | jmroot added |
---|
comment:5 follow-up: 7 Changed 21 months ago by jmroot (Joshua Root)
comment:6 follow-up: 8 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
I'm frustrated that base has been changed in such a way that breaks ports again.
This port renames the extracted directories as needed in the post-extract phase. This worked fine before. Why is base now making this more difficult?
comment:7 Changed 21 months ago by mf2k (Frank Schima)
Replying to jmroot:
There's never been automatic handling of multiple directories. I would guess this must have its own renaming in place and so can change
extract.rename
tono
.
Confirmed that it works for me.
comment:8 Changed 21 months ago by jmroot (Joshua Root)
Replying to ryandesign:
This port renames the extracted directories as needed in the post-extract phase. This worked fine before. Why is base now making this more difficult?
Base isn't setting this option, the github portgroup is. Most ports using that portgroup need the option to avoid setting worksrcdir manually. If you know a way to automatically exclude ports like this that do their own renaming, please implement it.
If you're asking why an option like extract.rename is necessary, the previous behaviour also breaks ports, it just does so silently. Now you get an error if it doesn't work.
comment:9 Changed 21 months ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:10 Changed 21 months ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
There's never been automatic handling of multiple directories. I would guess this must have its own renaming in place and so can change
extract.rename
tono
.