Ok, have a patch for this one too:
Moved perl's build order after bdb.
( I first tried moving bdb up to before perl, at 102, but there were
further dependency errors, so moving perl back to 107.500 does not hit
these errors. one caveat: I have not re-run this yet on a totally clean
build, so perl at 107.500 might break something in the early part of the
build, since it was originally at 102.
Jan
On 2/19/20 12:31 PM, Jan Rovins wrote:
Next item, perl stage 1 is failing:
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:
^1-perl
#include <stdio.h>
int main() { printf("Ok\n"); return(0); }
^1-perl
I used the command:
^1-perl
^1-perl x86_64-t2-linux-gnu-gcc -o try -O2 -fwrapv
-fno-strict-aliasing -pipe -fstack-protector-strong
-I/usr/local/include -fstack-protector-strong -L/usr/local/lib try.c
-lpthread -ldb -ldl -lm -lcrypt -lutil -lc
^1-perl ./try
^1-perl
and I got the following output:
^1-perl
/opt/t2-trunk/build/default-9.0-svn-generic-x86-64-cross-linux/TOOLCHAIN/tools.cross/crosscc/../lib/gcc/x86_64-t2-linux-gnu/9.2.0/../../../../x86_64-t2-linux-gnu/bin/ld:
cannot find -ldb
collect2: error: ld returned 1 exit status
I can't compile the test program.
You have a BIG problem. Shall I abort Configure [y]
Ok. Stopping Configure.
Due to previous errors, no 1-perl.log file!
(Try enabling xtrace in the config to track an error inside the build
system.)
--- BUILD ERROR ---
Creating file list and doing final adaptions ...
Searching for orphaned files ...
Found 6 files for this package.
Found 0 orphaned files for this package.
Clear (old) md5sums ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.
== 02/19/20 17:18:53 =[1]=> Aborted building package perl
Index: package/perl/perl/perl.desc
===================================================================
--- package/perl/perl/perl.desc (revision 49417)
+++ package/perl/perl/perl.desc (working copy)
@@ -37,6 +37,6 @@
[L] Artistic GPL
[S] Stable
[V] 5.30.1
-[P] X --2--5---9 102.000
+[P] X --2--5---9 107.500
[D] 73dec97a9b7735e5a856a279fba13e348f7512f6decc4e3d561bac5a perl-5.30.1.tar.gz http://www.perl.com/CPAN/src/5.0/
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2