Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42286 - maxdb-devtools-src-562049.ebuild (new package)
Summary: maxdb-devtools-src-562049.ebuild (new package)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on: 42465
Blocks:
  Show dependency tree
 
Reported: 2004-02-20 11:11 UTC by Hermann Mundprecht
Modified: 2018-06-07 18:24 UTC (History)
7 users (show)

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


Attachments
maxdb-devtools-src-7.5.0.8.ebuild (new package) (maxdb-devtools-src-7.5.0.8.ebuild,2.41 KB, text/plain)
2004-02-20 11:13 UTC, Hermann Mundprecht
Details
maxdb-devtools-src-7.5.0.8-r1.ebuild (new version) (maxdb-devtools-src-7.5.0.8-r1.ebuild,2.39 KB, text/plain)
2004-03-03 07:59 UTC, Hermann Mundprecht
Details
maxdb-devtools-src-7.5.0.8-r2.ebuild (new version) (maxdb-devtools-src-7.5.0.8-r2.ebuild,2.39 KB, text/plain)
2004-03-04 12:15 UTC, Hermann Mundprecht
Details
Configure file for MaxDB Web server (sdb-web,244 bytes, text/plain)
2004-03-20 22:26 UTC, Chester Chee
Details
MaxDB Web server startup script (sdb-web,560 bytes, text/plain)
2004-03-20 22:27 UTC, Chester Chee
Details
maxdb-devtools-src-7.5.0.8-r3.ebuild (new version) (maxdb-devtools-src-7.5.0.8-r3.ebuild,2.63 KB, text/plain)
2004-04-13 19:34 UTC, Hermann Mundprecht
Details
maxdb-devtools-src-528670.ebuild (new ebuild) (maxdb-devtools-src-528670.ebuild,3.49 KB, text/plain)
2004-12-08 12:50 UTC, Hermann Mundprecht
Details
maxdb-devtools-src-533920.ebuild (new ebuild) (maxdb-devtools-src-533920.ebuild,3.59 KB, text/plain)
2005-01-14 08:54 UTC, Hermann Mundprecht
Details
maxdb-devtools-src-562049.ebuild (new ebuild) (maxdb-devtools-src-562049.ebuild,2.99 KB, text/plain)
2005-08-19 09:53 UTC, Hermann Mundprecht
Details
Patch to compile ptoc.c with gcc-3.4.4-r1 (ptoc-gcc3.4.patch,557 bytes, patch)
2005-12-17 18:12 UTC, Urs Joss
Details | Diff
maxdb-devtools-src-562049-r1.ebuild (new ebuild) (maxdb-devtools-src-562049-r1.ebuild,3.09 KB, text/plain)
2006-01-06 11:57 UTC, Hermann Mundprecht
Details
maxdb-devtools-src-562049.patch (used by maxdb-devtools-src-562049-r1.ebuild) (maxdb-devtools-src-562049.patch,1.45 KB, patch)
2006-01-06 12:00 UTC, Hermann Mundprecht
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hermann Mundprecht 2004-02-20 11:11:27 UTC
Hi !
Please find attached an ebuild for maxdb-devutils.

This is needed to build maxdb from sources.
MaxDb is a enterprise grade DB-system that was formaly known as SAPDB and is now maintained by mysql.

The goal of this ebuild is to build maxdb on gentoo from the sources and not installing the binaries.

I will submit the ebuild and patches for maxdb itself a little bit later (when i finished testing)

Please be patient as this is my first ebuild.

regards Mundi

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Hermann Mundprecht 2004-02-20 11:13:53 UTC
Created attachment 25993 [details]
maxdb-devtools-src-7.5.0.8.ebuild (new package)
Comment 2 Hermann Mundprecht 2004-03-03 07:59:13 UTC
Created attachment 26771 [details]
maxdb-devtools-src-7.5.0.8-r1.ebuild (new version)

changed the download path to the original ftp adress from sap.
Comment 3 Hermann Mundprecht 2004-03-04 12:15:24 UTC
Created attachment 26853 [details]
maxdb-devtools-src-7.5.0.8-r2.ebuild (new version)

fixed a bug in the depend list (python).
sorry for this
Comment 4 Chester Chee 2004-03-20 22:26:24 UTC
Created attachment 27721 [details]
Configure file for MaxDB Web server
Comment 5 Chester Chee 2004-03-20 22:27:01 UTC
Created attachment 27722 [details]
MaxDB Web server startup script
Comment 6 Hermann Mundprecht 2004-04-13 19:34:38 UTC
Created attachment 29242 [details]
maxdb-devtools-src-7.5.0.8-r3.ebuild (new version)

Fixed a bug regarding the creation of the global SAP DB Registry
(/usr/spool/sql/config).
Thanks Aelus for reporting the bug in the forum
Comment 7 Hermann Mundprecht 2004-12-08 12:50:51 UTC
Created attachment 45562 [details]
maxdb-devtools-src-528670.ebuild (new ebuild)

This is the new version of the maxdb-buildtools that are needed to build the
maxdb system from sources.
This version is needed if you whant to install maxdb 7.5.0.18.

I sucessfully build a maxdb on a 2004.2 type and on a 1.4 typ installation.

regards mundi
Comment 8 Hermann Mundprecht 2005-01-14 08:54:03 UTC
Created attachment 48473 [details]
maxdb-devtools-src-533920.ebuild (new ebuild)
Comment 9 Dirk Heinrichs 2005-03-31 01:45:34 UTC
I tried to build the tools, but get the following error message:

