Re: Ruby 2.4 - Mass rebuild

2017-01-12 Thread Mamoru TASAKA
Hello, all:

- 元のメッセージ -
> 差出人: "Vít Ondruch" 
> Just a quick update about status.
> 
> So far, we have built most of the rubygem-packages, 66 in total. These
> are the remaining:
> 

Just checked for library dependency:


$ repoquery --disablerepo=\* --enablerepo=koji-ruby24 --qf "%{SOURCERPM}" 
--whatrequires "libruby.so.2.3()(64bit)" | sort | uniq | cat -n

Yum-utils package has been deprecated, use dnf instead.
See 'man yum2dnf' for more information.

 1  libdmtx-0.7.2-19.fc24.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17264227
Perhaps due to php side change.

 2  libprelude-3.1.0-27.fc26.src.rpm
still building: https://koji.fedoraproject.org/koji/buildinfo?buildID=833091
However, it seems that test suite is hanging. Note that koji build will be 
killed
after 24 hours (I remember), so I guess this build will fail soon (or I rekick
this later, maybe)

 3  pcs-0.9.155-1.fc26.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17263481
Perhaps due to rubygem-json update which changed error format: reported 
upstream:
https://github.com/ClusterLabs/pcs/issues/126

 4  postgresql-plruby-0.5.4-11.fc26.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17263489 integer 
unitication

 5  redland-bindings-1.0.16.1-16.fc25.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17263493
due to php side change

 6  ruby-augeas-0.5.0-9.fc24.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17263551
BuildRequires seems fixing, at least

 7  ruby-korundum-4.14.3-10.fc24.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17263769
okular was KF5-ized -> broken deps on smokekde

 8  ruby-ldap-0.9.16-6.fc24.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17263610
Looks like now C binding build creates some additional files, perhaps
removing such files is enough??

 9  rubygem-json-1.8.3-103.fc25.src.rpm
Not have checked.

10  rubygem-kgio-2.10.0-1.fc26.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17253487
Test fails on some archs (aarch64, ppc64, ppc64le), don't know why

11  rubygem-pcaprub-0.12.4-1.fc26.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17264381
Missing BR deps on %check (just disabling %check for now??)

12  rubygem-pg-0.18.4-2.fc24.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17264419
Test fails, don't know why

13  rubygem-puma-3.6.0-4.fc26.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17264553
Fails only on armv7hl, looks like issue with ragel.

14  shogun-4.1.0-7.fc26.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17263929
Looks like eigen3 3.2.10 -> 3.3.1 change is the cause, not related to ruby

15  subversion-1.9.5-1.fc26.src.rpm
Now building: https://koji.fedoraproject.org/koji/buildinfo?buildID=833585
scratch build was okay: 
https://koji.fedoraproject.org/koji/taskinfo?taskID=17263808

16  uwsgi-2.0.14-4.fc26.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17263965
Fails only on armv7hl, don't know what is happening:
> /usr/bin/ld: cannot find -ljvm
> collect2: error: ld returned 1 exit status

17  zorba-3.0.0-26.20140621git152f8964c.fc25.src.rpm
FAIL: https://koji.fedoraproject.org/koji/taskinfo?taskID=17264061
Looks like doxygen is segfaulting, not related to ruby.

While we can wait for subversion build to finish, I think now we can merge
f26-ruby24 side tag into main f26.

Regards,
Mamoru
___
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org


Ruby packages free to grap

2017-01-12 Thread Vít Ondruch
Hi all,

Michal Fojtík recently orphaned all his packages due to lack of the
resources to maintain them properly (thans to taking care of them). Feel
free to grab some:


