Skip to content

gcc11 does not build Xcode 15/ MacOS 12 & 13 #1073

@sth0

Description

@sth0

2 issues.
One, must use fink version of patch and not CLT version which complains patches are out of order. Adding "patch" to BuildDepends resolves this.

Second issue is that I get a lot of warnings here about the version of install-info. It cumulates as a rejection of the "-i" option for some command (not sure which). However the build stops then and waits for input from stdin. This is somewhere in the searching for affected libraries(?). If it is the perl command that is throwing this error then the find command is not finding any files. There should be a check that the find command comes up empty and not pass an empty list to perl?

	perl -pi -e "s, /[^ ']*/gcc11-11.4.0-1/darwin_objdir/[^ ']*,,g" `find /opt/sw/src/fink.build/root-gcc11-11.4.0-1/opt/sw/lib/gcc11/lib -name 'libasan.la'`

....
find /opt/sw/src/fink.build/root-gcc11-11.4.0-1/opt/sw/lib/gcc11/lib -name 'libasan.la'
-i used with no filenames on the command line, reading from STDIN.

Here is a longer excerpt from the build output showing both issues. Does it need a specific version of install-info? Will attach a longer output where check why libasan and libubsan don't exist and if they are supposed to.

-Scott

"find /opt/sw/src/fink.build/root-gcc11-11.4.0-1/opt/sw/lib/gcc11/info -name '.info'
basename $infofile
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
basename $infofile
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
basename $infofile
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
basename $infofile
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
basename $infofile
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
basename $infofile
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
basename $infofile
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
basename $infofile
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
basename $infofile
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments

# remove build path from .la files
perl -pi -e "s, \-L[^ ']*/gcc11-11.4.0-1/darwin_objdir/[^ ']*,,g" `find /opt/sw/src/fink.build/root-gcc11-11.4.0-1/opt/sw/lib/gcc11/lib -name '*.la'`

find /opt/sw/src/fink.build/root-gcc11-11.4.0-1/opt/sw/lib/gcc11/lib -name '*.la'

if [ "x86_64" = "arm" ]; then
	arch=aarch64
else
	arch=x86_64
	perl -pi -e "s, /[^ ']*/gcc11-11.4.0-1/darwin_objdir/[^ ']*,,g" `find /opt/sw/src/fink.build/root-gcc11-11.4.0-1/opt/sw/lib/gcc11/lib -name 'libasan.la'`
	perl -pi -e "s, /[^ ']*/gcc11-11.4.0-1/darwin_objdir/[^ ']*,,g" `find /opt/sw/src/fink.build/root-gcc11-11.4.0-1/opt/sw/lib/gcc11/lib -name 'libubsan.la'`
fi

find /opt/sw/src/fink.build/root-gcc11-11.4.0-1/opt/sw/lib/gcc11/lib -name 'libasan.la'
-i used with no filenames on the command line, reading from STDIN.

find /opt/sw/src/fink.build/root-gcc11-11.4.0-1/opt/sw/lib/gcc11/lib -name 'libubsan.la'
-i used with no filenames on the command line, reading from STDIN.
^D
''

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions