pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #7771: packaging error causes build failure
4+ messages / 4 participants
[nested] [flat]

* BUG #7771: packaging error causes build failure
@ 2012-12-24 10:30 mamfelt@gmail.com
  2012-12-24 10:45 ` Re: BUG #7771: packaging error causes build failure Michael Felt <mamfelt@gmail.com>
  2012-12-24 14:54 ` Re: BUG #7771: packaging error causes build failure Tom Lane <tgl@sss.pgh.pa.us>
  2013-01-06 04:10 ` Re: BUG #7771: packaging error causes build failure Craig Ringer <craig@2ndquadrant.com>
  0 siblings, 3 replies; 4+ messages in thread

From: mamfelt@gmail.com @ 2012-12-24 10:30 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      7771
Logged by:          Michael Felt
Email address:      mamfelt@gmail.com
PostgreSQL version: 8.3.22
Operating system:   AIX
Description:        

There are three references to the file @LongLink in the tar file :
postgresql-8.3.22.tar.bz2

michael@x054:[/data/prj/pgsql]bzip2 -dc postgresql-8.3.22.tar.bz2 | tar tf -
| grep LongLink
././@LongLink
././@LongLink
././@LongLink


$ cat @LongLink
postgresql-8.3.22/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004/utf8_and_euc_jis_2004.c

make stops with following message. Looks as if the source file referenced in
@LongLink needed is missing

     356  1500-010: (W) WARNING in BackgroundWriterMain: Infinite loop. 
Program may not stop.
     221  1500-010: (W) WARNING in WalWriterMain: Infinite loop.  Program
may not stop.
    3638  1500-010: (W) WARNING in PostgresMain: Infinite loop.  Program may
not stop.
    1500-030: (I) INFORMATION: get_rule_expr: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
    1500-030: (I) INFORMATION: dch_date: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value greater
than 8192.
make[3]: *** No rule to make target `utf8_and_euc_jis_2004.o', needed by
`libutf8_and_euc_jis_2004.so.0'.  Stop.
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
+ make install DESTDIR=/var/tmp/root/postgresql-8.3.22.0 >
build/aix/install.out
make[3]: *** No rule to make target `utf8_and_euc_jis_2004.o', needed by
`libutf8_and_euc_jis_2004.so.0'.  Stop.
make[2]: *** [install] Error 2
make[1]: *** [install] Error 2
make: *** [install] Error 2
make install returned an error

michael@x054:[/data/prj/pgsql]find . -name utf8_and_euc_jis_2004.c
michael@x054:[/data/prj/pgsql]

p.s. @LongLink is also in the older distribution .bz2 files, I had just not
had the time to look into the error it caused. I hope you can at least
re-release this tar file so that all the files needed are in it!




-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #7771: packaging error causes build failure
  2012-12-24 10:30 BUG #7771: packaging error causes build failure mamfelt@gmail.com
@ 2012-12-24 10:45 ` Michael Felt <mamfelt@gmail.com>
  2 siblings, 0 replies; 4+ messages in thread

From: Michael Felt @ 2012-12-24 10:45 UTC (permalink / raw)
  To: pgsql-bugs

File  postgresql-8.4.15.tar.bz2 has the same error as
postgresql-8.3.22.tar.bz2

michael@x054:[/data/prj/pgsql]bzip2 -dc postgresql-8.3.22.tar.bz2 | tar tf
- | grep LongLink
././@LongLink
././@LongLink
././@LongLink
michael@x054:[/data/prj/pgsql]find . -name utf8_and_euc_jis_2004.c
michael@x054:[/data/prj/pgsql]rm @LongLink
rm: Remove @LongLink? y
michael@x054:[/data/prj/pgsql]bzip2 -dc postgresql-8.4.15.tar.bz2 | tar xf
-
tar: 0511-188 Cannot create ././@LongLink: The file access permissions do
not allow the specified action.
tar: 0511-188 Cannot create ././@LongLink: The file access permissions do
not allow the specified action.
michael@x054:[/data/prj/pgsql]chmod a+r @LongLink
michael@x054:[/data/prj/pgsql]cat @LongLink
postgresql-8.4.15/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004/utf8_and_euc_jis_2004.c

=========
The version 9 files are clean of this issue:
michael@x054:[/data/prj/pgsql]bzip2 -dc postgresql-9.0.11.tar.bz2 | tar xf -
michael@x054:[/data/prj/pgsql]bzip2 -dc postgresql-9.1.7.tar.bz2 | tar xf -
michael@x054:[/data/prj/pgsql]bzip2 -dc postgresql-9.2.2.tar.bz2 | tar xf -
=========

On Mon, Dec 24, 2012 at 11:30 AM, <mamfelt@gmail.com> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      7771
> Logged by:          Michael Felt
> Email address:      mamfelt@gmail.com
> PostgreSQL version: 8.3.22
> Operating system:   AIX
> Description:
>
> There are three references to the file @LongLink in the tar file :
> postgresql-8.3.22.tar.bz2
>
> michael@x054:[/data/prj/pgsql]bzip2 -dc postgresql-8.3.22.tar.bz2 | tar
> tf -
> | grep LongLink
> ././@LongLink
> ././@LongLink
> ././@LongLink
>
>
> $ cat @LongLink
>
> postgresql-8.3.22/src/backend/utils/mb/conversion_procs/utf8_and_euc_jis_2004/utf8_and_euc_jis_2004.c
>
> make stops with following message. Looks as if the source file referenced
> in
> @LongLink needed is missing
>
>      356  1500-010: (W) WARNING in BackgroundWriterMain: Infinite loop.
> Program may not stop.
>      221  1500-010: (W) WARNING in WalWriterMain: Infinite loop.  Program
> may not stop.
>     3638  1500-010: (W) WARNING in PostgresMain: Infinite loop.  Program
> may
> not stop.
>     1500-030: (I) INFORMATION: get_rule_expr: Additional optimization may
> be
> attained by recompiling and specifying MAXMEM option with a value greater
> than 8192.
>     1500-030: (I) INFORMATION: dch_date: Additional optimization may be
> attained by recompiling and specifying MAXMEM option with a value greater
> than 8192.
> make[3]: *** No rule to make target `utf8_and_euc_jis_2004.o', needed by
> `libutf8_and_euc_jis_2004.so.0'.  Stop.
> make[2]: *** [all] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
> + make install DESTDIR=/var/tmp/root/postgresql-8.3.22.0 >
> build/aix/install.out
> make[3]: *** No rule to make target `utf8_and_euc_jis_2004.o', needed by
> `libutf8_and_euc_jis_2004.so.0'.  Stop.
> make[2]: *** [install] Error 2
> make[1]: *** [install] Error 2
> make: *** [install] Error 2
> make install returned an error
>
> michael@x054:[/data/prj/pgsql]find . -name utf8_and_euc_jis_2004.c
> michael@x054:[/data/prj/pgsql]
>
> p.s. @LongLink is also in the older distribution .bz2 files, I had just not
> had the time to look into the error it caused. I hope you can at least
> re-release this tar file so that all the files needed are in it!
>
>
>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #7771: packaging error causes build failure
  2012-12-24 10:30 BUG #7771: packaging error causes build failure mamfelt@gmail.com
@ 2012-12-24 14:54 ` Tom Lane <tgl@sss.pgh.pa.us>
  2 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2012-12-24 14:54 UTC (permalink / raw)
  To: mamfelt@gmail.com; +Cc: pgsql-bugs

mamfelt@gmail.com writes:
> There are three references to the file @LongLink in the tar file :
> postgresql-8.3.22.tar.bz2

> michael@x054:[/data/prj/pgsql]bzip2 -dc postgresql-8.3.22.tar.bz2 | tar tf -
> | grep LongLink
> ././@LongLink
> ././@LongLink
> ././@LongLink

No, there is no such thing in our tarfiles.  Apparently you have a
version of tar that's been hacked to print that if it sees a pathname
too long for it to cope with.

In 9.0 and up we renamed a couple of deeply-nested files to shorten the
maximum pathlength in the tarballs, cf
http://archives.postgresql.org/pgsql-general/2009-11/msg00078.php
http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=6bef82b38a67b493fc82990e41...
If you can't readily find a less broken version of tar for your
platform, you might be best advised to just forget about the 8.x
releases.  I'm not sure why you'd bother with them anyway, still
less with branches that are long out of support.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #7771: packaging error causes build failure
  2012-12-24 10:30 BUG #7771: packaging error causes build failure mamfelt@gmail.com
@ 2013-01-06 04:10 ` Craig Ringer <craig@2ndquadrant.com>
  2 siblings, 0 replies; 4+ messages in thread

From: Craig Ringer @ 2013-01-06 04:10 UTC (permalink / raw)
  To: mamfelt@gmail.com; +Cc: pgsql-bugs

On 24/12/2012 6:30 PM, mamfelt@gmail.com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      7771
> Logged by:          Michael Felt
> Email address:      mamfelt@gmail.com
> PostgreSQL version: 8.3.22
> Operating system:   AIX
> Description:        
>
> There are three references to the file @LongLink in the tar file :
> postgresql-8.3.22.tar.bz2
Use GNU tar. Your tar doesn't understand the GNU long-filename
extensions to the tar format.

You'll need GNU make to compile, too.

-- 
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2013-01-06 04:10 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-12-24 10:30 BUG #7771: packaging error causes build failure mamfelt@gmail.com
2012-12-24 10:45 ` Michael Felt <mamfelt@gmail.com>
2012-12-24 14:54 ` Tom Lane <tgl@sss.pgh.pa.us>
2013-01-06 04:10 ` Craig Ringer <craig@2ndquadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox