Re: perl5162-core build failing on 10.14
Justin Hallett <[email protected]> Sun, 6 Jan 2019 14:29:55 -0700
| Newsgroups | gmane.os.apple.fink.core |
|---|---|
| Message-ID | <[email protected]> |
--===============8886093517983305735== Content-Type: multipart/alternative; boundary="Apple-Mail=_14A46E65-C6C8-4A51-BF0B-93249AEFA664" --Apple-Mail=_14A46E65-C6C8-4A51-BF0B-93249AEFA664 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 The link in Xcode 10.0 was missing when I updated to Xcode 10.1 and = cli-tools 10.1 the link was created in /usr/lib and it builds fine. --- TS http://www.southofheaven.org/ Life begins and ends with chaos, live between the chaos! > On Jan 6, 2019, at 11:15 AM, Leigh Smith <[email protected]> wrote: >=20 > Hi folks, >=20 > I was able to use fingolfin=E2=80=99s mh:1014 forked branch of fink to = bootstrap on a 10.14.2 system and get most packages building fine, with = the Apple developer tools and the headers installed. One problem I=E2=80=99= m hitting is that perl5162-core fails (which is a dependency for = texi2html which is a dependency for many other packages). >=20 > The build error reported several times is: >=20 > ld: library not found for -lgcc_s.10.4 >=20 > i.e. during the build: >=20 > Running Mkbootstrap for DB_File () > Processing extracted/DBidiClass.txt > chmod 644 DB_File.bs > gcc -c -I/usr/local/BerkeleyDB/include -I/sw/include -fno-common = -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe = -fstack-protector -I/usr/local/include -O3 -DVERSION=3D\"1.826\" = -DXS_VERSION=3D\"1.826\" "-I../.." -D_NOT_CORE -DmDB_Prefix_t=3Dsize_t = -DmDB_Hash_t=3Du_int32_t DB_File.c > 1 warning generated. > gcc -c -I./zlib-src -I/sw/include -fno-common -DPERL_DARWIN = -no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector = -I/usr/local/include -O3 -DVERSION=3D\"2.048\" -DXS_VERSION=3D\"2.048\" = "-I../.." -DNO_VIZ -DZ_SOLO -DGZIP_OS_CODE=3D3 crc32.c > cp Cwd.bs ../../lib/auto/Cwd/Cwd.bs > chmod 644 ../../lib/auto/Cwd/Cwd.bs > rm -f ../../lib/auto/Cwd/Cwd.bundle > env MACOSX_DEPLOYMENT_TARGET=3D10.3 cc -L/sw/lib -bundle -undefined = dynamic_lookup -L/usr/local/lib -fstack-protector Cwd.o -o = ../../lib/auto/Cwd/Cwd.bundle \ > \ > =20 > ld: library not found for -lgcc_s.10.4 > clang: error: linker command failed with exit code 1 (use -v to see = invocation) > make[1]: *** [../../lib/auto/Cwd/Cwd.bundle] Error 1 > Unsuccessful make(dist/Cwd): code=3D512 at make_ext.pl line 466. > make: *** [lib/auto/Cwd/Cwd.bundle] Error 25 > make: *** Waiting for unfinished jobs.... >=20 > I assumed this was because a gcc other than the system default was = required. This error occurred with no fink gcc built. Attempting to = build perl5162-core with both gcc7 and gcc8 then built prior to = perl5162-core, produced the same failure with the same problem. This = occurred without changing the CompileScript commands, and also with the = CompileScript commands to changed to (in the case of gcc-7): >=20 > CompileScript: << > #!/bin/sh -ev > sh Configure -desr -Dcc=3D"gcc-7" -Dcpp=3D"-gcc-7 -E" -Dprefix=3D%p = -Dccflags=3D-I%p/include -Dldflags=3D-L%p/lib -Dperladmin=3Dnone = -Uinstallusrbinperl -Dprivlib=3D"%p/lib/perl5-core/5.16.2" = -Darchlib=3D"%p/lib/perl5-core/5.16.2/darwin-thread-multi-2level" = -Dman3dir=3D"%p/lib/perl5-core/5.16.2/man/man3" -Dman3ext=3D3pm = -Dscriptdir=3D"%p/bin" -Duseithreads -Dinc_version_list=3Dnone = -Adefine:startperl=3D"#!%p/bin/perl5.16.2" = -Adefine:perlpath=3D"%p/bin/perl5.16.2" > make > << >=20 > so that doesn=E2=80=99t seem to be the explanation. Can anyone shed = any light on the behaviour and if they can reproduce the problem? >=20 > Leigh > -- > Leigh M. Smith > mailto:[email protected] > http://www.leighsmith.com=20 >=20 >=20 >=20 >=20 >=20 >=20 > _______________________________________________ > fink-core mailing list > [email protected] > List archive: > http://news.gmane.org/gmane.os.apple.fink.core > Subscription management: > https://lists.sourceforge.net/lists/listinfo/fink-core --Apple-Mail=_14A46E65-C6C8-4A51-BF0B-93249AEFA664 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">The = link in Xcode 10.0 was missing when I updated to Xcode 10.1 and = cli-tools 10.1 the link was created in /usr/lib and it builds fine.<br = class=3D""><div class=3D""> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; = color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; = font-variant: normal; font-weight: normal; letter-spacing: normal; = line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; = text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; = -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: = 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; " class=3D""><p style=3D"margin-top: 0px; = margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal = normal normal 12px/normal Helvetica; " class=3D"">---</p><p = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; font: normal normal normal 12px/normal Helvetica; " = class=3D"">TS</p><p style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; font: normal normal normal = 12px/normal Helvetica; " class=3D""><a = href=3D"http://www.southofheaven.org/" = class=3D"">http://www.southofheaven.org/</a></p><p style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: = normal normal normal 12px/normal Helvetica; " class=3D""><font = class=3D"Apple-style-span" color=3D"#0000EE"><span = class=3D"Apple-style-span" style=3D"text-decoration: underline; = "></span></font></p><p style=3D"margin-top: 0px; margin-right: 0px; = margin-bottom: 0px; margin-left: 0px; font: normal normal normal = 12px/normal Helvetica; " class=3D"">Life begins and ends with chaos, = live between the chaos!</p> </div> </span></div><div><br class=3D""><blockquote type=3D"cite" class=3D""><div= class=3D"">On Jan 6, 2019, at 11:15 AM, Leigh Smith <<a = href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">Hi = folks,<br class=3D""><br class=3D"">I was able to use fingolfin=E2=80=99s = mh:1014 forked branch of fink to bootstrap on a 10.14.2 system and get = most packages building fine, with the Apple developer tools and the = headers installed. One problem I=E2=80=99m hitting is that perl5162-core = fails (which is a dependency for texi2html which is a dependency for = many other packages).<br class=3D""><br class=3D"">The build error = reported several times is:<br class=3D""><br class=3D"">ld: library not = found for -lgcc_s.10.4<br class=3D""><br class=3D"">i.e. during the = build:<br class=3D""><br class=3D"">Running Mkbootstrap for DB_File = ()<br class=3D"">Processing extracted/DBidiClass.txt<br class=3D"">chmod = 644 DB_File.bs<br class=3D"">gcc -c = -I/usr/local/BerkeleyDB/include -I/sw/include -fno-common = -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe = -fstack-protector -I/usr/local/include -O3 = -DVERSION=3D\"1.826\" -DXS_VERSION=3D\"1.826\" = "-I../.." -D_NOT_CORE -DmDB_Prefix_t=3Dsize_t = -DmDB_Hash_t=3Du_int32_t DB_File.c<br class=3D"">1 warning = generated.<br class=3D"">gcc -c -I./zlib-src -I/sw/include = -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe = -fstack-protector -I/usr/local/include -O3 = -DVERSION=3D\"2.048\" -DXS_VERSION=3D\"2.048\" = "-I../.." -DNO_VIZ -DZ_SOLO -DGZIP_OS_CODE=3D3 = crc32.c<br class=3D"">cp Cwd.bs ../../lib/auto/Cwd/Cwd.bs<br = class=3D"">chmod 644 ../../lib/auto/Cwd/Cwd.bs<br class=3D"">rm -f = ../../lib/auto/Cwd/Cwd.bundle<br class=3D"">env = MACOSX_DEPLOYMENT_TARGET=3D10.3 cc -L/sw/lib -bundle -undefined = dynamic_lookup -L/usr/local/lib -fstack-protector Cwd.o -o = ../../lib/auto/Cwd/Cwd.bundle <span class=3D"Apple-tab-span" = style=3D"white-space:pre"> </span>\<br class=3D""><span = class=3D"Apple-tab-span" style=3D"white-space:pre"> </span> = <span class=3D"Apple-tab-span" = style=3D"white-space:pre"> </span>\<br class=3D""><span = class=3D"Apple-tab-span" style=3D"white-space:pre"> </span> = <br class=3D"">ld: library not found for -lgcc_s.10.4<br = class=3D"">clang: error: linker command failed with exit code 1 (use -v = to see invocation)<br class=3D"">make[1]: *** = [../../lib/auto/Cwd/Cwd.bundle] Error 1<br class=3D"">Unsuccessful = make(dist/Cwd): code=3D512 at make_ext.pl line 466.<br class=3D"">make: = *** [lib/auto/Cwd/Cwd.bundle] Error 25<br class=3D"">make: *** Waiting = for unfinished jobs....<br class=3D""><br class=3D"">I assumed this was = because a gcc other than the system default was required. This error = occurred with no fink gcc built. Attempting to build perl5162-core with = both gcc7 and gcc8 then built prior to perl5162-core, produced the same = failure with the same problem. This occurred without changing the = CompileScript commands, and also with the CompileScript commands to = changed to (in the case of gcc-7):<br class=3D""><br = class=3D"">CompileScript: <<<br class=3D"">#!/bin/sh -ev<br = class=3D""> sh Configure -desr -Dcc=3D"gcc-7" -Dcpp=3D"-gcc-7 -E" = -Dprefix=3D%p -Dccflags=3D-I%p/include -Dldflags=3D-L%p/lib = -Dperladmin=3Dnone -Uinstallusrbinperl = -Dprivlib=3D"%p/lib/perl5-core/5.16.2" = -Darchlib=3D"%p/lib/perl5-core/5.16.2/darwin-thread-multi-2level" = -Dman3dir=3D"%p/lib/perl5-core/5.16.2/man/man3" -Dman3ext=3D3pm = -Dscriptdir=3D"%p/bin" -Duseithreads -Dinc_version_list=3Dnone = -Adefine:startperl=3D"#!%p/bin/perl5.16.2" = -Adefine:perlpath=3D"%p/bin/perl5.16.2"<br class=3D""> make<br = class=3D""><<<br class=3D""><br class=3D"">so that doesn=E2=80=99t = seem to be the explanation. Can anyone shed any light on the behaviour = and if they can reproduce the problem?<br class=3D""><br = class=3D"">Leigh<br class=3D"">--<br class=3D"">Leigh M. Smith<br = class=3D""><a href=3D"mailto:[email protected]" = class=3D"">mailto:[email protected]</a><br = class=3D"">http://www.leighsmith.com <br class=3D""><br class=3D""><br = class=3D""><br class=3D""><br class=3D""><br class=3D""><br = class=3D"">_______________________________________________<br = class=3D"">fink-core mailing list<br = class=3D"">[email protected]<br class=3D"">List = archive:<br class=3D"">http://news.gmane.org/gmane.os.apple.fink.core<br = class=3D"">Subscription management:<br = class=3D"">https://lists.sourceforge.net/lists/listinfo/fink-core<br = class=3D""></div></div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_14A46E65-C6C8-4A51-BF0B-93249AEFA664-- --===============8886093517983305735== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============8886093517983305735== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ fink-core mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.core Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-core --===============8886093517983305735==--