Bug 251616 - devel/msp430-debug-stack: devd file creates broken symlink
Summary: devel/msp430-debug-stack: devd file creates broken symlink
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Lev A. Serebryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-05 20:02 UTC by Kevin Zheng
Modified: 2020-12-05 20:02 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (lev)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Zheng 2020-12-05 20:02:01 UTC
The current devd config that symlinks mspfet is broken:

Output from `devd -d`:

Processing attach event                                                                                                          
Testing device-name=umodem0 against ^ed50$, invert=0                                                                             
Testing device-name=umodem0 against ^ubt[0-9]+$, invert=0                                                                        
Testing device-name=umodem0 against ^ukbd0$, invert=0                                                                            
Testing device-name=umodem0 against ^umodem[0-9]+$, invert=0                                                                     
Testing vendor=0x2047 against ^0x2047$, invert=0                                                                                 
Testing product=0x0013 against ^0x001(0|3|4)$, invert=0                                                                          
Testing interface=0 against ^0$, invert=0                                                                                        
Executing 'cd /dev; p=$'0x0013'; dn=$'umodem0';                 un=$(sysctl -n dev.umodem.${dn#umodem}.ttynam                    e);        chmod 666 cua$''; ln -sf cua$'' mspfet${p#0x}'                                                                        
chmod: cua: No such file or directory

I'm currently investigating a fix.