Micheal LeVine | 1 Jul 20:34 2009

unable to compile cernlib package

Hello --

After many attempts I am still stuck trying to build the cernlib2005-g77 package on MacOS 10.5.7 running on a G5 Powerbook.
I have Xcode 3.1.2 installed.

Any advice would be appreciated.

Following is a dump of the fink output from the first instance of an error.  [The full dump is available on  request]:

=======================================

../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:38: warning: 'struct sigaltstack' declared inside parameter list
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:38: warning: its scope is only this definition or declaration, which is probably not what you want
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:38: error: conflicting types for 'sigaltstack'
/usr/include/signal.h:89: error: previous declaration of 'sigaltstack' was here
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c: In function 'segv_handler':
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:67: error: 'struct __darwin_mcontext' has no member named 'ss'
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:116: error: 'struct __darwin_mcontext' has no member named 'es'
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:116: error: 'struct __darwin_mcontext' has no member named 'ss'
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c: In function 'darwin_rs6000_extra_signals':
../../gcc-3.4.3/gcc/config/rs6000/host-darwin.c:130: warning: passing argument 1 of 'sigaltstack' from incompatible pointer type
make[2]: *** [host-darwin.o] Error 1
make[1]: *** [stage1_build] Error 2
make: *** [profiledbootstrap] Error 2
### execution of /var/tmp/tmp.2.5iZWKi failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-g77-3.4.3-14
(Reading database ... 6341 files and directories currently installed.)
Removing fink-buildlock-g77-3.4.3-14 ...
Updating the list of locally available binary packages.
Scanning dists/stable/main/binary-darwin-powerpc
New package: dists/stable/main/binary-darwin-powerpc/x11/openmotif3-bin_2.2.4-1_darwin-powerpc.deb
New package: dists/stable/main/binary-darwin-powerpc/x11/openmotif3-shlibs_2.2.4-1_darwin-powerpc.deb
New package: dists/stable/main/binary-darwin-powerpc/x11/openmotif3_2.2.4-1_darwin-powerpc.deb
Downloading the indexes of available packages in the binary distribution.
/sw/bin/apt-get-lockwait update
Hit http://bindist.finkmirrors.net 10.5/release/main Packages
Hit http://bindist.finkmirrors.net 10.5/release/main Release
Hit http://bindist.finkmirrors.net 10.5/release/crypto Packages
Hit http://bindist.finkmirrors.net 10.5/release/crypto Release
Hit http://bindist.finkmirrors.net 10.5/current/main Packages
Hit http://bindist.finkmirrors.net 10.5/current/main Release
Hit http://bindist.finkmirrors.net 10.5/current/crypto Packages
Hit http://bindist.finkmirrors.net 10.5/current/crypto Release
Reading Package Lists...
Building Dependency Tree...
Failed: phase compiling: g77-3.4.3-14 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:


Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.


------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
Fink-beginners <at> lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.beginners
monipol | 2 Jul 01:16 2009
Picon

Fwd: Submission of package to fink tracker

Begin forwarded message:
> From: ANKUSH JAIN <ankush.jain <at> iiitb.net>
> Date: 1 de julho de 2009 18h54min11s GMT-03:00
> To: Fink-beginners <at> lists.sourceforge.net
> Subject: [Fink-beginners] Submission of package to fink tracker
>
> Hi,
> I have ported the twinkle-1.4.2 package on to MAC OS-X 10.5. I have
> submitted the package to fink tracker for validation.It would be  
> nice if
> somebody from fink team could take appropriate actions to test my  
> package
> and bring into fink tree as soon as possible.
>
> -- 
> Regards
> -----------------
> Ankush Jain
> I.I.I.T Bangalore

I'm forwarding this to the appropriate mailing list.

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/

------------------------------------------------------------------------------
Jean-François Mertens | 2 Jul 16:37 2009
Picon

Re: Fwd: Submission of package to fink tracker


On 02 Jul 2009, at 01:16, monipol wrote:

