First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 40217
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Francesco R. (RETIRED) <vivo@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sven Wegener <swegener@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mysqlnavigator.ebuilds.patch mysqlnavigator.ebuilds.patch for the ebuilds patch Sven Wegener 2004-02-02 13:19 0000 704 bytes Details | Diff
about.cxx-long-lines.patch about.cxx-long-lines.patch for files directory patch Sven Wegener 2004-02-02 13:20 0000 29.41 KB Details | Diff
mysqlnavigator-1.4.2.ebuild NEW ebuild text/plain Antonio 2004-04-02 07:52 0000 1.08 KB Details
portage-mysqlnavigator.patch collected the previous patches to one for portage-tree patch Michael Haubenwallner 2004-09-01 08:28 0000 31.72 KB Details | Diff
fix.tar.bz2 These are the fixed sources for dev-db/mysqlnavigator-1.4.1. Replace to sucessfully emerge. application/octet-stream Angelo Arrifano (AMD64 AT) 2005-05-08 16:21 0000 11.25 KB Details
mysqlnavigator-1.4.1-gentoo-patch.diff.tar.bz2 Patch for emerging dev-db/mysqlnavigator-1.4.1 successfully and without errors. (tar.bz2 compressed) patch Angelo Arrifano (AMD64 AT) 2005-05-09 07:18 0000 14.22 KB Details | Diff
mysqlnavigator-1.4.1-gentoo-patches.tar.bz2 more clean patch file application/octet-stream Andre Hinrichs 2005-07-11 07:22 0000 7.36 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 40217 depends on: Show dependency tree
Show dependency graph
Bug 40217 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-02 13:18 0000
Hi,

dev-db/mysqlnavigator fails to compile because there are some lines wrong
wrapped in src/mysql/about/about.cxx

See attached patch for the ebuilds and a patch for the files directory.

Sven

------- Comment #1 From Sven Wegener 2004-02-02 13:19:47 0000 -------
Created an attachment (id=24831) [edit]
mysqlnavigator.ebuilds.patch for the ebuilds

------- Comment #2 From Sven Wegener 2004-02-02 13:20:22 0000 -------
Created an attachment (id=24832) [edit]
about.cxx-long-lines.patch for files directory

------- Comment #3 From Antonio 2004-03-03 09:14:26 0000 -------
In my system with this patch compile fine but it is normal this message ?

......
..........
config.status: executing depfiles commands
make: opzione non valida -- D
make: opzione non valida -- U
make: opzione non valida -- E
make: opzione non valida -- _
make: opzione non valida -- O
make: opzione non valida -- L
make: opzione non valida -- D
make: opzione non valida -- _
make: opzione non valida -- F
make: opzione non valida -- U
make: opzione non valida -- N
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from commands.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any commands; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no commands; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo commands.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for i686-pc-linux-gnu
Report bugs to <bug-make@gnu.org>

>>> Install mysqlnavigator-1.4.2 into /var/tmp/portage/mysqlnavigator-1.4.2/image/ category dev-db

------- Comment #4 From Antonio 2004-04-02 07:51:25 0000 -------
I have correct ebuild for compile this package

------- Comment #5 From Antonio 2004-04-02 07:52:07 0000 -------
Created an attachment (id=28577) [edit]
NEW ebuild

This is my ebuild for correct problem.

------- Comment #6 From Ben Thomas 2004-04-03 06:54:51 0000 -------
ebuild with patch works for me, although I also get the "DUE_OLD_FUN" error. :)

------- Comment #7 From Ben Torkington 2004-06-08 15:51:20 0000 -------
Any reason the new ebuild and patch haven't made it into portage?

------- Comment #8 From Toon Verstraelen 2004-06-29 01:32:38 0000 -------
In the last ebuild, "emake -DUSE_OLD_FUNCTIONS=1" still has to be changed in
"emake" without parameters. For the rest, the new ebuild seems to works fine.
It would be nice to have this patch in portage.

------- Comment #9 From Michael Haubenwallner 2004-09-01 08:28:48 0000 -------
Created an attachment (id=38689) [edit]
collected the previous patches to one for portage-tree

I've collected the patches before to one patchfile,
to be applied with '-p1' directly in portage-tree,
with one additional fix: To use 'epatch', the line
'inherit eutils' was missing (seen in other ebuilds).

------- Comment #10 From Antonio 2004-09-02 00:47:53 0000 -------
I have test ebuild with patch and install well.
When you put stable in portage ?

------- Comment #11 From Stefan Vunckx 2004-10-05 13:53:14 0000 -------
just wanted to add that the patch works fine here too, thanks !!

------- Comment #12 From Andrea 2004-10-21 09:32:16 0000 -------
Hello, I get this after appling the porta-tree patch :
---------------------------------------------------------
mainwindowslotschema.cxx: In member function `void
   MainWindow::slot_create_database(int)':
mainwindowslotschema.cxx:518: error: `mysql_create_db' undeclared (first use
   this function)
mainwindowslotschema.cxx:518: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
mainwindowslotschema.cxx: In member function `void
   MainWindow::slot_delete_database(int)':
mainwindowslotschema.cxx:608: error: `mysql_drop_db' undeclared (first use this
   function)
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3/bits/stl_map.h: At top
   level:
../../../pics/collapse.xpm:2: warning: `const char*collapse_xpm[18]' defined
   but not used
../../../pics/expand.xpm:2: warning: `const char*expand_xpm[18]' defined but
   not used
-----------------------------
maybe for gcc-3.3.4 ?

------- Comment #13 From Mark 2004-11-18 20:42:54 0000 -------
ok so I go to /usr/portage.

I do a patch -p1 < patchfile. Everything seems ok. The I do an emerge mysqlnavigator and get the following error.

>>> md5 src_uri ;-) mysqlnavigator-1.4.2-gcc34.patch.tar.gz
>>> Unpacking source...
>>> Unpacking mysqlnavigator-1.4.2.tar.gz to /var/tmp/portage/mysqlnavigator-1.4.2/work
>>> Unpacking mysqlnavigator-1.4.2-gcc34.patch.tar.gz to /var/tmp/portage/mysqlnavigator-1.4.2/work
 * Applying mysqlnavigator-1.4.2-gcc34.patch ...                                                                        [ ok ] * Applying about.cxx-long-lines.patch ...

 * Failed Patch: about.cxx-long-lines.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/mysqlnavigator-1.4.2/temp/about.cxx-long-lines.patch-29704.out


!!! ERROR: dev-db/mysqlnavigator-1.4.2 failed.
!!! Function epatch, Line 402, Exitcode 0
!!! Failed Patch: about.cxx-long-lines.patch!
!!! If you need support, post the topmost build error, NOT this status message.



===========================================
/var/tmp/portage/mysqlnavigator-1.4.2/temp/about.cxx-long-lines.patch-29704.out

says


***** about.cxx-long-lines.patch *****

======================================

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/dev-db/mysqlnavigator/files/about.cxx-long-lines.patch

======================================
patching file src/mysql/about/about.cxx
Hunk #1 FAILED at 82.
1 out of 1 hunk FAILED -- saving rejects to file src/mysql/about/about.cxx.rej
======================================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/dev-db/mysqlnavigator/files/about.cxx-long-lines.patch

======================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/mysql/about/about.cxx.orig	2004-01-28 03:18:38.600810283 +0000
|+++ src/mysql/about/about.cxx	2004-01-28 03:18:49.195573104 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
======================================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/dev-db/mysqlnavigator/files/about.cxx-long-lines.patch

======================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- src/mysql/about/about.cxx.orig	2004-01-28 03:18:38.600810283 +0000
|+++ src/mysql/about/about.cxx	2004-01-28 03:18:49.195573104 +0000
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
======================================



I cant find the src/mydql/ directory anywhere.


BTW How long does it take for this to get into portage?

------- Comment #14 From Simon Bühler 2005-01-11 17:43:37 0000 -------
yes please put this into portage!
had to add "inherit eutils" at the beginning of the ebuild to aviod an "epatch not found " error

------- Comment #15 From matthew.cline@gmail.com 2005-03-06 10:01:28 0000 -------
I get the same error as comment #12. Should I open a new bug for this problem?


Here is my emerge --info:



Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 13 2005, 17:08:31)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi alsa apm arts avi berkdb bitmap-fonts bzlib cddb cdr crypt cups curl emboss encode esd f77 fam flac foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imagemagick imlib innodb ipv6 ithreads java jpeg jpeg2k junit kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perlpic png pthreads python qt quicktime readline ruby sdl spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vim-with-x xine xml xml2 xmms xprint xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

------- Comment #16 From Angelo Arrifano (AMD64 AT) 2005-05-08 16:15:06 0000 -------
I successfully emerged dev-db/mysqlnavigator-1.4.1 after some minor
modifications.
here they are:

about.cxx:
----------
line 85: instruction line is wrapped on some lines. correct unwrapping that
lines.

mainwindowslotschema.cxx
------------------------
due to mysql changes in their headers,
line 10: add: #define USE_OLD_FUNCTIONS
line 11: add: #include "mysql.h"

this will make mysqlnavigator use old functions for compatibility

hope this helps. ;)
thanks to all gentoo team,
aka miknix, a gentoo fan.

------- Comment #17 From Angelo Arrifano (AMD64 AT) 2005-05-08 16:21:58 0000 -------
Created an attachment (id=58415) [edit]
These are the fixed sources for dev-db/mysqlnavigator-1.4.1. Replace to
sucessfully emerge.

------- Comment #18 From Angelo Arrifano (AMD64 AT) 2005-05-09 07:18:23 0000 -------
Created an attachment (id=58477) [edit]
Patch for dev-db/mysqlnavigator-1.4.1 fine build.

This is dev-db/mysqlnavigator-1.4.1 patch for emerging it without errors.

------- Comment #19 From Angelo Arrifano (AMD64 AT) 2005-05-09 07:21:53 0000 -------
(From update of attachment 58477 [edit])
this is the patch based on my minor alterations commented before.

------- Comment #20 From Tobias Sager 2005-05-31 06:05:57 0000 -------
This could go to portage reading from the comments..

------- Comment #21 From Tiago Freire 2005-06-01 13:43:31 0000 -------
looks like it is an ancient issue, with a simple fix. Is there a good reason
for
it not to be added to portage?

------- Comment #22 From Andre Hinrichs 2005-07-11 07:22:27 0000 -------
Created an attachment (id=63145) [edit]
more clean patch file

This is a tarball of two separate patches one for the about.cxx file and one
for
the mysql header fix. I've removed the unnecessary newline patches since
they make the patch a bit complex.
I hope this one is clear enough to find its way into CVS.

I'd like to suggest to add this (or the last more complex) patch to CVS as soon

as possible.

------- Comment #23 From Peter Doerfler 2005-08-09 02:33:55 0000 -------
PING. 
 
I just patched the file manually to get it running (didn't look for the 
bugzilla entry before). Please put this into portage. 
 
Thanks, Peter 

------- Comment #24 From Francesco R. (RETIRED) 2005-08-17 11:59:19 0000 -------
1st:
Michael Hanselmann, please mark stable 1.4.2 on ppc (or remove stable to 1.4.1 ;)

Ok, let's start:

- mysqlnavigator-1.4.[21] now support >=dev-db/mysql-4.1.3
- applied blindly patch from #c22 (only compile test done, never run it, 1.4.2 has)
- It's dead and burried upstream
- mysqlnavigator-1.4.1 need big patches, 1.4.2 not (temporary they are in CVS).
- 1.4.2 is now stable on x86 (the only other arch stable for 1.4.1)
- Personally I want to keep one and only one version of this ebuild.

Speak now or 1.4.1 will disappear from the tree soon.

------- Comment #25 From Michael Hanselmann (hansmi) (RETIRED) 2005-08-17 12:34:01 0000 -------
Stable on ppc -- and that comment about CC: was meant for future, not about
this
bug. And please add the arch alias, not a specific developer.

------- Comment #26 From Jakub Moc 2006-07-22 09:06:51 0000 -------
  17 Aug 2005; Francesco Riosa <vivo@gentoo.org>
  +files/mysqlnavigator-1.4.1-about.patch,
  +files/mysqlnavigator-1.4.1-mysql.patch,
  +files/mysqlnavigator-1.4.2-mysql-gt-4.1.3.patch,
  mysqlnavigator-1.4.1.ebuild, mysqlnavigator-1.4.2.ebuild:
  Fix bug #40217, add support for >=mysql-4.1.3

Closing.

First Last Prev Next    No search results available      Search page      Enter new bug