LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux
User Name
Password
AryaLinux This forum is for the discussion of AryaLinux.

Notices


Reply
  Search this Thread
Old 05-10-2016, 08:48 AM   #1
FredBezies
LQ Newbie
 
Registered: May 2016
Distribution: ArchLinux
Posts: 20

Rep: Reputation: Disabled
Error occured occured in execution of /var/cache/alps/scripts/systemd.sh


While trying to build xserver-meta, build is broken while processing systemd.sh.

When I restart alps install xserver-meta, I have :

Code:
fred [ ~ ]$ sudo alps install xserver-meta
The following packages would be installed:

systemd xorg-server libevdev mtdev x7driver twm xterm xclock xinit libva-drivers xserver-meta 

Are you sure? (y/N)
Systemd sources are grabbed, patched and it stops while building firewall-utils.c

Here is the full error log I get :

Code:
In file included from src/shared/firewall-util.c:24:0:
/usr/include/linux/if.h:71:2: erreur: redeclaration of enumerator ‘IFF_UP’
  IFF_UP    = 1<<0,  /* sysfs */
  ^
/usr/include/net/if.h:44:5: note: previous definition of ‘IFF_UP’ was here
     IFF_UP = 0x1,  /* Interface is up.  */
     ^
/usr/include/linux/if.h:72:2: erreur: redeclaration of enumerator ‘IFF_BROADCAST’
  IFF_BROADCAST   = 1<<1,  /* __volatile__ */
  ^
/usr/include/net/if.h:46:5: note: previous definition of ‘IFF_BROADCAST’ was here
     IFF_BROADCAST = 0x2, /* Broadcast address valid.  */
     ^
/usr/include/linux/if.h:73:2: erreur: redeclaration of enumerator ‘IFF_DEBUG’
  IFF_DEBUG   = 1<<2,  /* sysfs */
  ^
/usr/include/net/if.h:48:5: note: previous definition of ‘IFF_DEBUG’ was here
     IFF_DEBUG = 0x4,  /* Turn on debugging.  */
     ^
/usr/include/linux/if.h:74:2: erreur: redeclaration of enumerator ‘IFF_LOOPBACK’
  IFF_LOOPBACK   = 1<<3,  /* __volatile__ */
  ^
/usr/include/net/if.h:50:5: note: previous definition of ‘IFF_LOOPBACK’ was here
     IFF_LOOPBACK = 0x8,  /* Is a loopback net.  */
     ^
/usr/include/linux/if.h:75:2: erreur: redeclaration of enumerator ‘IFF_POINTOPOINT’
  IFF_POINTOPOINT   = 1<<4,  /* __volatile__ */
  ^
/usr/include/net/if.h:52:5: note: previous definition of ‘IFF_POINTOPOINT’ was here
     IFF_POINTOPOINT = 0x10, /* Interface is point-to-point link.  */
     ^
/usr/include/linux/if.h:76:2: erreur: redeclaration of enumerator ‘IFF_NOTRAILERS’
  IFF_NOTRAILERS   = 1<<5,  /* sysfs */
  ^
/usr/include/net/if.h:54:5: note: previous definition of ‘IFF_NOTRAILERS’ was here
     IFF_NOTRAILERS = 0x20, /* Avoid use of trailers.  */
     ^
/usr/include/linux/if.h:77:2: erreur: redeclaration of enumerator ‘IFF_RUNNING’
  IFF_RUNNING   = 1<<6,  /* __volatile__ */
  ^
/usr/include/net/if.h:56:5: note: previous definition of ‘IFF_RUNNING’ was here
     IFF_RUNNING = 0x40,  /* Resources allocated.  */
     ^
/usr/include/linux/if.h:78:2: erreur: redeclaration of enumerator ‘IFF_NOARP’
  IFF_NOARP   = 1<<7,  /* sysfs */
  ^
/usr/include/net/if.h:58:5: note: previous definition of ‘IFF_NOARP’ was here
     IFF_NOARP = 0x80,  /* No address resolution protocol.  */
     ^
/usr/include/linux/if.h:79:2: erreur: redeclaration of enumerator ‘IFF_PROMISC’
  IFF_PROMISC   = 1<<8,  /* sysfs */
  ^
/usr/include/net/if.h:60:5: note: previous definition of ‘IFF_PROMISC’ was here
     IFF_PROMISC = 0x100, /* Receive all packets.  */
     ^
/usr/include/linux/if.h:80:2: erreur: redeclaration of enumerator ‘IFF_ALLMULTI’
  IFF_ALLMULTI   = 1<<9,  /* sysfs */
  ^
/usr/include/net/if.h:64:5: note: previous definition of ‘IFF_ALLMULTI’ was here
     IFF_ALLMULTI = 0x200, /* Receive all multicast packets.  */
     ^
/usr/include/linux/if.h:81:2: erreur: redeclaration of enumerator ‘IFF_MASTER’
  IFF_MASTER   = 1<<10, /* __volatile__ */
  ^
/usr/include/net/if.h:67:5: note: previous definition of ‘IFF_MASTER’ was here
     IFF_MASTER = 0x400,  /* Master of a load balancer.  */
     ^
/usr/include/linux/if.h:82:2: erreur: redeclaration of enumerator ‘IFF_SLAVE’
  IFF_SLAVE   = 1<<11, /* __volatile__ */
  ^
/usr/include/net/if.h:69:5: note: previous definition of ‘IFF_SLAVE’ was here
     IFF_SLAVE = 0x800,  /* Slave of a load balancer.  */
     ^
/usr/include/linux/if.h:83:2: erreur: redeclaration of enumerator ‘IFF_MULTICAST’
  IFF_MULTICAST   = 1<<12, /* sysfs */
  ^
/usr/include/net/if.h:72:5: note: previous definition of ‘IFF_MULTICAST’ was here
     IFF_MULTICAST = 0x1000, /* Supports multicast.  */
     ^
/usr/include/linux/if.h:84:2: erreur: redeclaration of enumerator ‘IFF_PORTSEL’
  IFF_PORTSEL   = 1<<13, /* sysfs */
  ^
/usr/include/net/if.h:75:5: note: previous definition of ‘IFF_PORTSEL’ was here
     IFF_PORTSEL = 0x2000, /* Can set media type.  */
     ^
/usr/include/linux/if.h:85:2: erreur: redeclaration of enumerator ‘IFF_AUTOMEDIA’
  IFF_AUTOMEDIA   = 1<<14, /* sysfs */
  ^
/usr/include/net/if.h:77:5: note: previous definition of ‘IFF_AUTOMEDIA’ was here
     IFF_AUTOMEDIA = 0x4000, /* Auto media select active.  */
     ^
/usr/include/linux/if.h:86:2: erreur: redeclaration of enumerator ‘IFF_DYNAMIC’
  IFF_DYNAMIC   = 1<<15, /* sysfs */
  ^
/usr/include/net/if.h:79:5: note: previous definition of ‘IFF_DYNAMIC’ was here
     IFF_DYNAMIC = 0x8000 /* Dialup device with changing addresses.  */
     ^
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:20:0,
                 from src/shared/firewall-util.c:28:
/usr/include/linux/if.h:169:8: erreur: redefinition of ‘struct ifmap’
 struct ifmap {
        ^
In file included from src/shared/firewall-util.c:24:0:
/usr/include/net/if.h:111:8: note: originally defined here
 struct ifmap
        ^
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:20:0,
                 from src/shared/firewall-util.c:28:
/usr/include/linux/if.h:203:8: erreur: redefinition of ‘struct ifreq’
 struct ifreq {
        ^
In file included from src/shared/firewall-util.c:24:0:
/usr/include/net/if.h:126:8: note: originally defined here
 struct ifreq
        ^
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:20:0,
                 from src/shared/firewall-util.c:28:
/usr/include/linux/if.h:252:8: erreur: redefinition of ‘struct ifconf’
 struct ifconf  {
        ^
In file included from src/shared/firewall-util.c:24:0:
/usr/include/net/if.h:176:8: note: originally defined here
 struct ifconf
        ^
Makefile:15023*: la recette pour la cible «*src/shared/libfirewall_la-firewall-util.lo*» a échouée
make[2]: *** [src/shared/libfirewall_la-firewall-util.lo] Erreur 1
make[2]: *** Attente des tâches non terminées....
make[1]: *** [all-recursive] Erreur 1
Makefile:18493*: la recette pour la cible «*all-recursive*» a échouée
make: *** [all] Erreur 2
Makefile:9204*: la recette pour la cible «*all*» a échouée
Error occured in execution of /var/cache/alps/scripts/systemd.sh
Aborting
Another multicore bug ?

Last edited by FredBezies; 05-11-2016 at 03:45 AM. Reason: Bug is fixed :)
 
Old 05-10-2016, 09:39 AM   #2
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Possibly. Retried?
 
Old 05-10-2016, 09:41 AM   #3
FredBezies
LQ Newbie
 
Registered: May 2016
Distribution: ArchLinux
Posts: 20

Original Poster
Rep: Reputation: Disabled
I suppose I have to set multicore to "n" ?

Same bug with multicore set to n

Any ideas ?

Last edited by FredBezies; 05-10-2016 at 09:45 AM.
 
Old 05-10-2016, 09:43 AM   #4
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
No. That effects only base scripts. Here you have to do sudo nano /var/cache/alps/scripts/systemd.sh
And manually change make "-j`nproc`" to make
 
Old 05-10-2016, 09:44 AM   #5
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
I doubt it could be multicore issue though because I never got this error. At least not in systemd
 
Old 05-10-2016, 09:47 AM   #6
FredBezies
LQ Newbie
 
Registered: May 2016
Distribution: ArchLinux
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chandrakant View Post
I doubt it could be multicore issue though because I never got this error. At least not in systemd
Trying with modified make line. Report asap.

Edit : didn't work. Looks like I will clone another time my freshly build base and try again. Something is broken somewhere.

Only 10 hours of building right now

Last edited by FredBezies; 05-10-2016 at 09:48 AM.
 
Old 05-10-2016, 11:03 AM   #7
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
I found this patch posted in a forum. Could you please try this patch:

pkgs.fedoraproject.org/cgit/rpms/systemd.git/plain/0999-Add-a-workaround-for-linux-net-if.h-conflict.patch
 
Old 05-10-2016, 11:05 AM   #8
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Though I am still wondering why I never go this error? Does it have something to do with the order we follow in installing packages? I guess you did not deviate from the order specified in the documentation. Anyways, I am in the process of building x-server now. LLVM is working like a snail. Once I get to systemd would let you know how it fared.
 
Old 05-10-2016, 11:09 AM   #9
FredBezies
LQ Newbie
 
Registered: May 2016
Distribution: ArchLinux
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chandrakant View Post
Though I am still wondering why I never go this error? Does it have something to do with the order we follow in installing packages? I guess you did not deviate from the order specified in the documentation. Anyways, I am in the process of building x-server now. LLVM is working like a snail. Once I get to systemd would let you know how it fared.
I only installed mc and dhcpcd to get some more building speed by using directly my freshly build system instead of using live DVD.

Looks like it was a wrong idea
 
Old 05-10-2016, 11:12 AM   #10
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Oh. BTW did you try the patch I posted. Looks like it's a genuine issue..
 
Old 05-10-2016, 11:15 AM   #11
FredBezies
LQ Newbie
 
Registered: May 2016
Distribution: ArchLinux
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chandrakant View Post
Oh. BTW did you try the patch I posted. Looks like it's a genuine issue..
Will try it building systemd right now, after it builds both nspr and js as I'm starting from "scratch" again.

Edit : systemd was build flawlessly with provided patch... Well, another bad bug bites the dust

Last edited by FredBezies; 05-10-2016 at 12:08 PM.
 
Old 05-11-2016, 03:44 AM   #12
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Frederic, can you please mark this thread as solved. I could have done, but I am not able to.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error occured in execution of /var/cache/alps/scripts/cairo.sh chandrakant AryaLinux 1 05-10-2016 02:28 AM
[SOLVED] Error occured in execution of /var/cache/alps/scripts/xorg-server.sh chandrakant AryaLinux 1 05-10-2016 01:02 AM
[SOLVED] Error occured in execution of /var/cache/alps/scripts/pixman.sh chandrakant AryaLinux 1 05-10-2016 12:47 AM
[SOLVED] Error occured in execution of /var/cache/alps/scripts/mesa.sh chandrakant AryaLinux 1 05-10-2016 12:13 AM
an error occured ramlirudi Linux - Newbie 1 08-24-2010 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux

All times are GMT -5. The time now is 07:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration