Opened 2 months ago

Last modified 6 weeks ago

#61276 assigned defect

meson @0.55.3: /usr/bin/gnutar: meson-0.55.3/COPYING: implausibly old time stamp 1970-01-01 01:00:00

Reported by: ballapete (Peter Dyballa) Owned by: git@…
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: tiger powerpc legacy-os Cc:
Port: meson

Description

The same error is reported for all files in the tape archive. Reason is that /usr/bin/gnutar is used to outpack the archive. In the end files with this implausible time stamp are installed.

The correct programme to outpack is a recent GNU tar or /opt/local/bin/gnutar.

Attachments (1)

main.log (686.6 KB) - added by ballapete (Peter Dyballa) 2 months ago.
Main.log from PPC Tiger, Mac OS X 10.4.11

Download all attachments as: .zip

Change History (11)

Changed 2 months ago by ballapete (Peter Dyballa)

Attachment: main.log added

Main.log from PPC Tiger, Mac OS X 10.4.11

comment:1 Changed 2 months ago by ryandesign (Ryan Schmidt)

Cc: git@… removed
Owner: set to git@…
Status: newassigned
Summary: /usr/bin/gnutar: meson-0.55.3/COPYING: implausibly old time stamp 1970-01-01 01:00:00meson @0.55.3: /usr/bin/gnutar: meson-0.55.3/COPYING: implausibly old time stamp 1970-01-01 01:00:00

Hmm. The files in the archive have normal current timestamps when unpacked on a more modern macOS 10.13.6. I guess there is a bug in Tiger's gnutar.

comment:2 in reply to:  1 ; Changed 8 weeks ago by ballapete (Peter Dyballa)

Replying to ryandesign:

Right now it seems to be a (PPC) Tiger problem only. I don't remember whether I had the same problem in Leopard. This check might take some time…

comment:3 Changed 8 weeks ago by ballapete (Peter Dyballa)

Just checking the time stamps of the installed Meson files on the Leopard volume:

root 552 /\ l -tr /Volumes/Leopard/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mesonbuild/
total 1928
-rw-r--r--    1 root  wheel   38349  1 Jan  1970 rewriter.py
-rw-r--r--    1 root  wheel   10240  1 Jan  1970 optinterpreter.py
-rw-r--r--    1 root  wheel    4580  1 Jan  1970 munstable_coredata.py
-rw-r--r--    1 root  wheel   51979  1 Jan  1970 mtest.py
-rw-r--r--    1 root  wheel   11250  1 Jan  1970 msubprojects.py
-rw-r--r--    1 root  wheel   12643  1 Jan  1970 msetup.py
-rw-r--r--    1 root  wheel   32219  1 Jan  1970 mparser.py
-rw-r--r--    1 root  wheel   12290  1 Jan  1970 mlog.py
-rw-r--r--    1 root  wheel   23827  1 Jan  1970 mintro.py
-rw-r--r--    1 root  wheel   24149  1 Jan  1970 minstall.py
-rw-r--r--    1 root  wheel    7403  1 Jan  1970 minit.py
-rw-r--r--    1 root  wheel   10255  1 Jan  1970 mesonmain.py
-rw-r--r--    1 root  wheel   61041  1 Jan  1970 mesonlib.py
-rw-r--r--    1 root  wheel   10501  1 Jan  1970 mesondata.py
-rw-r--r--    1 root  wheel   11351  1 Jan  1970 mdist.py
-rw-r--r--    1 root  wheel   12095  1 Jan  1970 mconf.py
-rw-r--r--    1 root  wheel   11096  1 Jan  1970 mcompile.py
-rw-r--r--    1 root  wheel   42990  1 Jan  1970 linkers.py
-rw-r--r--    1 root  wheel   52460  1 Jan  1970 interpreterbase.py
-rw-r--r--    1 root  wheel  228695  1 Jan  1970 interpreter.py
-rw-r--r--    1 root  wheel   14880  1 Jan  1970 envconfig.py
-rw-r--r--    1 root  wheel    2633  1 Jan  1970 depfile.py
-rw-r--r--    1 root  wheel  109734  1 Jan  1970 build.py
-rw-r--r--    1 root  wheel   13259  1 Jan  1970 arglist.py
-rw-r--r--    1 root  wheel       0  1 Jan  1970 __init__.py
-rw-r--r--    1 root  wheel   83600 17 Sep 20:32 environment.py

Looks to have the same problem…

comment:4 Changed 7 weeks ago by mf2k (Frank Schima)

Keywords: powerpc legacy-os added; ppc removed

comment:5 Changed 6 weeks ago by ballapete (Peter Dyballa)

There are more such packages: py38-click, py38-jinja2, py38-joblib, py38-regex, py38-tornado.

comment:6 Changed 6 weeks ago by kencu (Ken)

Here are mine -- look fine -- Tiger PPC -- but I do have the gnutar port installed, if that changes things:

tigerg5$ cd /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mesonbuild 
tigerg5$ ls -la
total 1928
drwxr-xr-x   39 root  wheel    1326 Oct 20 19:47 .
drwxr-xr-x   46 root  wheel    1564 Oct 20 19:47 ..
-rw-r--r--    1 root  wheel       0 Aug 15 09:27 __init__.py
drwxr-xr-x   29 root  wheel     986 Oct 20 19:47 __pycache__
-rw-r--r--    1 root  wheel   13259 Sep 10 09:39 arglist.py
drwxr-xr-x    9 root  wheel     306 Oct 20 19:47 ast
drwxr-xr-x   11 root  wheel     374 Oct 20 19:47 backend
-rw-r--r--    1 root  wheel  109740 Oct 20 19:47 build.py
drwxr-xr-x   11 root  wheel     374 Oct 20 19:47 cmake
drwxr-xr-x   19 root  wheel     646 Oct 20 19:47 compilers
-rw-r--r--    1 root  wheel   52437 Oct 20 19:47 coredata.py
drwxr-xr-x   15 root  wheel     510 Oct 20 19:47 dependencies
-rw-r--r--    1 root  wheel    2633 Aug 15 09:27 depfile.py
-rw-r--r--    1 root  wheel   14880 Sep 10 09:39 envconfig.py
-rw-r--r--    1 root  wheel   83599 Oct 20 19:47 environment.py
-rw-r--r--    1 root  wheel  228695 Sep 10 09:39 interpreter.py
-rw-r--r--    1 root  wheel   52460 Sep 10 09:39 interpreterbase.py
-rw-r--r--    1 root  wheel   43005 Oct 20 19:47 linkers.py
-rw-r--r--    1 root  wheel   11096 Sep 10 09:39 mcompile.py
-rw-r--r--    1 root  wheel   12095 Sep 10 09:39 mconf.py
-rw-r--r--    1 root  wheel   11351 Sep 10 09:39 mdist.py
-rw-r--r--    1 root  wheel   10501 Aug 15 09:27 mesondata.py
-rw-r--r--    1 root  wheel   61041 Sep 10 09:39 mesonlib.py
-rw-r--r--    1 root  wheel   10255 Sep 10 09:39 mesonmain.py
-rw-r--r--    1 root  wheel    7403 Sep 10 09:39 minit.py
-rw-r--r--    1 root  wheel   24149 Sep 10 09:39 minstall.py
-rw-r--r--    1 root  wheel   23827 Sep 10 09:39 mintro.py
-rw-r--r--    1 root  wheel   12290 Sep 10 09:39 mlog.py
drwxr-xr-x   24 root  wheel     816 Oct 20 19:47 modules
-rw-r--r--    1 root  wheel   32219 Sep 10 09:39 mparser.py
-rw-r--r--    1 root  wheel   12643 Sep 10 09:39 msetup.py
-rw-r--r--    1 root  wheel   11250 Sep 10 09:39 msubprojects.py
-rw-r--r--    1 root  wheel   51979 Sep 10 09:39 mtest.py
-rw-r--r--    1 root  wheel    4580 Aug 15 09:27 munstable_coredata.py
-rw-r--r--    1 root  wheel   10240 Sep 10 09:39 optinterpreter.py
-rw-r--r--    1 root  wheel   38349 Aug 15 09:27 rewriter.py
drwxr-xr-x   25 root  wheel     850 Oct 20 19:47 scripts
drwxr-xr-x   17 root  wheel     578 Oct 20 19:47 templates
drwxr-xr-x    6 root  wheel     204 Oct 20 19:47 wrap
Last edited 6 weeks ago by kencu (Ken) (previous) (diff)

comment:7 Changed 6 weeks ago by ballapete (Peter Dyballa)