rpms/deltacloud-core -- Deltacloud REST API ( )
rpms/rubygem-aws -- Ruby gem for all Amazon Web Services ( master
f25 f24 )
rpms/rubygem-cri -- Ruby library for building easy-to-use
commandline tools ( master f25 f24 )
rpms/rubygem-deltacloud-client -- Deltacloud REST Client ( master
f25 f24 )
rpms/rubygem-echoe -- A Rubygems packaging tool that provides Rake
tasks for documentation, extension compiling, testing, and deployment (
master f25 f24 )
rpms/rubygem-factory_girl -- Framework and DSL for defining and
using model instance factories ( master f25 f24 )
rpms/rubygem-openstack -- Ruby Openstack Compute and Object-Store
bindings ( master f25 f24 el6 )
rpms/rubygem-progressbar -- Ruby text progress bar generator library
( master f25 f24 )
rpms/rubygem-rack-accept -- HTTP Accept* for Ruby/Rack ( master f25
f24 el6 el5 )
rpms/rubygem-rerun -- Restarts your app when a file changes ( master
f25 f24 el6 el5 )
rpms/rubygem-right_aws -- Interface classes for the Amazon EC2/EBS,
SQS, S3, SDB, and ACF Web Services ( master f25 f24 )
rpms/rubygem-simple-navigation -- Ruby library for creating
navigation for your Rails or Sinatra application ( master f25 f24 )
rpms/rubygem-sinatra-rabbit -- Ruby DSL for creating restful
applications using Sinatra ( master f25 f24 el6 )
rpms/rubygem-will_paginate -- Pagination plugin for web frameworks
and other apps ( master f25 f24 el5 )
rpms/rubygem-xml-simple -- A simple API for XML processing ( master
f25 f24 el6 el5 )



Thanks


Vít
___
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org


Re: Ruby 2.4 - Mass rebuild

2017-01-12 Thread Vít Ondruch


Dne 11.1.2017 v 23:38 Mamoru TASAKA napsal(a):
> Vít Ondruch wrote on 01/12/2017 02:42 AM:
>>
>> Dne 11.1.2017 v 13:52 Vít Ondruch napsal(a):
>>>
>>> Dne 11.1.2017 v 13:28 Mamoru TASAKA napsal(a):
 Vít Ondruch wrote on 01/10/2017 05:31 PM:
> Hi all,
>
> So finally time for some fun. Since the Ruby 2.4 change proposal
> [1] was
> accepted, I asked release engineering for sidetag [3] to start with
> rebuild. This sidetag was granted and I was able to build there Ruby
> itself as well as several of my packages. Now is time for your help
> as well.
>
> 
 Well,


 Running transaction check
 Running transaction test

 Transaction check error:
   file /usr/share/ruby/openssl from install of
 rubygem-openssl-2.0.2-71.fc26.x86_64 conflicts with file from package
 ruby-libs-2.3.3-61.1.fc25.x86_64

 Well, /usr/share/ruby/openssl in ruby-libs-2.3.3-61.1.fc25.x86_64 was
 directory,
 now rubygem-openssl-2.0.2-71.fc26.x86_64 has /usr/share/ruby/openssl
 symlink.
 This can't be done easily, if this change is really needed, some
 special
 treatment is needed:

 https://fedoraproject.org/wiki/Packaging:Directory_Replacement

 Instead, I think changing /usr/share/ruby/openssl to directory
 again is
 easier. Vít, would you fix this?
>>> Good catch! Will take a look. I probably have not tried update since
>>> the
>>> OpenSSL got extracted into independent gem :/
>>
>> If you have a chance, please test this scratch build (if/when finishes):
>>
>> https://koji.fedoraproject.org/koji/taskinfo?taskID=17247367
>>
>> Will push it tomorrow 
>>
>
> This works, thank you!

This should be in Koji now 


Vít
___
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org


Re: Ruby 2.4 - Mass rebuild

2017-01-12 Thread Jun Aruga
Though it's up to you, for example we do not need to check Fedora version in 
the macro by below way.

> +  sed -i "s|\"$f\"${FREEZE},||g" %{gem_name}.gemspec

sed -i -E 's|"'$f'"(.freeze)?, ||g' %{gem_name}.gemspec

Jun Aruga

