pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc bootstrap fails on Tribblix



Forcing --abi 32 resulted in the target being i486-sun-solaris2.11.

What? I think it should be i386-sun-solaris2.11?

On Illumos, there are only two target: i386-sun-solaris2.11 and x86_64-sun-solaris2.11

What is i486-sun-solaris2.11?

I tried to build editors/joe and it failed with this linker error:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating Kyuafile
config.status: creating libpkgconf.pc
config.status: creating tests/Kyuafile
config.status: creating tests/test_env.sh
config.status: creating libpkgconf/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
===> Building for pkgconf-1.7.3
--- cli/.dirstamp ---
--- cli/.deps/.dirstamp ---
--- libpkgconf/.dirstamp ---
--- libpkgconf/.deps/.dirstamp ---
--- cli/pkgconf-main.o ---
--- cli/pkgconf-getopt_long.o ---
--- cli/pkgconf-renderer-msvc.o ---
--- libpkgconf/audit.lo ---
--- cli/pkgconf-renderer-msvc.o ---
  CC       cli/pkgconf-renderer-msvc.o
--- cli/pkgconf-main.o ---
  CC       cli/pkgconf-main.o
--- cli/pkgconf-getopt_long.o ---
  CC       cli/pkgconf-getopt_long.o
--- libpkgconf/audit.lo ---
  CC       libpkgconf/audit.lo
--- libpkgconf/cache.lo ---
  CC       libpkgconf/cache.lo
--- libpkgconf/client.lo ---
  CC       libpkgconf/client.lo
--- libpkgconf/pkg.lo ---
  CC       libpkgconf/pkg.lo
--- libpkgconf/bsdstubs.lo ---
  CC       libpkgconf/bsdstubs.lo
--- libpkgconf/fragment.lo ---
  CC       libpkgconf/fragment.lo
--- libpkgconf/argvsplit.lo ---
  CC       libpkgconf/argvsplit.lo
--- libpkgconf/fileio.lo ---
--- libpkgconf/tuple.lo ---
--- libpkgconf/fileio.lo ---
  CC       libpkgconf/fileio.lo
--- libpkgconf/tuple.lo ---
  CC       libpkgconf/tuple.lo
--- libpkgconf/dependency.lo ---
  CC       libpkgconf/dependency.lo
--- libpkgconf/queue.lo ---
  CC       libpkgconf/queue.lo
--- libpkgconf/path.lo ---
  CC       libpkgconf/path.lo
--- libpkgconf/personality.lo ---
  CC       libpkgconf/personality.lo
--- libpkgconf/parser.lo ---
  CC       libpkgconf/parser.lo
--- libpkgconf.la ---
  CCLD     libpkgconf.la
ld: fatal: file .libs/libpkgconf.exp: unknown file type
ld: fatal: file processing errors. No output written to .libs/libpkgconf.so.3.0.0
collect2: error: ld returned 1 exit status
*** [libpkgconf.la] Error code 1

bmake: stopped in /jack/pkgsrc/devel/pkgconf/work/pkgconf-1.7.3
1 error

bmake: stopped in /jack/pkgsrc/devel/pkgconf/work/pkgconf-1.7.3
*** Error code 2

Stop.
bmake[3]: stopped in /jack/pkgsrc/devel/pkgconf
*** Error code 1

Stop.
bmake[2]: stopped in /jack/pkgsrc/devel/pkgconf
*** Error code 1

Stop.
bmake[1]: stopped in /jack/pkgsrc/devel/ncurses
*** Error code 1

Stop.
bmake: stopped in /jack/pkgsrc/editors/joe




---- On Sat, 23 Jan 2021 20:07:15 +0700 Hung Nguyen Gia <gh_origin%zohomail.com@localhost> wrote ----

 > Explicitly state --abi 32 could let the bootstrap done: 
 >  
 > ./bootstrap --abi 32 --unprivileged --make-jobs 8 
 >  
 > I will try to build a package to see if it actually works. 
 >  
 >  
 >  
 >  
 > ---- On Sat, 23 Jan 2021 19:57:56 +0700 Hung Nguyen Gia <gh_origin%zohomail.com@localhost> wrote ---- 
 >  
 >  > This time I bootstrap without --abi 64, which should be implied 32 bit, since 32 bit is the default target on Illumos: 
 >  > 
 >  > ./bootstrap --unprivileged --make-jobs 8 
 >  > 
 >  > The bootstrap failed with exactly the same error. 
 >  > 
 >  > 
 >  > 
 >  > 
 >  > ---- On Sat, 23 Jan 2021 19:46:37 +0700 Hung Nguyen Gia <gh_origin%zohomail.com@localhost> wrote ---- 
 >  > 
 >  >  > The bootstrap command I used: 
 >  >  > 
 >  >  > ./bootstrap --abi 64 --unprivileged --make-jobs 8 
 >  >  > 
 >  >  > It seemed bootstrap doesn't obey --abi 64, as I still see something like this in the beginning of the bootstrap: 
 >  >  > 
 >  >  > checking build system type... i386-pc-solaris2.11 
 >  >  > checking host system type... i386-sun-solaris2.11 
 >  >  > 
 >  >  > But in the later steps of bootstrap, I see something like this: 
 >  >  > 
 >  >  > checking build system type... x86_64-pc-solaris2.11 
 >  >  > checking host system type... x86_64-sun-solaris2.11 
 >  >  > 
 >  >  > So some parts of bootstrap obeys --abi 64, some parts don't. 
 >  >  > 
 >  >  > This caused inconsistent and finally failed with: 
 >  >  > 
 >  >  > ld: Relocatable linking with relocations from format elf64-x86-64-sol2 (common.o.o) to format elf32-i386-sol2 (common.o) is not supported 
 >  >  > *** Error code 1 
 >  >  > 
 >  > 
 > 


Home | Main Index | Thread Index | Old Index