Koozali.org: home of the SME Server

Problem with rpmbuild --rebuild (Syncthing)

Problem with rpmbuild --rebuild (Syncthing)
« on: June 05, 2015, 09:22:37 AM »
Hello everyone, i got a probleme when i want to build with Rpmbuild --rebuild.
here it is the error message :

Quote
/etc/rc.d/init.d/syncthing: line 19: kill: (26113) - No such process
Starting service▒
Service started
+ /usr/lib/rpm/brp-compress
/usr/lib/rpm/brp-compress: line 8: cd: /root/rpmbuild/BUILDROOT/syncthing-0.9.10-.el6.i386: No such file or directory
+ /usr/lib/rpm/brp-strip
find: `/root/rpmbuild/BUILDROOT/syncthing-0.9.10-.el6.i386': No such file or directory
+ /usr/lib/rpm/brp-strip-static-archive
find: `/root/rpmbuild/BUILDROOT/syncthing-0.9.10-.el6.i386': No such file or directory
+ /usr/lib/rpm/brp-strip-comment-note
find: `/root/rpmbuild/BUILDROOT/syncthing-0.9.10-.el6.i386': No such file or directory
Processing files: syncthing-0.9.10-.el6.i386
erreur: Fichier non trouvé: /root/rpmbuild/BUILDROOT/syncthing-0.9.10-.el6.i386/etc/init.d/syncthing


Erreur de construction de RPM:
    Fichier non trouvé: /root/rpmbuild/BUILDROOT/syncthing-0.9.10-.el6.i386/etc/init.d/syncthing



And here it is my spec file :

Quote
Name:syncthing
Version:0.9.10
Release:%{?dist}
Summary:Syncthing
License:GPL
URL:http://syncthing.net/
Source: /root/rpmbuild/SOURCES/syncthing-linux-386-v0.9.10.tar.gz
BuildRoot: %{_tmppath}/%{name}-test
BuildRequires: golang
%description
Syncthing replaces Dropbox and BitTorrent Sync with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet.

%prep

%setup -c
%build

%install
rm -Rf /home/syncthing
userdel syncthing
useradd syncthing
mkdir /home/syncthing/log
mkdir /home/syncthing/bin
tar -zxvf /root/rpmbuild/SOURCES/syncthing-linux-386-v0.9.10.tar.gz
cp /root/rpmbuild/BUILD/syncthing-0.9.10/syncthing-linux-386-v0.9.10/syncthing /home/syncthing/bin/
chown syncthing:syncthing -Rf /home/syncthing
cd /etc/rc.d/init.d/
wget https://github.com/Bobbymat26/syncthingAfpa/raw/master/syncthing
chmod u+x /etc/rc.d/init.d/syncthing
chkconfig syncthing --override
ln -f -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99syncthing
db configuration set syncthing service status enabled
db configuration setprop syncthing access public
db configuration setprop syncthing TCPPort 8080
db configuration setprop syncthing TCPPorts 8080,22000
db configuration setprop syncthing UDPPort 21025
signal-event remoteaccess-update
service syncthing start


%files
/etc/init.d/syncthing


I'm on it synce 2 day, and i can't solve it, i never tell in my spec to do something with buildroot, so i don't know.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #1 on: June 05, 2015, 09:50:10 AM »
Dimitri, your best bet is to subscribe to devinfo ML and ask there..

this is a user support forum for SME users, not developers :-)

moreover, I'll move this topic to General Discussion section as, IMO, is OT here..

Thank you

Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #2 on: June 05, 2015, 09:51:15 AM »
ho ok, sorry i'll go for it !

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #3 on: June 05, 2015, 09:55:52 AM »
no need to be sorry ;-)

Offline Xavier.A

  • ****
  • 104
  • +0/-0
Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #4 on: June 05, 2015, 11:30:20 AM »
Dimitri, your best bet is to subscribe to devinfo ML and ask there..

this is a user support forum for SME users, not developers :-)

@ Stefano :
  • Why this forum couldn't be a developers forum, too?
  • Who decided for this situation ?
  • Why this situation should not be changed?
  • Do you really think that the Koozali ML is the good tool to help new developers?
  • Could you just tell me what do you think about the nethserver tool : http://community.nethserver.org/ build with http://www.discourse.org/ ?
  • Didn't you see any well known member of Koozali who didn't want to change anything here but who accept to debate about new features there?

Just tell me why , because really I don't understand the strategy of Koozali for the future of SME Server.
Could you read the program of the new Debian Project Leader (https://www.debian.org/devel/leader.en.html) : https://www.debian.org/vote/2015/platforms/neilm.en.html.
Don't you want to work with this guy?
 
I would like the members of Koozali organizes a new vote to ask who wants to add in this forum a place to help new developers.

A+
« Last Edit: June 05, 2015, 11:54:39 AM by Xavier.A »
“When the wise man points to the moon, the fool looks at the finger.”

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #5 on: June 05, 2015, 11:59:05 AM »
@ Stefano :
 Why this forum couldn't be a developers forum, too?

because my experience in this forums tells me so..
but, let's forget about me: just search the forums (link above) and oyu'll see that EVERYTIME topics went to the development side, users/posters were steered to bugzilla/dev's ML.. it's easy

Quote
Who decided for this situation ?

no one.. it's just the way we are in the habits to do..

Quote
Why this situation should not be changed?

almost everything could change.. but (and this is the aspect of the thing you keep ignoring), there are RULES.. you (generallly speaking) have to adhere to them.. that's all

Quote
Do you really think that the Koozali ML is the good tool to help new developers?

maybe not the best.. anyway, if you have some suggestion, you're welcome (you're already been told so..)

Quote
Could you just tell me what do you think about the nethserver tool : http://community.nethserver.org/ build with http://www.discourse.org/ ?

sincerely (and Nethesis' guys that I met one week ago already know my opinion) I don't like that kind of forum.. too "social", difficult to follow.. anyway, this is my personal and maybe wrong opinion..
since it seems you follow also that community, you'd know that there already been requests for a real wiki..

Quote
Didn't you see any well known member of Koozali who didn't want to change anything here but who accept to debate about new features there?

Xavier, you're wrong.. here there are some rules, there rules are different..
everytime you've been asked to do something to change things here, you refuse..
IMVHO you're only able to bark at the moon.. I can't see anything coming from you (money, time, contribs, code, wiki pages and so on) but criticism

Quote
Just tell me why , because really I don't understand

you said, the main point is this one
just re read all your posts and the answers you had..

Quote
I would like the members of Koozali organizes a new vote to ask who wants to add in this forum a place to help new developers.

no need for vote.. bugzilla is right there, just use it.. if you don't use it, you're the first that doesn't want to change things (and the first one that criticize)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #6 on: June 05, 2015, 12:03:15 PM »
I add that this place is here to discuss, following rules.. you (generally speaking) are welcome, always.

Offline Xavier.A

  • ****
  • 104
  • +0/-0
Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #7 on: June 05, 2015, 12:50:25 PM »
Well i will try to defend my point of view and i will not take offense of your attacks :

because my experience in this forums tells me so..
but, let's forget about me: just search the forums (link above) and oyu'll see that EVERYTIME topics went to the development side, users/posters were steered to bugzilla/dev's ML.. it's easy

I'm thinking but maybe i'm wrong that a centralized forum could be a good idea to help users and developers, no?
Bugzilla, why not...it's a bug tracker !
Mailing lists, why not...but it's not the way how young are communicating now. (what is the opinion of RequestedDeletion about this point?)

sincerely (and Nethesis' guys that I met one week ago already know my opinion) I don't like that kind of forum.. too "social", difficult to follow.. anyway, this is my personal and maybe wrong opinion..
since it seems you follow also that community, you'd know that there already been requests for a real wiki..

if you don't want to change your habits you will have to adapt yourself to the reality and the reality  is social community, even for developers ?

no need for vote.. bugzilla is right there, just use it.. if you don't use it, you're the first that doesn't want to change things (and the first one that criticize)

No vote, ok ! One more time, Stefano it's up to you !

A+
“When the wise man points to the moon, the fool looks at the finger.”

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #8 on: June 05, 2015, 01:01:55 PM »
Well i will try to defend my point of view and i will not take offense of your attacks :

reading you talking about attacks (to you) is quite funny.. :-)

Quote
I'm thinking but maybe i'm wrong that a centralized forum could be a good idea to help users and developers, no?
Bugzilla, why not...it's a bug tracker !
Mailing lists, why not...but it's not the way how young are communicating now. (what is the opinion of RequestedDeletion about this point?)

Xavier, read my lips: everything could/can be changed.. just follow the rules.. and here, the main rules to obtain a new forum area or to discuss about development are to ask in bugzilla and to drop a mail in devinfo Ml.. is it so hard to understand?
I'm not saying here is the best and beautifull place in the world, and I agree that we need changes.. so, please (once again) DO SOMETHING YOU TOO! stop asking/criticize

Quote
if you don't want to change your habits you will have to adapt yourself to the reality and the reality  is social community, even for developers ?

Xavier, I know english is not your language neither mine, but I said I don't like discourse, not that I won't adapt myself.. I use it everyday, I follow topics, I post my opinions.. I simply follow the rules.. and, moreover, even if I tend to be more present here than there, I already open some bugs/NFR in their system..
what about you?
you keep asking, you're unsatisfied, but you don't partecipate.. so, in the end, what do you want? do you want something different? if so, what?
please make a list, and post your ideas/requests where you've been told to do so many times I even know..

Quote
No vote, ok ! One more time, Stefano it's up to you !

no, it's up to YOU!
go to bugzilla, opena request for a new forum section, give all the details, defend your ideas, try to convince "us" that we REALLY need what you're proposing.

don't be lazy, partecipate

thank you

Offline Xavier.A

  • ****
  • 104
  • +0/-0
Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #9 on: June 05, 2015, 02:09:14 PM »
Well I'm agree with you, I'm not the good person to start a debate here and I will stop to try.
As you noticed it, I will only help french users, in french in the french forum.

Maybe I'm wrong but I think you personalize too much your answer and you really like to make things complicated.
YOUR RULES :
  • Open a bug in bugzilla
  • Come back here to announce this bug
  • (RE)Subscribe to the dev. ML
  • Write mail to whom ? (who will really read the mail in the ML ?)
  • Wait for answers (an answer for "Koozali.org looks for IT professionals working with SME Server" arrived last month, more than one year after)
  • Write reply
...and what more ? you want 100 balles and 1 mars (french joke)?

Is it so hard to just ask the opinion to the users to know if they want or not a sub-forum to help developers?
If you are not able to open a new post  for a vote then I can't do anything for you !

Bye.
“When the wise man points to the moon, the fool looks at the finger.”

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #10 on: June 05, 2015, 02:32:12 PM »
Is it so hard to just ask the opinion to the users to know if they want or not a sub-forum to help developers?
If you are not able to open a new post  for a vote then I can't do anything for you !

Xavier.. there are almost 20000 users in these forums.. let's say only 50% are active ones..
I see many, way too many people acting just like you: ask, criticize, lurk.
and I'm quite sure there are many of them that earn money selling services based on SME
so, the question is: why everybody is here just to wait for something to happen and doesn't start to do something?

you've been told HOW to do things: don't you like it? I'm sorry
do you want to help? you are welcome
do you want anything? just ask, following rules

that's all, nothing more, nothing less.. you can do much for "me", just do it.. I'm doing my homework everyday here, what about "you"?

you made many announcements in the past, you said you were working on SME's code (we never see anything from you here), you said you won't be back here so many times.. and "we" are still here asking you to partecipate, we still welcome you and your ideas.. what do you want more than that?
this comunity is community driven.. if only 10 persons vote, talk, discuss, propose, maintain.. and the others 19990 are outside there, only lurking and waiting for cheap and easy things, what should I think?
the community is YOU.. there are rules that can be changed, but it needs that in first instance you follow the rules, FULL stop.
I'm nobody, just a community member, just like you, my vote still counts like yours.. if I want something, I ask for it (here if I need support, in bugzilla if I find a bug or want a NF, in ML if I need enlightment about code or SME's internals)..
and I follow almost every forum (French one too).. it is not so difficult.. I'm sure you, like everybody here, can do the same..

so, once again, go to bugzilla and ask for a new forum area.. it's a good idea IMO, but someone should be the chain ring between forum and bugzilla (many developers, no matter if active or not, read forums)..

Offline MScapin

  • *
  • 14
  • +0/-0
Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #11 on: June 05, 2015, 03:01:45 PM »
Please guys, could you debate elsewhere ? it's a bit annoying to start a topic and get invade by a debate :)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #12 on: June 05, 2015, 03:24:16 PM »
for the first time, I disagree..

we are in General Discussion section, there are interesting topics to debate to..

and, sincerely, I'd love to see people partecipating sometimes..
I see many people telling "I don't like", "I want" but way too less people discuss and debate.
we're not figthing each other, we're debating about SME, community rules, ideas..
come on, MScapin, tell us what your thinking.

Offline Xavier.A

  • ****
  • 104
  • +0/-0
Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #13 on: June 05, 2015, 03:25:48 PM »
@MScapin : you're right but would you be kind enough to give us your opinion about :

[ ] yes, a sub-forum here to help developer is a good idea.
[ ] no, the koozali tools and rules are good enough, they should change nothing !

thanks,
« Last Edit: June 05, 2015, 03:29:11 PM by Xavier.A »
“When the wise man points to the moon, the fool looks at the finger.”

Re: Problem with rpmbuild --rebuild (Syncthing)
« Reply #14 on: June 05, 2015, 03:32:53 PM »
Quote
@MScapin : you're right but would you be kind enough to give us your opinion about :

[ ] yes, a sub-forum here to help developer is a good idea.
[ ] no, the koozali tools and rules are good enough, they should change nothing !

thanks,

Maybe you should just open an other topic with a questionary, it will be better than discuss in this topic.

You put your argument, and Stefano on a reply, and then the discuss will be fine.

But in my opinion, your right, we should open new sub forum for dev's.


(Sorry for my bad English, i'm French)