Thread: configure error on cvs tip

configure error on cvs tip

From
Joe Conway
Date:
I just sync'd up with cvs and tried to make clean then configure, and I'm 
getting this:

config.status: linking ./src/backend/libpq/v6util.c to 
src/interfaces/libpq/v6util.c
config.status: error: ./src/backend/libpq/v6util.c: file not found

Is this a missing file from the ipv6 stuff that just got committed?

Thanks,

Joe



Re: configure error on cvs tip

From
Bruce Momjian
Date:
Fixing now.  This just isn't my night --- another patch with a missing
file.


---------------------------------------------------------------------------

Joe Conway wrote:
> I just sync'd up with cvs and tried to make clean then configure, and I'm 
> getting this:
> 
> config.status: linking ./src/backend/libpq/v6util.c to 
> src/interfaces/libpq/v6util.c
> config.status: error: ./src/backend/libpq/v6util.c: file not found
> 
> Is this a missing file from the ipv6 stuff that just got committed?
> 
> Thanks,
> 
> Joe
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


Re: configure error on cvs tip

From
Joe Conway
Date:
Bruce Momjian wrote:
> Fixing now.  This just isn't my night --- another patch with a missing
> file.
> 

OK - I can run configure and make now, but I'm getting these warnings:

In file included from ../../../../src/include/libpq/libpq.h:22,                 from printtup.c:20:
../../../../src/include/libpq/v6util.h:3: warning: `struct addrinfo' declared 
inside parameter list
../../../../src/include/libpq/v6util.h:3: warning: its scope is only this 
definition or declaration, which is probably not what you want.
../../../../src/include/libpq/v6util.h:5: warning: `struct addrinfo' declared 
inside parameter list

lots of similar warnings to the above -- and:

auth.c: In function `ClientAuthentication':
auth.c:414: warning: passing arg 1 of `isAF_INETx' from incompatible pointer type
gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations 
-I../../../src/include   -c -o crypt.o crypt.c -MMD
In file included from ../../../src/include/libpq/libpq.h:22,                 from crypt.c:24:

Joe



Re: configure error on cvs tip

From
Bruce Momjian
Date:
Yep, I am about to yank out the whole patch.  I am seeing on postmaster
startup:
LOG:  FATAL: StreamServerPort: getaddrinfo2() failed: hostnamenor servname provided, or not known
What is strange is that initdb worked.  I will just throw it back to the
author.

Done. Code is returned to author for review.

---------------------------------------------------------------------------

Joe Conway wrote:
> Bruce Momjian wrote:
> > Fixing now.  This just isn't my night --- another patch with a missing
> > file.
> > 
> 
> OK - I can run configure and make now, but I'm getting these warnings:
> 
> In file included from ../../../../src/include/libpq/libpq.h:22,
>                   from printtup.c:20:
> ../../../../src/include/libpq/v6util.h:3: warning: `struct addrinfo' declared 
> inside parameter list
> ../../../../src/include/libpq/v6util.h:3: warning: its scope is only this 
> definition or declaration, which is probably not what you want.
> ../../../../src/include/libpq/v6util.h:5: warning: `struct addrinfo' declared 
> inside parameter list
> 
> lots of similar warnings to the above -- and:
> 
> auth.c: In function `ClientAuthentication':
> auth.c:414: warning: passing arg 1 of `isAF_INETx' from incompatible pointer type
> gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations 
> -I../../../src/include   -c -o crypt.o crypt.c -MMD
> In file included from ../../../src/include/libpq/libpq.h:22,
>                   from crypt.c:24:
> 
> Joe
> 
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


Re: configure error on cvs tip

From
Joe Conway
Date:
Bruce Momjian wrote:
> Yep, I am about to yank out the whole patch.  I am seeing on postmaster
> startup:
> 
>     LOG:  FATAL: StreamServerPort: getaddrinfo2() failed: hostname
>     nor servname provided, or not known
>     
> What is strange is that initdb worked.  I will just throw it back to the
> author.
> 
> Done. Code is returned to author for review.
> 

hmmm -- now I'm back to :

config.status: linking ./src/backend/libpq/v6util.c to 
src/interfaces/libpq/v6util.c
config.status: error: ./src/backend/libpq/v6util.c: file not found

Joe




Re: configure error on cvs tip

From
Bruce Momjian
Date:
BJoe Conway wrote:
> Bruce Momjian wrote:
> > Yep, I am about to yank out the whole patch.  I am seeing on postmaster
> > startup:
> > 
> >     LOG:  FATAL: StreamServerPort: getaddrinfo2() failed: hostname
> >     nor servname provided, or not known
> >     
> > What is strange is that initdb worked.  I will just throw it back to the
> > author.
> > 
> > Done. Code is returned to author for review.
> > 
> 
> hmmm -- now I'm back to :
> 
> config.status: linking ./src/backend/libpq/v6util.c to 
> src/interfaces/libpq/v6util.c
> config.status: error: ./src/backend/libpq/v6util.c: file not found

Sorry.  Run autoconf.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


Re: configure error on cvs tip

From
Joe Conway
Date:
Bruce Momjian wrote:
> Sorry.  Run autoconf.
> 

OK -- works now. I've never needed to do that before.

Thanks!

Joe



IPv6 patch rejected

From
Bruce Momjian
Date:
The INETv6 patch was rejected because of this report, and an error on
postmaster startup from BSD/OS:
LOG:  FATAL: StreamServerPort: getaddrinfo2() failed: hostname norservname provided, or not known

Please submit a new patch that addresses these issues.  I can work with
you to do testing.

---------------------------------------------------------------------------

Joe Conway wrote:
> Bruce Momjian wrote:
> > Fixing now.  This just isn't my night --- another patch with a missing
> > file.
> > 
> 
> OK - I can run configure and make now, but I'm getting these warnings:
> 
> In file included from ../../../../src/include/libpq/libpq.h:22,
>                   from printtup.c:20:
> ../../../../src/include/libpq/v6util.h:3: warning: `struct addrinfo' declared 
> inside parameter list
> ../../../../src/include/libpq/v6util.h:3: warning: its scope is only this 
> definition or declaration, which is probably not what you want.
> ../../../../src/include/libpq/v6util.h:5: warning: `struct addrinfo' declared 
> inside parameter list
> 
> lots of similar warnings to the above -- and:
> 
> auth.c: In function `ClientAuthentication':
> auth.c:414: warning: passing arg 1 of `isAF_INETx' from incompatible pointer type
> gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations 
> -I../../../src/include   -c -o crypt.o crypt.c -MMD
> In file included from ../../../src/include/libpq/libpq.h:22,
>                   from crypt.c:24:
> 
> Joe
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073