Project

General

Profile

Actions

Bug #73

closed

packages/i386/repo.redist not found

Added by Gabriele Bulfon almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
2010-08-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Tags:
Gerrit CR:

Description

Following the "how to build", the last step gives this error:

gbulfon@opensolaris:~$ cd /code
gbulfon@opensolaris:/code$ cd illumos-gate/
gbulfon@opensolaris:/code/illumos-gate$ ./usr/src/tools/scripts/onu -d packages/i386 -t nightly
packages/i386/repo.redist not found

Actually, the packages folder does not exist.
What's wrong?

Actions #1

Updated by Piotr Jasiukajtis almost 11 years ago

  • Assignee set to Piotr Jasiukajtis
  • % Done changed from 0 to 10

I don't have an access to the onu right now to check that out, but try to add '-O' to the onu:

./usr/src/tools/scripts/onu -d packages/i386 -Ot nightly

Actions #2

Updated by Gabriele Bulfon almost 11 years ago

Piotr Jasiukajtis wrote:

I don't have an access to the onu right now to check that out, but try to add '-O' to the onu:

./usr/src/tools/scripts/onu -d packages/i386 -Ot nightly

Thx for trying, but still the same error:

gbulfon@opensolaris:/code/illumos-gate$ ./usr/src/tools/scripts/onu -d packages/i386 -Ot nightly
packages/i386/repo.redist not found
Actions #3

Updated by Gabriele Bulfon almost 11 years ago

Piotr Jasiukajtis wrote:

I don't have an access to the onu right now to check that out, but try to add '-O' to the onu:

./usr/src/tools/scripts/onu -d packages/i386 -Ot nightly

Ok, I noticed there is a change in the "How To Build..." document: I have to download and install Sun Studio 12 + patches also (I symlinked SUNWspro to sunstudio...).
Probably the nightly build process did not work completely, so now I'm missing the packages/i386.
I'll get back once done.
Thx ;)

Actions #4

Updated by Antonio Vieiro almost 11 years ago

I have followed the "How To Build..." document (including the Sun Studio 12 + patches) and I'm having the same problem. I started from a brand new snv_134, and I'm now on a

antonio@opensolaris:/code/illumos-gate# uname -a
SunOS opensolaris 5.11 onnv_145 i86pc i386 i86pc

The result I'm getting is:

antonio@opensolaris:/code/illumos-gate# ./usr/src/tools/scripts/onu -d packages/i386 -Ot nightly
packages/i386/repo.redist not found
antonio@opensolaris:/code/illumos-gate# echo $?
2

Actions #5

Updated by Piotr Jasiukajtis almost 11 years ago

What about './usr/src/tools/scripts/onu -d ./packages/i386/nightly -Ot nightly' ?

Actions #6

Updated by Antonio Vieiro almost 11 years ago

I'm getting this:

antonio@opensolaris:/code/illumos-gate# ./usr/src/tools/scripts/onu -d ./packages/i386/nightly -Ot nightly
pkg.depotd: The path '/packages/i386/nightly/repo.redist' does not contain a valid package repository.
pkg: 3/4 catálogos actualizados correctamente:

Framework error: code: 7 reason: couldn't connect to host
URL: 'http://localhost:13000/catalog/0/'. (happened 4 times)

pkg -R /tmp/onu.deaiFc refresh --full failed: exit code 3
kill: 1272: no such process
antonio@opensolaris:/code/illumos-gate# echo $?
2
Actions #7

Updated by Chris Andrews almost 11 years ago

Assuming you built your stuff in /code/illumos-gate like the wiki shows, this should work:

./usr/src/tools/scripts/onu -d /code/illumos-gate/packages/i386/nightly -O -t nightly

onu needs an absolute path to the package directory.

Actions #8

Updated by Piotr Jasiukajtis almost 11 years ago

  • % Done changed from 10 to 70

Wiki instructions were updated.
Onu needs an absolute path to the package directory.

Does it work for you?

Actions #9

Updated by Antonio Vieiro almost 11 years ago

It's working for me now, thanks!

Actions #10

Updated by Gabriele Bulfon almost 11 years ago

Piotr Jasiukajtis wrote:

Wiki instructions were updated.
Onu needs an absolute path to the package directory.

Does it work for you?

It does not for me, but probably the reason are some errors out of the illuminos-gate build.
The system is running under VirtualBox 3.2.6, 64 bit mode: "SunOS opensolaris 5.11 onnv_145 i86pc i386 i86pc Solaris".
I did all the steps, some in pfexec mode (all package installations up to the "illuminos-build" process), then created /code with my own user permissions, and ran
all the remaining as my user.
Here is the output of step "e":

From root@opensolaris.local Sun Aug 22 22:09:11 2010
Date: Sun, 22 Aug 2010 22:09:10 +0200 (CEST)
From: Super-User <root@opensolaris.local>
Message-Id: <201008222009.o7MK9AXx014573@opensolaris.local>
To: gbulfon@opensolaris.local
Subject: Nightly i386 Build of illumos-gate Failed.
Content-Length: 12414

==== Nightly distributed build started:   Sun Aug 22 18:26:07 CEST 2010 ====
==== Nightly distributed build completed: Sun Aug 22 22:09:09 CEST 2010 ====

==== Total build time ====

real    3:43:02

==== Build environment ====

/usr/bin/uname
SunOS opensolaris 5.11 onnv_145 i86pc i386 i86pc

/code/illumos-gate/usr/src/tools/scripts/nightly ./illumos.sh
-rwxr-xr-x   1 gbulfon  staff     100011 Aug 22 09:57 /code/illumos-gate/usr/src/tools/scripts/nightly

/opt/SUNWspro/bin/dmake
dmake: Sun Distributed Make 7.8 SunOS_i386 Patch 126504-01 2007/07/19
number of concurrent jobs = 4

32-bit compiler
/opt/onbld/bin/i386/cw -_cc
cw version 1.29
primary: /opt/SUNWspro/bin/cc
cc: Sun C 5.9 SunOS_i386 Patch 124868-10 2009/04/30
shadow: /usr/sfw/bin/gcc
gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)

64-bit compiler
/opt/onbld/bin/i386/cw -_cc
cw version 1.29
primary: /opt/SUNWspro/bin/cc
cc: Sun C 5.9 SunOS_i386 Patch 124868-10 2009/04/30
shadow: /usr/sfw/bin/gcc
gcc (GCC) 3.4.3 (csl-sol210-3_4-20050802)

/usr/java/bin/javac
java full version "1.6.0_18-b07" 

/usr/ccs/bin/as
as: Sun Compiler Common 12 SunOS_i386 snv_121 08/03/2009

/usr/ccs/bin/ld
ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1719

Build project:  group.staff
Build taskid:   106

==== Nightly argument issues ====

==== Build version ====

illumos-gate

==== Make clobber ERRORS ====

==== Make tools clobber ERRORS ====

==== Tools build errors ====

==== Build errors (DEBUG) ====

dmake: Fatal error: Could not fork child process for dmake job: Resource temporarily unavailable
dmake: Fatal error: Could not fork child process for dmake job: Resource temporarily unavailable
The following command caused the error:
dmake: Warning: Target `install' not remade because of errors
The following command caused the error:
dmake: Warning: Command failed for target `mac'
dmake: Fatal error: Could not fork child process for dmake job: Resource temporarily unavailable
dmake: Warning: Command failed for target `debug64/mii.o'
The following command caused the error:
dmake: Warning: Target `install' not remade because of errors
The following command caused the error:
dmake: Warning: Command failed for target `mii'
The following command caused the error:
dmake: Warning: Command failed for target `intel'
dmake: Warning: Target `install' not remade because of errors
The following command caused the error:
dmake: Warning: Command failed for target `uts'
dmake: Warning: Don't know how to make target `/code/illumos-gate/proto/root_i386/etc/security/priv_names'
dmake: Warning: Target `_msg' not remade because of errors
The following command caused the error:
dmake: Warning: Target `install' not remade because of errors

==== Build warnings (DEBUG) ====

dmake: Warning: Target `install' not remade because of errors
dmake: Warning: Command failed for target `mac'
dmake: Warning: Command failed for target `debug64/mii.o'
dmake: Warning: Target `install' not remade because of errors
dmake: Warning: Command failed for target `mii'
dmake: Warning: Command failed for target `intel'
dmake: Warning: Target `install' not remade because of errors
dmake: Warning: Command failed for target `uts'
dmake: Warning: Don't know how to make target `/code/illumos-gate/proto/root_i386/etc/security/priv_names'
dmake: Warning: Target `_msg' not remade because of errors
dmake: Warning: Target `install' not remade because of errors

==== Elapsed build time (DEBUG) ====

real  3:33:10.3
user  3:33:58.6
sys   1:05:36.8

==== Build noise differences (DEBUG) ====

3,34d2
<     "../i386/crt/_rtbootld.s", line 1832 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1839 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1847 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1848 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1849 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1850 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1851 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1852 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1853 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1854 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1855 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1856 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1857 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1858 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1859 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1860 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1861 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1862 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1863 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1864 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1865 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1866 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1867 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1868 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1869 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1870 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1871 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1872 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1873 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1874 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1880 : Warning: Absolute relocation is used for symbol ".text" 
<     "../i386/crt/_rtbootld.s", line 1881 : Warning: Absolute relocation is used for symbol ".text" 
36a5,7
>     then elfedit -e 'shdr:sh_type .eh_frame SHT_AMD64_UNWIND' debug32/hal.o; fi
>     then elfedit -e 'shdr:sh_type .eh_frame SHT_AMD64_UNWIND' debug64/hal.o; fi
>     printf("\t.globl %s\n\t.type %s,@function\n%s:\n", \
38,44d8
< "gnu_lex.c", line 31: cannot find include file: "y.tab.h" 
< "labelit.c", line 47: cannot find include file: "ud_lib.h" 
< "mount.c", line 80: cannot find include file: "webnfs.h" 
< "svccfg_help.c", line 28: cannot find include file: "svccfg_grammar.h" 
< "ud_lib.c", line 45: cannot find include file: "ud_lib.h" 
< "webnfs_client.c", line 7: cannot find include file: "webnfs.h" 
< "webnfs_xdr.c", line 6: cannot find include file: "webnfs.h" 
49,50d12
< Assembler: _rtld.c
< Current working directory: /code/illumos-gate/usr/src/lib/libntfs/i386
57a20,21
> Note: /code/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ResourceMonitor.java uses unchecked or unsafe operations.
> Note: /code/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/Debug.java uses unchecked or unsafe operations.
63a28
> Note: BST.java uses unchecked or unsafe operations.
91a57,58
> Note: Debug.java uses unchecked or unsafe operations.
> Note: DecisionHistory.java uses unchecked or unsafe operations.
132a100
> Note: Move.java uses unchecked or unsafe operations.
145a114
> Note: ResourceMonitor.java uses unchecked or unsafe operations.
157a127
> Note: StatisticList.java uses unchecked or unsafe operations.
161a132,133
> Note: SystemMonitor.java uses unchecked or unsafe operations.
> Note: SystemSolver.java uses unchecked or unsafe operations.
180a153,159
> Note: pmButton.java uses unchecked or unsafe operations.
> Note: pmHelpIndexPanel.java uses unchecked or unsafe operations.
> Note: pmHelpRepository.java uses unchecked or unsafe operations.
> Note: pmHelpSearchPanel.java uses unchecked or unsafe operations.
> Note: pmInstallPrinter.java uses unchecked or unsafe operations.
> Note: pmMessageDialog.java uses unchecked or unsafe operations.
> Note: pmTop.java uses unchecked or unsafe operations.
183,190d161
< cc: acomp failed for gnu_lex.c
< cc: acomp failed for labelit.c
< cc: acomp failed for mount.c
< cc: acomp failed for svccfg_help.c
< cc: acomp failed for ud_lib.c
< cc: acomp failed for webnfs_client.c
< cc: acomp failed for webnfs_xdr.c
< cw: error: fork failed (Resource temporarily unavailable)
192,213c163,166
< dmake: Warning: Command failed for target `/code/illumos-gate/proto/root_i386/etc/certs/CA/Comodo_AAA_Services_root.pem'
< dmake: Warning: Command failed for target `agents'
< dmake: Warning: Command failed for target `allocate'
< dmake: Warning: Command failed for target `cmd-crypto'
< dmake: Warning: Command failed for target `fm'
< dmake: Warning: Command failed for target `fs.d'
< dmake: Warning: Command failed for target `fsdb'
< dmake: Warning: Command failed for target `genunix'
< dmake: Warning: Command failed for target `ii'
< dmake: Warning: Command failed for target `ipmi'
< dmake: Warning: Command failed for target `ipmi_methods.o'
< dmake: Warning: Command failed for target `kmod/ii.o'
< dmake: Warning: Command failed for target `labelit'
< dmake: Warning: Command failed for target `lib'
< dmake: Warning: Command failed for target `libntfs'
< dmake: Warning: Command failed for target `libparted'
< dmake: Warning: Command failed for target `mdb'
< dmake: Warning: Command failed for target `mount'
< dmake: Warning: Command failed for target `msgfmt'
< dmake: Warning: Command failed for target `pics/lib/closeout.o'
< dmake: Warning: Command failed for target `pics/libntfs/gnome-vfs-method.o'
< dmake: Warning: Command failed for target `svc'
---
> dmake: Warning: Command failed for target `debug64/mii.o'
> dmake: Warning: Command failed for target `intel'
> dmake: Warning: Command failed for target `mac'
> dmake: Warning: Command failed for target `mii'
215,216c168
< dmake: Warning: Don't know how to make target `../snmplib/i386/libssasnmp.so.1'
< dmake: Warning: Don't know how to make target `ud_lib.c'
---
> dmake: Warning: Don't know how to make target `/code/illumos-gate/proto/root_i386/etc/security/priv_names'
218,220d169
< dmake: Warning: Target `all' not remade because of errors
< dmake: Warning: Target `all.targ' not remade because of errors
< dmake: Warning: Target `catalog' not remade because of errors
222,223d170
< dmake: Warning: Target `install.prereq' not remade because of errors
< dmake: Warning: Target `ipctf.debug64' not remade because of errors
225,236c172,174
< gnu_lex.c:31:19: y.tab.h: No such file or directory
< labelit.c:47:20: ud_lib.h: No such file or directory
< ld: warning: option -z[defs|nodefs] appears more than once, first setting taken
< ln: cannot access /code/illumos-gate/proto/root_i386/usr/sbin/allocate
< ln: cannot create /code/illumos-gate/proto/root_i386/usr/share/lib/zoneinfo/posixrules: No such file or directory
< mksh: Fatal error: fork failed: Resource temporarily unavailable
< mount.c:80:20: webnfs.h: No such file or directory
< sh[2]: /usr/bin/rm: cannot fork [Resource temporarily unavailable]
< svccfg_help.c:28:28: svccfg_grammar.h: No such file or directory
< ud_lib.c:45:20: ud_lib.h: No such file or directory
< webnfs_client.c:7:20: webnfs.h: No such file or directory
< webnfs_xdr.c:6:20: webnfs.h: No such file or directory
---
> if [ `elfedit -r -e 'ehdr:e_machine' debug32/hal.o` = EM_AMD64 ]; \
> if [ `elfedit -r -e 'ehdr:e_machine' debug64/hal.o` = EM_AMD64 ]; \
> sed 's/.c:#define/,/'                   |\

==== cstyle/hdrchk errors ====

==== Find core files ====

==== Check lists of files ====

==== Nightly build noise ====

/code/illumos-gate/usr/src/tools/scripts/nightly[2377]: wstypes: line 2346: http_get: not found

Actions #11

Updated by Piotr Jasiukajtis almost 11 years ago

Looks like you are not using patched SunStudio12 and there is an out of memory.
You may take a look at nightly.log for more details but for now please make sure you are using SunStudio12 + patches (this is not SS12u1).

Actions #12

Updated by Piotr Jasiukajtis almost 11 years ago

  • Status changed from New to Closed
  • % Done changed from 70 to 100

I'm closing this issue since it's fixed. The wiki notes regarding 'onu' were incorrect.

Actions #13

Updated by Gabriele Bulfon almost 11 years ago

Piotr Jasiukajtis wrote:

Looks like you are not using patched SunStudio12 and there is an out of memory.
You may take a look at nightly.log for more details but for now please make sure you are using SunStudio12 + patches (this is not SS12u1).

I did download SunStudio12 + patches, so now I have both SUNWspro and sunstudio under /opt.
Maybe something is going wrong under VirtualBox... I'll se if I can setup a native machine.
Thx so much,
Gabriele.

Actions

Also available in: Atom PDF