Peter | 1 Feb 2008 06:50
Picon

Error : C preprocessor "lib/cpp" fails sanity check when compiling Bacula 2.2.8 on grml 1.1 rc

Hi
Does anybody knows what that means ?
I made sure that I have build-essentials, linux-headers , gcc-4.2 , but 
all this has already been on the dist.

I found many, many posts concerning this error on Google, but I just can 
not figure out what it means in my context

Thanks for your help
Peter
Peter | 1 Feb 2008 07:29
Picon

add-on to my last post - Error : C preprocessor "lib/cpp" fails sanity check when compiling Bacula 2.2.8 on grml 1.1 rc

Sorry, I forgot to add, that the bacula package I am talking about is 
the direct download from bacula.org  (current release 2.2.8)

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

Hi
Does anybody knows what that means ?
I made sure that I have build-essentials, linux-headers , gcc-4.2 , but
all this has already been on the dist.

I found many, many posts concerning this error on Google, but I just can
not figure out what it means in my context

Thanks for your help
Peter

martin yazdzik | 9 Feb 2008 21:42

z shell question

/home/yazdzik/.zshrc:[:237: too many arguments
/home/yazdzik/.zshrc:[:977: too many arguments
yazdzik <at> grml1 ~ %

Dear Mika and friends,

Since you are all z shell to the core(okay, really bad pun) why do I argue so much?

Also, the latest grub update is disastrous, as it eats the menu.lst for breakfast, leaving an unbootable system, but I suspect you know this.

What would be cool is a way to get grub back, as the population of devices by udev in lilo is a process best measured in years.  Is there a way to do this with the live cd which respects the uuid?

Best to all of you,

Martin




"If the path be beautiful, let us not ask where it leads."
-France
<div>
/home/yazdzik/.zshrc:[:237: too many arguments<br>
/home/yazdzik/.zshrc:[:977: too many arguments<br>
yazdzik <at> grml1 ~ % <br><br>
Dear Mika and friends,<br><br>
Since you are all z shell to the core(okay, really bad pun) why do I argue so much?<br><br>
Also, the latest grub update is disastrous, as it eats the menu.lst for breakfast, leaving an unbootable system, but I suspect you know this.<br><br>
What would be cool is a way to get grub back, as the population of devices by udev in lilo is a process best measured in years.&nbsp; Is there a way to do this with the live cd which respects the uuid?<br><br>
Best to all of you,<br><br>
Martin<br><br><br><br><br><table cellspacing="0" cellpadding="0" width="100%"><tr>
<td>
"If the path be beautiful, let us not ask where it leads."<br>
-France
</td>
</tr></table>
</div>
Michael Prokop | 10 Feb 2008 00:59
Favicon

Re: z shell question

* martin yazdzik <yazdzik <at> nyct.net> [20080209 21:48]:

> /home/yazdzik/.zshrc:[:237: too many arguments
> /home/yazdzik/.zshrc:[:977: too many arguments
> yazdzik <at> grml1 ~ % 

> Since you are all z shell to the core(okay, really bad pun) why do I
> argue so much?

D'oh, what's that? Can you please provide output of:

cat -n /home/yazdzik/.zshrc | grep -C5 ' 237'
cat -n /home/yazdzik/.zshrc | grep -C5 ' 977'

?

> Also, the latest grub update is disastrous, as it eats the menu.lst for
> breakfast, leaving an unbootable system, but I suspect you know this.

Which grub-version? 'dpkg --list grub\*'

> What would be cool is a way to get grub back, as the population of
> devices by udev in lilo is a process best measured in years.  Is there a
> way to do this with the live cd which respects the uuid?

Does running 'update-grub' help you?

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml  <at>  irc.freenode.org    # meet us on irc
* martin yazdzik <yazdzik <at> nyct.net> [20080209 21:48]:

> /home/yazdzik/.zshrc:[:237: too many arguments
> /home/yazdzik/.zshrc:[:977: too many arguments
> yazdzik <at> grml1 ~ % 

> Since you are all z shell to the core(okay, really bad pun) why do I
> argue so much?

D'oh, what's that? Can you please provide output of:

cat -n /home/yazdzik/.zshrc | grep -C5 ' 237'
cat -n /home/yazdzik/.zshrc | grep -C5 ' 977'

?

> Also, the latest grub update is disastrous, as it eats the menu.lst for
> breakfast, leaving an unbootable system, but I suspect you know this.

Which grub-version? 'dpkg --list grub\*'

> What would be cool is a way to get grub back, as the population of
> devices by udev in lilo is a process best measured in years.  Is there a
> way to do this with the live cd which respects the uuid?

Does running 'update-grub' help you?

regards,
-mika-
--

-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml  <at>  irc.freenode.org    # meet us on irc
martin yazdzik | 10 Feb 2008 02:32

Re: z shell question


On Sun, 2008-02-10 at 00:59 +0100, Michael Prokop wrote:
* martin yazdzik <yazdzik <at> nyct.net> [20080209 21:48]: > /home/yazdzik/.zshrc:[:237: too many arguments > /home/yazdzik/.zshrc:[:977: too many arguments > yazdzik <at> grml1 ~ %
/home/yazdzik/.zshrc:[:237: too many arguments
/home/yazdzik/.zshrc:[:977: too many arguments
yazdzik <at> grml1 ~ % cat -n /home/yazdzik/.zshrc | grep -C5 ' 237'
   232
   233       if [ -x $(which aterm) ] ; then
   234          isutfenv && [ -n "$LANG" ] && alias aterm="LANG=${LANG/(#b)(*)[. <at> ]*/$match[1].iso885915} luit aterm"
   235       fi
   236
   237      if [ -x $(which centericq) ] ; then
   238          isutfenv && [ -n "$LANG" ] && alias centericq="LANG=${LANG/(#b)(*)[. <at> ]*/$match[1].iso885915} luit centericq"
   239       fi
   240    fi
   241  # }}}
   242
yazdzik <at> grml1 ~ % cat -n /home/yazdzik/.zshrc | grep -C5 ' 977'
   972      return 0
   973    }
   974
   975  # hl() highlighted less
   976  # http://ft.bewatermyfriend.org/comp/data/zsh/zfunct.html
   977   if [ -x $(which highlight) ] ; then
   978      function hl() {
   979       local theme lang
   980       theme=${HL_THEME:-""}
   981       case ${1} in
   982         (-l|--list)
yazdzik <at> grml1 ~ %



thanks, mika -

grub by the way is:

ii  grub           0.97-30        GRand Unified Bootloader

this is a known issue, I think....

best,
M



The world must construe according to its wits. This Court must construe according to the law.  -bolt
<div>
<br>
On Sun, 2008-02-10 at 00:59 +0100, Michael Prokop wrote:
<blockquote type="CITE">

* martin yazdzik &lt;<a href="mailto:yazdzik <at> nyct.net">yazdzik <at> nyct.net</a>&gt; [20080209 21:48]:

&gt; /home/yazdzik/.zshrc:[:237: too many arguments
&gt; /home/yazdzik/.zshrc:[:977: too many arguments
&gt; yazdzik <at> grml1 ~ % 

</blockquote>
/home/yazdzik/.zshrc:[:237: too many arguments<br>
/home/yazdzik/.zshrc:[:977: too many arguments<br>
yazdzik <at> grml1 ~ % cat -n /home/yazdzik/.zshrc | grep -C5 ' 237'<br>
&nbsp;&nbsp; 232<br>
&nbsp;&nbsp; 233&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if [ -x $(which aterm) ] ; then<br>
&nbsp;&nbsp; 234&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; isutfenv &amp;&amp; [ -n "$LANG" ] &amp;&amp; alias aterm="LANG=${LANG/(#b)(*)[. <at> ]*/$match[1].iso885915} luit aterm"<br>
&nbsp;&nbsp; 235&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br>
&nbsp;&nbsp; 236<br>
&nbsp;&nbsp; 237	&nbsp;&nbsp;&nbsp;&nbsp; if [ -x $(which centericq) ] ; then<br>
&nbsp;&nbsp; 238&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; isutfenv &amp;&amp; [ -n "$LANG" ] &amp;&amp; alias centericq="LANG=${LANG/(#b)(*)[. <at> ]*/$match[1].iso885915} luit centericq"<br>
&nbsp;&nbsp; 239&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br>
&nbsp;&nbsp; 240&nbsp;&nbsp;&nbsp; fi<br>
&nbsp;&nbsp; 241&nbsp; # }}}<br>
&nbsp;&nbsp; 242<br>
yazdzik <at> grml1 ~ % cat -n /home/yazdzik/.zshrc | grep -C5 ' 977'<br>
&nbsp;&nbsp; 972&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 0<br>
&nbsp;&nbsp; 973&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp; 974<br>
&nbsp;&nbsp; 975&nbsp; # hl() highlighted less<br>
&nbsp;&nbsp; 976&nbsp; # <a href="http://ft.bewatermyfriend.org/comp/data/zsh/zfunct.html">http://ft.bewatermyfriend.org/comp/data/zsh/zfunct.html</a><br>
&nbsp;&nbsp; 977	&nbsp; if [ -x $(which highlight) ] ; then<br>
&nbsp;&nbsp; 978&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function hl() {<br>
&nbsp;&nbsp; 979	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local theme lang<br>
&nbsp;&nbsp; 980	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; theme=${HL_THEME:-""}<br>
&nbsp;&nbsp; 981	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case ${1} in<br>
&nbsp;&nbsp; 982	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (-l|--list)<br>
yazdzik <at> grml1 ~ % <br><br><br><br>
thanks, mika - <br><br>
grub by the way is:<br><br>
ii&nbsp; grub&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.97-30&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GRand Unified Bootloader<br><br>
this is a known issue, I think....<br><br>
best,<br>
M<br><br><br><br><table cellspacing="0" cellpadding="0" width="100%"><tr>
<td>
The world must construe according to its wits. This Court must construe according to the law.&nbsp; -bolt
</td>
</tr></table>
</div>
Michael Prokop | 10 Feb 2008 11:25
Favicon

Re: z shell question

* martin yazdzik <yazdzik <at> nyct.net> [20080210 02:32]:
> On Sun, 2008-02-10 at 00:59 +0100, Michael Prokop wrote:
> > * martin yazdzik <yazdzik <at> nyct.net> [20080209 21:48]:

> > > /home/yazdzik/.zshrc:[:237: too many arguments
> > > /home/yazdzik/.zshrc:[:977: too many arguments
> > > yazdzik <at> grml1 ~ % 

> /home/yazdzik/.zshrc:[:237: too many arguments
> /home/yazdzik/.zshrc:[:977: too many arguments
> yazdzik <at> grml1 ~ % cat -n /home/yazdzik/.zshrc | grep -C5 ' 237'
>    232
>    233       if [ -x $(which aterm) ] ; then
>    234          isutfenv && [ -n "$LANG" ] && alias aterm="LANG=
> ${LANG/(#b)(*)[. <at> ]*/$match[1].iso885915} luit aterm"
>    235       fi
>    236
>    237	     if [ -x $(which centericq) ] ; then
>    238          isutfenv && [ -n "$LANG" ] && alias centericq="LANG=
> ${LANG/(#b)(*)[. <at> ]*/$match[1].iso885915} luit centericq"
>    239       fi
>    240    fi
>    241  # }}}
>    242
> yazdzik <at> grml1 ~ % cat -n /home/yazdzik/.zshrc | grep -C5 ' 977'
>    972      return 0
>    973    }
>    974
>    975  # hl() highlighted less
>    976  # http://ft.bewatermyfriend.org/comp/data/zsh/zfunct.html
>    977	  if [ -x $(which highlight) ] ; then
>    978      function hl() {
>    979	      local theme lang
>    980	      theme=${HL_THEME:-""}
>    981	      case ${1} in
>    982	        (-l|--list)
> yazdzik <at> grml1 ~ % 

Ok thanks, we are investigating on that.
Does upgrading grml-etc-core in the meanwhile help? [au ; agi grml-etc-core]

> grub by the way is:

> ii  grub           0.97-30        GRand Unified Bootloader

> this is a known issue, I think....

Could you fix your grub problem?

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml  <at>  irc.freenode.org    # meet us on irc
* martin yazdzik <yazdzik <at> nyct.net> [20080210 02:32]:
> On Sun, 2008-02-10 at 00:59 +0100, Michael Prokop wrote:
> > * martin yazdzik <yazdzik <at> nyct.net> [20080209 21:48]:

> > > /home/yazdzik/.zshrc:[:237: too many arguments
> > > /home/yazdzik/.zshrc:[:977: too many arguments
> > > yazdzik <at> grml1 ~ % 

> /home/yazdzik/.zshrc:[:237: too many arguments
> /home/yazdzik/.zshrc:[:977: too many arguments
> yazdzik <at> grml1 ~ % cat -n /home/yazdzik/.zshrc | grep -C5 ' 237'
>    232
>    233       if [ -x $(which aterm) ] ; then
>    234          isutfenv && [ -n "$LANG" ] && alias aterm="LANG=
> ${LANG/(#b)(*)[. <at> ]*/$match[1].iso885915} luit aterm"
>    235       fi
>    236
>    237	     if [ -x $(which centericq) ] ; then
>    238          isutfenv && [ -n "$LANG" ] && alias centericq="LANG=
> ${LANG/(#b)(*)[. <at> ]*/$match[1].iso885915} luit centericq"
>    239       fi
>    240    fi
>    241  # }}}
>    242
> yazdzik <at> grml1 ~ % cat -n /home/yazdzik/.zshrc | grep -C5 ' 977'
>    972      return 0
>    973    }
>    974
>    975  # hl() highlighted less
>    976  # http://ft.bewatermyfriend.org/comp/data/zsh/zfunct.html
>    977	  if [ -x $(which highlight) ] ; then
>    978      function hl() {
>    979	      local theme lang
>    980	      theme=${HL_THEME:-""}
>    981	      case ${1} in
>    982	        (-l|--list)
> yazdzik <at> grml1 ~ % 

Ok thanks, we are investigating on that.
Does upgrading grml-etc-core in the meanwhile help? [au ; agi grml-etc-core]

> grub by the way is:

> ii  grub           0.97-30        GRand Unified Bootloader

> this is a known issue, I think....

Could you fix your grub problem?

regards,
-mika-
--

-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml  <at>  irc.freenode.org    # meet us on irc
Michael Prokop | 10 Feb 2008 12:05
Favicon

Re: z shell question

* martin yazdzik <yazdzik <at> nyct.net> [20080210 02:32]:
> On Sun, 2008-02-10 at 00:59 +0100, Michael Prokop wrote:
> > * martin yazdzik <yazdzik <at> nyct.net> [20080209 21:48]:

> > > /home/yazdzik/.zshrc:[:237: too many arguments
> > > /home/yazdzik/.zshrc:[:977: too many arguments
> > > yazdzik <at> grml1 ~ % 
[...]

Martin, does:

au ; agi grml-etc-core
mv ~/.zshrc ~/.zshrc.unused
cp /etc/skel/.zshrc ~/.zshrc

fix your problem?

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml  <at>  irc.freenode.org    # meet us on irc
* martin yazdzik <yazdzik <at> nyct.net> [20080210 02:32]:
> On Sun, 2008-02-10 at 00:59 +0100, Michael Prokop wrote:
> > * martin yazdzik <yazdzik <at> nyct.net> [20080209 21:48]:

> > > /home/yazdzik/.zshrc:[:237: too many arguments
> > > /home/yazdzik/.zshrc:[:977: too many arguments
> > > yazdzik <at> grml1 ~ % 
[...]

Martin, does:

au ; agi grml-etc-core
mv ~/.zshrc ~/.zshrc.unused
cp /etc/skel/.zshrc ~/.zshrc

fix your problem?

regards,
-mika-
--

-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml  <at>  irc.freenode.org    # meet us on irc
Maurice McCarthy | 10 Feb 2008 11:23

Re: z shell question

I've seen similar errors on starting the zshell also.

/etc/zsh/zshrc:[:816: too many arguments
/home/moss/.zshrc.global:[:773: too many arguments

cat -n /etc/zsh/zshrc | grep -C5 ' 816'
   811         get_3ware
   812       }
   813    fi
   814
   815  # I hate lacking backward compability, so provide an alternative therefore
   816    if ! [ -x $(which apache2-ssl-certificate) ] ; then
   817     function apache2-ssl-certificate(){
   818
   819       print 'Debian does not ship apache2-ssl-certificate anymore (see #398520). :('
   820       print 'You might want to take a look at Debian the package ssl-cert as well.'
   821       print 'To generate a certificate for use with apache2 follow the instructions:'

cat -n /home/moss/.zshrc.global | grep -C5 ' 773'
   768       alias debs-by-size='grep-status -FStatus -sInstalled-Size,Package \
   769                  -n "install ok installed" | paste -sd "  \n" | sort -rn'
   770    fi
   771
   772  # if cdrecord is a symlink (to wodim) or isn't present at all warn:
   773    if [ -L /usr/bin/cdrecord -o ! -x $(which cdrecord) ] ; then
   774       if [ -x $(which wodim) ] ; then
   775          alias cdrecord="echo 'cdrecord is not provided under its original name by Debian anymore.
   776  See #377109 in the BTS of Debian for more details.
   777
   778  Please use the wodim binary instead' ; return 1"

dpkg --list/*
ii  zsh                        4.3.4-dev-8-1              A shell with lots of features
ii  zsh-doc                    4.3.4-dev-8-1              zsh documentation - info/HTML format
ii  zsh-lovers                 0.7.0                      tips, tricks and examples for the zsh
ii  zsh-static                 4.3.4-dev-8-1              A shell with lots of features (static link)
un  zsh30-static               <none>                     (no description available)

Regards to all 
Moss

PS
I love learning about my system and I continue to be astonished how well grml provides me with the
opportunities to do 
so. 

 
martin yazdzik | 10 Feb 2008 12:27

Re: z shell question


mv ~/.zshrc ~/.zshrc.unused
cp /etc/skel/.zshrc ~/.zshrc


Indeed, Mika, as always,  you repaired the issue -

In the meantime, since that version of grub, 0.97-30 has the known bug that running grub-update changes hdd location descriptions, the subscibers need to know not to use that version from debian unstable. 

The question, on a different level, could be re-phrased as to why it takes udevd more than twenty-five seconds to populate when booting via lilo, since both boot loaders should work.  An eternity when one boots the laptop five times a day....

That is why I suppose the ski patrol runs the slopes before the public ;) and we run experimental partitions.....

Thanks again for the immense amount of work you do to give all of us a totally reliable distro.

Best,
Martin






Chi troppo vuole nulla stringe
<div>
<br><blockquote type="CITE">
    mv ~/.zshrc ~/.zshrc.unused<br>cp /etc/skel/.zshrc ~/.zshrc<br>
</blockquote>
<br><br>
Indeed, Mika, as always,&nbsp; you repaired the issue - <br><br>
In the meantime, since that version of grub, 0.97-30 has the known bug that running grub-update changes hdd location descriptions, the subscibers need to know not to use that version from debian unstable.&nbsp; <br><br>
The question, on a different level, could be re-phrased as to why it takes udevd more than twenty-five seconds to populate when booting via lilo, since both boot loaders should work.&nbsp; An eternity when one boots the laptop five times a day....<br><br>
That is why I suppose the ski patrol runs the slopes before the public ;) and we run experimental partitions.....<br><br>
Thanks again for the immense amount of work you do to give all of us a totally reliable distro.<br><br>
Best,<br>
Martin<br><br><br><br><br><br><br><table cellspacing="0" cellpadding="0" width="100%"><tr>
<td>
Chi troppo vuole nulla stringe
</td>
</tr></table>
</div>
Michael Prokop | 10 Feb 2008 12:27
Favicon

Re: z shell question

* Maurice McCarthy <moss <at> mythic-beasts.com> [20080210 12:22]:

> I've seen similar errors on starting the zshell also.

> /etc/zsh/zshrc:[:816: too many arguments
> /home/moss/.zshrc.global:[:773: too many arguments
[...]

Same problem as Martin has, so please:

au ; agi grml-etc-core # upgrade grml-etc-core package
mv ~/.zshrc.global ~/.zshrc.global.unused # you don't need that file at all, because you use grml :)
mv ~/.zshrc ~/.zshrc.unused
cp /etc/skel/.zshrc ~/.zshrc

Sorry for the inconvenience, but as the skeleton files aren't
upgrade inside your $HOME it's not possible to fix your problem
automatically.

> PS I love learning about my system and I continue to be astonished
> how well grml provides me with the opportunities to do so. 

Great to hear that. :)

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml  <at>  irc.freenode.org    # meet us on irc
* Maurice McCarthy <moss <at> mythic-beasts.com> [20080210 12:22]:

> I've seen similar errors on starting the zshell also.

> /etc/zsh/zshrc:[:816: too many arguments
> /home/moss/.zshrc.global:[:773: too many arguments
[...]

Same problem as Martin has, so please:

au ; agi grml-etc-core # upgrade grml-etc-core package
mv ~/.zshrc.global ~/.zshrc.global.unused # you don't need that file at all, because you use grml :)
mv ~/.zshrc ~/.zshrc.unused
cp /etc/skel/.zshrc ~/.zshrc

Sorry for the inconvenience, but as the skeleton files aren't
upgrade inside your $HOME it's not possible to fix your problem
automatically.

> PS I love learning about my system and I continue to be astonished
> how well grml provides me with the opportunities to do so. 

Great to hear that. :)

regards,
-mika-
--

-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml  <at>  irc.freenode.org    # meet us on irc

Gmane