> Begin forwarded message:
>> From: ANKUSH JAIN <ankush.jain <at> iiitb.net>
>> Date: 1 de julho de 2009 18h54min11s GMT-03:00
how does this portuguese come in ?? From Goa ??
>> To: Fink-beginners <at> lists.sourceforge.net
>> Subject: [Fink-beginners] Submission of package to fink tracker
>>
>> Hi,
>> I have ported the twinkle-1.4.2 package on to MAC OS-X 10.5. I have
>> submitted the package to fink tracker for validation.It would be
>> nice if
>> somebody from fink team could take appropriate actions to test my
>> package
>> and bring into fink tree as soon as possible.
>>
>> -- 
>> Regards
>> -----------------
>> Ankush Jain
>> I.I.I.T Bangalore
>
>
> I'm forwarding this to the appropriate mailing list.

Assign it to me or send me a note when you are satisfied
with the pkg (or if a real problem occurs) _ I see
you have started checking the submission already.

Thanks,

JF Mertens

------------------------------------------------------------------------------
Jean-François Mertens | 2 Jul 16:37 2009
Picon

Re: module-build-pm5100-bin conflicts with perl5100


On 30 Jun 2009, at 03:21, David R. Morrison wrote:

> I guess another possibility would be to use the "alternatives" system
> for the config_data file.

till next 3 or 4 perl versions in fink, and next 3 or 4 versions of  
this pkg
(in so many perl-versions),
and nobody knows (as already now...) what supersedes what,
and what is compatible with what ?

And how will possible dependencies choose the right alternative ?

Better maybe to scrap the pkg altogether then, if we know that
current (and presumably future) perl pkgs will contain some
version of it, and if there is no current dependency, and
nobody expresses any specific current need for this pkg...
[
Too bad fink doesn't have a 'nice' procedure for scrapping pkgs,
i.e., like putting info, patch, and deb files  _ if some family
member is installed _ into a corresponding subdir of
%p/fink/dists/local/attic _ with a msg like :
"This pkg is henceforth under your own responsibility _ either
remove the pkg, and the info, patch, and deb files yourself,
or you're your own maintainer for it -- with whatever defects
it may have."
]

JF

------------------------------------------------------------------------------
Koen van der Drift | 2 Jul 16:58 2009
Picon

Re: module-build-pm5100-bin conflicts with perl5100

There are several packages that use module-build so it will be
difficult to remove it completely, I think.

- Koen.

On 7/2/09, Jean-François Mertens <jfm <at> core.ucl.ac.be> wrote:
>
> On 30 Jun 2009, at 03:21, David R. Morrison wrote:
>
> > I guess another possibility would be to use the "alternatives" system
> > for the config_data file.
>
> till next 3 or 4 perl versions in fink, and next 3 or 4 versions of
> this pkg
> (in so many perl-versions),
> and nobody knows (as already now...) what supersedes what,
> and what is compatible with what ?
>
> And how will possible dependencies choose the right alternative ?
>
> Better maybe to scrap the pkg altogether then, if we know that
> current (and presumably future) perl pkgs will contain some
> version of it, and if there is no current dependency, and
> nobody expresses any specific current need for this pkg...
> [
> Too bad fink doesn't have a 'nice' procedure for scrapping pkgs,
> i.e., like putting info, patch, and deb files  _ if some family
> member is installed _ into a corresponding subdir of
> %p/fink/dists/local/attic _ with a msg like :
> "This pkg is henceforth under your own responsibility _ either
> remove the pkg, and the info, patch, and deb files yourself,
> or you're your own maintainer for it -- with whatever defects
> it may have."
> ]
>
> JF
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Fink-devel mailing list
> Fink-devel <at> lists.sourceforge.net
> http://news.gmane.org/gmane.os.apple.fink.devel
>

------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Jean-François Mertens | 2 Jul 17:48 2009
Picon

Re: module-build-pm5100-bin conflicts with perl5100


On 02 Jul 2009, at 16:58, Koen van der Drift wrote:

> There are several packages that use module-build so it will be
> difficult to remove it completely, I think.
>

Meant just for the xyz variants that are also provided by perlxyz
itself

JF

------------------------------------------------------------------------------
Sandeep Bhaskar | 5 Jul 02:44 2009
Picon

Re: User Creation in Gnowsys.info

Hi,

 We were able to create user and rectify problems in gnowsys.info file. But we are facing an issue in running a shell script. This script needs to be executed from the user postgres(postgresql user). The command within shell is like:

su postgres -c ./gnowsys-pg-install.sh

This line throws an error as Access Denied. Can you please suggest some way that we can switch to postgres user and execute the shell.

This is the only remaining issue and hope to hear a quick response to the same.

Thanks in Advance,
Sandeep

