Обсуждение: BUG #7771: packaging error causes build failure
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_20= 04/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=3D/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!
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 >
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=6bef82b38a67b493fc82990e41946c1bd2ea1b03 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
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