[MacPorts] #18377: Missing db185_int.h
#18377: Missing db185_int.h ---------------------------------+------------------------------------------ Reporter: robdbirch@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: ImageMagick db46 | Port: ImageMagick ---------------------------------+------------------------------------------
sudo port install ImageMagick
---> Building db46 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/work/db-4.6.21/build_unix" && make all " returned error 2 Command output: /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/optcd /local/include ../dist/../db_dump185/db_dump185.c /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/opt/local/include ../dist/../db_dump185/db_dump185.c -fno-common -DPIC -o .libs/db_dump185.o ../dist/../db_dump185/db_dump185.c: In function 'main': ../dist/../db_dump185/db_dump185.c:211: warning: assignment makes pointer from integer without a cast ../dist/../db_dump185/db_dump185.c:213: warning: assignment makes pointer from integer without a cast ../dist/../db_dump185/db_dump185.c:228: error: 'struct __db' has no member named 'seq' ../dist/../db_dump185/db_dump185.c:228: error: 'R_NEXT' undeclared (first use in this function) ../dist/../db_dump185/db_dump185.c:228: error: (Each undeclared identifier is reported only once ../dist/../db_dump185/db_dump185.c:228: error: for each function it appears in.) ../dist/../db_dump185/db_dump185.c:233: error: 'struct __db' has no member named 'seq' ../dist/../db_dump185/db_dump185.c: In function 'db_hash': ../dist/../db_dump185/db_dump185.c:261: error: 'struct __db' has no member named 'internal' ../dist/../db_dump185/db_dump185.c:263: error: 'struct __db' has no member named 'internal' ../dist/../db_dump185/db_dump185.c: In function 'db_btree': ../dist/../db_dump185/db_dump185.c:288: error: 'struct __db' has no member named 'internal' make: *** [db_dump185.lo] Error 1 Error: The following dependencies failed to build: xorg-libs xorg-libxcb xorg-xcb-proto python26 db46 gdbm openssl readline sqlite3 tk tcl xorg- libxkbfile xorg-libxkbui xorg-xcb-util Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/18377> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18377: Missing db185_int.h ---------------------------------+------------------------------------------ Reporter: robdbirch@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: ImageMagick | Port: db46 ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * keywords: ImageMagick db46 => ImageMagick * owner: macports-tickets@… => blair@… * port: ImageMagick => db46 Old description:
sudo port install ImageMagick
---> Building db46 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/work/db-4.6.21/build_unix" && make all " returned error 2 Command output: /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/optcd /local/include ../dist/../db_dump185/db_dump185.c /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/opt/local/include ../dist/../db_dump185/db_dump185.c -fno-common -DPIC -o .libs/db_dump185.o ../dist/../db_dump185/db_dump185.c: In function 'main': ../dist/../db_dump185/db_dump185.c:211: warning: assignment makes pointer from integer without a cast ../dist/../db_dump185/db_dump185.c:213: warning: assignment makes pointer from integer without a cast ../dist/../db_dump185/db_dump185.c:228: error: 'struct __db' has no member named 'seq' ../dist/../db_dump185/db_dump185.c:228: error: 'R_NEXT' undeclared (first use in this function) ../dist/../db_dump185/db_dump185.c:228: error: (Each undeclared identifier is reported only once ../dist/../db_dump185/db_dump185.c:228: error: for each function it appears in.) ../dist/../db_dump185/db_dump185.c:233: error: 'struct __db' has no member named 'seq' ../dist/../db_dump185/db_dump185.c: In function 'db_hash': ../dist/../db_dump185/db_dump185.c:261: error: 'struct __db' has no member named 'internal' ../dist/../db_dump185/db_dump185.c:263: error: 'struct __db' has no member named 'internal' ../dist/../db_dump185/db_dump185.c: In function 'db_btree': ../dist/../db_dump185/db_dump185.c:288: error: 'struct __db' has no member named 'internal' make: *** [db_dump185.lo] Error 1
Error: The following dependencies failed to build: xorg-libs xorg-libxcb xorg-xcb-proto python26 db46 gdbm openssl readline sqlite3 tk tcl xorg- libxkbfile xorg-libxkbui xorg-xcb-util Error: Status 1 encountered during processing.
New description: {{{
sudo port install ImageMagick
---> Building db46 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/work/db-4.6.21/build_unix" && make all " returned error 2 Command output: /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/optcd /local/include ../dist/../db_dump185/db_dump185.c /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/opt/local/include ../dist/../db_dump185/db_dump185.c -fno-common -DPIC -o .libs/db_dump185.o ../dist/../db_dump185/db_dump185.c: In function 'main': ../dist/../db_dump185/db_dump185.c:211: warning: assignment makes pointer from integer without a cast ../dist/../db_dump185/db_dump185.c:213: warning: assignment makes pointer from integer without a cast ../dist/../db_dump185/db_dump185.c:228: error: 'struct __db' has no member named 'seq' ../dist/../db_dump185/db_dump185.c:228: error: 'R_NEXT' undeclared (first use in this function) ../dist/../db_dump185/db_dump185.c:228: error: (Each undeclared identifier is reported only once ../dist/../db_dump185/db_dump185.c:228: error: for each function it appears in.) ../dist/../db_dump185/db_dump185.c:233: error: 'struct __db' has no member named 'seq' ../dist/../db_dump185/db_dump185.c: In function 'db_hash': ../dist/../db_dump185/db_dump185.c:261: error: 'struct __db' has no member named 'internal' ../dist/../db_dump185/db_dump185.c:263: error: 'struct __db' has no member named 'internal' ../dist/../db_dump185/db_dump185.c: In function 'db_btree': ../dist/../db_dump185/db_dump185.c:288: error: 'struct __db' has no member named 'internal' make: *** [db_dump185.lo] Error 1 Error: The following dependencies failed to build: xorg-libs xorg-libxcb xorg-xcb-proto python26 db46 gdbm openssl readline sqlite3 tk tcl xorg- libxkbfile xorg-libxkbui xorg-xcb-util Error: Status 1 encountered during processing. }}} -- -- Ticket URL: <http://trac.macports.org/ticket/18377#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18377: Missing db185_int.h ---------------------------------+------------------------------------------ Reporter: robdbirch@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: ImageMagick | Port: db46 ---------------------------------+------------------------------------------ Comment(by blair@…): Do you have any software installed /usr/local, that's where this problem occurs? Make sure you keep your /usr/local clean of any other headers and libraries to avoid this problems. -- Ticket URL: <http://trac.macports.org/ticket/18377#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18377: Missing db185_int.h ----------------------------------+----------------------------------------- Reporter: robdbirch@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: invalid | Keywords: ImageMagick Port: db46 | ----------------------------------+----------------------------------------- Changes (by blair@…): * status: new => closed * resolution: => invalid Comment: Via direct email from Robert, closing the ticket. -- Ticket URL: <http://trac.macports.org/ticket/18377#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18377: Missing db185_int.h ----------------------------------+----------------------------------------- Reporter: robdbirch@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: invalid | Keywords: ImageMagick Port: db46 | ----------------------------------+----------------------------------------- Comment(by robdbirch@…): Thanks for your help. I did have some items in /usr/local. One of the items was the TeX distribution which had a Magick++ binary distribution. At this time I gave up on the Macports. Not sure if this matters, but just as an FYI, I did do a find in the /opt/local for db185_int.h and it was no where to be found? -- Ticket URL: <http://trac.macports.org/ticket/18377#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18377: Missing db185_int.h ----------------------------------+----------------------------------------- Reporter: robdbirch@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: invalid | Keywords: ImageMagick Port: db46 | ----------------------------------+----------------------------------------- Comment(by blair@…): It's not clear what is in there that causes the bad compile, but when there is, it can cause this issue. If /usr/local is empty, then db46 always build successfully. -- Ticket URL: <http://trac.macports.org/ticket/18377#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18377: Missing db185_int.h ----------------------------------+----------------------------------------- Reporter: robdbirch@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: invalid | Keywords: ImageMagick Port: db46 | ----------------------------------+----------------------------------------- Comment(by jeremy.g.ross@…): I'm having the same problem: {{{ ../dist/../db_dump185/db_dump185.c: In function 'main': ../dist/../db_dump185/db_dump185.c:211: warning: assignment makes pointer from integer without a cast }}} -- Ticket URL: <http://trac.macports.org/ticket/18377#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18377: Missing db185_int.h ----------------------------------+----------------------------------------- Reporter: robdbirch@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: invalid | Keywords: ImageMagick Port: db46 | ----------------------------------+----------------------------------------- Comment(by jeremy.g.ross@…): I got passed this by doing: {{{ sudo mv /usr/local /usr/local-off }}} -- Ticket URL: <http://trac.macports.org/ticket/18377#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts