Opened 2 years ago

Last modified 2 years ago

#63928 assigned defect

xcb @2.4_3 configure fails

Reported by: KatsOide Owned by: qbarnes@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: monterey bigsur Cc:
Port: xcb

Description (last modified by jmroot (Joshua Root))

>sudo port install xcb
Password:
--->  Computing dependencies for xcb
--->  Fetching archive for xcb
--->  Attempting to fetch xcb-2.4_3.darwin_21.x86_64.tbz2 from https://packages.macports.org/xcb
--->  Attempting to fetch xcb-2.4_3.darwin_21.x86_64.tbz2 from https://nue.de.packages.macports.org/xcb
--->  Attempting to fetch xcb-2.4_3.darwin_21.x86_64.tbz2 from https://fra.de.packages.macports.org/xcb
--->  Fetching distfiles for xcb
--->  Verifying checksums for xcb
--->  Extracting xcb
--->  Applying patches to xcb
--->  Configuring xcb
Error: Failed to configure xcb: make Makefiles failure: can't read "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xcb/xcb/work/xcb-2.4 && make Makefiles.dir": no such variable
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xcb/xcb/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port xcb failed

The log file:

....
:info:configure imake -DUseInstalled -I/opt/local/lib/X11/config
:error:configure Failed to configure xcb: make Makefiles failure: can't read "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xcb/xcb/work/xcb-2.4 && make Makefiles.dir": no such variable
:debug:configure Error code: NONE
:debug:configure Backtrace: make Makefiles failure: can't read "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_xcb/xcb/work/xcb-2.4 && make Makefiles.dir": no such variable
:debug:configure     while executing
:debug:configure "$procedure $targetname"

Attachments (1)

main.log (46.8 KB) - added by KatsOide 2 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 2 years ago by cjones051073 (Chris Jones)

Please post the complete log file

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: monterey bigsur added; macOS 12 removed
Owner: set to qbarnes@…
Status: newassigned
Summary: xcb install failsxcb @2.4_3 configure fails

Changed 2 years ago by KatsOide

Attachment: main.log added

comment:3 Changed 2 years ago by qbarnes (Quentin Barnes)

I'm going to need some pointers here.

I was able to reproduce the above reported error that generated this ticket against xcb on a Catalina system, but I cannot find any place that specifies the string "Makefiles.dir". I grepped everywhere under /opt/local/var/macports.

After running "xmkmf", macports should not be calling "make Makefiles.dir", but just simply "make". When I do that, the build successfully runs.

Can anyone tell me what's causing macports to invoke "make Makefiles.dir"? Is it a new bug in macports dealing with "use_xmkmf yes" builds? Is it some new setting I have to add to my Portfile?

comment:4 Changed 2 years ago by jmroot (Joshua Root)

I guess this is a case of #64011? Not sure what a good workaround would be until the next base release.

Note: See TracTickets for help on using tickets.