On Sat, Jul 4, 2009 at 12:03 PM, Alexander Hansen <alexanderk.hansen <at> gmail.com> wrote:
Sandeep Bhaskar wrote:
> Hi,
>
>  For installation of gnowsys, we need to create two users in the
> system one for postgresql and one for Plone. As we can't do sudo
> within the installation script when running from Fink.
>
>  How can we handle this.?
>
> Regards
> Sandeep
The fink-devel list is a better place to discuss packaging questions.

--
Alexander Hansen
Fink User Liaison

------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
monipol | 5 Jul 14:32 2009
Picon

Re: User Creation in Gnowsys.info

On 04/07/2009, at 21:44, Sandeep Bhaskar wrote:
> We were able to create user and rectify problems in gnowsys.info  
> file. But
> we are facing an issue in running a shell script. This script needs  
> to be
> executed from the user postgres(postgresql user). The command within  
> shell
> is like:
>
> su postgres -c ./gnowsys-pg-install.sh
>
> This line throws an error as Access Denied. Can you please suggest  
> some way
> that we can switch to postgres user and execute the shell.
>
> This is the only remaining issue and hope to hear a quick response  
> to the
> same.

Please provide more information:

* What Fink command were you running when you got that error?
* Is the passwd package a build dependency of your package?
* Where exactly are you issuing that su command (CompileScript,  
InstallScript, PostInstScript, ...)?

Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/

------------------------------------------------------------------------------
Sandeep Bhaskar | 5 Jul 15:17 2009
Picon

Re: User Creation in Gnowsys.info

Hi,

 Please find the additional information you requested for. Please do let me know if anything more is required.

* What Fink command were you running when you got that error?
fink -m -K --build-as-nobody rebuild gnowsys

* Is the passwd package a build dependency of your package?
The user creation issue we have already sorted out. Right now, our only issue is in using of su command.

* Where exactly are you issuing that su command (CompileScript, InstallScript, PostInstScript, ...)?
The InstallScript section within gnowsys.info file contains:

InstallScript: <<
sh install.sh %i %b %d %p
<<


The command su postgres -c ./gnowsys-pg-install.sh is called from within this install.sh and not directly from within the .info file.

Thanks for your help,
Sandeep Bhaskar

 

On Sun, Jul 5, 2009 at 6:02 PM, monipol <monipol <at> gmx.com> wrote:
On 04/07/2009, at 21:44, Sandeep Bhaskar wrote:
We were able to create user and rectify problems in gnowsys.info file. But
we are facing an issue in running a shell script. This script needs to be
executed from the user postgres(postgresql user). The command within shell
is like:

su postgres -c ./gnowsys-pg-install.sh

This line throws an error as Access Denied. Can you please suggest some way
that we can switch to postgres user and execute the shell.

This is the only remaining issue and hope to hear a quick response to the
same.


Please provide more information:

* What Fink command were you running when you got that error?
* Is the passwd package a build dependency of your package?
* Where exactly are you issuing that su command (CompileScript, InstallScript, PostInstScript, ...)?


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel <at> lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Daniel Macks | 5 Jul 16:17 2009

Re: User Creation in Gnowsys.info

On Sun, Jul 05, 2009 at 06:47:18PM +0530, Sandeep Bhaskar wrote:
>monipol <monipol <at> gmx.com> wrote:
> > What Fink command were you running when you got that error?
> fink -m -K --build-as-nobody rebuild gnowsys
> 
> > Where exactly are you issuing that su command (CompileScript,
> > InstallScript, PostInstScript, ...)?
> The InstallScript section within gnowsys.info file contains:
> 
> InstallScript: <<
> sh install.sh %i %b %d %p
> <<
> 
> The command su postgres -c ./gnowsys-pg-install.sh* *is called from within
> this install.sh and not directly from within the .info file.

su and sudo are not allowed under --build-as-nobody. Being able to
become a different user (who presumably can write to various places on
the filesystem) breaks the protection of --build-as-nobody, which
specifically prevents a broken build script from accidentally writing
to the filesystem anywhere except in the fink packaging dirs (%d and
%b).

What does gnowsys-pg-install.sh do that requires being the postgres
user?

dan

--

-- 
Daniel Macks
dmacks <at> netspace.org
http://www.netspace.org/~dmacks

------------------------------------------------------------------------------

Gmane