[csw-buildfarm] gcc4.3.3 again.

Mike Watters mwatters at opencsw.org
Fri May 1 18:42:35 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dagobert Michelsen wrote:
> Hi Mike,
> 
> Am 30.04.2009 um 19:41 schrieb Mike Watters:
>> This time I removed all the links and made them real files.
>>
>> please install on build8xt
> 
> Okay:
> 
>> Installing CSWgcc4ada-4.3.3,REV=2009.04.30
>> WARNING: /opt/csw/gcc4/bin/gnative2ascii <no longer a regular file>
>> ERROR: attribute verification of </opt/csw/gcc4/bin/gnative2ascii> failed
>>     unable to create link to </opt/csw/bin/isaexec=/opt/csw/bin/isaexec>
>> ERROR: attribute verification of
>> </opt/csw/gcc4/bin/i386/gnative2ascii> failed
>>     pathname does not exist
>>     unable to create link to </opt/csw/gcc4/bin/gnative2ascii>
>>
>> Installation of <CSWgcc4ada> partially failed.
> 
> 
>> Installing CSWgcc4java-4.3.3,REV=2009.04.30
>> ERROR: attribute verification of </opt/csw/gcc4/bin/gnative2ascii> failed
>>     pathname does not exist
>>     unable to create link to </opt/csw/bin/isaexec=/opt/csw/bin/isaexec>
>> ERROR: attribute verification of
>> </opt/csw/gcc4/bin/i386/gnative2ascii> failed
>>     pathname does not exist
>>     unable to create link to </opt/csw/gcc4/bin/gnative2ascii>
>>
>> Installation of <CSWgcc4java> partially failed.
> 
> 
> 
> Otherwise the install went ok.
> 
> 
> Best regards
> 
>   -- Dago

This error seems to be from cswproto doing odd things to the
CSWgcc4ada.prototype and CSWgcc4java.prototype files when the
multi-package recipe includes the same file in more then one package.

CSWgcc4java should contain the gnative2ascii file,
the dynamic prototype definition I have for ada contains .*/gcc4/bin/gnat.*

the prototype for both packages then contain the following:
l none
/opt/csw/gcc4/bin/gnative2ascii=/opt/csw/bin/isaexec=/opt/csw/bin/isaexec 0755
root bin

I am looking for a way to "exclude" gnative2ascii from the CSWgcc4ada package.

PROTOTYPE_FILTER = awk '$$$$3 ~ /gnative2ascii$$$$/ { next } \
			$$$$3 !~ /gnative2ascii$$$$/ { print }'
would remove it from "all" of the packages.

I tried PROTOTYPE_FILTER_CSWgcc4ada = ... but that didn't work.
I can fix the extra isaexec but I don't want the file in both pacakges.
any suggestions?

for reference the gnat.* files for ada
/opt/csw/gcc4/bin/gnat
/opt/csw/gcc4/bin/gnatbind
/opt/csw/gcc4/bin/gnatbl
/opt/csw/gcc4/bin/gnatchop
/opt/csw/gcc4/bin/gnatclean
/opt/csw/gcc4/bin/gnatfind
/opt/csw/gcc4/bin/gnatkr
/opt/csw/gcc4/bin/gnatlink
/opt/csw/gcc4/bin/gnatls
/opt/csw/gcc4/bin/gnatmake
/opt/csw/gcc4/bin/gnatname
/opt/csw/gcc4/bin/gnatprep
/opt/csw/gcc4/bin/gnatxref

- --

Thanks,
Mike

"Any intelligent fool can make things bigger, more complex,
and more violent.  It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."

* Albert Einstein 1879 - 1955
    US German-born Theoretical Physicist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkn7JnsACgkQLrhmsXMSLxeI7gCgmT/7reK9Ho60a8fLDMPKnb7b
cHYAn2XaGP1oSdGHxkZLNOFkrBa3hO6B
=rW4v
-----END PGP SIGNATURE-----



More information about the buildfarm mailing list