- Original Message -
> From: "Vít Ondruch" 
> To: ruby-sig@lists.fedoraproject.org
> Sent: Thursday, January 12, 2017 10:24:55 AM
> Subject: Re: Ruby 2.4 - Mass rebuild
> 
> Hi all,
> 
> Seeing commit as this:
> 
> 
> ```
> 
> @@ -44,9 +44,13 @@ gem unpack %{SOURCE0}
>  gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
>  
>  # Remove developer-only files.
> +FREEZE=""
> +%if 0%{?fedora} >= 26
> +FREEZE=".freeze"
> +%endif
>  for f in .gitignore Gemfile Rakefile; do
>rm $f
> -  sed -i "s|\"$f\",||g" %{gem_name}.gemspec
> +  sed -i "s|\"$f\"${FREEZE},||g" %{gem_name}.gemspec
>  done
>  
>  # Skip tests that fail.
> 
> ```
> 
> (BTW is that sed in the loop?!?)
> 
> I just want to remind you, that we have the %gemspec_remove_dep and
> %gemspec_add_dep macros available in all Fedoras. You can see their
> usage here:
> 
> 
> http://pkgs.fedoraproject.org/cgit/rpms/rubygem-scruffy.git/commit/?id=be086316f1d752da8135c01b86a03efa8372b25b
> 
> 
> Still thinking where to document such stuff. I am very much in favor of
> splitting such documentation in a similar manned as Java guys did, but I
> am still indecisive ...
> 
> 
> Vít
> 
> 
> 
> Dne 10.1.2017 v 09:31 Vít Ondruch napsal(a):
> > Hi all,
> >
> > So finally time for some fun. Since the Ruby 2.4 change proposal [1] was
> > accepted, I asked release engineering for sidetag [3] to start with
> > rebuild. This sidetag was granted and I was able to build there Ruby
> > itself as well as several of my packages. Now is time for your help as
> > well.
> >
> > What does it means? This is the list of packages which very likely needs
> > to be rebuild:
> >
> >
> > ```
> > $ dnf repoquery --disablerepo=* --enablerepo=rawhide
> > --enablerepo=rawhide-source --arch=src --whatrequires 'ruby-devel' |
> > sort | uniq
> >
> > ```
> >
> >
> > You can take the package and just fire rebuild, but please, you should
> > be using f26-ruby24 build target [3], i.e. the build command should look
> > like:
> >
> >
> > ```
> > $ fedpkg build --target f26-ruby24
> >
> > ```
> >
> >
> > If you forget to specify the target, you'll do build against Ruby 2.3,
> > which is not what you want.
> >
> > If you don't make it soon enough, I'll very likely rebuild your package
> > sooner or later. I'll be using fermig [4] to do that as I did during
> > previous rebuilds. If you don't like me to touch you package for
> > whatever reason, please let me know (Mamoru, I suppose you are going to
> > rebuild your packages yourself, right?).
> >
> > You can follow the progress at:
> >
> > https://koji.fedoraproject.org/koji/builds?inherited=0=401=-build_id=1
> >
> > or using:
> >
> >
> > ```
> > $ koji list-tagged f26-ruby24
> > ```
> >
> > As always, any help/testing/feedback is welcome.
> >
> > Vít
> >
> >
> > [1] https://fedoraproject.org/wiki/Changes/Ruby_2.4
> > [2] https://pagure.io/fesco/issue/1659
> > [3] https://pagure.io/releng/issue/6579
> > [4] https://github.com/fedora-ruby/fermig
> > ___
> > ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
> > To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
> ___
> ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
> To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
> 
___
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org


Re: Ruby 2.4 - Mass rebuild

2017-01-12 Thread Vít Ondruch


Dne 12.1.2017 v 10:37 Mamoru TASAKA napsal(a):
> Hello,
>
> - 元のメッセージ -
>> 差出人: "Vít Ondruch" 
>> 宛先: ruby-sig@lists.fedoraproject.org
>> 送信済み: 2017年1月12日, 木曜日 18:24:55
>> 件名: Re: Ruby 2.4 - Mass rebuild
>>
>> Hi all,
>>
>> Seeing commit as this:
>>
>>
>> ```
>>
>> @@ -44,9 +44,13 @@ gem unpack %{SOURCE0}
>>  gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
>>  
>>  # Remove developer-only files.
>> +FREEZE=""
>> +%if 0%{?fedora} >= 26
>> +FREEZE=".freeze"
>> +%endif
>>  for f in .gitignore Gemfile Rakefile; do
>>rm $f
>> -  sed -i "s|\"$f\",||g" %{gem_name}.gemspec
>> +  sed -i "s|\"$f\"${FREEZE},||g" %{gem_name}.gemspec
>>  done
>>  
>>  # Skip tests that fail.
>>
>> ```
>>
>> (BTW is that sed in the loop?!?)
>>
>> I just want to remind you, that we have the %gemspec_remove_dep and
>> %gemspec_add_dep macros available in all Fedoras. You can see their
>> usage here:
>>
>> http://pkgs.fedoraproject.org/cgit/rpms/rubygem-scruffy.git/commit/?id=be086316f1d752da8135c01b86a03efa8372b25b
> Well, %gemspec_remove_dep is for gem "dependency" (i.e. to change "Requires: 
> rubygem(foo)" on
> rpm side), right? What this do here is to change (remove) file entry
> in gem. sed loop is to remove one file by one file, so that afterwards
> we just have to modify "$f" list afterwards (perhaps).