make[3]: Entering directory `/gentoo/build/portage/maxdb-devtools-src-533920/work/TOOLSRC/sys/src/base/ptoc/ptoc'
cc -DLINUX -DI386 -DSYSV -DCC -O -g -fPIC -DOPTIMIZING -DFLEX -DJOCHEN  -o ptoc ptoc.c Version.c
ptoc.c:69: error: conflicting types for 'malloc'
ptoc.c:69: error: conflicting types for 'malloc'
ptoc.c: In function `main':
ptoc.c:300: warning: passing arg 2 of `signal' from incompatible pointer type
ptoc.c:301: warning: passing arg 2 of `signal' from incompatible pointer type
ptoc.c: At top level:
ptoc.c:721: warning: static declaration of 'init_globals' follows non-static declaration
ptoc.c:287: warning: previous implicit declaration of 'init_globals' was here
ptoc.c:735: warning: static declaration of 'sete' follows non-static declaration
ptoc.c:724: warning: previous implicit declaration of 'sete' was here
make[3]: *** [ptoc] Error 1
make[3]: Leaving directory `/gentoo/build/portage/maxdb-devtools-src-533920/work/TOOLSRC/sys/src/base/ptoc/ptoc'
make[2]: *** [csys] Error 2
make[2]: Leaving directory `/gentoo/build/portage/maxdb-devtools-src-533920/work/TOOLSRC/sys/src/base/ptoc'
make[1]: *** [ptocall] Error 2
make[1]: Leaving directory `/gentoo/build/portage/maxdb-devtools-src-533920/work/TOOLSRC/sys/src/base'
make: *** [base] Error 2
Comment 10 Péter Németh 2005-08-04 01:50:28 UTC
Hi!

I found the following problem when I tried to use the native interface for Pytho
DBI with maxdb.

Unicode error when loading native libraries for Python DBI.

I have sucessfully built latest maxdb-webtools-src and maxdb-webtools.
When I tried to load /opt/sdb/programs/lib/python2.3/sdb/sqlmodule.so library
into python, then I got the following error message: 
undefined symbol: PyUnicodeUCS2_FromUnicode

I found a conditional define in the following header files:
./TOOLSRC/sys/src/extern/python/sdk-py22/unicodeobject.h
./TOOLSRC/sys/src/extern/python/sdk-py23/unicodeobject.h

Line 79-81:
#if Py_UNICODE_SIZE >= 4
#define Py_UNICODE_WIDE
#endif

It seems when building the devtools Py_UNICODE_SIZE is not defined, so the
libraries for python are built with UCS2 support, not with UCS4. This causes the
problem with python on gentoo linux. (I am using python version 2.4)

I removed the conditional define, (removed lines 79 and 81, and left only 
#define Py_UNICODE_WIDE) and rebuilt maxdb-devtools-src and maxdb-src, then the
new DBI libraries for python are working, and they are built with UCS4 support.

Regards,
Peter Nemeth
Comment 11 Hermann Mundprecht 2005-08-19 09:53:08 UTC
Created attachment 66327 [details]
maxdb-devtools-src-562049.ebuild (new ebuild)

This is the version needed to build maxdb version 7.6.0.12 from sources
Comment 12 Urs Joss 2005-12-17 18:11:13 UTC
Hi

I have recently switched from gcc-3.3.6 to gcc-4.4 (on Gentoo linux).

In order to compile this ebuild, I needed to patch ptoc.c. I'll attach the patch as file and add the patch to the current ebuild as comment:

--- maxdb-devtools-src-562049.ebuild.ori        2005-12-18 03:10:31.000000000 +0100
+++ maxdb-devtools-src-562049.ebuild    2005-12-18 03:03:00.000000000 +0100
@@ -51,6 +51,7 @@
        unpack ${A} || die

        cd ${WORKDIR}/${SRC_DEVTOOLDIR}
+       epatch ${FILESDIR}/ptoc-gcc3.4.patch
        ./configure
 }
Comment 13 Urs Joss 2005-12-17 18:12:44 UTC
Created attachment 74977 [details, diff]
Patch to compile ptoc.c with gcc-3.4.4-r1
Comment 14 Urs Joss 2005-12-17 18:19:33 UTC
funny me mentioning that I work on Gentoo linux - on a gentoo bugzilla ;-) It's definteley getting late...
Comment 15 Hermann Mundprecht 2006-01-06 11:57:39 UTC
Created attachment 76377 [details]
maxdb-devtools-src-562049-r1.ebuild (new ebuild)

New ebuild for maxdb-devtools.
This version is meant to be used with gcc >=3.4.4.
The ebuild and the patch that it uses make the patch by Urs Joss obsolete.

Thanks Urs for your work and your testing !
Comment 16 Hermann Mundprecht 2006-01-06 12:00:03 UTC
Created attachment 76378 [details, diff]
maxdb-devtools-src-562049.patch (used by maxdb-devtools-src-562049-r1.ebuild)

patch to make devtools compile with gcc 3.4.4 and to make it use the CFLAGS form /etc/make.conf
Comment 17 Urs Joss 2006-01-06 13:17:17 UTC
Comment on attachment 74977 [details, diff]
Patch to compile ptoc.c with gcc-3.4.4-r1

Thanks a lot for your work, mundi!
Comment 18 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-29 18:53:32 UTC
(this is an automated message based on filtering criteria that matched this bug)

Hello, The Gentoo Team would like to firstly thank you for your ebuild
submission. We also apologize for not being able to accomendate you on a timely
manor. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise
overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and
all users can have ebuilds reviewed by Gentoo devs for entry into the overlay.
So, the sunrise team is suggesting that you look into this and submit your
ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. We
anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 19 Brian Evans (RETIRED) gentoo-dev 2015-03-20 19:50:28 UTC
mysql team is not interested, dropping from cc