Mikael Ostensson | 22 May 21:50
Picon

Problems building trunk on T2-8.0 install

My build host is the latest 8.0-stable image i downloaded from the T2
binary download, all packages installed.

After failing to build our custom target(Atronix), I tried the Generic
Minimal target.
I had to Emerge-pkg python to get past the glib in stage 0.

Now I have issues with e2fsprogs in stage 1, and I can't figure out
what the error actually is...it seem to build and install, the saying
due to previous errors, log file was not created.

I have attached the ERROR-LOG from the src directory and the log file
from var/adm/logs on the build tree.

I hope that someone will be able to answer this as i have noticed very
little activity on this list lately and start wondering if t2 SDE is
now abandon ware and no longer actively used by anyone.

If anyone have built t2-trunk in it's current configuration on a
t2-8.0 system and know whats missing/fails, i would appreciate any
help to resolve this.

Mikael
Attachment (LOGs.zip): application/zip, 24 KiB
Mikael Ostensson | 17 May 19:58
Picon

Re: Error building util-linux on trunk- found the issue, but see inside for new issue.

After reading about about release .26 of pkgconfig is seem to conflict
with alot  of build anvironments.
Have this been successfully used with 9.0-trunk?

I have restarted my build after downgrading to release .25...will see
how it goes.

Thanks
Mikael

On Thu, May 17, 2012 at 12:25 PM, Mikael Ostensson <mikaelo <at> gmail.com> wrote:
> Ok found out what the problem was: pkgconfig had not been built.
>
> However that package in turn had been commented out due to failure to
> find glib.h etc...in stage 0
> After creating a few symlinks I passed stage 0, but now it fails in
> stage 1 with:
>
> !> configure: error: pkg-config and glib-2.0 not found, please set
> GLIB_CFLAGS and GLIB_LIBS to the correct values.
>
> Full log attached.
>
>
>
> On Thu, May 17, 2012 at 11:12 AM, Mikael Ostensson <mikaelo <at> gmail.com> wrote:
>> BTW the file was generated by autoconf 2.68
>> I have attached the generated Configure file.
>>
>> On Thu, May 17, 2012 at 10:05 AM, Mikael Ostensson <mikaelo <at> gmail.com> wrote:
(Continue reading)

Mikael Ostensson | 17 May 16:04
Picon

Error building util-linux on trunk


I just started to attempt to build with a custom target (Rene built
initial version for us)

Host system: Ubuntu 12.04
Package: base/util-linux [2.18 9.0-trunk]
Attached Error.log

Message during build:

checking whether to build static libraries... yes
./configure: line 11650: PKG_PROG_PKG_CONFIG: command not found
./configure: line 11673: syntax error near unexpected token `gtk-doc'
./configure: line 11673: `    PKG_CHECK_EXISTS(gtk-doc >= 1.10,,'
make: *** [config.status] Error 2
Due to previous errors, no 1-util-linux.log file!
(Try enabling xtrace in the config to track an error inside the build system.)

Am I missing something on the host system? This error was not straight
forward to me to resolve, and I need some help in this.

Thanks
Mikael

girish gulawani | 22 Apr 19:31
Picon
Favicon

build RPM or Debian pkgs


hello everybody.
finally with bit of effort and lots' of machine cycles i'm able to cross build mips distro from t2 trunk! analyzer tells it takes 30.05min to build cross/toolchain in stage-0 and roughly 3.6hrs to build the stage-1 (gnome2 base) in a clean build.

now i'd like to try more brave tricks. is there a easy (crazy) way to build either(or both RPMs and Debian packages out of these tar.bz2's? next obvious thing to-do i believe will be to wire a comprehensive installer (anaconda?) to complete the job. any help, tips?

indeed, its great job folks!!!
thanks.
girish.
Gerardo Di Iorio | 11 Apr 23:47
Picon

dietlibc and gcc 4.7

Hi,
i try to build an native x64 config.
I have error on build package disktype and all package cmpilated with dietlibc
the error is:


/root/t2/build/xfce-9.0-trunk-generic-x86-64-/usr/dietlibc/lib-x86_64/libc.a(vsn
printf.o): In function `vsnprintf':
vsnprintf.c:(.text+0xc4): warning: warning: the printf functions add several kil
obytes of bloat.
/root/t2/build/xfce-9.0-trunk-generic-x86-64-/usr/dietlibc/lib-x86_64/libc.a(std
err.o): In function `__fflush_stderr':
stderr.c:(.text+0x8): warning: warning: your code uses stdio (7+k bloat).
/root/t2/build/xfce-9.0-trunk-generic-x86-64-/TOOLCHAIN/tools.cross/crosscc/../l
ib/gcc/x86_64-t2-linux-gnu/4.7.0/../../../../x86_64-t2-linux-gnu/bin/ld: error i
n /root/t2/build/xfce-9.0-trunk-generic-x86-64-/usr/dietlibc/lib-x86_64/dyn_stop
.o(.eh_frame); no .eh_frame_hdr table will be created.
lib.o: In function `format_blocky_size':
lib.c:(.text+0x40b): undefined reference to `stpcpy'
collect2: error: ld returned 1 exit status
make: *** [disktype] Error 1
Due to previous errors, no 1-disktype.log file!



regards
Gerardo Di Iorio

--
http://gerardodiiorio.blogspot.com/
Lo scopo del lavoro è quello di guadagnarsi il tempo libero  (Aristotele)
The purpose of the job is to gain leisure  (Aristotele)

René Rebe | 4 Apr 17:26
Favicon

Janitor task

Hey folks,

for newcomers, and people who like to see new sources, educate and learn, I have a Janitor task. As usually
updating to a new, stricter, compiler, the update to GCC-4.7
(http://t2-project.org/packages/gcc.html) brought a number of new build errors. Obviously, as
expected, ... One thing, they constantly clean header, includes, not only for standard conformance, but
also speedup builds. So some very easy things to fix, are missing includes and thus undeclared identifiers:

grep "error: .*not declared" build/reference-9.0-trunk-reference-x86-i686-linux/var/adm/logs/*.err

Of course there are many more, usually C++, errors due more standard compliance.

PS: If you have no time, or basic C experience yourself, maybe spread the word to pupils, students near you!

Happy easter and patches welcome!

	René
--

-- 
  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
  http://exactcode.com | http://t2-project.org | http://rene.rebe.de

chase rayfield | 16 Mar 18:40
Picon
Favicon

Sparc32 fails at udev

So I had a go at building Sparc32 again with T2 the build fails at udev in stage 1.

From what I understand the header that defines this since we are using dietlibc right?
/build/sparc-9.0-trunk-generic-sparc-v7-linux/usr/dietlibc/include/sys/inotify.h

I also tried declaring the functions extern but that didn't work and failed with the same error. From what I understand the kernel is supposed to provide that but it isn't built yet but the headers should be there.. so.

Any ideas?

Thanks,
Chase Rayfield

 CCLD   udev/udevd
/root/haiku/t2-trunk/build/sparc-9.0-trunk-generic-sparc-v7-linux/usr/dietlibc/lib-sparc/libc.a(sprintf.o): In function `sprintf':
sprintf.c:(.text+0x20): warning: warning: Avoid *sprintf; use *snprintf. It is more secure.
libudev/.libs/libudev-private.a(libudev-queue-private.o): In function `rebuild_queue_file':
libudev-queue-private.c:(.text+0x434): warning: warning: your code uses stdio (7+k bloat).
/root/haiku/t2-trunk/build/sparc-9.0-trunk-generic-sparc-v7-linux/usr/dietlibc/lib-sparc/libc.a(vsscanf.o): In function `vsscanf':
vsscanf.c:(.text+0x88): warning: warning: the scanf functions add several kilobytes of bloat.
/root/haiku/t2-trunk/build/sparc-9.0-trunk-generic-sparc-v7-linux/usr/dietlibc/lib-sparc/libc.a(vsnprintf.o): In function `vsnprintf':
vsnprintf.c:(.text+0xb8): warning: warning: the printf functions add several kilobytes of bloat.
udev/udev-watch.o: In function `udev_watch_begin':
udev-watch.c:(.text+0xb0): undefined reference to `inotify_add_watch'
udev-watch.c:(.text+0x16c): undefined reference to `inotify_add_watch'
udev/udev-watch.o: In function `udev_watch_end':
udev-watch.c:(.text+0x4a4): undefined reference to `inotify_rm_watch'
udev/udevd.o: In function `main':
udevd.c:(.text.startup+0xb2c): undefined reference to `inotify_add_watch'
udevd.c:(.text.startup+0x1c0c): undefined reference to `inotify_add_watch'
udevd.c:(.text.startup+0x1c20): undefined reference to `inotify_add_watch'
udevd.c:(.text.startup+0x1c8c): undefined reference to `inotify_add_watch'
/root/haiku/t2-trunk/build/sparc-9.0-trunk-generic-sparc-v7-linux/usr/dietlibc/lib-sparc/libc.a(inotify_init1.o): In function `inotify_init1':
(.text+0x4): undefined reference to `__NR_inotify_init1'
/root/haiku/t2-trunk/build/sparc-9.0-trunk-generic-sparc-v7-linux/usr/dietlibc/lib-sparc/libc.a(inotify_init1.o): In function `inotify_init1':
(.text+0x4): relocation truncated to fit: R_SPARC_13 against undefined symbol `__NR_inotify_init1'
collect2: ld returned 1 exit status
make[2]: *** [udev/udevd] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Due to previous errors, no 1-udev.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 ...
removed `/root/haiku/t2-trunk/build/sparc-9.0-trunk-generic-sparc-v7-linux/lib/libudev.la'
Searching for orphaned files ...
Found 60 files for this package.
Found 11 orphaned files for this package.
Clear (old) md5sums ...
Creating md5sum files ... done.
Creating package description ...
Making post-install adaptions.

girish gulawani | 15 Mar 04:07
Picon
Favicon

T2 (mips64) build issues and possibility to avoid Dietlib


hello all.
found couple of issues on the way while building mips64 target (on both 8.0 and trunk-r30450).
.1 has anybody noticed incorrect options handling in scripts/Download with -mirror, -nock -all/-required? (not mips specific anyway!)
.2 the perl build fails on cross build; is the Makefile patch for using 'miniperl' and 'HOST_CC' required?
.3 do those pciaccess, alsa-utils and the further dependancies build correctly?
may be small issues, but makes me wonder has anybody used T2 to build mips64 target out-of-box?:-)

with this background let me put my intentions: i'm actually evaluating T2 for a new target/architecture that we are designing. the Dietlibc hasn't been ported+built and intend to use glibc/newlib all the way. please excuse if this is a naive question: is it possible to build a Generic, Embedded, and rescue targets without Dietlib?

any info/help and advice in this regards will be greatly appreciated!
many thanks.
girish.

René Rebe | 14 Mar 22:20
Favicon

Re: [RFC] renaming linux26 pkg to just linux

Hi Roger,

On Mar 14, 2012, at 9:46 PM, Roger Mason wrote:

> Hi Rene,
> 
> On 14-Mar-12, at 8:22 AM, René Rebe wrote:
> 
>> Hey all,
>> 
>> I have a Request For Comment: Since the unforeseen version bump of the Linux kernel from 2.6.x to 3.x, ...
our primary OS kernel package "limux26" is a little misnamed.
>> 
>> If the rename would be easy, I would have long renamed the linux26 pkg to linxu3, ... but it requires
touching much more than a dozen files, ...
>> 
>> While thinking we should finally address this, I came to the conclusion I would like to delete the quite
obsolete linux24 package, and rename the linux26 package just "linux".
>> 
>> Any thoughts on this?
>> 
>> 	René
> 
> I have no problem with this, but my response is, perhaps, naiive as I don't understand what consequences
there may be, if any.

For one thing this was to find out if anyone screams about loosing "linux24" :-) A rename of the majorly used
package "linux" means many other, e.g. architecture and target overloads, need to be adapted, etc., …
not to mention shared file conflicts on user systems when they emerge an update which will clash between
"linux26" and "linux", … though "linux" without number prefix is much nicer, matches to the
"linux-header" package, … and is certainly nice in the long run.

Cheers,

--

-- 
 René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
 http://exactcode.com | http://t2-project.org | http://rene.rebe.de

René Rebe | 14 Mar 11:52
Favicon

[RFC] renaming linux26 pkg to just linux

Hey all,

I have a Request For Comment: Since the unforeseen version bump of the Linux kernel from 2.6.x to 3.x, ... our
primary OS kernel package "limux26" is a little misnamed.

If the rename would be easy, I would have long renamed the linux26 pkg to linxu3, ... but it requires touching
much more than a dozen files, ...

While thinking we should finally address this, I came to the conclusion I would like to delete the quite
obsolete linux24 package, and rename the linux26 package just "linux".

Any thoughts on this?

	René

--

-- 
  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
  http://exactcode.com | http://t2-project.org | http://rene.rebe.de

Gerardo Di Iorio | 1 Mar 22:20
Picon

glib 2.30.2

hi rene,
i have build t2 system with glibc 2.30.2, but fail in stage 0 and 1  to find libffi.
I have rever the commit in the my build machine.
You can fix this?

regards
Gerardo Di iorio

--
http://gerardodiiorio.blogspot.com/
Lo scopo del lavoro è quello di guadagnarsi il tempo libero  (Aristotele)
The purpose of the job is to gain leisure  (Aristotele)


Gmane