Riccardo Mottola | 29 Mar 19:04 2015

problem uploading a package due to solaris 11

Hi,

when I try to upload my new gnustep-back packages, I get:

Checking 1 package against catalog unstable i386 SunOS5.10
Checking 1 package against catalog unstable sparc SunOS5.10
Checking 1 package against catalog unstable i386 SunOS5.11
Checking 1 package against catalog unstable sparc SunOS5.11
Checks failed for the following catalogs:
   - sparc SunOS5.11
     gnustep_back-0.24.0,REV=2015.03.27-SunOS5.10-sparc-CSW.pkg.gz
To see the errors, run:
   /home/rmottola/opencsw/.buildsys/v2/bin/../lib/python/checkpkg2.py 
--catalog-release unstable --os-release SunOS5.11 
--catalog-architecture sparc f72ad449eda9058e2f3b0f9f2852e881
Your packages have not been submitted to the unstable catalog.

The error says:

Traceback (most recent call last):
   File 
"/home/rmottola/opencsw/.buildsys/v2/bin/../lib/python/checkpkg2.py", 
line 16, in <module>
     from lib.python import checkpkg_lib
ImportError: No module named lib.python

Riccardo

Riccardo Mottola | 26 Mar 09:00 2015

latest version of libpng

Hi,

I'm confused about our libpng versions!

lrwxrwxrwx   1 root     root          11 Nov 11  2012 
/opt/csw/lib/libpng.so -> libpng15.so
lrwxrwxrwx   1 root     root          16 Sep 18  2012 
/opt/csw/lib/libpng.so.3 -> libpng.so.3.50.0
-rwxr-xr-x   1 root     bin       210396 Sep 18  2012 
/opt/csw/lib/libpng.so.3.50.0
lrwxrwxrwx   1 root     root          18 Sep 18  2012 
/opt/csw/lib/libpng12.so.0 -> libpng12.so.0.50.0
-rwxr-xr-x   1 root     bin       200752 Sep 18  2012 
/opt/csw/lib/libpng12.so.0.50.0
lrwxrwxrwx   1 root     root          19 Nov 11  2012 
/opt/csw/lib/libpng15.so -> libpng15.so.15.13.0
lrwxrwxrwx   1 root     root          19 Nov 11  2012 
/opt/csw/lib/libpng15.so.15 -> libpng15.so.15.13.0
-rwxr-xr-x   1 root     bin       234128 Nov 10  2012 
/opt/csw/lib/libpng15.so.15.13.0

we have versoned names for 12 and 15 but what is libpng.so.3 which would 
look as the correct one? I see the series a 1.0, 1.2, 1.5...

On my own box I and up having libpng3.. Just to know about this oddity.

There are some security updates, I'll try my best updating libpng, but 
wanted to now this oddity first.

Riccardo
(Continue reading)

Maciej (Matchek) Bliziński | 24 Mar 16:40 2015

We will soon be patching yet another build system


Linux, OS X
Riccardo Mottola | 24 Mar 15:38 2015

overrides specific for architecture

Hi,

with the new libffi I can finally build gnustep-base!

But packaging fails:

WARNING: Some overrides did not match any errors.  They can probably be 
removed,
as they don't take any effect anyway.  If you're getting errors at the same
time, maybe you didn't specify your overrides correctly.
* Unused Override: CSWgnustep-base: 
binary-architecture-does-not-match-placement 
file=opt/csw/GNUstep/System/Tools/autogsdoc arch_id=18 arch_name=sparcv8+
* Unused Override: CSWgnustep-base: 
binary-architecture-does-not-match-placement 
file=opt/csw/GNUstep/System/Tools/gdnc arch_id=18 arch_name=sparcv8+
* Unused Override: CSWgnustep-base: 
binary-architecture-does-not-match-placement 
file=opt/csw/GNUstep/System/Tools/plmerge arch_id=18 arch_name=sparcv8+
* Unused Override: CSWgnustep-base: 
binary-architecture-does-not-match-placement 
file=opt/csw/GNUstep/System/Tools/plser arch_id=18 arch_name=sparcv8+
* Unused Override: CSWgnustep-base: 
binary-architecture-does-not-match-placement 
file=opt/csw/GNUstep/System/Tools/sfparse arch_id=18 arch_name=sparcv8+
* Unused Override: CSWgnustep-base: 
binary-architecture-does-not-match-placement 
file=opt/csw/GNUstep/System/Tools/pl arch_id=18 arch_name=sparcv8+

Obviously: those overrides are specific to SPARC by definition... I'm 
building on intel.

Do I ned to do some GARCH magic perhaps?

