Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 246255

Summary: sci-chemistry/pdb-extract-1.700 - ./src/ndb_htmllib.C:2325: error: ???NDB_MSG_ERR??? was not declared in this scope
Product: Gentoo Linux Reporter: Justin Lecher (RETIRED) <jlec>
Component: New packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
Status: RESOLVED FIXED    
Severity: normal CC: dilfridge, flameeyes, qa
Priority: High Keywords: EBUILD, InOverlay
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sw-tools.pdb.org/apps/PDB_EXTRACT/index.html
Whiteboard: [sci overlay]
Package list:
Runtime testing required: ---
Bug Depends on: 249933    
Bug Blocks:    
Attachments: /tmp/build.log
/tmp/emerge.info

Description Justin Lecher (RETIRED) gentoo-dev 2008-11-10 08:38:22 UTC
sci-chemistry/pdb-extract-1.700 emerge breaks with folowing error:

/src/ndb_htmllib.C: In function ‘void ht_check_post_request()’:
./src/ndb_htmllib.C:2325: error: ‘NDB_MSG_ERR’ was not declared in this scope
./src/ndb_htmllib.C:2326: error: ‘ndb_log_message_text’ was not declared in this scope
./src/ndb_htmllib.C: In function ‘int ht_decode_post_query(entry*)’:
./src/ndb_htmllib.C:2384: error: ‘NDB_MSG_INFO’ was not declared in this scope
./src/ndb_htmllib.C:2384: error: ‘ndb_log_message_text’ was not declared in this scope
./src/ndb_htmllib.C:2432: error: ‘NDB_MSG_DEBUG’ was not declared in this scope
./src/ndb_htmllib.C: In function ‘int ht_decode_post_query1(entry*)’:
./src/ndb_htmllib.C:2448: error: ‘NDB_MSG_INFO’ was not declared in this scope
./src/ndb_htmllib.C:2448: error: ‘ndb_log_message_text’ was not declared in this scope
./src/ndb_htmllib.C:2468: error: ‘NDB_MSG_DEBUG’ was not declared in this scope
./src/ndb_htmllib.C: In function ‘int ht_decode_get_query(entry*)’:
./src/ndb_htmllib.C:2518: error: ‘NDB_MSG_DEBUG’ was not declared in this scope
./src/ndb_htmllib.C:2518: error: ‘ndb_log_message_text’ was not declared in this scope
make[1]: *** [obj/ndb_htmllib.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-chemistry/pdb-extract-1.700/work/pdb-extract-v1.700-prod-src/htmllib-v3.1'
make: *** [compile] Error 1


Full emerge log attached. Probably a gcc-4.3 include missing thing. There are some version bump --> 2 and 3.x. Probably this is fixed upstream and we should just bump.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2008-11-10 08:39:36 UTC
Created attachment 171276 [details]
/tmp/build.log

build.log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2008-11-10 08:43:09 UTC
Created attachment 171278 [details]
/tmp/emerge.info

emerge.info
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2008-11-10 08:58:57 UTC
This shows up when sci-libs/cifparse-obj-7.025 is installed, because it installes the ndb_misclib.h not in /usr/include/rcsb, but in /usr/include/cifparse-obj.
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2008-11-11 17:12:14 UTC
(In reply to comment #3)
> This shows up when sci-libs/cifparse-obj-7.025 is installed, because it
> installes the ndb_misclib.h not in /usr/include/rcsb, but in
> /usr/include/cifparse-obj.
> 

Thanks for tracking this down. Unfortunately, even after fixing
the includes, pdb-extract doesn't seem to compile against cifparse-obj-7.025 
due to missing member functions etc. I guess it is time for a version bump ;)

Best,
Markus
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2008-11-11 18:29:02 UTC
(In reply to comment #4)
> Thanks for tracking this down. Unfortunately, even after fixing
> the includes, pdb-extract doesn't seem to compile against cifparse-obj-7.025 
> due to missing member functions etc. I guess it is time for a version bump ;)
> 
The path is set in one of the patches, but still after correcting this, there are huge number of missing include to fix. Shall I write the bump?
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2008-11-12 13:11:24 UTC
(In reply to comment #5)
> The path is set in one of the patches, but still after correcting this, there
> are huge number of missing include to fix. Shall I write the bump?
> 

That would be great, thanks in advance! I am currently in the middle of
preparing for a conference and won't have much time to do it myself until 
I return.

I had a brief look at the most recent version available (3.004) last night
but it looks like their makefile(s) are pretty badly broken and will probably
need quite a bit of massaging.

cheers,
Markus

Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2008-11-12 14:49:23 UTC
(In reply to comment #6)
> I had a brief look at the most recent version available (3.004) last night
> but it looks like their makefile(s) are pretty badly broken and will probably
> need quite a bit of massaging.

Yeah, their whole setup is really a mess. Thanks to both of you for dealing with it.
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2008-11-12 16:35:36 UTC
(In reply to comment #4)
> Thanks for tracking this down. Unfortunately, even after fixing
> the includes, pdb-extract doesn't seem to compile against cifparse-obj-7.025 
> due to missing member functions etc. I guess it is time for a version bump ;)

No good news, even the newest version doesn't compile against cifparse-obj-7.025 due to missing headers which are included in the v6* package.
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2008-11-13 19:34:22 UTC
Had some time to have a closer look. Tryed to build the already suplied libs from sci-libs/cifparse-obj which are duplicated. Focusing on the mein app, but it won't compile fine. Will do some more "massages".
Comment 10 Markus Dittrich (RETIRED) gentoo-dev 2008-11-14 13:47:31 UTC
Thanks, Justin!
Comment 11 Justin Lecher (RETIRED) gentoo-dev 2008-12-05 13:10:41 UTC
I tryed hard to get it to work but without succes. Only building pdb-extract with the shipped cifsparse works. As it is basicaly the version 7.025, what do you think about using the included cifsparse and block the cifsparse package?
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2008-12-09 19:05:52 UTC
I would probably change the cifparse package to use the version from the pdbextract tarball.
Comment 13 Justin Lecher (RETIRED) gentoo-dev 2008-12-09 19:09:45 UTC
(In reply to comment #12)
> I would probably change the cifparse package to use the version from the
> pdbextract tarball.
> 

Sorry, didn't comment this bug. I had success with the "massages" bug 249933. We can build against latest cifparse the latest pdb-extract.
Comment 14 Justin Lecher (RETIRED) gentoo-dev 2009-04-28 18:34:39 UTC
fix is in sci overlay
Comment 15 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-30 19:09:57 UTC
*** Bug 248342 has been marked as a duplicate of this bug. ***
Comment 16 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-30 19:11:31 UTC
@sci-chemistry team:

The only reason why I'm not last-riting this right now is that I don want to bother tracking down the reverse dependencies.

If you got a fix in the sci overlay *import it in the tree*. This bug is at least year-old and I'm tired of this kind of stuff.
Comment 17 Justin Lecher (RETIRED) gentoo-dev 2009-11-30 19:15:06 UTC
(In reply to comment #16)
> @sci-chemistry team:
> 
> The only reason why I'm not last-riting this right now is that I don want to
> bother tracking down the reverse dependencies.
> 
> If you got a fix in the sci overlay *import it in the tree*. This bug is at
> least year-old and I'm tired of this kind of stuff.
> 

Could someone of the sci team please do that. The recruiters still need time to set me up, so I am not able to fix this myself in near future.
Comment 18 Markus Dittrich (RETIRED) gentoo-dev 2009-12-04 02:52:41 UTC
(In reply to comment #17)
> (In reply to comment #16)
> > @sci-chemistry team:
> > 
> > The only reason why I'm not last-riting this right now is that I don want to
> > bother tracking down the reverse dependencies.
> > 
> > If you got a fix in the sci overlay *import it in the tree*. This bug is at
> > least year-old and I'm tired of this kind of stuff.
> > 
> 
> Could someone of the sci team please do that. The recruiters still need time to
> set me up, so I am not able to fix this myself in near future.
> 

Hi Justin,

Thanks much for the 3.004 ebuild and I've just added it to the main
tree. Everything seems to work fine AFAICT.
We should push 3.004 into stable as soon as the 30 day
waiting period is over.

cheers,
Markus
Comment 19 Justin Lecher (RETIRED) gentoo-dev 2010-10-02 17:28:09 UTC
*** Bug 339494 has been marked as a duplicate of this bug. ***