Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297544 - dev-ruby/mysql-ruby-2.8.1-r1 fails to build: No rakefile found
Summary: dev-ruby/mysql-ruby-2.8.1-r1 fails to build: No rakefile found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-19 17:05 UTC by Tobias Heinlein (RETIRED)
Modified: 2009-12-19 17:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Heinlein (RETIRED) gentoo-dev 2009-12-19 17:05:07 UTC
# emerge -avuDN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-ruby/mysql-ruby-2.8.1-r1 [2.8.1] USE="doc%* -test%" RUBY_TARGETS="ruby18%* (-ruby19)" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-ruby/mysql-ruby-2.8.1-r1
 * mysql-ruby-2.8.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                           [ ok ]
 * checking ebuild checksums ;-) ...                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                [ ok ]
 * checking miscfile checksums ;-) ...                                               [ ok ]
 * CPV:  dev-ruby/mysql-ruby-2.8.1-r1
 * REPO: gentoo
 * USE:  amd64 doc elibc_glibc kernel_linux multilib ruby_targets_ruby18 userland_GNU
>>> Unpacking source...
 * Running unpack phase for all ...
>>> Unpacking mysql-ruby-2.8.1.tar.gz to /var/tmp/portage/dev-ruby/mysql-ruby-2.8.1-r1/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/mysql-ruby-2.8.1-r1/work
>>> Preparing source in /var/tmp/portage/dev-ruby/mysql-ruby-2.8.1-r1/work ...
 * Running prepare phase for all ...
 * Applying mysql-ruby-2.8.1-test.patch ...                                           [ ok ]
 * Running prepare phase for ruby18 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/mysql-ruby-2.8.1-r1/work ...
 * Running configure phase for ruby18 ...
checking for mysql_query() in -lmysqlclient... yes
checking for mysql_ssl_set()... yes
checking for rb_str_set_len()... yes
checking for rb_thread_start_timer()... yes
checking for mysql.h... no
checking for mysql/mysql.h... yes
creating Makefile
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/mysql-ruby-2.8.1-r1/work ...
 * Running compile phase for ruby18 ...
make -j5 
x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_MYSQL_SSL_SET -DHAVE_RB_STR_SET_LEN -DHAVE_RB_THREAD_START_TIMER -DHAVE_MYSQL_MYSQL_H -I/usr/local/include    -fPIC -march=native -O2 -pipe -fno-strict-aliasing  -fPIC   -c mysql.c
mysql.c: In function ‘time_inspect’:
mysql.c:1797: warning: format ‘%04d’ expects type ‘int’, but argument 3 has type ‘long int’
mysql.c:1797: warning: format ‘%02d’ expects type ‘int’, but argument 4 has type ‘long int’
mysql.c:1797: warning: format ‘%02d’ expects type ‘int’, but argument 5 has type ‘long int’
mysql.c:1797: warning: format ‘%02d’ expects type ‘int’, but argument 6 has type ‘long int’
mysql.c:1797: warning: format ‘%02d’ expects type ‘int’, but argument 7 has type ‘long int’
mysql.c:1797: warning: format ‘%02d’ expects type ‘int’, but argument 8 has type ‘long int’
mysql.c: In function ‘time_to_s’:
mysql.c:1810: warning: format ‘%04d’ expects type ‘int’, but argument 3 has type ‘long int’
mysql.c:1810: warning: format ‘%02d’ expects type ‘int’, but argument 4 has type ‘long int’
mysql.c:1810: warning: format ‘%02d’ expects type ‘int’, but argument 5 has type ‘long int’
mysql.c:1810: warning: format ‘%02d’ expects type ‘int’, but argument 6 has type ‘long int’
mysql.c:1810: warning: format ‘%02d’ expects type ‘int’, but argument 7 has type ‘long int’
mysql.c:1810: warning: format ‘%02d’ expects type ‘int’, but argument 8 has type ‘long int’
x86_64-pc-linux-gnu-gcc -shared -o mysql.so mysql.o -L. -L/usr/lib64 -Wl,-R/usr/lib64 -L/usr/local/lib -Wl,-R/usr/local/lib -L. -Wl,-O1 -rdynamic -Wl,-export-dynamic    -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lmysqlclient  -lrt -ldl -lcrypt -lm   -lc
 * Running compile phase for all ...
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2377:in `raw_load_rakefile'
(See full trace by running task with --trace)
 * ERROR: dev-ruby/mysql-ruby-2.8.1-r1 failed:
 *   failed to (re)build documentation
 * 
 * Call stack:
 *     ebuild.sh, line   55:  Called src_compile
 *   environment, line 2766:  Called ruby-ng_src_compile
 *   environment, line 2544:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  338:  Called all_ruby_compile
 *   environment, line  372:  Called all_fakegem_compile
 *   environment, line  359:  Called die
 * The specific snippet of code:
 *           rake ${RUBY_FAKEGEM_TASK_DOC} || die "failed to (re)build documentation";
 * 
 * If you need support, post the output of 'emerge --info =dev-ruby/mysql-ruby-2.8.1-r1',
 * the complete build log and the output of 'emerge -pqv =dev-ruby/mysql-ruby-2.8.1-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/mysql-ruby-2.8.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/mysql-ruby-2.8.1-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-ruby/mysql-ruby-2.8.1-r1/work/all//mysql-ruby-2.8.1'

>>> Failed to emerge dev-ruby/mysql-ruby-2.8.1-r1, Log file:

>>>  '/var/tmp/portage/dev-ruby/mysql-ruby-2.8.1-r1/temp/build.log'
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-19 17:51:38 UTC
Thanks, fixed.