Should I use the

Ihsan Dogan | 23 Mar 11:48 2015

Mantis Problems

Hi,

Yesterday I've updated OpenSSL and other packages on
www.opencsw.org. Since then, Mantis is showing an error:

SYSTEM WARNING: mysql_pconnect() [function.mysql-pconnect]:
Headers and client library minor version mismatch. Headers:50529
Library:50621

I'd be really happy if someone with time and the knowledge could
have a look into this issue.

Ihsan

--

-- 
ihsan@... http://blog.dogan.ch/

Riccardo Mottola | 22 Mar 20:34 2015

libicu on solaris 9s

Hi,

on solaris 9 sparc, I get these failures during tests.
I don't get them on solaris 10, however it looks to me that the problem 
is more a linking problem. The symbol is an ICU symbol itself.

  (./letest)  {
   api  {
    ScriptTest                                ---[OK]
    ParameterTest gmake[2]: *** [check-local] Segmentation Fault (core 
dumped)
gmake[2]: Leaving directory 
`/home/rmottola/opencsw/libicu54/trunk/work/solaris9-sparc/build-isa-sparcv9/icu/source/test/letest'
---------------
ALL TESTS SUMMARY:
ok:  testdata intltest iotest cintltst
===== ERRS:  letest

If I try to execute the test manually, I get:

<ork/solaris9-sparc/build-isa-sparcv9/icu/source/test/letest/letest
ld.so.1: letest: fatal: libicule.so.54: open failed: No such file or 
directory
ld.so.1: letest: fatal: relocation error: file 
work/solaris9-sparc/build-isa-sparcv9/icu/source/test/letest/letest: 
symbol __1cGicu_54UOpenTypeLayoutEngineMlanguageTags_: referenced symbol 
not found
Killed

The error happens both in v8 and v9 versions.

Why would this happen (and why on solaris 9 and not 10)?

If I grep for it, I get:
Binary file 
work/solaris9-sparc/build-isa-sparcv9/icu/source/lib/libicule.so matches
(I wonder where the source of it is actually)

perhaps some -L -R magic that is missing or anyway different in solaris 10?

Riccardo

Dagobert Michelsen | 21 Mar 21:06 2015

libffi again

Hi,

the new package is missing a patch for relocation of ffi.h from
  /opt/csw/lib/libffi-3.2.1/include/ffi.h
to
  /opt/csw/include/ffi.h

The original location is noted correctly in libffi.pc and I see no reason
to relocate it to /include as programs like Python pick it up correctly
either way. I took the liberty of removing the relocation and unneeded patchfiles
in r24742. The fix is needed or Python cannot be compiled.

Best regards

  — Dago

--

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment (smime.p7s): application/pkcs7-signature, 3266 bytes
Riccardo Mottola | 21 Mar 17:25 2015

failure due to target

Hi,

why do I get this error on solaris 9 x86? I do not specify the 
architecture. I just added a patch for a known problem regarding 
UINTPTR_MAX.
What is forcing "amd64"

ICU for C/C++ 54.1 is ready to be built.
=== Important Notes: ===
Data Packaging: library
  This means: ICU data will be linked with ICU. A shared data library 
will be built.
  To locate data: ICU will use the linked data library. If linked with 
the stub library located in stubdata/, the application can use 
udata_setCommonData() or set a data path to override.
Building ICU: Use a GNU make such as /opt/csw/bin/gmake to build ICU.
checking the version of "/opt/csw/bin/gmake"... 3.82 (we wanted at least 
3.80)
ok
         [configure-modulated] complete for libicu.
gmake[1]: Leaving directory `/home/rmottola/opencsw/libicu54/trunk'
gmake[1]: Entering directory `/home/rmottola/opencsw/libicu54/trunk'
/home/rmottola/opencsw/.buildsys/v2/gar//gar.conf.mk:502: *** The ISA 
'amd64' can not be build on this kernel with the arch 'i386'. Stop.
gmake[1]: Leaving directory `/home/rmottola/opencsw/libicu54/trunk'

Riccardo

Maciej (Matchek) Bliziński | 20 Mar 15:32 2015

HTTP redirects on our wordpress page

I've turned this page into a HTTP redirection:


I did it by simply editing /var/www/www.opencsw.org/htdocs/.htaccess on the web server. I also cleaned the file up, and changed RedirectMatch into a simple Redirect, where RedirectMatch was not necessary.

Maciej
Riccardo Mottola | 18 Mar 20:59 2015

gcc 4.9 on solaris 9 sparc (alignment)

Hi,

while trying to build gcc 4.9 on solaris9 sparc I get the alignment 
errors pasted below.

I did some research, people got this on older versions on solaris with 
old linkers, but the posts are very old. I am bootstrapping with gcc 4.6 
instead.

Do you have clues? ideas?

It is officially reported to still build:
https://gcc.gnu.org/gcc-4.9/buildstat.html

Riccardo

libtool: link:

/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/./gcc/xgcc 
-shared-libgcc 
-B/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/./gcc 
-nostdinc++

-L/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/sparc-sun-solaris2.9/libstdc++-v3/src

-L/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/sparc-sun-solaris2.9/libstdc++-v3/src/.libs

-L/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/sparc-sun-solaris2.9/libstdc++-v3/libsupc++/.libs 
-B/opt/csw/sparc-sun-solaris2.9/bin/ 
-B/opt/csw/sparc-sun-solaris2.9/lib/ -isystem 
/opt/csw/sparc-sun-solaris2.9/include -isystem 
/opt/csw/sparc-sun-solaris2.9/sys-include    -shared -nostdlib

/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/./gcc/crti.o 
/usr/ccs/lib/values-Xa.o

/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/./gcc/crtbegin.o 
.libs/compatibility.o .libs/compatibility-debug_list.o 
.libs/compatibility-debug_list-2.o .libs/compatibility-c++0x.o 
.libs/compatibility-atomic-c++0x.o .libs/compatibility-thread-c++0x.o 
.libs/compatibility-chrono.o .libs/compatibility-condvar.o  -Wl,-z 
-Wl,allextract ../libsupc++/.libs/libsupc++convenience.a 
../src/c++98/.libs/libc++98convenience.a 
../src/c++11/.libs/libc++11convenience.a -Wl,-z -Wl,defaultextract

-L/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/sparc-sun-solaris2.9/libstdc++-v3/libsupc++/.libs

-L/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/sparc-sun-solaris2.9/libstdc++-v3/src

-L/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/sparc-sun-solaris2.9/libstdc++-v3/src/.libs 
-lm -lrt 
-L/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/./gcc 
-L/opt/csw/sparc-sun-solaris2.9/bin -L/opt/csw/sparc-sun-solaris2.9/lib 
-L/usr/ccs/lib -lgcc_s -lc -lgcc_s -lc

/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/./gcc/crtend.o

/home/rmottola/opencsw/gcc4/trunk/work/solaris9-sparc/build-isa-sparcv8plus/objdir/./gcc/crtn.o 
-Wl,-M -Wl,libstdc++-symbols.ver-sun   -Wl,-h -Wl,libstdc++.so.6 -o 
.libs/libstdc++.so.6.0.20
ld: fatal: relocation error: R_SPARC_32: file .libs/compatibility.o: 
symbol __gxx_personality_v0: offset 0xf94df is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
.libs/compatibility-chrono.o: symbol __gxx_personality_v0: offset 
0xf975f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../libsupc++/.libs/libsupc++convenience.a(atexit_thread.o): symbol 
__gxx_personality_v0: offset 0xf981b is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../libsupc++/.libs/libsupc++convenience.a(eh_alloc.o): symbol 
__gxx_personality_v0: offset 0xf9d83 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../libsupc++/.libs/libsupc++convenience.a(eh_globals.o): symbol 
__gxx_personality_v0: offset 0xfa0af is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../libsupc++/.libs/libsupc++convenience.a(eh_personality.o): symbol 
__gxx_personality_v0: offset 0xfa203 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../libsupc++/.libs/libsupc++convenience.a(eh_ptr.o): symbol 
__gxx_personality_v0: offset 0xfa30f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../libsupc++/.libs/libsupc++convenience.a(eh_terminate.o): symbol 
__gxx_personality_v0: offset 0xfa44b is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../libsupc++/.libs/libsupc++convenience.a(eh_tm.o): symbol 
__gxx_personality_v0: offset 0xfa57f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../libsupc++/.libs/libsupc++convenience.a(guard.o): symbol 
__gxx_personality_v0: offset 0xfa91b is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../libsupc++/.libs/libsupc++convenience.a(new_opnt.o): symbol 
__gxx_personality_v0: offset 0xfab73 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../libsupc++/.libs/libsupc++convenience.a(new_opv.o): symbol 
__gxx_personality_v0: offset 0xfabab is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../libsupc++/.libs/libsupc++convenience.a(vec.o): symbol 
__gxx_personality_v0: offset 0xfaf57 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../libsupc++/.libs/libsupc++convenience.a(vterminate.o): symbol 
__gxx_personality_v0: offset 0xfb137 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(bitmap_allocator.o): symbol 
__gxx_personality_v0: offset 0xfb283 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(pool_allocator.o): symbol 
__gxx_personality_v0: offset 0xfbab7 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(mt_allocator.o): symbol 
__gxx_personality_v0: offset 0xfbec3 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(codecvt.o): symbol 
__gxx_personality_v0: offset 0xfc2cf is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(complex_io.o): symbol 
__gxx_personality_v0: offset 0xfc4bb is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(ctype.o): symbol 
__gxx_personality_v0: offset 0xfc607 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(ios.o): symbol 
__gxx_personality_v0: offset 0xfc857 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(ios_failure.o): symbol 
__gxx_personality_v0: offset 0xfc97f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(ios_init.o): symbol 
__gxx_personality_v0: offset 0xfca2b is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(locale.o): symbol 
__gxx_personality_v0: offset 0xfce53 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(locale_init.o): symbol 
__gxx_personality_v0: offset 0xfd147 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(localename.o): symbol 
__gxx_personality_v0: offset 0xfd2c7 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(stdexcept.o): symbol 
__gxx_personality_v0: offset 0xfd837 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(strstream.o): symbol 
__gxx_personality_v0: offset 0xfdbd7 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(istream.o): symbol 
__gxx_personality_v0: offset 0xfe26f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(valarray.o): symbol 
__gxx_personality_v0: offset 0xfe4df is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(ctype_members.o): symbol 
__gxx_personality_v0: offset 0xfe7d3 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(monetary_members.o): symbol 
__gxx_personality_v0: offset 0xfea03 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(numeric_members.o): symbol 
__gxx_personality_v0: offset 0xfeb5f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(time_members.o): symbol 
__gxx_personality_v0: offset 0xfec0f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(basic_file.o): symbol 
__gxx_personality_v0: offset 0xfed27 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(c++locale.o): symbol 
__gxx_personality_v0: offset 0xfee8f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(ext-inst.o): symbol 
__gxx_personality_v0: offset 0xff24b is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(ios-inst.o): symbol 
__gxx_personality_v0: offset 0xff7b7 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(iostream-inst.o): symbol 
__gxx_personality_v0: offset 0xffc23 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(istream-inst.o): symbol 
__gxx_personality_v0: offset 0xffe5b is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(locale-inst.o): symbol 
__gxx_personality_v0: offset 0x101063 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(misc-inst.o): symbol 
__gxx_personality_v0: offset 0x102d87 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(ostream-inst.o): symbol 
__gxx_personality_v0: offset 0x102f73 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(sstream-inst.o): symbol 
__gxx_personality_v0: offset 0x103b4f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(streambuf-inst.o): symbol 
__gxx_personality_v0: offset 0x104843 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++98/.libs/libc++98convenience.a(wlocale-inst.o): symbol 
__gxx_personality_v0: offset 0x1053d3 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++11/.libs/libc++11convenience.a(chrono.o): symbol 
__gxx_personality_v0: offset 0x106ef7 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++11/.libs/libc++11convenience.a(debug.o): symbol 
__gxx_personality_v0: offset 0x10707b is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++11/.libs/libc++11convenience.a(functexcept.o): symbol 
__gxx_personality_v0: offset 0x10749f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++11/.libs/libc++11convenience.a(future.o): symbol 
__gxx_personality_v0: offset 0x107817 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++11/.libs/libc++11convenience.a(regex.o): symbol 
__gxx_personality_v0: offset 0x107ae7 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++11/.libs/libc++11convenience.a(fstream-inst.o): symbol 
__gxx_personality_v0: offset 0x107f9b is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++11/.libs/libc++11convenience.a(string-inst.o): symbol 
__gxx_personality_v0: offset 0x108e63 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file 
../src/c++11/.libs/libc++11convenience.a(wstring-inst.o): symbol 
__gxx_personality_v0: offset 0x10a013 is non-aligned
collect2: error: ld returned 1 exit status
gmake[6]: *** [libstdc++.la] Error 1

Riccardo Mottola | 18 Mar 08:55 2015

gcc receipe and architecture comment

Hi,

in the gcc receipe, which would be the last version that is supposed to 
run on solaris 9, I find this:

# We're not building GCC-4.7 on Solaris 9, because GCC-4.7 requires the
# sparcv8+ architecture.
# PACKAGING_PLATFORMS = solaris9-sparc solaris9-i386
PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386

Why is v8+ a problem? I understand we support UltraSPARC only anyway, be 
it 32 or 64 bit.

I actually think to remember that the last operating system running on 
the "classic" SPARCs, is Solaris 8.

I wanted to upgrade gcc there.

Riccardo


Gmane