root 322 /\ /opt/local/bin/xz -dc /opt/local/var/macports/distfiles/at-spi2-core/at-spi2-core-2.38.0.tar.xz | /opt/local/bin/gnutar --no-same-owner -vtf - | head
drwxr-xr-x mgorse/users      0 2020-09-12 21:22 at-spi2-core-2.38.0/
-rw-r--r-- mgorse/users    420 2020-09-12 21:22 at-spi2-core-2.38.0/AUTHORS
-rw-r--r-- mgorse/users  26530 2020-09-12 21:22 at-spi2-core-2.38.0/COPYING
-rw-r--r-- mgorse/users    816 2020-09-12 21:22 at-spi2-core-2.38.0/INSTALL
-rw-r--r-- mgorse/users     29 2020-09-12 21:22 at-spi2-core-2.38.0/MAINTAINERS
-rw-r--r-- mgorse/users  28371 2020-09-12 21:22 at-spi2-core-2.38.0/NEWS
-rw-r--r-- mgorse/users   3465 2020-09-12 21:22 at-spi2-core-2.38.0/README
-rw-r--r-- mgorse/users   1741 2020-09-12 21:22 at-spi2-core-2.38.0/at-spi2-core.doap
drwxr-xr-x mgorse/users      0 2020-09-12 21:22 at-spi2-core-2.38.0/atspi/
-rw-r--r-- mgorse/users   1419 2020-09-12 21:22 at-spi2-core-2.38.0/atspi/atspi-accessible-private.h
  C-c C-croot 323 /\ /opt/local/bin/xz -dc /opt/local/var/macports/distfiles/at-spi2-core/at-spi2-core-2.38.0.tar.xz | /usr/bin/gnutar --no-same-owner -vtf - | head
drwxr-xr-x mgorse/users      0 1970-01-01 01:00:00 at-spi2-core-2.38.0/
-rw-r--r-- mgorse/users    420 1970-01-01 01:00:00 at-spi2-core-2.38.0/AUTHORS
-rw-r--r-- mgorse/users  26530 1970-01-01 01:00:00 at-spi2-core-2.38.0/COPYING
-rw-r--r-- mgorse/users    816 1970-01-01 01:00:00 at-spi2-core-2.38.0/INSTALL
-rw-r--r-- mgorse/users     29 1970-01-01 01:00:00 at-spi2-core-2.38.0/MAINTAINERS
-rw-r--r-- mgorse/users  28371 1970-01-01 01:00:00 at-spi2-core-2.38.0/NEWS
-rw-r--r-- mgorse/users   3465 1970-01-01 01:00:00 at-spi2-core-2.38.0/README
-rw-r--r-- mgorse/users   1741 1970-01-01 01:00:00 at-spi2-core-2.38.0/at-spi2-core.doap
drwxr-xr-x mgorse/users      0 1970-01-01 01:00:00 at-spi2-core-2.38.0/atspi/
-rw-r--r-- mgorse/users   1419 1970-01-01 01:00:00 at-spi2-core-2.38.0/atspi/atspi-accessible-private.h

Same behaviour in my own account – doesnotworkforme?

comment:8 in reply to:  2 Changed 6 weeks ago by ballapete (Peter Dyballa)

Replying to ryandesign:

Right now it seems to be a (PPC) Tiger problem only. I don't remember whether I had the same problem in Leopard. This check might take some time…

No, it's also on PPC Leopard, Mac OS X 10.5.8:

DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_python_py-pip/py38-pip/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/py-pip/pip-20.2.4.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
/usr/bin/gnutar: pip-20.2.4/AUTHORS.txt: implausibly old time stamp 1970-01-01 01:00:00
/usr/bin/gnutar: pip-20.2.4/LICENSE.txt: implausibly old time stamp 1970-01-01 01:00:00
/usr/bin/gnutar: pip-20.2.4/MANIFEST.in: implausibly old time stamp 1970-01-01 01:00:00
...

comment:9 Changed 6 weeks ago by kencu (Ken)

So -- I guess we're making gnutar a dependency for -- what? -- using xz on older systems?

comment:10 in reply to:  9 Changed 6 weeks ago by ballapete (Peter Dyballa)

Replying to kencu:

So -- I guess we're making gnutar a dependency for -- what? -- using xz on older systems?

Actually gnutar does not need to have any dependency. If it finds any of xz | bzip2 | gzip | lzip | lzma | lzop | compress it can handle compressed tape archives. xz should become a part of MacPorts – how does it work on Catalina or such with xz compressed archives? Apple does not put xz in macOS… A clever option would be if port would be able to determine which of the compressors exists on the system and then decide to fetch the most efficient file – which would mean to take into account data rate of the internet connection, speed of the file system and RAM, and power of the CPU.

Note: See TracTickets for help on using tickets.