You are right of course. This actually removes the files from file list
entries. I was not paying enough attention :(

I should probably spend some time to prepare some macro changing the
file list, since it is the second most common .gemspec modification 
Well ...


Vít
___
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org


Re: Ruby 2.4 - Mass rebuild

2017-01-12 Thread Mamoru TASAKA
Hello,

- 元のメッセージ -
> 差出人: "Vít Ondruch" 
> 宛先: ruby-sig@lists.fedoraproject.org
> 送信済み: 2017年1月12日, 木曜日 18:24:55
> 件名: Re: Ruby 2.4 - Mass rebuild
> 
> Hi all,
> 
> Seeing commit as this:
> 
> 
> ```
> 
> @@ -44,9 +44,13 @@ gem unpack %{SOURCE0}
>  gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
>  
>  # Remove developer-only files.
> +FREEZE=""
> +%if 0%{?fedora} >= 26
> +FREEZE=".freeze"
> +%endif
>  for f in .gitignore Gemfile Rakefile; do
>rm $f
> -  sed -i "s|\"$f\",||g" %{gem_name}.gemspec
> +  sed -i "s|\"$f\"${FREEZE},||g" %{gem_name}.gemspec
>  done
>  
>  # Skip tests that fail.
> 
> ```
> 
> (BTW is that sed in the loop?!?)
> 
> I just want to remind you, that we have the %gemspec_remove_dep and
> %gemspec_add_dep macros available in all Fedoras. You can see their
> usage here:
> 
> http://pkgs.fedoraproject.org/cgit/rpms/rubygem-scruffy.git/commit/?id=be086316f1d752da8135c01b86a03efa8372b25b

Well, %gemspec_remove_dep is for gem "dependency" (i.e. to change "Requires: 
rubygem(foo)" on
rpm side), right? What this do here is to change (remove) file entry
in gem. sed loop is to remove one file by one file, so that afterwards
we just have to modify "$f" list afterwards (perhaps).

> Still thinking where to document such stuff. I am very much in favor of
> splitting such documentation in a similar manned as Java guys did, but I
> am still indecisive ...
> 
> 
> Vít
> 

Regards,
Mamoru

> 
> Dne 10.1.2017 v 09:31 Vít Ondruch napsal(a):
> > Hi all,
> >
> > So finally time for some fun. Since the Ruby 2.4 change proposal [1] was
> > accepted, I asked release engineering for sidetag [3] to start with
> > rebuild. This sidetag was granted and I was able to build there Ruby
> > itself as well as several of my packages. Now is time for your help as
> > well.
> >
> > What does it means? This is the list of packages which very likely needs
> > to be rebuild:
> >
> >
> > ```
> > $ dnf repoquery --disablerepo=* --enablerepo=rawhide
> > --enablerepo=rawhide-source --arch=src --whatrequires 'ruby-devel' |
> > sort | uniq
> >
> > ```
> >
> >
> > You can take the package and just fire rebuild, but please, you should
> > be using f26-ruby24 build target [3], i.e. the build command should look
> > like:
> >
> >
> > ```
> > $ fedpkg build --target f26-ruby24
> >
> > ```
> >
> >
> > If you forget to specify the target, you'll do build against Ruby 2.3,
> > which is not what you want.
> >
> > If you don't make it soon enough, I'll very likely rebuild your package
> > sooner or later. I'll be using fermig [4] to do that as I did during
> > previous rebuilds. If you don't like me to touch you package for
> > whatever reason, please let me know (Mamoru, I suppose you are going to
> > rebuild your packages yourself, right?).
> >
> > You can follow the progress at:
> >
> > https://koji.fedoraproject.org/koji/builds?inherited=0=401=-build_id=1
> >
> > or using:
> >
> >
> > ```
> > $ koji list-tagged f26-ruby24
> > ```
> >
> > As always, any help/testing/feedback is welcome.
> >
> > Vít
> >
> >
> > [1] https://fedoraproject.org/wiki/Changes/Ruby_2.4
> > [2] https://pagure.io/fesco/issue/1659
> > [3] https://pagure.io/releng/issue/6579
> > [4] https://github.com/fedora-ruby/fermig
> > ___
> > ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
> > To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
> ___
> ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
> To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
> 
___
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org


Re: Ruby 2.4 - Mass rebuild

2017-01-12 Thread Vít Ondruch
Hi all,

Seeing commit as this:


```

@@ -44,9 +44,13 @@ gem unpack %{SOURCE0}
 gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
 
 # Remove developer-only files.
+FREEZE=""
+%if 0%{?fedora} >= 26
+FREEZE=".freeze"
+%endif
 for f in .gitignore Gemfile Rakefile; do
   rm $f
-  sed -i "s|\"$f\",||g" %{gem_name}.gemspec
+  sed -i "s|\"$f\"${FREEZE},||g" %{gem_name}.gemspec
 done
 
 # Skip tests that fail.

```

(BTW is that sed in the loop?!?)

I just want to remind you, that we have the %gemspec_remove_dep and
%gemspec_add_dep macros available in all Fedoras. You can see their
usage here:


http://pkgs.fedoraproject.org/cgit/rpms/rubygem-scruffy.git/commit/?id=be086316f1d752da8135c01b86a03efa8372b25b


Still thinking where to document such stuff. I am very much in favor of
splitting such documentation in a similar manned as Java guys did, but I
am still indecisive ...


Vít



Dne 10.1.2017 v 09:31 Vít Ondruch napsal(a):
> Hi all,
>
> So finally time for some fun. Since the Ruby 2.4 change proposal [1] was
> accepted, I asked release engineering for sidetag [3] to start with
> rebuild. This sidetag was granted and I was able to build there Ruby
> itself as well as several of my packages. Now is time for your help as well.
>
> What does it means? This is the list of packages which very likely needs
> to be rebuild:
>
>
> ```
> $ dnf repoquery --disablerepo=* --enablerepo=rawhide
> --enablerepo=rawhide-source --arch=src --whatrequires 'ruby-devel' |
> sort | uniq
>
> ```
>
>
> You can take the package and just fire rebuild, but please, you should
> be using f26-ruby24 build target [3], i.e. the build command should look
> like:
>
>
> ```
> $ fedpkg build --target f26-ruby24
>
> ```
>
>
> If you forget to specify the target, you'll do build against Ruby 2.3,
> which is not what you want.
>
> If you don't make it soon enough, I'll very likely rebuild your package
> sooner or later. I'll be using fermig [4] to do that as I did during
> previous rebuilds. If you don't like me to touch you package for
> whatever reason, please let me know (Mamoru, I suppose you are going to
> rebuild your packages yourself, right?).
>
> You can follow the progress at:
>
> https://koji.fedoraproject.org/koji/builds?inherited=0=401=-build_id=1
>
> or using:
>
>
> ```
> $ koji list-tagged f26-ruby24
> ```
>
> As always, any help/testing/feedback is welcome.
>
> Vít
>
>
> [1] https://fedoraproject.org/wiki/Changes/Ruby_2.4
> [2] https://pagure.io/fesco/issue/1659
> [3] https://pagure.io/releng/issue/6579
> [4] https://github.com/fedora-ruby/fermig
> ___
> ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
> To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
___
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org