herbstluftwm port on macports broken
Thorsten Wißmann
edu at thorsten-wissmann.de
Wed Mar 12 23:09:03 CET 2025
Hi Quentin,
thanks for opening the ticket!
I can't really explain where the issue of "duplicate member" comes from.
What is the content of this file?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h
Does it really define w_Filler both in lines 207 and in line 204? (Maybe
there are two #ifdef-s that shouldn't be activated simultaneously?)
Best,
Thorsten
On Wed, Mar 12, 2025, at 21:34 (+0000), Quentin Huys via hlwm wrote:
> Hi
>
> The herbstluftwm port on macports does not build:
>
> see port health: https://ports.macports.org/port/herbstluftwm/details/
>
> and I've opened a ticket here:
>
> https://trac.macports.org/ticket/72184
>
> I also can't build it on sequoia:
>
> home:~/bin/herbstluftwm-0.9.5/build% make
> [ 1%] Building C object ipc-client/CMakeFiles/herbstclient.dir/main.c.o
> In file included from /Users/qhuys/bin/herbstluftwm-0.9.5/ipc-client/main.c:8:
> In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/stdlib.h:58:
> In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/_stdlib.h:66:
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:207:19: error: duplicate member 'w_Filler'
> 207 | unsigned int w_Filler:16, /* upper bits filler */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:204:7: note: previous declaration is here
> 204 | w_Filler:16; /* upper bits filler */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:208:7: error: duplicate member 'w_Retcode'
> 208 | w_Retcode:8, /* exit code if w_termsig==0 */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:203:7: note: previous declaration is here
> 203 | w_Retcode:8, /* exit code if w_termsig==0 */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:209:7: error: duplicate member 'w_Coredump'
> 209 | w_Coredump:1, /* core dump indicator */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:202:7: note: previous declaration is here
> 202 | w_Coredump:1, /* core dump indicator */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:210:7: error: duplicate member 'w_Termsig'
> 210 | w_Termsig:7; /* termination signal */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:201:19: note: previous declaration is here
> 201 | unsigned int w_Termsig:7, /* termination signal */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:225:19: error: duplicate member 'w_Filler'
> 225 | unsigned int w_Filler:16, /* upper bits filler */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:222:7: note: previous declaration is here
> 222 | w_Filler:16; /* upper bits filler */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:226:7: error: duplicate member 'w_Stopsig'
> 226 | w_Stopsig:8, /* signal that stopped us */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:221:7: note: previous declaration is here
> 221 | w_Stopsig:8, /* signal that stopped us */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:227:7: error: duplicate member 'w_Stopval'
> 227 | w_Stopval:8; /* == W_STOPPED if stopped */
> | ^
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/wait.h:220:19: note: previous declaration is here
> 220 | unsigned int w_Stopval:8, /* == W_STOPPED if stopped */
> | ^
> 7 errors generated.
> make[2]: *** [ipc-client/CMakeFiles/herbstclient.dir/main.c.o] Error 1
> make[1]: *** [ipc-client/CMakeFiles/herbstclient.dir/all] Error 2
> make: *** [all] Error 2
>
> Any suggestions?
>
> Thank you,
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://listi.jpberlin.de/pipermail/hlwm/attachments/20250312/7fa04362/attachment.asc>
More information about the hlwm
mailing list